DGtal
0.6.devel
|
#include <DigitalSurface.h>
Public Member Functions | |
Face (const UmbrellaState &aState, unsigned int nb, bool aIsClosed) | |
bool | isClosed () const |
bool | operator== (const Face &other) const |
bool | operator< (const Face &other) const |
Data Fields | |
UmbrellaState | state |
unsigned int | nbVertices |
bool | closed |
Defines a face on the digital surface, i.e. an umbrella (open or closed) around a pivot cell (n-3-cell). To be able to compare faces, the face is characterized by one of its possible states. If the face is closed, the representative state is the smallest one. If the face is open, the representative state is the first (applying previous() does not move).
Definition at line 222 of file DigitalSurface.h.
|
inline |
Definition at line 227 of file DigitalSurface.h.
|
inline |
Definition at line 231 of file DigitalSurface.h.
References DGtal::DigitalSurface< TDigitalSurfaceContainer >::Face::closed.
|
inline |
Definition at line 237 of file DigitalSurface.h.
References DGtal::DigitalSurface< TDigitalSurfaceContainer >::Face::state.
|
inline |
Definition at line 233 of file DigitalSurface.h.
References DGtal::DigitalSurface< TDigitalSurfaceContainer >::Face::state.
bool DGtal::DigitalSurface< TDigitalSurfaceContainer >::Face::closed |
tells if the face is closed or open.
Definition at line 226 of file DigitalSurface.h.
Referenced by DGtal::DigitalSurface< TDigitalSurfaceContainer >::Face::isClosed().
unsigned int DGtal::DigitalSurface< TDigitalSurfaceContainer >::Face::nbVertices |
number of vertices incident to face.
Definition at line 225 of file DigitalSurface.h.
Referenced by DGtal::DigitalSurface< TDigitalSurfaceContainer >::verticesAroundFace().
UmbrellaState DGtal::DigitalSurface< TDigitalSurfaceContainer >::Face::state |
stores a state from which the whole umbrella can be recomputed.
Definition at line 223 of file DigitalSurface.h.
Referenced by DGtal::DigitalSurface< TDigitalSurfaceContainer >::computeFace(), DGtal::DigitalSurface< TDigitalSurfaceContainer >::Face::operator<(), DGtal::DigitalSurface< TDigitalSurfaceContainer >::Face::operator==(), DGtal::DigitalSurface< TDigitalSurfaceContainer >::pivot(), and DGtal::DigitalSurface< TDigitalSurfaceContainer >::verticesAroundFace().