#include <group_node.h>
Public Member Functions | |
GroupNode () | |
A constructor that does nothing. | |
virtual | ~GroupNode () |
A destructor that does nothing. | |
int | get_children_count () const |
Return the number of children. | |
SceneGraphNode * | get_child (int index) |
Return the child with the given index. | |
void | append_child (SceneGraphNode *child) |
Add the given scene graph node to the end of the list of children. | |
virtual void | accept (Visitor *visitor) |
Accept a visitor. | |
Private Attributes | |
std::vector< Reference < SceneGraphNode > > | children |
GroupNode::GroupNode | ( | ) |
A constructor that does nothing.
virtual GroupNode::~GroupNode | ( | ) | [virtual] |
A destructor that does nothing.
void GroupNode::append_child | ( | SceneGraphNode * | child | ) |
Add the given scene graph node to the end of the list of children.
SceneGraphNode* GroupNode::get_child | ( | int | index | ) |
Return the child with the given index.
int GroupNode::get_children_count | ( | ) | const |
Return the number of children.
std::vector< Reference<SceneGraphNode> > GroupNode::children [private] |