DGtal 1.4.2
Loading...
Searching...
No Matches
CTrivialImage.h
1
17#pragma once
18
28#if defined(CConstImageRECURSES)
29#error Recursive header files inclusion detected in CTrivialImage.h
30#else // defined(CConstImageRECURSES)
32#define CConstImageRECURSES
33
34#if !defined CTrivialImage_h
36#define CTrivialImage_h
37
38#include <boost/concept_check.hpp>
39#include <boost/concept/assert.hpp>
40#include <boost/concept/requires.hpp>
41
42#include "DGtal/images/CTrivialConstImage.h"
43
44namespace DGtal
45{
46 namespace concepts
47 {
49 // struct CTrivialImage
83 template <typename I>
85 {
86
87 public:
88
93
94 private:
95 I myI;
96 typename I::Point myPoint;
97 typename I::Value myValue;
98
99 };
100 }
101} // namespace DGtal
102
103// //
105
106#endif // !defined CTrivialImage_h
107
108#undef CConstImageRECURSES
109#endif // else defined(CConstImageRECURSES)
DGtal is the top-level namespace which contains all DGtal functions and types.
Aim: Defines the concept describing a read-only image, which is a refinement of CPointFunctor.
Aim: Defines the concept describing an image without extra ranges, which is a refinement of CTrivialC...