#include <DGtal/topology/DigitalSetBoundary.h>
template<typename TKSpace, typename TDigitalSet>
class DGtal::DigitalSetBoundary< TKSpace, TDigitalSet >
Aim: A model of CDigitalSurfaceContainer which defines the digital surface as the boundary of a given digital set.
Description of template class 'DigitalSetBoundary'
- Template Parameters
-
TKSpace | a model of CCellularGridSpaceND: the type chosen for the cellular grid space. |
TDigitalSet | a model of CDigitalSet: the type chosen for the set of digital points. |
- Examples:
- geometry/surfaces/greedy-plane-segmentation-ex2.cpp, geometry/surfaces/greedy-plane-segmentation.cpp, geometry/tools/exampleAlphaShape.cpp, graph/volDistanceTraversal.cpp, and topology/volBreadthFirstTraversal.cpp.
Definition at line 69 of file DigitalSetBoundary.h.
template<typename TKSpace, typename TDigitalSet>
template<typename TKSpace, typename TDigitalSet>
template<typename TKSpace, typename TDigitalSet>
template<typename TKSpace, typename TDigitalSet>
template<typename TKSpace, typename TDigitalSet>
template<typename TKSpace, typename TDigitalSet>
template<typename TKSpace, typename TDigitalSet>
template<typename TKSpace, typename TDigitalSet>
template<typename TKSpace, typename TDigitalSet>
template<typename TKSpace, typename TDigitalSet>
template<typename TKSpace, typename TDigitalSet>
template<typename TKSpace, typename TDigitalSet>
template<typename TKSpace, typename TDigitalSet>
template<typename TKSpace, typename TDigitalSet>
template<typename TKSpace, typename TDigitalSet>
template<typename TKSpace, typename TDigitalSet>
Copy constructor.
- Parameters
-
other | the object to clone. |
template<typename TKSpace, typename TDigitalSet>
Constructor from digital set.
- Parameters
-
aKSpace | a cellular grid space (referenced). |
aSet | a set of points that is duplicated in 'this'. |
adj | the surfel adjacency (default is interior to exterior adjacency ). |
template<typename TKSpace, typename TDigitalSet>
- Returns
- an iterator pointing on the first surfel of the digital surface (unspecified order).
template<typename TKSpace, typename TDigitalSet>
Recomputes the set of boundary surfels from the set of points.
template<typename TKSpace, typename TDigitalSet>
- Returns
- the connectedness of this surface. Either CONNECTED, DISCONNECTED, or UNKNOWN.
template<typename TKSpace, typename TDigitalSet>
template<typename TKSpace, typename TDigitalSet>
- Returns
- 'true' is the surface has no surfels, 'false' otherwise. NB: O(1) operation.
template<typename TKSpace, typename TDigitalSet>
- Returns
- an iterator after the last surfel of the digital surface (unspecified order).
template<typename TKSpace, typename TDigitalSet>
- Parameters
-
s | any surfel of the space. |
- Returns
- 'true' if s belongs to this digital surface.
template<typename TKSpace, typename TDigitalSet>
Checks the validity/consistency of the object.
- Returns
- 'true' if the object is valid, 'false' otherwise.
template<typename TKSpace, typename TDigitalSet>
- Returns
- the number of surfels of this digital surface.
template<typename TKSpace, typename TDigitalSet>
- Parameters
-
s | any surfel of the space. |
- Precondition
- 'isInside( s )'
- Returns
- a dyn. alloc. pointer on a tracker positionned at s.
template<typename TKSpace, typename TDigitalSet>
Assignment.
- Parameters
-
- Returns
- a reference on 'this'. Forbidden by default.
template<typename TKSpace, typename TDigitalSet>
Writes/Displays the object on an output stream.
- Parameters
-
out | the output stream where the object is written. |
template<typename TKSpace, typename TDigitalSet>
- Returns
- the cellular space in which lives the surface.
template<typename TKSpace, typename TDigitalSet>
accessor to surfel adjacency.
template<typename TKSpace, typename TDigitalSet>
mutator to surfel adjacency.
template<typename TKSpace, typename TDigitalSet>
template<typename TKSpace, typename TDigitalSet>
template<typename TKSpace, typename TDigitalSet>
template<typename TKSpace, typename TDigitalSet>
The documentation for this class was generated from the following file: