public

Inheritance Graph

graph BT
	NodeVisitor
	click NodeVisitor "classMinSG_1_1NodeVisitor"

Description

NodeVisitor

Public Types

   
   
enum status {CONTINUE_TRAVERSAL, BREAK_TRAVERSAL, EXIT_TRAVERSAL}

Public Functions

   
   
  NodeVisitor()
   
  ~NodeVisitor()
   
status enter( Node * void)
   
status leave( Node * void)

Documentation

enum
MinSG::NodeVisitor::status

public
 
 
enum status
Enumerator   Description
Enumerator   Description
CONTINUE_TRAVERSAL = 0  
BREAK_TRAVERSAL = 1  
EXIT_TRAVERSAL = 2  

Defined in MinSG/Core/NodeVisitor.h:24


function
MinSG::NodeVisitor::NodeVisitor

public inline
   
   
NodeVisitor( )

Defined in MinSG/Core/NodeVisitor.h:29


function
MinSG::NodeVisitor::~NodeVisitor

public inline virtual
   
   
~NodeVisitor( )

Defined in MinSG/Core/NodeVisitor.h:31


function
MinSG::NodeVisitor::enter

public inline virtual
     
     
status enter( Node * void )

Called when entering a Node during traversal.

Returns

CONTINUE_TRAVERSAL traverse the children before leaving the node BREAK_TRAVERSAL skip the children and leave the node EXIT_TRAVERSAL stop the traversal immediately (without leaving a node)

Defined in MinSG/Core/NodeVisitor.h:39


function
MinSG::NodeVisitor::leave

public inline virtual
     
     
status leave( Node * void )

Called when leaving a Node during traversal.

Returns

CONTINUE_TRAVERSAL continue the traversal (BREAK_TRAVERSAL) undefined EXIT_TRAVERSAL stop the traversal immediately

Defined in MinSG/Core/NodeVisitor.h:48