Public Member Functions | |
| DisplayRequirementsVisitor () | |
| Default to traversing all children, and requiresDoubleBuffer, requiresRGB and requiresDepthBuffer to true and with alpha and stencil off. | |
| META_NodeVisitor ("osgUtil","DisplayRequirementsVisitor") inline void setDisplaySettings(osg | |
| Set the DisplaySettings. | |
| const osg::DisplaySettings * | getDisplaySettings () const |
| Get the DisplaySettings. | |
| virtual void | applyStateSet (osg::StateSet &stateset) |
| virtual void | apply (osg::Node &node) |
| virtual void | apply (osg::Geode &geode) |
Protected Attributes | |
| osg::ref_ptr < osg::DisplaySettings > | _ds |
The results can then be used by applications to set up their windows with the correct visuals. Have a look at src/osgGLUT/Viewer.cpp's Viewer::open() method for an example of how to use it.
| osgUtil::DisplayRequirementsVisitor::DisplayRequirementsVisitor | ( | ) |
Default to traversing all children, and requiresDoubleBuffer, requiresRGB and requiresDepthBuffer to true and with alpha and stencil off.
| virtual void osgUtil::DisplayRequirementsVisitor::apply | ( | osg::Geode & | geode | ) | [virtual] |
Reimplemented from osg::NodeVisitor.
| virtual void osgUtil::DisplayRequirementsVisitor::apply | ( | osg::Node & | node | ) | [virtual] |
Reimplemented from osg::NodeVisitor.
| virtual void osgUtil::DisplayRequirementsVisitor::applyStateSet | ( | osg::StateSet & | stateset | ) | [virtual] |
| const osg::DisplaySettings* osgUtil::DisplayRequirementsVisitor::getDisplaySettings | ( | ) | const [inline] |
Get the DisplaySettings.
| osgUtil::DisplayRequirementsVisitor::META_NodeVisitor | ( | "osgUtil" | , | |
| "DisplayRequirementsVisitor" | ||||
| ) | [inline] |
Set the DisplaySettings.
| Generated at Sat May 14 08:21:22 2011 for the OpenSceneGraph by doxygen 1.5.9. |