Aim: A model of CDigitalSurfaceContainer which defines the digital surface as the boundary of a given digital set.
More...
#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, and geometry/tools/exampleAlphaShape.cpp.
Definition at line 69 of file DigitalSetBoundary.h.
◆ Adjacency
template<typename TKSpace , typename TDigitalSet >
◆ Cell
template<typename TKSpace , typename TDigitalSet >
◆ DigitalSet
template<typename TKSpace , typename TDigitalSet >
◆ DigitalSurfaceTracker
template<typename TKSpace , typename TDigitalSet >
◆ Domain
template<typename TKSpace , typename TDigitalSet >
◆ KSpace
template<typename TKSpace , typename TDigitalSet >
◆ Point
template<typename TKSpace , typename TDigitalSet >
◆ SCell
template<typename TKSpace , typename TDigitalSet >
◆ Self
template<typename TKSpace , typename TDigitalSet >
◆ Size
template<typename TKSpace , typename TDigitalSet >
◆ Space
template<typename TKSpace , typename TDigitalSet >
◆ Surfel
template<typename TKSpace , typename TDigitalSet >
◆ SurfelConstIterator
template<typename TKSpace , typename TDigitalSet >
◆ SurfelStorage
template<typename TKSpace , typename TDigitalSet >
◆ ~DigitalSetBoundary()
template<typename TKSpace , typename TDigitalSet >
◆ DigitalSetBoundary() [1/2]
template<typename TKSpace , typename TDigitalSet >
Copy constructor.
- Parameters
-
other | the object to clone. |
◆ DigitalSetBoundary() [2/2]
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 ). |
◆ begin()
template<typename TKSpace , typename TDigitalSet >
- Returns
- an iterator pointing on the first surfel of the digital surface (unspecified order).
◆ computeSurfels()
template<typename TKSpace , typename TDigitalSet >
Recomputes the set of boundary surfels from the set of points.
◆ connectedness()
template<typename TKSpace , typename TDigitalSet >
- Returns
- the connectedness of this surface. Either CONNECTED, DISCONNECTED, or UNKNOWN.
◆ digitalSet()
template<typename TKSpace , typename TDigitalSet >
◆ empty()
template<typename TKSpace , typename TDigitalSet >
- Returns
- 'true' is the surface has no surfels, 'false' otherwise. NB: O(1) operation.
◆ end()
template<typename TKSpace , typename TDigitalSet >
- Returns
- an iterator after the last surfel of the digital surface (unspecified order).
◆ isInside()
template<typename TKSpace , typename TDigitalSet >
- Parameters
-
s | any surfel of the space. |
- Returns
- 'true' if s belongs to this digital surface.
◆ isValid()
template<typename TKSpace , typename TDigitalSet >
Checks the validity/consistency of the object.
- Returns
- 'true' if the object is valid, 'false' otherwise.
◆ nbSurfels()
template<typename TKSpace , typename TDigitalSet >
- Returns
- the number of surfels of this digital surface.
◆ newTracker()
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.
◆ operator=()
template<typename TKSpace , typename TDigitalSet >
Assignment.
- Parameters
-
- Returns
- a reference on 'this'. Forbidden by default.
◆ selfDisplay()
template<typename TKSpace , typename TDigitalSet >
Writes/Displays the object on an output stream.
- Parameters
-
out | the output stream where the object is written. |
◆ space()
template<typename TKSpace , typename TDigitalSet >
- Returns
- the cellular space in which lives the surface.
◆ surfelAdjacency() [1/2]
template<typename TKSpace , typename TDigitalSet >
mutator to surfel adjacency.
◆ surfelAdjacency() [2/2]
template<typename TKSpace , typename TDigitalSet >
accessor to surfel adjacency.
◆ myDigitalSet
template<typename TKSpace , typename TDigitalSet >
◆ myKSpace
template<typename TKSpace , typename TDigitalSet >
◆ mySurfelAdjacency
template<typename TKSpace , typename TDigitalSet >
◆ mySurfels
template<typename TKSpace , typename TDigitalSet >
The documentation for this class was generated from the following file: