DGtal  0.6.devel
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
CImage.h
1 
17 #pragma once
18 
31 #if defined(CImageRECURSES)
32 #error Recursive header files inclusion detected in CImage.h
33 #else // defined(CImageRECURSES)
34 
35 #define CImageRECURSES
36 
37 #if !defined CImage_h
38 
39 #define CImage_h
40 
41 #include <boost/concept_check.hpp>
42 #include <boost/concept/assert.hpp>
43 #include <boost/concept/requires.hpp>
44 
45 #include "DGtal/kernel/domains/CDomain.h"
46 #include "DGtal/images/CConstImage.h"
47 #include "DGtal/base/CConstBidirectionalRangeFromPoint.h"
48 #include "DGtal/base/CBidirectionalOutputRangeFromPoint.h"
49 #include "DGtal/images/CTrivialImage.h"
50 
51 namespace DGtal
52 {
53 
55 // struct CImage
101 template <typename I>
103 {
104 
105 public:
106 
107  typedef typename I::Range Range;
110  I::Value>));
111 
112 public:
113 
115  {
116  ConceptUtils::sameType( myI.range(), myR);
117  }
118 
119 private:
120 
121  I myI;
123 
124 };
125 } // namespace DGtal
126 
127 // //
129 
130 #endif // !defined CImage_h
131 
132 #undef CImageRECURSES
133 #endif // else defined(CImageRECURSES)