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