31 #if defined(CanonicDigitalSurfaceEmbedder_RECURSES) 32 #error Recursive header files inclusion detected in CanonicDigitalSurfaceEmbedder.h 33 #else // defined(CanonicDigitalSurfaceEmbedder_RECURSES) 35 #define CanonicDigitalSurfaceEmbedder_RECURSES 37 #if !defined CanonicDigitalSurfaceEmbedder_h 39 #define CanonicDigitalSurfaceEmbedder_h 44 #include "DGtal/base/Common.h" 45 #include "DGtal/base/ConstAlias.h" 46 #include "DGtal/topology/CCellularGridSpaceND.h" 64 template <
typename TDigitalSurface>
71 typedef typename Surface::KSpace
KSpace;
183 template <
typename TDigitalSurface>
185 operator<< ( std::ostream & out, const CanonicDigitalSurfaceEmbedder<TDigitalSurface> & object );
193 #include "DGtal/topology/CanonicDigitalSurfaceEmbedder.ih" 199 #endif // !defined CanonicDigitalSurfaceEmbedder_h 201 #undef CanonicDigitalSurfaceEmbedder_RECURSES 202 #endif // else defined(CanonicDigitalSurfaceEmbedder_RECURSES)
CanonicDigitalSurfaceEmbedder()
Aim: SpaceND is a utility class that defines the fundamental structure of a Digital Space in ND...
Aim: This class encapsulates its parameter class so that to indicate to the user that the object/poin...
const Surface * mySurface
Aim: Implements basic operations that will be used in Point and Vector classes.
Aim: A trivial embedder for digital surfaces, which corresponds to the canonic injection of cell cent...
void selfDisplay(std::ostream &out) const
const Surface & surface() const
BOOST_CONCEPT_ASSERT((concepts::CCellularGridSpaceND< KSpace >))
~CanonicDigitalSurfaceEmbedder()
TInteger Integer
Arithmetic ring induced by (+,-,*) and Integer numbers.
DGtal is the top-level namespace which contains all DGtal functions and types.
Self & operator=(const Self &other)
RealPoint operator()(const SCell &cell) const
Represents a signed cell in a cellular grid space by its Khalimsky coordinates and a boolean value...
Aim: This concept describes a cellular grid space in nD. In these spaces obtained by cartesian produc...
const KSpace & space() const
Space::RealPoint RealPoint
CanonicDigitalSurfaceEmbedder< TDigitalSurface > Self
RealPoint embed(const SCell &cell) const