Home | Namespaces | Hierarchy | Alphabetical List | Class list | Files | Namespace Members | Class members | File members
Public Member Functions | Static Protected Attributes
scene::GroupNode Class Reference

Class representing a group node in the scene graph. More...

#include <Node.h>

Inheritance diagram for scene::GroupNode:
scene::Node engine::Object

List of all members.

Public Member Functions

void addNode (Node *node)
 Adds a node to this group.
NodegetNode (const u32 &id) const
 Gets a pointer to a node in this group.
u16 getNumberOfNodes ()
 Gets the number of nodes in this group.
 GroupNode (const std::string &name)
 GroupNode ()
void removeAllNodes ()
 Removes all nodes in this group. Does delete the nodes.
void removeNode (Node *node)
NoderemoveNode (const u32 &id)
 ~GroupNode ()

Static Protected Attributes

static u32 msNextGeneratedGroupNodeIndex = 0
 Incremented count for next index.

Detailed Description

Class representing a group node in the scene graph.


Constructor & Destructor Documentation

scene::GroupNode::GroupNode ( )
scene::GroupNode::GroupNode ( const std::string &  name)
scene::GroupNode::~GroupNode ( )

Member Function Documentation

void scene::GroupNode::addNode ( Node node)

Adds a node to this group.

References scene::Node::addChild().

Node * scene::GroupNode::getNode ( const u32 id) const

Gets a pointer to a node in this group.

References scene::Node::getChild().

u16 scene::GroupNode::getNumberOfNodes ( )

Gets the number of nodes in this group.

References scene::Node::getNumberOfChildren().

void scene::GroupNode::removeAllNodes ( )

Removes all nodes in this group. Does delete the nodes.

References scene::Node::removeAllChildren().

Node * scene::GroupNode::removeNode ( const u32 id)
void scene::GroupNode::removeNode ( Node node)

Member Data Documentation

Incremented count for next index.


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

The KG Game Engine
The KG Game Engine Documentation © 2006-2011 by Kat'Oun. Generated on Sat Jul 2 2011 00:50:10 by Doxygen (1.7.4)