A visitor for traversing a scene graph establishing the OpenGL visuals are required to support rendering of that scene graph.
Inheritance:
Public Methods
-
VisualsRequirementsVisitor()
- Default to traversing all children, and reqiresDoubleBuffer, requiresRGB and requiresDepthBuffer to true and with alpha and stencil off
-
void setRequiresDoubleBuffer(const bool flag)
-
const bool requiresDoubleBuffer() const
-
void setRequiresRGB(const bool flag)
-
const bool requiresRGB() const
-
void setRequiresDepthBuffer(const bool flag)
-
const bool requiresDepthBuffer() const
-
void setMinumumNumAlphaBits(const unsigned int bits)
-
const unsigned int getMinumumNumAlphaBits() const
-
const bool requiresAlphaBuffer() const
-
void setMinumumNumStencilBits(const unsigned int bits)
-
const unsigned int getMinumumNumStencilBits() const
-
const bool requiresStencilBuffer() const
-
virtual void applyStateSet(osg::StateSet& stateset)
-
virtual void apply(osg::Node& node)
-
virtual void apply(osg::Geode& geode)
-
virtual void apply(osg::Impostor& impostor)
Protected Fields
-
bool _requiresDoubleBuffer
-
bool _requiresRBG
-
bool _requiresDepthBuffer
-
unsigned int _minimumNumberAlphaBits
-
unsigned int _minimumNumberStencilBits
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 corret visuals. Have a look at
src/osgGLUT/Viewer.cpp's Viewer::open() method for an example how to use it.
- VisualsRequirementsVisitor()
- Default to traversing all children, and reqiresDoubleBuffer,
requiresRGB and requiresDepthBuffer to true and with
alpha and stencil off
- void setRequiresDoubleBuffer(const bool flag)
- const bool requiresDoubleBuffer() const
- void setRequiresRGB(const bool flag)
- const bool requiresRGB() const
- void setRequiresDepthBuffer(const bool flag)
- const bool requiresDepthBuffer() const
- void setMinumumNumAlphaBits(const unsigned int bits)
- const unsigned int getMinumumNumAlphaBits() const
- const bool requiresAlphaBuffer() const
- void setMinumumNumStencilBits(const unsigned int bits)
- const unsigned int getMinumumNumStencilBits() const
- const bool requiresStencilBuffer() const
- virtual void applyStateSet(osg::StateSet& stateset)
- virtual void apply(osg::Node& node)
- virtual void apply(osg::Geode& geode)
- virtual void apply(osg::Impostor& impostor)
- bool _requiresDoubleBuffer
- bool _requiresRBG
- bool _requiresDepthBuffer
- unsigned int _minimumNumberAlphaBits
- unsigned int _minimumNumberStencilBits
- This class has no child classes.
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.