| VRS - The Virtual Rendering System |
| version 3.3 |
#include <vrs/sg/polybehavior.h>

Public Member Functions | |
| PolyBehavior (State state=BehaviorNode::Active) | |
| virtual int | childNodes () const =0 |
| virtual BehaviorNode * | childNode (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) | |
| 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.
| 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] |
| VRS::PolyBehavior::VRS_TYPEINFO | ( | PolyBehavior | , | |
| BehaviorNode | ||||
| ) |
| VRS::PolyBehavior::VRS_SERIALIZABLE_ABSTRACT_CLASS | ( | PolyBehavior | ) |