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>
Public Member Functions | |
ViewShape () | |
ViewShape (SShape *iSShape) | |
ViewShape (ViewShape &iBrother) | |
virtual ViewShape * | dupplicate () |
virtual | ~ViewShape () |
SShape * | sshape () |
const SShape * | sshape () const |
vector< ViewVertex * > & | vertices () |
vector< ViewEdge * > & | edges () |
Id | getId () const |
void | SetSShape (SShape *iSShape) |
void | SetVertices (const vector< ViewVertex * > &iVertices) |
void | SetEdges (const vector< ViewEdge * > &iEdges) |
void | AddVertex (ViewVertex *iVertex) |
void | AddEdge (ViewEdge *iEdge) |
Public Attributes | |
void * | userdata |
ViewShape | ( | ) | [inline] |
Default constructor.
virtual ~ViewShape | ( | ) | [virtual] |
Destructor.
virtual ViewShape* dupplicate | ( | ) | [inline, virtual] |
Cloning method.
vector<ViewVertex*>& vertices | ( | ) | [inline] |
Returns the list of ViewVertex contained in this ViewShape.
void SetSShape | ( | SShape * | iSShape | ) | [inline] |
void SetVertices | ( | const vector< ViewVertex * > & | iVertices | ) | [inline] |
Sets the list of ViewVertex contained in this ViewShape.
void SetEdges | ( | const vector< ViewEdge * > & | iEdges | ) | [inline] |
void AddVertex | ( | ViewVertex * | iVertex | ) | [inline] |
Adds a ViewVertex to the list.
void* userdata |
A field that can be used by the user to store any data. This field must be reseted afterwards using ResetUserData().