2003-04-18 00:22:51 +08:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
< HTML >
< HEAD >
< TITLE > class OSGUTIL_EXPORT osgUtil::DisplayListVisitor< / TITLE >
< META NAME = "GENERATOR" CONTENT = "DOC++ 3.4.10" >
< / HEAD >
< BODY BGCOLOR = "#ffffff" >
< H2 > class OSGUTIL_EXPORT < A HREF = "#DOC.DOCU" > osgUtil::DisplayListVisitor< / A > < / H2 > < / H2 > < BLOCKQUOTE > Visitor for traversing scene graph and setting each osg::Drawable's _useDisplayList flag, with option to immediately compile osg::Drawable OpenGL Display lists and osg::StateAttribute's< / BLOCKQUOTE >
< HR >
< H2 > Inheritance:< / H2 >
< APPLET CODE = "ClassGraph.class" WIDTH = 600 HEIGHT = 65 >
< param name = classes value = "Mosg::NodeVisitor,M,CDisplayListVisitor,MDisplayListVisitor.html" >
< param name = before value = "M,M" >
< param name = after value = "Md_,M" >
< param name = indent value = "0,1" >
< param name = arrowdir value = "down" >
< / APPLET >
< HR >
< DL >
< P > < DL >
< DT > < H3 > Public Methods< / H3 > < DD > < DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > < B > < A HREF = "#DOC.2.4.3" > DisplayListVisitor< / A > < / B > (<!1> < A HREF = "DisplayListVisitor.html#DOC.2.4.2" > Mode< / A > mode=<!1> < A HREF = "DisplayListVisitor.html#DOC.2.4.1.3" > COMPILE_DISPLAY_LISTS< / A > |<!1> < A HREF = "DisplayListVisitor.html#DOC.2.4.1.4" > COMPILE_STATE_ATTRIBUTES< / A > )
2003-04-18 00:22:51 +08:00
< DD > < I > Construct a DisplayListVisior to traverse all child, with set specified display list mode.< / I >
< DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > void < B > < A HREF = "#DOC.2.4.4" > setMode< / A > < / B > (<!1> < A HREF = "DisplayListVisitor.html#DOC.2.4.2" > Mode< / A > mode)
2003-04-18 00:22:51 +08:00
< DD > < I > Set the operational mode of how the visitor should set up osg::Drawable's< / I >
< DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > <!1> < A HREF = "DisplayListVisitor.html#DOC.2.4.2" > Mode< / A > < B > < A HREF = "#DOC.2.4.5" > getMode< / A > < / B > () const
2003-04-18 00:22:51 +08:00
< DD > < I > Get the operational mode< / I >
< DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > void < B > < A HREF = "#DOC.2.4.6" > setState< / A > < / B > (osg::State* state)
2003-04-18 00:22:51 +08:00
< DD > < I > Set the State to use during traversal.< / I >
< DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > osg::State* < B > < A HREF = "#DOC.2.4.7" > getState< / A > < / B > ()
2003-04-18 00:22:51 +08:00
< DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual void < B > < A HREF = "#DOC.2.4.8" > apply< / A > < / B > (osg::Node& node)
2003-04-18 00:22:51 +08:00
< DD > < I > Simply traverse using standard NodeVisitor traverse method< / I >
< DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual void < B > < A HREF = "#DOC.2.4.9" > apply< / A > < / B > (osg::Geode& node)
2003-04-18 00:22:51 +08:00
< DD > < I > For each Geode visited set the display list usage according to the _displayListMode< / I >
< / DL > < / P >
< P > < DL >
< DT > < H3 > Public Members< / H3 > < DD > < DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > enum < B > < A HREF = "#DOC.2.4.1" > ModeValues< / A > < / B >
2003-04-18 00:22:51 +08:00
< DD > < I > Operation modes of the< / I >
< DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > typedef unsigned int < B > < A HREF = "#DOC.2.4.2" > Mode< / A > < / B >
2003-04-18 00:22:51 +08:00
< / DL > < / P >
< P > < DL >
< DT > < H3 > Protected Fields< / H3 > < DD > < DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > <!1> < A HREF = "DisplayListVisitor.html#DOC.2.4.2" > Mode< / A > < B > < A HREF = "#DOC.2.4.10" > _mode< / A > < / B >
2003-04-18 00:22:51 +08:00
< DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > osg::ref_ptr< osg::State> < B > < A HREF = "#DOC.2.4.11" > _state< / A > < / B >
2003-04-18 00:22:51 +08:00
< / DL > < / P >
< / DL >
< A NAME = "DOC.DOCU" > < / A >
< HR >
< H2 > Documentation< / H2 >
< BLOCKQUOTE > Visitor for traversing scene graph and setting each osg::Drawable's _useDisplayList flag,
with option to immediately compile osg::Drawable OpenGL Display lists and
osg::StateAttribute's< / BLOCKQUOTE >
< DL >
< A NAME = "ModeValues" > < / A >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.4.1" > < / A >
2003-04-18 00:22:51 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > enum ModeValues< / B > < / TT >
< DD > Operation modes of the
< DL > < DT > < DD > < / DL > < P > < DL >
< A NAME = "SWITCH_ON_DISPLAY_LISTS" > < / A >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.4.1.1" > < / A >
2003-04-18 00:22:51 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > SWITCH_ON_DISPLAY_LISTS< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "SWITCH_OFF_DISPLAY_LISTS" > < / A >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.4.1.2" > < / A >
2003-04-18 00:22:51 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > SWITCH_OFF_DISPLAY_LISTS< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "COMPILE_DISPLAY_LISTS" > < / A >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.4.1.3" > < / A >
2003-04-18 00:22:51 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > COMPILE_DISPLAY_LISTS< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "COMPILE_STATE_ATTRIBUTES" > < / A >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.4.1.4" > < / A >
2003-04-18 00:22:51 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > COMPILE_STATE_ATTRIBUTES< / B > < / TT >
< DL > < DT > < DD > < / DL > < P > < / DL >
< A NAME = "Mode" > < / A >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.4.2" > < / A >
2003-04-18 00:22:51 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > typedef unsigned int Mode< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "DisplayListVisitor" > < / A >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.4.3" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > DisplayListVisitor(<!1> < A HREF = "DisplayListVisitor.html#DOC.2.4.2" > Mode< / A > mode=<!1> < A HREF = "DisplayListVisitor.html#DOC.2.4.1.3" > COMPILE_DISPLAY_LISTS< / A > |<!1> < A HREF = "DisplayListVisitor.html#DOC.2.4.1.4" > COMPILE_STATE_ATTRIBUTES< / A > )< / B > < / TT >
2003-04-18 00:22:51 +08:00
< DD > Construct a DisplayListVisior to traverse all child,
with set specified display list mode. Default mode is to
gset->setUseDisplayList(true).
< DL > < DT > < DD > < / DL > < P >
< A NAME = "setMode" > < / A >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.4.4" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > void setMode(<!1> < A HREF = "DisplayListVisitor.html#DOC.2.4.2" > Mode< / A > mode)< / B > < / TT >
2003-04-18 00:22:51 +08:00
< DD > Set the operational mode of how the visitor should set up osg::Drawable's
< DL > < DT > < DD > < / DL > < P >
< A NAME = "getMode" > < / A >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.4.5" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > <!1> < A HREF = "DisplayListVisitor.html#DOC.2.4.2" > Mode< / A > getMode() const < / B > < / TT >
2003-04-18 00:22:51 +08:00
< DD > Get the operational mode
< DL > < DT > < DD > < / DL > < P >
< A NAME = "setState" > < / A >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.4.6" > < / A >
2003-04-18 00:22:51 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > void setState(osg::State* state)< / B > < / TT >
< DD > Set the State to use during traversal.
< DL > < DT > < DD > < / DL > < P >
< A NAME = "getState" > < / A >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.4.7" > < / A >
2003-04-18 00:22:51 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > osg::State* getState()< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "apply" > < / A >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.4.8" > < / A >
2003-04-18 00:22:51 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > virtual void apply(osg::Node& node)< / B > < / TT >
< DD > Simply traverse using standard NodeVisitor traverse method
< DL > < DT > < DD > < / DL > < P >
< A NAME = "apply" > < / A >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.4.9" > < / A >
2003-04-18 00:22:51 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > virtual void apply(osg::Geode& node)< / B > < / TT >
< DD > For each Geode visited set the display list usage according to the
_displayListMode
< DL > < DT > < DD > < / DL > < P >
< A NAME = "_mode" > < / A >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.4.10" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > <!1> < A HREF = "DisplayListVisitor.html#DOC.2.4.2" > Mode< / A > _mode< / B > < / TT >
2003-04-18 00:22:51 +08:00
< DL > < DT > < DD > < / DL > < P >
< A NAME = "_state" > < / A >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.4.11" > < / A >
2003-04-18 00:22:51 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > osg::ref_ptr< osg::State> _state< / B > < / TT >
< DL > < DT > < DD > < / DL > < P > < / DL >
< HR > < DL > < DT > < B > This class has no child classes.< / B > < / DL >
< DL > < DT > < DD > < / DL > < P > < P > < I > < A HREF = "index.html" > Alphabetic index< / A > < / I > < I > < A HREF = "HIER.html" > HTML hierarchy of classes< / A > or < A HREF = "HIERjava.html" > Java< / A > < / I > < / P > < HR >
< BR >
This page was generated with the help of < A HREF = "http://docpp.sourceforge.net" > DOC++< / A > .
< / BODY >
< / HTML >