h o m e | d o c u m e n t a t i o n | c l a s s h i e r a r c h y |
#include <ViewMap.h>
Inheritance diagram for ViewVertex:
Public Member Functions | |
virtual string | getExactTypeName () const |
ViewVertex () | |
virtual | ~ViewVertex () |
virtual Nature::VertexNature | getNature () const |
void | setNature (Nature::VertexNature iNature) |
virtual ViewVertexInternal::orientedViewEdgeIterator | edgesBegin ()=0 |
virtual ViewVertexInternal::orientedViewEdgeIterator | edgesEnd ()=0 |
virtual ViewVertexInternal::orientedViewEdgeIterator | edgesIterator (ViewEdge *iEdge)=0 |
Public Attributes | |
void * | userdata |
Protected Member Functions | |
ViewVertex (ViewVertex &iBrother) | |
virtual ViewVertex * | dupplicate ()=0 |
Friends | |
class | ViewShape |
ViewVertex | ( | ) | [inline] |
Default constructor.
ViewVertex | ( | ViewVertex & | iBrother | ) | [inline, protected] |
Copy constructor.
virtual ~ViewVertex | ( | ) | [inline, virtual] |
Destructor.
virtual string getExactTypeName | ( | ) | const [inline, virtual] |
Returns the string "ViewVertex" .
Reimplemented from Interface0D.
Reimplemented in TVertex, and NonTVertex.
virtual ViewVertex* dupplicate | ( | ) | [protected, pure virtual] |
Cloning method.
Implemented in TVertex, and NonTVertex.
virtual Nature::VertexNature getNature | ( | ) | const [inline, virtual] |
Returns the nature of the vertex .
Reimplemented from Interface0D.
void setNature | ( | Nature::VertexNature | iNature | ) | [inline] |
Sets the nature of the vertex.
virtual ViewVertexInternal::orientedViewEdgeIterator edgesBegin | ( | ) | [pure virtual] |
Returns an iterator over the ViewEdges that goes to or comes from this ViewVertex pointing to the first ViewEdge of the list. The orientedViewEdgeIterator allows to iterate in CCW order over these ViewEdges and to get the orientation for each ViewEdge (incoming/outgoing).
Implemented in TVertex, and NonTVertex.
virtual ViewVertexInternal::orientedViewEdgeIterator edgesEnd | ( | ) | [pure virtual] |
Returns an orientedViewEdgeIterator over the ViewEdges around this ViewVertex, pointing after the last ViewEdge.
Implemented in TVertex, and NonTVertex.
virtual ViewVertexInternal::orientedViewEdgeIterator edgesIterator | ( | ViewEdge * | iEdge | ) | [pure virtual] |
Returns an orientedViewEdgeIterator pointing to the ViewEdge given as argument.
Implemented in TVertex, and NonTVertex.
void* userdata |
A field that can be used by the user to store any data. This field must be reseted afterwards using ResetUserData().