#include <Scenegraph.h>
Inherited by SceneGraphDisco, SceneGraphLetters, and SceneGraphTripod.
Inheritance diagram for Scenegraph:
Public Member Functions | |
Scenegraph (void) | |
constructor | |
virtual | ~Scenegraph (void) |
destructor | |
Node * | getRoot () |
get the pointer to the root Node | |
void | setRoot (Node *) |
set the pointer tot he root Node | |
void | init () |
initialize the scenegraph, should be called in the init() openGL routine | |
void | render () |
render the scenegraph, should be called in the render() openGL routine | |
Protected Attributes | |
Node * | root |
in the Scenegraph class all Nodes are stored. One Scenegraph can be attached to another if the Nodepointer of one is set as the root of another.
|
constructor
|
|
destructor
|
|
get the pointer to the root Node
|
|
initialize the scenegraph, should be called in the init() openGL routine
Reimplemented in SceneGraphDisco, SceneGraphLetters, and SceneGraphTripod.
|
|
render the scenegraph, should be called in the render() openGL routine
Reimplemented in SceneGraphLetters.
|
|
set the pointer tot he root Node
|
|
|