|
DGtal
0.6.devel
|
#include <DigitalSetBoundary.h>
Public Types | |
| typedef Tracker | Self |
| typedef DigitalSetBoundary < TKSpace, TDigitalSet > | 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 DigitalSetBoundary.
Definition at line 75 of file DigitalSetBoundary.h.
| typedef DigitalSetBoundary<TKSpace,TDigitalSet> DGtal::DigitalSetBoundary< TKSpace, TDigitalSet >::Tracker::DigitalSurfaceContainer |
Definition at line 80 of file DigitalSetBoundary.h.
| typedef TKSpace DGtal::DigitalSetBoundary< TKSpace, TDigitalSet >::Tracker::KSpace |
Definition at line 84 of file DigitalSetBoundary.h.
| typedef SurfelNeighborhood<KSpace> DGtal::DigitalSetBoundary< TKSpace, TDigitalSet >::Tracker::Neighborhood |
Definition at line 85 of file DigitalSetBoundary.h.
| typedef Tracker DGtal::DigitalSetBoundary< TKSpace, TDigitalSet >::Tracker::Self |
Definition at line 79 of file DigitalSetBoundary.h.
| typedef TKSpace::SCell DGtal::DigitalSetBoundary< TKSpace, TDigitalSet >::Tracker::Surfel |
Definition at line 81 of file DigitalSetBoundary.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 DigitalSetBoundary.ih.
References DGtal::SurfelNeighborhood< TKSpace >::init(), DGtal::DigitalSetBoundary< TKSpace, TDigitalSet >::Tracker::myNeighborhood, DGtal::DigitalSetBoundary< TKSpace, TDigitalSet >::space(), DGtal::DigitalSetBoundary< TKSpace, TDigitalSet >::Tracker::surface(), and DGtal::DigitalSetBoundary< TKSpace, TDigitalSet >::surfelAdjacency().
|
inline |
Copy constructor.
| other | the object to clone. |
Definition at line 63 of file DigitalSetBoundary.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 111 of file DigitalSetBoundary.ih.
References DGtal::DigitalSetBoundary< TKSpace, TDigitalSet >::digitalSet().
|
inline |
Definition at line 83 of file DigitalSetBoundary.ih.
|
inline |
Moves the tracker to the given valid surfel.
| s | the surfel on which the tracker is moved. |
Definition at line 101 of file DigitalSetBoundary.ih.
References DGtal::DigitalSetBoundary< TKSpace, TDigitalSet >::isInside().
|
inline |
Definition at line 92 of file DigitalSetBoundary.ih.
|
inline |
Definition at line 73 of file DigitalSetBoundary.ih.
Referenced by DGtal::DigitalSetBoundary< TKSpace, TDigitalSet >::Tracker::Tracker().
|
private |
the current surfel neighborhood, the object that holds the necessary information for determining neighbors.
Definition at line 145 of file DigitalSetBoundary.h.
Referenced by DGtal::DigitalSetBoundary< TKSpace, TDigitalSet >::Tracker::Tracker().
|
private |
a reference to the digital surface container on which is the tracker.
Definition at line 142 of file DigitalSetBoundary.h.
1.8.1.1