version 3.3

VRS::PolyBehavior Class Reference

Abstract Base Class for Poly Behavior Nodes. More...

#include <vrs/sg/polybehavior.h>

Inheritance diagram for VRS::PolyBehavior:

VRS::BehaviorNode VRS::SharedObj VRS::Visitable VRS::BehaviorGroup VRS::TimeGroup VRS::TimeSequence VRS::TimeSimultaneity VRS::TimeTable

List of all members.

Public Member Functions

 PolyBehavior (State state=BehaviorNode::Active)
virtual int childNodes () const =0
virtual BehaviorNodechildNode (int i) const =0
virtual
SceneNodeVisitor::TraversalFlag 
traverse (SceneNodeVisitor *visitor)
 The poly behavior node visits all of its child nodes.
 VRS_TYPEINFO (PolyBehavior, BehaviorNode)
 VRS_SERIALIZABLE_ABSTRACT_CLASS (PolyBehavior)


Detailed Description

Abstract Base Class for Poly Behavior Nodes.

Constructor & Destructor Documentation

VRS::PolyBehavior::PolyBehavior ( State  state = BehaviorNode::Active  ) 

This class defines the interface for behavior nodes with multiple child nodes. Those container nodes can report the number of children and the children.


Member Function Documentation

virtual int VRS::PolyBehavior::childNodes (  )  const [pure virtual]

Implemented in VRS::BehaviorGroup, and VRS::TimeGroup.

virtual BehaviorNode* VRS::PolyBehavior::childNode ( int  i  )  const [pure virtual]

'childNodes' returns the number of subgraphs associated to the behavior node. 'childNode' returns the handle to the i-th child node.

Implemented in VRS::BehaviorGroup, and VRS::TimeGroup.

virtual SceneNodeVisitor::TraversalFlag VRS::PolyBehavior::traverse ( SceneNodeVisitor visitor  )  [virtual]

The poly behavior node visits all of its child nodes.

Reimplemented from VRS::BehaviorNode.

VRS::PolyBehavior::VRS_TYPEINFO ( PolyBehavior  ,
BehaviorNode   
)

VRS::PolyBehavior::VRS_SERIALIZABLE_ABSTRACT_CLASS ( PolyBehavior   ) 


The documentation for this class was generated from the following file:

Generated on Fri May 24 06:00:32 2013 by Doxygen 1.5.6
© 2001-2010 Hasso-Plattner-Institut | Impressum | Contact