X3DTK::MESH::TemplateMesh< MData, VData, EData, FData, RW > Class Template Reference
[MeshSceneGraph]

Template class declared in <X3DTK/MESH/scenegraph.h> defining a Mesh, the most important structure of the MESH scene graph. More...

Inheritance diagram for X3DTK::MESH::TemplateMesh< MData, VData, EData, FData, RW >:

X3DTK::MESH::X3DMeshNode X3DTK::MESH::X3DNode X3DTK::X3DAbstractNode List of all members.

Public Types

Public Member Functions

Protected Member Functions


Detailed Description

template<class MData, class VData, class EData, class FData, bool RW>
class X3DTK::MESH::TemplateMesh< MData, VData, EData, FData, RW >

Template class declared in <X3DTK/MESH/scenegraph.h> defining a Mesh, the most important structure of the MESH scene graph.

It provides a set of interconnected vertices, oriented-edges and faces.


Member Typedef Documentation

template<class MData, class VData, class EData, class FData, bool RW>
typedef MeshMFTemplateEdge<MData, VData, EData, FData, RW> X3DTK::MESH::TemplateMesh< MData, VData, EData, FData, RW >::MFEdge
 

template<class MData, class VData, class EData, class FData, bool RW>
typedef MeshMFTemplateFace<MData, VData, EData, FData, RW> X3DTK::MESH::TemplateMesh< MData, VData, EData, FData, RW >::MFFace
 

template<class MData, class VData, class EData, class FData, bool RW>
typedef MeshMFTemplateVertex<MData, VData, EData, FData, RW> X3DTK::MESH::TemplateMesh< MData, VData, EData, FData, RW >::MFVertex
 


Constructor & Destructor Documentation

template<class MData, class VData, class EData, class FData, bool RW>
X3DTK::MESH::TemplateMesh< MData, VData, EData, FData, RW >::TemplateMesh  ) 
 

Constructor.

template<class MData, class VData, class EData, class FData, bool RW>
virtual X3DTK::MESH::TemplateMesh< MData, VData, EData, FData, RW >::~TemplateMesh  )  [virtual]
 

Virtual destructor.


Member Function Documentation

template<class MData, class VData, class EData, class FData, bool RW>
SFTemplateFace<MData, VData, EData, FData, RW>* X3DTK::MESH::TemplateMesh< MData, VData, EData, FData, RW >::createFace unsigned int  i,
const MFInt32 coordIndex,
bool  ccw = true
 

Creates a new face at position i.

template<class MData, class VData, class EData, class FData, bool RW>
SFTemplateFace<MData, VData, EData, FData, RW>* X3DTK::MESH::TemplateMesh< MData, VData, EData, FData, RW >::createFace const MFInt32 coordIndex,
bool  ccw = true
 

Creates Face at the end.

The vertices present in coordIndex must already be created, otherwise, it returns a NULL Face.

template<class MData, class VData, class EData, class FData, bool RW>
const MData& X3DTK::MESH::TemplateMesh< MData, VData, EData, FData, RW >::data  )  const [inline]
 

Gets the data.

template<class MData, class VData, class EData, class FData, bool RW>
MData& X3DTK::MESH::TemplateMesh< MData, VData, EData, FData, RW >::data  )  [inline]
 

Gets the data.

template<class MData, class VData, class EData, class FData, bool RW>
template<class F>
F& X3DTK::MESH::TemplateMesh< MData, VData, EData, FData, RW >::getData  ) 
 

Gets the data F from MData which must be of type clist<tlist<T...> >.

template<class MData, class VData, class EData, class FData, bool RW>
const MFEdge& X3DTK::MESH::TemplateMesh< MData, VData, EData, FData, RW >::getEdges  )  const
 

Gets the edges that can be shared with other Mesh.

template<class MData, class VData, class EData, class FData, bool RW>
const MFFace& X3DTK::MESH::TemplateMesh< MData, VData, EData, FData, RW >::getFaces  )  const [inline]
 

Gets the faces.

template<class MData, class VData, class EData, class FData, bool RW>
const MFVertex& X3DTK::MESH::TemplateMesh< MData, VData, EData, FData, RW >::getVertices  )  const
 

Gets the Vertices that can be shared with other Mesh.

template<class MData, class VData, class EData, class FData, bool RW>
template<class F>
F& X3DTK::MESH::TemplateMesh< MData, VData, EData, FData, RW >::ogetData  ) 
 

Gets optionally the data F from MData which must be of type clist<tlist<T...> >.

template<class MData, class VData, class EData, class FData, bool RW>
bool X3DTK::MESH::TemplateMesh< MData, VData, EData, FData, RW >::removeFace SFTemplateFace< MData, VData, EData, FData, RW > *  face  ) 
 

Removes face.

template<class MData, class VData, class EData, class FData, bool RW>
void X3DTK::MESH::TemplateMesh< MData, VData, EData, FData, RW >::removeFaceFromNeighBourhood SFTemplateFace< MData, VData, EData, FData, RW > *  face  )  [protected]
 

Removes face from neighbourhood.

template<class MData, class VData, class EData, class FData, bool RW>
void X3DTK::MESH::TemplateMesh< MData, VData, EData, FData, RW >::setVertex TemplateVertex< MData, VData, EData, FData, RW > *  vertexSet  ) 
 

Sets the Vertex attribute.


Generated on Fri Aug 27 13:16:34 2004 for X3DToolKit by doxygen 1.3.6