Contour class that only describes topological properties of contours
![]() | VertexIterator a class that allows to iterate on all vertices of all lines
| ||||||||||||||||||||
![]() | DisplayMode The type of display | ||||||||||||||||||||
![]() | VertexDisplayMode whether to display vertices | ||||||||||||||||||||
![]() | SelectionMode the different objects that can be selected |
![]() | firstVertex () const returns a VertexIterator of type T pointing on the contour |
![]() | firstLine (void) const returns a line Iterator of type V |
![]() | lastLine (void) const returns a line Iterator of type V |
![]() | getFirstLine (void) const returns the first Line of type L * |
![]() | firstLineContour () const returns a line Iterator of type Line on the first item |
![]() | lastLineContour () const returns a line Iterator of type Line on the last item |
![]() | addLine (ContourLine *l) add the line in the first position in the line list |
![]() | getNbLines () const Returns the number of lines of a contour |
![]() | getNbVertices () const Returns the total number of vertices |
![]() | mergeEdges (EdgeContour *e1, EdgeContour *e2) Merge two edges that may not belong to the same contour |
![]() | createLine (ContourLine::Topology top) create a new line : use a virtual function in order to create inherited lines |
![]() | applyLine (void (T::*fn)(const unsigned int ), const unsigned int v) Apply a function on all lines of a contour |
![]() | applyVertex (void (T::*fn)(void)) Apply a function on all vertices of a contour |
![]() | applyVertex (void (T::*fn)(const double), const double v) Apply a function on all vertices of a contour |
![]() | applyVertex (void (T::*fn)(const unsigned int ), const unsigned int v) Apply a function on all vertices of a contour |
![]() | initColor () sets the color variables |
![]() | updateBoundingBox () recompute the geometry of the bounding box |
![]() | getLineColor (float &r, float &g, float &b) const Returns the display color of lines |
![]() | getSelectedLineColor (float &r, float &g, float &b) const Returns the display color of selected lines |
![]() | getVertexColor (float &r, float &g, float &b) const Returns the display color of vertices |
![]() | getSelectedVertexColor (float &r, float &g, float &b) const Returns the display color of selected vertices |
![]() | getLineWidth () const Returns the width of a line |
![]() | getVertexSize () const Returns the size of a displayed vertex |
![]() | getDisplayMode () const Returns the display mode (off or on) |
![]() | getSelectionMode () const Returns the selection mode |
![]() | getVertexDisplayMode () const Returns the vertex display mode |
![]() | setLineColor (const float r, const float g, const float b) Sets the display color of lines |
![]() | setSelectedLineColor (const float r, const float g, const float b) Sets the display color of selected lines |
![]() | setVertexColor (const float r, const float g, const float b) Sets the display color of vertices |
![]() | setSelectedVertexColor (const float r, const float g, const float b) Sets the display color of selected vertices |
![]() | setLineWidth (const float w) Sets the width of a line |
![]() | setVertexSize (const float s) Sets the size of a displayed vertex |
![]() | setDisplayMode (const DisplayMode mode) Sets the display mode |
![]() | setVertexDisplayMode (const VertexDisplayMode mode) Sets the vertex display mode |
![]() | setSelectionMode (const SelectionMode mode) Sets the selection mode |
![]() | constructor
| ||
![]() | destructor
|
![]() | lineList the list of lines |
![]() | lineColor [3] the current color of a line |
![]() | defaultLineColor [3] the default color of a line |
![]() | selectedLineColor [3] the current color of a selected line |
![]() | defaultSelectedLineColor [3] the default color of a selected line |
![]() | selectedVertexColor [3] the current color of a selected vertex |
![]() | defaultSelectedVertexColor [3] the default color of a selected vertex |
![]() | vertexColor [3] the current color of a vertex |
![]() | defaultVertexColor [3] the default color of a vertex |
![]() | lineWidth the current line width for the display of all lines |
![]() | defaultLineWidth the default line width for the display of all lines |
![]() | vertexSize the current vertex size for the display of all vertices |
![]() | defaultVertexSize the deafult vertex size for the display of all vertices |
![]() | displayMode The type of display |
![]() | vertexDisplayMode Should the vertices be displayed |
![]() | selectionMode the selection mode |
Contour class that only describes topological properties of contours
template
const Contour* contour
ObjectsList <ContourLine> :: iterator currentLine
ObjectsList <VertexContour> :: iterator currentVertex
constructor
T* operator++(int) throw(ObjectsList<ContourLine>::iterator::AccessBeyondList)
T* operator++(void) throw(ObjectsList<ContourLine>::iterator::AccessBeyondList)
T* operator *(void) const throw(ObjectsList<ContourLine>::iterator::AccessBeyondList)
void first(void)
bool isAtEnd(void)
VertexIterator <VertexContour> firstVertex() const
template
template
template
ObjectsList <ContourLine> ::iterator firstLineContour() const
ObjectsList <ContourLine> ::iterator lastLineContour() const
void addLine(ContourLine *l)
unsigned int getNbLines() const
unsigned int getNbVertices() const
virtual void mergeEdges(EdgeContour *e1, EdgeContour *e2)
virtual ContourLine* createLine(ContourLine::Topology top)
constructor
destructor
template
v - a unsigned int value that is used as a parameter of function fn template
template
v - a double value that is used as a parameter of function fn template
v - a unsigned int value that is used as a parameter of function fn enum DisplayMode
enum VertexDisplayMode
enum SelectionMode
float lineColor[3]
static const float defaultLineColor[3]
float selectedLineColor[3]
static const float defaultSelectedLineColor[3]
float selectedVertexColor[3]
static const float defaultSelectedVertexColor[3]
float vertexColor[3]
static const float defaultVertexColor[3]
float lineWidth
static const float defaultLineWidth
float vertexSize
static const float defaultVertexSize
DisplayMode displayMode
VertexDisplayMode vertexDisplayMode
SelectionMode selectionMode
void initColor()
void updateBoundingBox()
void getLineColor(float &r, float &g, float &b) const
void getSelectedLineColor(float &r, float &g, float &b) const
void getVertexColor(float &r, float &g, float &b) const
void getSelectedVertexColor(float &r, float &g, float &b) const
float getLineWidth() const
float getVertexSize() const
DisplayMode getDisplayMode() const
SelectionMode getSelectionMode() const
VertexDisplayMode getVertexDisplayMode() const
void setLineColor(const float r, const float g, const float b)
void setSelectedLineColor(const float r, const float g, const float b)
void setVertexColor(const float r, const float g, const float b)
void setSelectedVertexColor(const float r, const float g, const float b)
void setLineWidth(const float w)
void setVertexSize(const float s)
void setDisplayMode(const DisplayMode mode)
void setVertexDisplayMode(const VertexDisplayMode mode)
void setSelectionMode(const SelectionMode mode)
alphabetic index hierarchy of classes
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de