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

ViewShape Class Reference

#include <ViewMap.h>

List of all members.


Detailed Description

Class gathering the elements of the ViewMap (ViewVertex, ViewEdge) that are issued from the same input shape.


Public Member Functions

 ViewShape ()
 ViewShape (SShape *iSShape)
 ViewShape (ViewShape &iBrother)
virtual ViewShapedupplicate ()
virtual ~ViewShape ()
SShapesshape ()
const SShapesshape () 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

Constructor & Destructor Documentation

ViewShape  )  [inline]
 

Default constructor.

ViewShape SShape iSShape  )  [inline]
 

Builds a ViewShape from a SShape.

ViewShape ViewShape iBrother  )  [inline]
 

Copy constructor.

virtual ~ViewShape  )  [virtual]
 

Destructor.


Member Function Documentation

void AddEdge ViewEdge iEdge  )  [inline]
 

Adds a ViewEdge to the list

void AddVertex ViewVertex iVertex  )  [inline]
 

Adds a ViewVertex to the list.

virtual ViewShape* dupplicate  )  [inline, virtual]
 

Cloning method.

vector<ViewEdge*>& edges  )  [inline]
 

Returns the list of ViewEdge contained in this ViewShape.

Id getId  )  const [inline]
 

Returns the ViewShape id.

void SetEdges const vector< ViewEdge * > &  iEdges  )  [inline]
 

Sets the list of ViewEdge contained in this ViewShape.

void SetSShape SShape iSShape  )  [inline]
 

Sets the SShape on top of which the ViewShape is built.

void SetVertices const vector< ViewVertex * > &  iVertices  )  [inline]
 

Sets the list of ViewVertex contained in this ViewShape.

const SShape* sshape  )  const [inline]
 

Returns the SShape on top of which this ViewShape is built.

SShape* sshape  )  [inline]
 

Returns the SShape on top of which this ViewShape is built.

vector<ViewVertex*>& vertices  )  [inline]
 

Returns the list of ViewVertex contained in this ViewShape.


Member Data Documentation

void* userdata
 

A field that can be used by the user to store any data. This field must be reseted afterwards using ResetUserData().


The documentation for this class was generated from the following file: