31#if defined(CanonicDigitalSurfaceEmbedder_RECURSES)
32#error Recursive header files inclusion detected in CanonicDigitalSurfaceEmbedder.h
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>
183 template <
typename TDigitalSurface>
193#include "DGtal/topology/CanonicDigitalSurfaceEmbedder.ih"
201#undef CanonicDigitalSurfaceEmbedder_RECURSES
Aim: This class encapsulates its parameter class so that to indicate to the user that the object/poin...
DigitalSurfaceContainer::KSpace KSpace
Aim: Implements basic operations that will be used in Point and Vector classes.
TInteger Integer
Arithmetic ring induced by (+,-,*) and Integer numbers.
DGtal is the top-level namespace which contains all DGtal functions and types.
std::ostream & operator<<(std::ostream &out, const ClosedIntegerHalfPlane< TSpace > &object)
Aim: A trivial embedder for digital surfaces, which corresponds to the canonic injection of cell cent...
CanonicDigitalSurfaceEmbedder(const Self &other)
Space::RealPoint RealPoint
Self & operator=(const Self &other)
CanonicDigitalSurfaceEmbedder()
BOOST_CONCEPT_ASSERT((concepts::CCellularGridSpaceND< KSpace >))
void selfDisplay(std::ostream &out) const
RealPoint operator()(const SCell &cell) const
const Surface * mySurface
CanonicDigitalSurfaceEmbedder(ConstAlias< Surface > aSurface)
const KSpace & space() const
~CanonicDigitalSurfaceEmbedder()
CanonicDigitalSurfaceEmbedder< TDigitalSurface > Self
RealPoint embed(const SCell &cell) const
const Surface & surface() 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...