|
DGtal
0.6.devel
|
#include <SetOfSurfels.h>
Public Types | |
| typedef Tracker | Self |
| typedef SetOfSurfels< TKSpace, TSurfelSet > | DigitalSurfaceContainer |
| typedef TKSpace::SCell | Surfel |
| typedef TKSpace | KSpace |
| typedef SurfelNeighborhood < KSpace > | Neighborhood |
Public Member Functions | |
| Tracker (const DigitalSurfaceContainer &aSurface, const Surfel &s) | |
| Tracker (const Tracker &other) | |
| ~Tracker () | |
| const DigitalSurfaceContainer & | surface () const |
| const Surfel & | current () const |
| Dimension | orthDir () const |
| void | move (const Surfel &s) |
| uint8_t | adjacent (Surfel &s, Dimension d, bool pos) const |
Private Attributes | |
| const DigitalSurfaceContainer & | mySurface |
| Neighborhood | myNeighborhood |
A model of CDigitalSurfaceTracker for SetOfSurfels.
Definition at line 79 of file SetOfSurfels.h.
| typedef SetOfSurfels<TKSpace,TSurfelSet> DGtal::SetOfSurfels< TKSpace, TSurfelSet >::Tracker::DigitalSurfaceContainer |
Definition at line 84 of file SetOfSurfels.h.
| typedef TKSpace DGtal::SetOfSurfels< TKSpace, TSurfelSet >::Tracker::KSpace |
Definition at line 88 of file SetOfSurfels.h.
| typedef SurfelNeighborhood<KSpace> DGtal::SetOfSurfels< TKSpace, TSurfelSet >::Tracker::Neighborhood |
Definition at line 89 of file SetOfSurfels.h.
| typedef Tracker DGtal::SetOfSurfels< TKSpace, TSurfelSet >::Tracker::Self |
Definition at line 83 of file SetOfSurfels.h.
| typedef TKSpace::SCell DGtal::SetOfSurfels< TKSpace, TSurfelSet >::Tracker::Surfel |
Definition at line 85 of file SetOfSurfels.h.
|
inline |
Constructor from surface container and surfel.
| aSurface | the container describing the surface. |
| s | the surfel on which the tracker is initialized. |
Definition at line 51 of file SetOfSurfels.ih.
References DGtal::SurfelNeighborhood< TKSpace >::init(), DGtal::SetOfSurfels< TKSpace, TSurfelSet >::Tracker::myNeighborhood, DGtal::SetOfSurfels< TKSpace, TSurfelSet >::space(), DGtal::SetOfSurfels< TKSpace, TSurfelSet >::Tracker::surface(), and DGtal::SetOfSurfels< TKSpace, TSurfelSet >::surfelAdjacency().
|
inline |
Copy constructor.
| other | the object to clone. |
Definition at line 63 of file SetOfSurfels.ih.
|
inline |
|
inline |
Computes the surfel adjacent to 'current()' in the direction [d] along orientation [pos].
| s | (modified) set to the adjacent surfel in the specified direction d and orientation pos if it exists. Otherwise unchanged (method returns 0 in this case). |
| d | any direction different from 'orthDir()'. |
| pos | when 'true' look in positive direction along [track_dir] axis, 'false' look in negative direction. |
Definition at line 108 of file SetOfSurfels.ih.
References DGtal::SetOfSurfels< TKSpace, TSurfelSet >::surfelPredicate().
|
inline |
Definition at line 80 of file SetOfSurfels.ih.
|
inline |
Moves the tracker to the given valid surfel.
| s | the surfel on which the tracker is moved. |
Definition at line 98 of file SetOfSurfels.ih.
References DGtal::SetOfSurfels< TKSpace, TSurfelSet >::isInside().
|
inline |
Definition at line 89 of file SetOfSurfels.ih.
|
inline |
Definition at line 72 of file SetOfSurfels.ih.
Referenced by DGtal::SetOfSurfels< TKSpace, TSurfelSet >::Tracker::Tracker().
|
private |
the current surfel neighborhood, the object that holds the necessary information for determining neighbors.
Definition at line 149 of file SetOfSurfels.h.
Referenced by DGtal::SetOfSurfels< TKSpace, TSurfelSet >::Tracker::Tracker().
|
private |
a reference to the digital surface container on which is the tracker.
Definition at line 146 of file SetOfSurfels.h.
1.8.1.1