|
DGtal 1.4.2
|
#include <DGtal/topology/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 (ConstAlias< 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 80 of file SetOfSurfels.h.
| SetOfSurfels<TKSpace,TSurfelSet> DGtal::SetOfSurfels< TKSpace, TSurfelSet >::Tracker::DigitalSurfaceContainer |
Definition at line 85 of file SetOfSurfels.h.
| TKSpace DGtal::SetOfSurfels< TKSpace, TSurfelSet >::Tracker::KSpace |
Definition at line 89 of file SetOfSurfels.h.
| SurfelNeighborhood<KSpace> DGtal::SetOfSurfels< TKSpace, TSurfelSet >::Tracker::Neighborhood |
Definition at line 90 of file SetOfSurfels.h.
| Tracker DGtal::SetOfSurfels< TKSpace, TSurfelSet >::Tracker::Self |
Definition at line 84 of file SetOfSurfels.h.
| TKSpace::SCell DGtal::SetOfSurfels< TKSpace, TSurfelSet >::Tracker::Surfel |
Definition at line 86 of file SetOfSurfels.h.
| DGtal::SetOfSurfels< TKSpace, TSurfelSet >::Tracker::Tracker | ( | ConstAlias< DigitalSurfaceContainer > | aSurface, |
| const Surfel & | s ) |
Constructor from surface container and surfel.
| aSurface | the container describing the surface. |
| s | the surfel on which the tracker is initialized. |
| DGtal::SetOfSurfels< TKSpace, TSurfelSet >::Tracker::Tracker | ( | const Tracker & | other | ) |
Copy constructor.
| other | the object to clone. |
| DGtal::SetOfSurfels< TKSpace, TSurfelSet >::Tracker::~Tracker | ( | ) |
Destructor.
| uint8_t DGtal::SetOfSurfels< TKSpace, TSurfelSet >::Tracker::adjacent | ( | Surfel & | s, |
| Dimension | d, | ||
| bool | pos ) const |
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. |
| const Surfel & DGtal::SetOfSurfels< TKSpace, TSurfelSet >::Tracker::current | ( | ) | const |
| void DGtal::SetOfSurfels< TKSpace, TSurfelSet >::Tracker::move | ( | const Surfel & | s | ) |
Moves the tracker to the given valid surfel.
| s | the surfel on which the tracker is moved. |
| Dimension DGtal::SetOfSurfels< TKSpace, TSurfelSet >::Tracker::orthDir | ( | ) | const |
| const DigitalSurfaceContainer & DGtal::SetOfSurfels< TKSpace, TSurfelSet >::Tracker::surface | ( | ) | const |
|
private |
the current surfel neighborhood, the object that holds the necessary information for determining neighbors.
Definition at line 150 of file SetOfSurfels.h.
|
private |
a reference to the digital surface container on which is the tracker.
Definition at line 147 of file SetOfSurfels.h.