36 #if defined(ParDirCollapse_RECURSES)
37 #error Recursive header files inclusion detected in ParDirCollapse.h
40 #define ParDirCollapse_RECURSES
42 #if !defined ParDirCollapse_h
44 #define ParDirCollapse_h
48 #include "DGtal/helpers/StdDefs.h"
49 #include "DGtal/base/Common.h"
50 #include "DGtal/kernel/PointVector.h"
52 #include "DGtal/topology/CubicalComplex.h"
53 #include "DGtal/topology/CubicalComplexFunctions.h"
76 template <
typename CC >
125 unsigned int eval (
unsigned int iterations );
227 #if !defined(BUILD_INLINE)
228 #include "DGtal/topology/ParDirCollapse.ih"
237 #undef ParDirCollapse_RECURSES
Aim: This class encapsulates its parameter class so that to indicate to the user that the object/poin...
Aim: This class represents an arbitrary cubical complex living in some Khalimsky space....
TKSpace KSpace
Type of the cellular grid space.
KSpace::Size Size
Type for a number of elements.
CellMap::const_iterator CellMapConstIterator
Const iterator for visiting type CellMap.
AnyCellCollection< Cell > Cells
Aim: Implements thinning algorithms in cubical complexes. The implementation supports any model of cu...
BOOST_STATIC_ASSERT((CC::KSpace::dimension >=2))
ParDirCollapse(const KSpace &k)
BOOST_CONCEPT_ASSERT((boost::Container< CC >))
CC::KSpace KSpace
Any model of concepts::CCellularGridSpaceND, i.e. a type that models a Khalimsky space.
CC::CellMapConstIterator CellMapConstIterator
Type of const iterator over a map of cells.
CC * complex
Pointer to complex.
void attach(Alias< CC > pComplex)
bool isNotIncludedInUpperDim(CellMapConstIterator F)
KSpace::Cells Cells
Type of collection of cells.
unsigned int eval(unsigned int iterations)
CC::Size Size
Type of containers size.
bool isIsthmus(CellMapConstIterator F)
const KSpace & K
Reference to Khalimsky space in which a given complex is embedded.
int getOrientation(const Cell &F, const Cell &G) const
KSpace::Cell Cell
Type of cells in Khalimsky space.
bool completeFreepair(CellMapConstIterator F, Cell &G, int orient, int dir)
ParDirCollapse(const ParDirCollapse &other)
int getDirection(const Cell &F, const Cell &G) const
ParDirCollapse & operator=(const ParDirCollapse &other)
CC::Point Point
Type of integer point.
DGtal is the top-level namespace which contains all DGtal functions and types.
Go to http://www.sgi.com/tech/stl/Container.html.