31#if defined(SurfelNeighborhood_RECURSES)
32#error Recursive header files inclusion detected in SurfelNeighborhood.h
35#define SurfelNeighborhood_RECURSES
37#if !defined SurfelNeighborhood_h
39#define SurfelNeighborhood_h
44#include "DGtal/base/Common.h"
45#include "DGtal/topology/SurfelAdjacency.h"
67 template <
typename TKSpace>
113 const SCell & aSurfel );
214 template <
typename SpelSet>
239 template <
typename DigitalSet>
270 template <
typename Po
intPredicate>
272 const PointPredicate & pp,
299 template <
typename SurfelPredicate>
301 const SurfelPredicate & sp,
353 template <
typename T>
362#include "DGtal/topology/SurfelNeighborhood.ih"
369#undef SurfelNeighborhood_RECURSES
Aim: A wrapper class around a STL associative container for storing sets of digital points within som...
Aim: Represent adjacencies between surfel elements, telling if it follows an interior to exterior ord...
Aim: This helper class is useful to compute the neighboring surfels of a given surfel,...
unsigned int getAdjacentOnPointPredicate(SCell &adj_surfel, const PointPredicate &pp, Dimension track_dir, bool pos) const
void selfDisplay(std::ostream &out) const
const SCell & surfel() const
SCell follower1(Dimension track_dir, bool pos) const
SurfelNeighborhood(const SurfelNeighborhood &other)
unsigned int getAdjacentOnSpelSet(SCell &adj_surfel, const SpelSet &obj, Dimension track_dir, bool pos) const
void init(const KSpace *space, const SurfelAdjacency< KSpace::dimension > *adj, const SCell &aSurfel)
unsigned int getAdjacentOnSurfelPredicate(SCell &adj_surfel, const SurfelPredicate &sp, Dimension track_dir, bool pos) const
void setSurfel(const SCell &aSurfel)
SCell innerAdjacentSpel(Dimension track_dir, bool pos) const
SurfelNeighborhood & operator=(const SurfelNeighborhood &other)
SCell follower3(Dimension track_dir, bool pos) const
const SurfelAdjacency< KSpace::dimension > * mySurfelAdj
SCell follower2(Dimension track_dir, bool pos) const
unsigned int getAdjacentOnDigitalSet(SCell &adj_surfel, const DigitalSet &obj, Dimension track_dir, bool pos) const
SCell outerAdjacentSpel(Dimension track_dir, bool pos) const
Dimension orthDir() const
DGtal is the top-level namespace which contains all DGtal functions and types.
std::ostream & operator<<(std::ostream &out, const ClosedIntegerHalfPlane< TSpace > &object)
DGtal::uint32_t Dimension
Represents a signed cell in a cellular grid space by its Khalimsky coordinates and a boolean value.