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

Template class declared in <X3DTK/MESH/scenegraph.h> providing a face structure for the Mesh class. More...

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

X3DTK::MESH::BaseSFFace List of all members.

Public Types

Public Member Functions


Detailed Description

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

Template class declared in <X3DTK/MESH/scenegraph.h> providing a face structure for the Mesh class.


Member Typedef Documentation

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

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


Member Function Documentation

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

Gets the data.

template<class MData, class VData, class EData, class FData, bool RW>
FData& X3DTK::MESH::SFTemplateFace< 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::SFTemplateFace< MData, VData, EData, FData, RW >::getData  ) 
 

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

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

Gets the edges of the face. The order is given b the order of definition of the face.

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

Returns the mesh of which belongs the face.

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

Gets the vertices of the face.

This method is not efficient, because SFTemplateFace has not a vertices attribute, meaning that the method cannot return a reference. So a copy constructor is called. Prefer getting the edges and getting the from vertex of each edge.

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

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

template<class MData, class VData, class EData, class FData, bool RW>
void X3DTK::MESH::SFTemplateFace< MData, VData, EData, FData, RW >::reverse  ) 
 

Reverses the face.


Generated on Fri Jul 30 12:02:38 2004 for X3DToolKit by doxygen 1.3.6