GroupNode Class Reference

Represent a group of scene graph nodes as a single node. More...

#include <group_node.h>

Inheritance diagram for GroupNode:

SceneGraphNode Object ReferenceCounted

List of all members.

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.
SceneGraphNodeget_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


Detailed Description

Represent a group of scene graph nodes as a single node.

Constructor & Destructor Documentation

GroupNode::GroupNode (  ) 

A constructor that does nothing.

virtual GroupNode::~GroupNode (  )  [virtual]

A destructor that does nothing.


Member Function Documentation

virtual void GroupNode::accept ( Visitor visitor  )  [virtual]

Accept a visitor.

Implements Object.

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.


Member Data Documentation

std::vector< Reference<SceneGraphNode> > GroupNode::children [private]


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

Generated on Tue Sep 8 02:20:35 2009 for cglib by  doxygen 1.5.9