class grTree: public grNode, public vector<grNode *>

Group node

Inheritance:


Public Methods

[more] grTree()
Standard constructor
[more] ~grTree()
Standard destructor
[more]void Compile()
Generate a opengl display list for the node
[more]char* Name() const
see grNode


Inherited from grNode:

Public Methods

ovoid Render( grStatus & status )
ovoid Select( grStatus & status )
ogrNode* FindByName( const GLuint name )


Documentation

Group node. This node defines a group of nodes. Is contains an ordered list of child nodes (a STL vector of grNode *). The order of the child nodes represents the traversal order for all operation. This node also save the traversal status before traversing its children ad restore it after traversing them. The grTree node provides caching via opengl lists: the user may call the function Compile to chaching the contents of the node (the caching is not automatic!)
o grTree()
Standard constructor

o ~grTree()
Standard destructor

ovoid Compile()
Generate a opengl display list for the node

ochar* Name() const
see grNode


Direct child classes:
grSwitch
See Also:
grNode, grStatus, grRender, STL

Alphabetic index HTML hierarchy of classes or Java


GCR, Graphics Library, VCG, IEI-CNR.