Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | Class Members

Separator Class Reference
[Scene Graph]

#include <lvt/Group.h>

Inheritance diagram for Separator:

Inheritance graph
[legend]
List of all members.

Detailed Description

Separates child objects from the rest of a scene graph.

A Separator is a Group that isolates the changes made by its children from the rest of the scene graph. A Separator saves the OpenGL state and modelview matrix before rendering its child objects, and restores them after rendering.


Public Member Functions

 Separator ()
 Default constructor.
virtual ~Separator ()
 Destructor.

Protected Member Functions

virtual void PostRender ()
 Performs any cleanup necessary after rendering child objects.
virtual void PreRender ()
 Performs any setup necessary before rendering child objects.


Constructor & Destructor Documentation

Separator  )  [inline]
 

Default constructor.

virtual ~Separator  )  [inline, virtual]
 

Destructor.


Member Function Documentation

virtual void PostRender  )  [protected, virtual]
 

Performs any cleanup necessary after rendering child objects.

Called by Render() after any child objects have been rendered, and after a display list is created or executed, if the Group is sealed. When deriving from Group, override this function to perform any necessary cleanup after rendering children.

Reimplemented from Group.

virtual void PreRender  )  [protected, virtual]
 

Performs any setup necessary before rendering child objects.

Called by Render() before any child objects are rendered, and before a display list is created or executed, if the Group is sealed. When deriving from Group, override this function to perform any necessary initialization before rendering children.

Reimplemented from Group.


Generated on Thu Feb 17 09:45:47 2005 for liblvt by  doxygen 1.4.1