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

Class declared in <X3DTK/MESH/normalsupdater.h> providing a processor that updates the normals of a MESH scene graph. More...

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

X3DTK::X3DMultiPassProcessor X3DTK::X3DProcessor List of all members.

Public Member Functions


Detailed Description

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

Class declared in <X3DTK/MESH/normalsupdater.h> providing a processor that updates the normals of a MESH scene graph.

The normal of a vertex is computed by making the average of each normal of the rounding faces. The crease angle is not taken in account.


Constructor & Destructor Documentation

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

Constructor.

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

Destructor.


Member Function Documentation

template<class MData, class VData, class EData, class FData, bool RW>
void X3DTK::MESH::TemplateNormalsUpdater< MData, VData, EData, FData, RW >::setSelectedNodes const MFNode selectedNodes  ) 
 

Sets the selected nodes to update. If empty, then all the graph is updated.

template<class MData, class VData, class EData, class FData, bool RW>
void X3DTK::MESH::TemplateNormalsUpdater< MData, VData, EData, FData, RW >::updateNormals X3DNode N  ) 
 

Updates the normals.

template<class MData, class VData, class EData, class FData, bool RW>
void X3DTK::MESH::TemplateNormalsUpdater< MData, VData, EData, FData, RW >::updateNormals Scene S  ) 
 

Updates the normals of the scene.


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