cGELVertex Class Reference

This class implements a vertex for deformable objects. More...

#include <CGELVertex.h>

Public Member Functions

 cGELVertex (chai3d::cMesh *a_mesh, unsigned int a_vertexIndex)
 Constructor of cGELVertex. More...
 
virtual ~cGELVertex ()
 Destructor of cGELVertex. More...
 

Public Attributes

unsigned int m_vertexIndex
 Vertex index. More...
 
chai3d::cMesh * m_mesh
 Mesh object. More...
 
cGELMassParticle * m_massParticle
 Mass particle for current vertex. More...
 
cGELSkeletonLink * m_link
 Skeleton link to which this vertex may be linked to. More...
 
cGELSkeletonNode * m_node
 Skeleton node to which this vertex may be linked to. More...
 

Detailed Description

cGELVertex implements a vertex for deformable objects. The class includes information that describes the position of the mesh vertex in respect to the deformable skeleton that models the physical properties of the object.

Constructor & Destructor Documentation

cGELVertex::cGELVertex ( chai3d::cMesh *  a_mesh,
unsigned int  a_vertexIndex 
)

Constructor of cGELVertex.

Parameters
a_meshParent mesh.
a_vertexIndexIndex number of mesh vertex.
cGELVertex::~cGELVertex ( )
virtual

Destructor of cGELVertex.

Member Data Documentation

unsigned int cGELVertex::m_vertexIndex
chai3d::cMesh* cGELVertex::m_mesh
cGELMassParticle* cGELVertex::m_massParticle
cGELSkeletonLink* cGELVertex::m_link
cGELSkeletonNode* cGELVertex::m_node

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