X3DTK::GraphTraversal Class Reference
[processor]

Class declared in <X3DTK/kernel.h> defining a tree traversal algorithm. More...

Inheritance diagram for X3DTK::GraphTraversal:

X3DTK::DFSGraphTraversal List of all members.

Public Member Functions

Protected Attributes


Detailed Description

Class declared in <X3DTK/kernel.h> defining a tree traversal algorithm.


Constructor & Destructor Documentation

X3DTK::GraphTraversal::GraphTraversal  ) 
 

Constructor.

virtual X3DTK::GraphTraversal::~GraphTraversal  )  [virtual]
 

Destructor.


Member Function Documentation

void X3DTK::GraphTraversal::setAutoDeleteComponents bool  value  ) 
 

If AutoDeleteComponents is set to true, then the components are deleted in the destructor.

void X3DTK::GraphTraversal::setComponentVisitor X3DComponentVisitor component  ) 
 

Sets a component visitor.

If there is already a visitor recorded for this component, then it is deleted and replaced by the new one.

void X3DTK::GraphTraversal::setWalker Walker walker  ) 
 

Sets the walker.

void X3DTK::GraphTraversal::traverse SFNode  N  )  const
 

Traverses the sub-graph of which the root is N.

The recorded component visitors are applied.


Member Data Documentation

Visitor* X3DTK::GraphTraversal::visitor [protected]
 

Visitor.

Walker* X3DTK::GraphTraversal::walker [protected]
 

Walker.


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