DGtal
0.6.devel
|
#include <CDigitalSurfaceContainer.h>
Public Types | |
typedef T::KSpace | KSpace |
typedef T::Surfel | Surfel |
typedef T::SurfelConstIterator | SurfelConstIterator |
typedef T::DigitalSurfaceTracker | DigitalSurfaceTracker |
typedef T::Size | Size |
Public Member Functions | |
BOOST_CONCEPT_ASSERT ((boost_concepts::SinglePassIteratorConcept< SurfelConstIterator >)) | |
BOOST_CONCEPT_ASSERT ((CCellularGridSpaceND< KSpace >)) | |
BOOST_CONCEPT_ASSERT ((CDigitalSurfaceTracker< DigitalSurfaceTracker >)) | |
BOOST_CONCEPT_USAGE (CDigitalSurfaceContainer) | |
void | checkConstConstraints () const |
Private Attributes | |
T | myX |
KSpace | myKSpace |
Surfel | mySurfel |
bool | myBool |
SurfelConstIterator | mySurfelCIt |
DigitalSurfaceTracker * | myPtrTracker |
Connectedness | myConnectedness |
Size | mySize |
Aim:
Description of concept 'CDigitalSurfaceContainer'
- KSpace: the type of cellular grid space in which lies the digital surface. - Surfel: the type of an oriented n-1-cell in this space. - SurfelConstIterator: the type for iterating over the of surfels of the digital surface, must be a model of boost_concepts::SinglePassIteratorConcept - DigitalSurfaceTracker: the type for tracking surfels over the digital surface - Size: the integral type for counting elements.
X
: A type that is a model of CDigitalSurfaceContainerx
: object of type Xs
: object of type SurfelName | Expression | Type requirements | Return type | Precondition | Semantics | Postcondition | Complexity |
Space accessor | x.space() | const KSpace & | Returns a reference to the cellular grid space in which lies the digital surface. | ||||
Inside test | x.isInside( s ) | bool | Returns true iff the surfel s belongs to this digital surface. | ||||
Beginning of range | x.begin() | SurfelConstIterator | Returns a const iterator pointing to the first element in the digital surface, seen as a collection of surfels. | ||||
End of range | x.end() | SurfelConstIterator | Returns an iterator pointing one past the last element in the digital surface, seen as a collection of surfels. | ||||
Tracker instanciation | x.newTracker( s ) | DigitalSurfaceTracker* | Returns a dynamically allocated instance of tracker initialized at the surfel s . | ||||
Connectedness test | x.connectedness() | enum Connectedness | Returns either DISCONNECTED, CONNECTED, UNKNOWN depending on the surface. | ||||
Number of surfels | x.nbSurfels() | Size | Returns the number of surfels of this surface. | ||||
Empty container test | x.empty() | bool | Equivalent to x.size() == 0, but possibly faster. |
DigitalSetBoundary, SetOfSurfels, ImplicitDigitalSurface, LightImplicitDigitalSurface, ExplicitDigitalSurface, LightExplicitDigitalSurface
T | the type that should be a model of CDigitalSurfaceContainer. |
Definition at line 183 of file CDigitalSurfaceContainer.h.
typedef T::DigitalSurfaceTracker DGtal::CDigitalSurfaceContainer< T >::DigitalSurfaceTracker |
Definition at line 190 of file CDigitalSurfaceContainer.h.
typedef T::KSpace DGtal::CDigitalSurfaceContainer< T >::KSpace |
Definition at line 187 of file CDigitalSurfaceContainer.h.
typedef T::Size DGtal::CDigitalSurfaceContainer< T >::Size |
Definition at line 191 of file CDigitalSurfaceContainer.h.
typedef T::Surfel DGtal::CDigitalSurfaceContainer< T >::Surfel |
Definition at line 188 of file CDigitalSurfaceContainer.h.
typedef T::SurfelConstIterator DGtal::CDigitalSurfaceContainer< T >::SurfelConstIterator |
Definition at line 189 of file CDigitalSurfaceContainer.h.
DGtal::CDigitalSurfaceContainer< T >::BOOST_CONCEPT_ASSERT | ( | (boost_concepts::SinglePassIteratorConcept< SurfelConstIterator >) | ) |
DGtal::CDigitalSurfaceContainer< T >::BOOST_CONCEPT_ASSERT | ( | (CCellularGridSpaceND< KSpace >) | ) |
DGtal::CDigitalSurfaceContainer< T >::BOOST_CONCEPT_ASSERT | ( | (CDigitalSurfaceTracker< DigitalSurfaceTracker >) | ) |
|
inline |
Definition at line 198 of file CDigitalSurfaceContainer.h.
References DGtal::CDigitalSurfaceContainer< T >::checkConstConstraints().
|
inline |
Definition at line 203 of file CDigitalSurfaceContainer.h.
References DGtal::CDigitalSurfaceContainer< T >::myBool, DGtal::CDigitalSurfaceContainer< T >::myConnectedness, DGtal::CDigitalSurfaceContainer< T >::myKSpace, DGtal::CDigitalSurfaceContainer< T >::myPtrTracker, DGtal::CDigitalSurfaceContainer< T >::mySize, DGtal::CDigitalSurfaceContainer< T >::mySurfel, DGtal::CDigitalSurfaceContainer< T >::mySurfelCIt, DGtal::CDigitalSurfaceContainer< T >::myX, and DGtal::ConceptUtils::sameType().
Referenced by DGtal::CDigitalSurfaceContainer< T >::BOOST_CONCEPT_USAGE().
|
private |
Definition at line 227 of file CDigitalSurfaceContainer.h.
Referenced by DGtal::CDigitalSurfaceContainer< T >::checkConstConstraints().
|
private |
Definition at line 230 of file CDigitalSurfaceContainer.h.
Referenced by DGtal::CDigitalSurfaceContainer< T >::checkConstConstraints().
|
private |
Definition at line 225 of file CDigitalSurfaceContainer.h.
Referenced by DGtal::CDigitalSurfaceContainer< T >::checkConstConstraints().
|
private |
Definition at line 229 of file CDigitalSurfaceContainer.h.
Referenced by DGtal::CDigitalSurfaceContainer< T >::checkConstConstraints().
|
private |
Definition at line 231 of file CDigitalSurfaceContainer.h.
Referenced by DGtal::CDigitalSurfaceContainer< T >::checkConstConstraints().
|
private |
Definition at line 226 of file CDigitalSurfaceContainer.h.
Referenced by DGtal::CDigitalSurfaceContainer< T >::checkConstConstraints().
|
private |
Definition at line 228 of file CDigitalSurfaceContainer.h.
Referenced by DGtal::CDigitalSurfaceContainer< T >::checkConstConstraints().
|
private |
Definition at line 224 of file CDigitalSurfaceContainer.h.
Referenced by DGtal::CDigitalSurfaceContainer< T >::checkConstConstraints().