SShape Class Reference
#include <Silhouette.h>
List of all members.
Detailed Description
Class to define a feature shape. It is the gathering of feature elements from an identified input shape
Constructor & Destructor Documentation
virtual ~SShape |
( |
|
) |
[inline, virtual] |
|
|
Destructor.
Clear the chains list |
Member Function Documentation
void AddEdge |
( |
FEdge * |
iEdge |
) |
[inline] |
|
|
Adds a FEdge to the list of FEdges. |
void AddNewVertex |
( |
SVertex * |
iv |
) |
[inline] |
|
|
Adds a SVertex to the list of SVertex of this Shape. The SShape attribute of the SVertex is also set to 'this'. |
const BBox<Vec3r>& bbox |
( |
|
) |
[inline] |
|
|
Returns the bounding box of the shape. |
void ComputeBBox |
( |
|
) |
[inline] |
|
|
Compute the bbox of the sshape |
virtual SShape* dupplicate |
( |
|
) |
[inline, virtual] |
|
vector<FEdge*>& GetEdgeList |
( |
|
) |
[inline] |
|
|
Returns the list of FEdges of the Shape. |
Id getId |
( |
|
) |
const [inline] |
|
|
Returns the Id of the Shape. |
vector<SVertex*>& GetVertexList |
( |
|
) |
[inline] |
|
|
Returns the list of SVertex of the Shape. |
const Material& material |
( |
unsigned |
i |
) |
const [inline] |
|
|
Returns the ith material of the shape. |
const vector<Material>& materials |
( |
|
) |
const [inline] |
|
|
Returns the list of materials of the Shape. |
void SetBBox |
( |
const BBox< Vec3r > & |
iBBox |
) |
[inline] |
|
|
Sets the Bounding Box of the Shape |
void SetId |
( |
Id |
id |
) |
[inline] |
|
|
Sets the Id of the shape. |
void SetMaterials |
( |
const vector< Material > & |
iMaterials |
) |
[inline] |
|
|
Sets the list of materials for the shape |
Member Data Documentation
|
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: