Inheritance diagram for osgUtil::DisplayListVisitor:
Public Types | |
typedef unsigned int | Mode |
enum | ModeValues { SWITCH_ON_DISPLAY_LISTS = 0x1, SWITCH_OFF_DISPLAY_LISTS = 0x2, COMPILE_DISPLAY_LISTS = 0x4, COMPILE_STATE_ATTRIBUTES = 0x8 } |
Operation modes of the. More... | |
Public Methods | |
DisplayListVisitor (Mode mode=COMPILE_DISPLAY_LISTS|COMPILE_STATE_ATTRIBUTES) | |
Construct a DisplayListVisior to traverse all child, with set specified display list mode. | |
void | setMode (Mode mode) |
Set the operational mode of how the visitor should set up osg::Drawable's. | |
Mode | getMode () const |
Get the operational mode. | |
void | setState (osg::State *state) |
Set the State to use during traversal. | |
osg::State * | getState () |
virtual void | apply (osg::Node &node) |
Simply traverse using standard NodeVisitor traverse method. | |
virtual void | apply (osg::Geode &node) |
For each Geode visited set the display list usage according to the _displayListMode. | |
Protected Attributes | |
Mode | _mode |
osg::ref_ptr< osg::State > | _state |
|
|
|
Operation modes of the.
|
|
Construct a DisplayListVisior to traverse all child, with set specified display list mode. Default mode is to gset->setUseDisplayList(true). |
|
For each Geode visited set the display list usage according to the _displayListMode.
Reimplemented from osg::NodeVisitor. |
|
Simply traverse using standard NodeVisitor traverse method.
Reimplemented from osg::NodeVisitor. |
|
Get the operational mode.
|
|
|
|
Set the operational mode of how the visitor should set up osg::Drawable's.
|
|
Set the State to use during traversal.
|
|
|
|
|