X3DTK::MESH::ConnectedComComputer Class Reference
[MESH]

Class declared in <X3DTK/MESH/connectedcomcomputer.h> providing a processor that computes the connected components of the MESH scene graph. More...

Inheritance diagram for X3DTK::MESH::ConnectedComComputer:

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

Public Member Functions

Public Attributes


Detailed Description

Class declared in <X3DTK/MESH/connectedcomcomputer.h> providing a processor that computes the connected components of the MESH scene graph.

The connected components are implicitly defined by the X3DTK::MESH::Vertex nodes. A connected component is a set of vertices defined by the X3DTK::MESH::Vertex node and a set of faces which are the faces of different X3DTK::MESH::Mesh nodes parents of the X3DTK::MESH::Vertex node. Moreover, a connected component can be made of several X3DTK::MESH::Mesh that can be not connected. The processor cuts these X3DTK::MESH::Mesh into several connected X3DTK::MESH::Mesh nodes.


Constructor & Destructor Documentation

X3DTK::MESH::ConnectedComComputer::ConnectedComComputer  ) 
 

Constructor.

virtual X3DTK::MESH::ConnectedComComputer::~ConnectedComComputer  )  [virtual]
 

Destructor.


Member Function Documentation

void X3DTK::MESH::ConnectedComComputer::compute X3DNode N  ) 
 

Computes the connected components.

void X3DTK::MESH::ConnectedComComputer::compute Scene S  ) 
 

Computes the connected components of the scene.

void X3DTK::MESH::ConnectedComComputer::setSelectedNodes const MFNode selectedNodes  ) 
 

Sets the selected nodes to draw. If empty, then all the graph is drawn.


Member Data Documentation

Progress* X3DTK::MESH::ConnectedComComputer::progress
 

Progress variables.


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