31 #if defined(DigitalSetBoundary_RECURSES)
32 #error Recursive header files inclusion detected in DigitalSetBoundary.h
33 #else // defined(DigitalSetBoundary_RECURSES)
35 #define DigitalSetBoundary_RECURSES
37 #if !defined DigitalSetBoundary_h
39 #define DigitalSetBoundary_h
45 #include "DGtal/base/Common.h"
46 #include "DGtal/base/ConstAlias.h"
47 #include "DGtal/topology/Topology.h"
48 #include "DGtal/topology/SurfelAdjacency.h"
49 #include "DGtal/topology/SurfelNeighborhood.h"
68 template <
typename TKSpace,
typename TDigitalSet>
306 template <
typename TKSpace,
typename TDigitalSet>
316 #include "DGtal/topology/DigitalSetBoundary.ih"
321 #endif // !defined DigitalSetBoundary_h
323 #undef DigitalSetBoundary_RECURSES
324 #endif // else defined(DigitalSetBoundary_RECURSES)
SurfelStorage::const_iterator SurfelConstIterator
const Adjacency & surfelAdjacency() const
accessor to surfel adjacency.
TDomain Domain
Domain type.
const KSpace & myKSpace
a reference to the cellular space.
Aim: This class encapsulates its parameter class so that to indicate to the user that the object/poin...
DigitalSet::Domain Domain
const KSpace & space() const
Tracker(ConstAlias< DigitalSurfaceContainer > aSurface, const Surfel &s)
Aim: A model of CDigitalSurfaceContainer which defines the digital surface as the boundary of a given...
DGtal::uint32_t Dimension
const DigitalSurfaceContainer & mySurface
Represents a signed cell in a cellular grid space by its Khalimsky coordinates and a boolean value.
const Surfel & current() const
SurfelAdjacency< KSpace::dimension > Adjacency
std::ostream & operator<<(std::ostream &out, const ATu0v1< TKSpace, TLinearAlgebra > &object)
Dimension orthDir() const
SurfelConstIterator end() const
NumberTraits< Integer >::UnsignedVersion Size
Type used to represent sizes in the digital space.
bool isInside(const Surfel &s) const
DGtal is the top-level namespace which contains all DGtal functions and types.
uint8_t adjacent(Surfel &s, Dimension d, bool pos) const
DigitalSet myDigitalSet
a smart pointer to some digital set.
DigitalSetBoundary< TKSpace, TDigitalSet > Self
void selfDisplay(std::ostream &out) const
void move(const Surfel &s)
SurfelConstIterator begin() const
Adjacency mySurfelAdjacency
the surfel adjacency used to determine neighbors.
const DigitalSet & digitalSet() const
accessor to digital set
Neighborhood myNeighborhood
std::vector< Surfel > SurfelStorage
Connectedness connectedness() const
Tracker DigitalSurfaceTracker
DigitalSetBoundary(const DigitalSetBoundary &other)
DigitalSetBoundary< TKSpace, TDigitalSet > DigitalSurfaceContainer
SurfelStorage mySurfels
a vector storing all the surfels of the boundary.
DigitalSetBoundary & operator=(const DigitalSetBoundary &other)
DigitalSurfaceTracker * newTracker(const Surfel &s) const
SurfelNeighborhood< KSpace > Neighborhood
const DigitalSurfaceContainer & surface() const
boost::uint8_t uint8_t
unsigned 8-bit integer.