Aim: A model of CDigitalSurfaceContainer which defines the digital surface as connected surfels. The shape is determined by the set of surfels that composed the surface. The set of surfels is stored in this container.
More...
#include <DGtal/topology/SetOfSurfels.h>
template<typename TKSpace, typename TSurfelSet = typename TKSpace::SurfelSet>
class DGtal::SetOfSurfels< TKSpace, TSurfelSet >
Aim: A model of CDigitalSurfaceContainer which defines the digital surface as connected surfels. The shape is determined by the set of surfels that composed the surface. The set of surfels is stored in this container.
Description of template class 'SetOfSurfels'
- Template Parameters
-
TKSpace | a model of CCellularGridSpaceND: the type chosen for the cellular grid space. |
TSurfelSet | a model of CSurfelSet: the type chosen for representing the set of surfels in the space. |
- Examples
- dec/exampleHeatLaplace.cpp, geometry/curves/exampleGridCurve3d-2.cpp, geometry/surfaces/dvcm-2d-curvature.cpp, shapes/viewMarchingCubes.cpp, shapes/viewPolygonalMarchingCubes.cpp, topology/digitalSurfaceSlice.cpp, topology/trackImplicitPolynomialSurfaceToOFF.cpp, topology/volMarchingCubes.cpp, and topology/volToOFF.cpp.
Definition at line 73 of file SetOfSurfels.h.
◆ Adjacency
template<typename TKSpace , typename TSurfelSet = typename TKSpace::SurfelSet>
◆ Cell
template<typename TKSpace , typename TSurfelSet = typename TKSpace::SurfelSet>
◆ CellSet
template<typename TKSpace , typename TSurfelSet = typename TKSpace::SurfelSet>
◆ DigitalSurfaceTracker
template<typename TKSpace , typename TSurfelSet = typename TKSpace::SurfelSet>
◆ KSpace
template<typename TKSpace , typename TSurfelSet = typename TKSpace::SurfelSet>
◆ Point
template<typename TKSpace , typename TSurfelSet = typename TKSpace::SurfelSet>
◆ SCell
template<typename TKSpace , typename TSurfelSet = typename TKSpace::SurfelSet>
◆ SCellSet
template<typename TKSpace , typename TSurfelSet = typename TKSpace::SurfelSet>
◆ Self
template<typename TKSpace , typename TSurfelSet = typename TKSpace::SurfelSet>
◆ Size
template<typename TKSpace , typename TSurfelSet = typename TKSpace::SurfelSet>
Type for sizes (unsigned integral type).
Definition at line 162 of file SetOfSurfels.h.
◆ Space
template<typename TKSpace , typename TSurfelSet = typename TKSpace::SurfelSet>
◆ Surfel
template<typename TKSpace , typename TSurfelSet = typename TKSpace::SurfelSet>
◆ SurfelConstIterator
template<typename TKSpace , typename TSurfelSet = typename TKSpace::SurfelSet>
typedef SurfelSet::const_iterator DGtal::SetOfSurfels< TKSpace, TSurfelSet >::SurfelConstIterator |
◆ SurfelPredicate
template<typename TKSpace , typename TSurfelSet = typename TKSpace::SurfelSet>
◆ SurfelSet
template<typename TKSpace , typename TSurfelSet = typename TKSpace::SurfelSet>
◆ ~SetOfSurfels()
template<typename TKSpace , typename TSurfelSet = typename TKSpace::SurfelSet>
◆ SetOfSurfels() [1/2]
template<typename TKSpace , typename TSurfelSet = typename TKSpace::SurfelSet>
Copy constructor.
- Parameters
-
other | the object to clone. |
NB: Complexity depends on the type chosen for SurfelSet.
◆ SetOfSurfels() [2/2]
template<typename TKSpace , typename TSurfelSet = typename TKSpace::SurfelSet>
Constructor from digital set.
- Parameters
-
aKSpace | a cellular grid space (referenced). |
adj | the surfel adjacency (for instance Adjacency( true ) is interior to exterior adjacency ). |
aSetOfSurfels | any set of surfels that is cloned in this object (default is empty) |
NB: Complexity depends on the type chosen for SurfelSet.
◆ begin()
template<typename TKSpace , typename TSurfelSet = typename TKSpace::SurfelSet>
- Returns
- an iterator pointing on the first surfel of the digital surface (unspecified order).
◆ connectedness()
template<typename TKSpace , typename TSurfelSet = typename TKSpace::SurfelSet>
- Returns
- the connectedness of this surface. Either CONNECTED, DISCONNECTED, or UNKNOWN.
◆ empty()
template<typename TKSpace , typename TSurfelSet = typename TKSpace::SurfelSet>
- Returns
- 'true' is the surface has no surfels, 'false' otherwise. NB: O(1) operation.
◆ end()
template<typename TKSpace , typename TSurfelSet = typename TKSpace::SurfelSet>
- Returns
- an iterator after the last surfel of the digital surface (unspecified order).
◆ isInside()
template<typename TKSpace , typename TSurfelSet = typename TKSpace::SurfelSet>
- Parameters
-
s | any surfel of the space. |
- Returns
- 'true' if s belongs to this digital surface.
◆ isValid()
template<typename TKSpace , typename TSurfelSet = typename TKSpace::SurfelSet>
Checks the validity/consistency of the object.
- Returns
- 'true' if the object is valid, 'false' otherwise.
◆ nbSurfels()
template<typename TKSpace , typename TSurfelSet = typename TKSpace::SurfelSet>
- Returns
- the number of surfels of this digital surface. NB: O(1)
◆ newTracker()
template<typename TKSpace , typename TSurfelSet = typename TKSpace::SurfelSet>
- 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 TSurfelSet = typename TKSpace::SurfelSet>
Assignment.
- Parameters
-
- Returns
- a reference on 'this'. Forbidden by default.
◆ selfDisplay()
template<typename TKSpace , typename TSurfelSet = typename TKSpace::SurfelSet>
Writes/Displays the object on an output stream.
- Parameters
-
out | the output stream where the object is written. |
◆ space()
template<typename TKSpace , typename TSurfelSet = typename TKSpace::SurfelSet>
- Returns
- the cellular space in which lives the surface.
◆ surfelAdjacency() [1/2]
template<typename TKSpace , typename TSurfelSet = typename TKSpace::SurfelSet>
mutator to surfel adjacency.
◆ surfelAdjacency() [2/2]
template<typename TKSpace , typename TSurfelSet = typename TKSpace::SurfelSet>
accessor to surfel adjacency.
◆ surfelPredicate()
template<typename TKSpace , typename TSurfelSet = typename TKSpace::SurfelSet>
accessor to surfel predicate.
◆ surfelSet() [1/2]
template<typename TKSpace , typename TSurfelSet = typename TKSpace::SurfelSet>
◆ surfelSet() [2/2]
template<typename TKSpace , typename TSurfelSet = typename TKSpace::SurfelSet>
◆ myKSpace
template<typename TKSpace , typename TSurfelSet = typename TKSpace::SurfelSet>
◆ mySurfelAdjacency
template<typename TKSpace , typename TSurfelSet = typename TKSpace::SurfelSet>
the surfel adjacency used to determine neighbors.
Definition at line 294 of file SetOfSurfels.h.
◆ mySurfelPredicate
template<typename TKSpace , typename TSurfelSet = typename TKSpace::SurfelSet>
the surfel predicate defining the shape (related to mySurfelSet).
Definition at line 292 of file SetOfSurfels.h.
◆ mySurfelSet
template<typename TKSpace , typename TSurfelSet = typename TKSpace::SurfelSet>
The documentation for this class was generated from the following file: