#include <lvt/Group.h>
Inheritance diagram for Separator:
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. |
|
Default constructor.
|
|
Destructor.
|
|
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. |
|
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. |