H3D::H3DDisplayListObject Class Reference
[Abstract interface classes.]

This abstract interface class is the base class for all node types that wants to create an OpenGL display list for the OpenGL calls it makes in its render() function. More...

#include <H3DDisplayListObject.h>

Inheritance diagram for H3D::H3DDisplayListObject:

Inheritance graph
List of all members.

Public Member Functions

 H3DDisplayListObject (Inst< DisplayList > _displayList=0)
 Constructor.

Public Attributes

auto_ptr< DisplayListdisplayList
 The DisplayList instance handling the OpenGL caching of this object.

Classes

class  DisplayList
 We use the Field's lazy evaluation mechanisms to manage the GL display lists for rendering, giving automatic cache breaking when dependencies are modified. More...

Detailed Description

This abstract interface class is the base class for all node types that wants to create an OpenGL display list for the OpenGL calls it makes in its render() function.

Subclasses should set the owner and name of the displayList field. Fields can be routed to the displayList field in order to break the cache and create a new display list when values have changed. In order to make use of the display list the callList() function of the displayList field should be called instead of the render() function.


Generated on Thu Aug 24 12:39:14 2006 for H3D API by  doxygen 1.4.5