Google

class OSGUTIL_EXPORT osgUtil::DisplayRequirementsVisitor

A visitor for traversing a scene graph establishing the OpenGL visuals are required to support rendering of that scene graph.

Inheritance:


Public Methods

[more] DisplayRequirementsVisitor()
Default to traversing all children, and reqiresDoubleBuffer, requiresRGB and requiresDepthBuffer to true and with alpha and stencil off
[more]inline void setDisplaySettings(osg::DisplaySettings* ds)
Set the DisplaySettings.
[more]inline const osg::DisplaySettings* getDisplaySettings() const
Get the DisplaySettings
[more]virtual void applyStateSet(osg::StateSet& stateset)
[more]virtual void apply(osg::Node& node)
[more]virtual void apply(osg::Geode& geode)
[more]virtual void apply(osg::Impostor& impostor)

Protected Fields

[more]osg::ref_ptr<osg::DisplaySettings> _ds


Documentation

A visitor for traversing a scene graph establishing the OpenGL visuals are required to support rendering of that scene graph. The results can then be used by applications to set up there windows with the correct visuals. Have a look at src/osgGLUT/Viewer.cpp's Viewer::open() method for an example how to use it.
o DisplayRequirementsVisitor()
Default to traversing all children, and reqiresDoubleBuffer, requiresRGB and requiresDepthBuffer to true and with alpha and stencil off

oinline void setDisplaySettings(osg::DisplaySettings* ds)
Set the DisplaySettings.

oinline const osg::DisplaySettings* getDisplaySettings() const
Get the DisplaySettings

ovirtual void applyStateSet(osg::StateSet& stateset)

ovirtual void apply(osg::Node& node)

ovirtual void apply(osg::Geode& geode)

ovirtual void apply(osg::Impostor& impostor)

oosg::ref_ptr<osg::DisplaySettings> _ds


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.