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 <H3D/H3DDisplayListObject.h>

Inheritance diagram for H3D::H3DDisplayListObject:

Inheritance graph

List of all members.

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

Public Member Functions

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

Public Attributes

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


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.


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

Generated on Fri Nov 7 10:30:12 2008 for H3D API by  doxygen 1.5.7