185 lines
8.4 KiB
HTML
185 lines
8.4 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
|
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE>class OSGUTIL_EXPORT osgUtil::VisualsRequirementsVisitor</TITLE>
|
|
<META NAME="GENERATOR" CONTENT="DOC++ 3.4.8">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#ffffff">
|
|
|
|
<H2>class OSGUTIL_EXPORT <A HREF="#DOC.DOCU">osgUtil::VisualsRequirementsVisitor</A></H2></H2><BLOCKQUOTE>A visitor for traversing a scene graph establishing the OpenGL visuals are required to support rendering of that scene graph.</BLOCKQUOTE>
|
|
<HR>
|
|
|
|
<H2>Inheritance:</H2>
|
|
<APPLET CODE="ClassGraph.class" WIDTH=600 HEIGHT=65>
|
|
<param name=classes value="Mosg::NodeVisitor,M,CVisualsRequirementsVisitor,MVisualsRequirementsVisitor.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>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif> <B><A HREF="#DOC.2.32.1">VisualsRequirementsVisitor</A></B>()
|
|
<DD><I>Default to traversing all children, and reqiresDoubleBuffer, requiresRGB and requiresDepthBuffer to true and with alpha and stencil off</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.32.2">setRequiresDoubleBuffer</A></B>(const bool flag)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>const bool <B><A HREF="#DOC.2.32.3">requiresDoubleBuffer</A></B>() const
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.32.4">setRequiresRGB</A></B>(const bool flag)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>const bool <B><A HREF="#DOC.2.32.5">requiresRGB</A></B>() const
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.32.6">setRequiresDepthBuffer</A></B>(const bool flag)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>const bool <B><A HREF="#DOC.2.32.7">requiresDepthBuffer</A></B>() const
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.32.8">setMinimumNumAlphaBits</A></B>(const unsigned int bits)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>const unsigned int <B><A HREF="#DOC.2.32.9">getMinimumNumAlphaBits</A></B>() const
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>const bool <B><A HREF="#DOC.2.32.10">requiresAlphaBuffer</A></B>() const
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.32.11">setMinimumNumStencilBits</A></B>(const unsigned int bits)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>const unsigned int <B><A HREF="#DOC.2.32.12">getMinimumNumStencilBits</A></B>() const
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>const bool <B><A HREF="#DOC.2.32.13">requiresStencilBuffer</A></B>() const
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.32.14">applyStateSet</A></B>(osg::StateSet& stateset)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.32.15">apply</A></B>(osg::Node& node)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.32.16">apply</A></B>(osg::Geode& geode)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.32.17">apply</A></B>(osg::Impostor& impostor)
|
|
</DL></P>
|
|
|
|
<P><DL>
|
|
<DT><H3>Protected Fields</H3><DD><DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>bool <B><A HREF="#DOC.2.32.18">_requiresDoubleBuffer</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>bool <B><A HREF="#DOC.2.32.19">_requiresRBG</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>bool <B><A HREF="#DOC.2.32.20">_requiresDepthBuffer</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>unsigned int <B><A HREF="#DOC.2.32.21">_minimumNumberAlphaBits</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>unsigned int <B><A HREF="#DOC.2.32.22">_minimumNumberStencilBits</A></B>
|
|
</DL></P>
|
|
|
|
</DL>
|
|
|
|
<A NAME="DOC.DOCU"></A>
|
|
<HR>
|
|
<H2>Documentation</H2>
|
|
<BLOCKQUOTE>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.</BLOCKQUOTE>
|
|
<DL>
|
|
|
|
<A NAME="VisualsRequirementsVisitor"></A>
|
|
<A NAME="DOC.2.32.1"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> VisualsRequirementsVisitor()</B></TT>
|
|
<DD>Default to traversing all children, and reqiresDoubleBuffer,
|
|
requiresRGB and requiresDepthBuffer to true and with
|
|
alpha and stencil off
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="setRequiresDoubleBuffer"></A>
|
|
<A NAME="DOC.2.32.2"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setRequiresDoubleBuffer(const bool flag)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="requiresDoubleBuffer"></A>
|
|
<A NAME="DOC.2.32.3"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const bool requiresDoubleBuffer() const </B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="setRequiresRGB"></A>
|
|
<A NAME="DOC.2.32.4"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setRequiresRGB(const bool flag)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="requiresRGB"></A>
|
|
<A NAME="DOC.2.32.5"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const bool requiresRGB() const </B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="setRequiresDepthBuffer"></A>
|
|
<A NAME="DOC.2.32.6"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setRequiresDepthBuffer(const bool flag)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="requiresDepthBuffer"></A>
|
|
<A NAME="DOC.2.32.7"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const bool requiresDepthBuffer() const </B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="setMinimumNumAlphaBits"></A>
|
|
<A NAME="DOC.2.32.8"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setMinimumNumAlphaBits(const unsigned int bits)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getMinimumNumAlphaBits"></A>
|
|
<A NAME="DOC.2.32.9"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const unsigned int getMinimumNumAlphaBits() const </B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="requiresAlphaBuffer"></A>
|
|
<A NAME="DOC.2.32.10"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const bool requiresAlphaBuffer() const </B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="setMinimumNumStencilBits"></A>
|
|
<A NAME="DOC.2.32.11"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setMinimumNumStencilBits(const unsigned int bits)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getMinimumNumStencilBits"></A>
|
|
<A NAME="DOC.2.32.12"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const unsigned int getMinimumNumStencilBits() const </B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="requiresStencilBuffer"></A>
|
|
<A NAME="DOC.2.32.13"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const bool requiresStencilBuffer() const </B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="applyStateSet"></A>
|
|
<A NAME="DOC.2.32.14"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void applyStateSet(osg::StateSet& stateset)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="apply"></A>
|
|
<A NAME="DOC.2.32.15"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void apply(osg::Node& node)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="apply"></A>
|
|
<A NAME="DOC.2.32.16"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void apply(osg::Geode& geode)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="apply"></A>
|
|
<A NAME="DOC.2.32.17"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void apply(osg::Impostor& impostor)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_requiresDoubleBuffer"></A>
|
|
<A NAME="DOC.2.32.18"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool _requiresDoubleBuffer</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_requiresRBG"></A>
|
|
<A NAME="DOC.2.32.19"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool _requiresRBG</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_requiresDepthBuffer"></A>
|
|
<A NAME="DOC.2.32.20"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool _requiresDepthBuffer</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_minimumNumberAlphaBits"></A>
|
|
<A NAME="DOC.2.32.21"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>unsigned int _minimumNumberAlphaBits</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_minimumNumberStencilBits"></A>
|
|
<A NAME="DOC.2.32.22"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>unsigned int _minimumNumberStencilBits</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>
|