Files
OpenSceneGraph/doc/osgUtil/RenderVisitor.html
2001-01-10 16:32:10 +00:00

526 lines
22 KiB
HTML

<HTML>
<HEAD>
<TITLE>class OSGUTIL_EXPORT osgUtil::RenderVisitor</TITLE>
<META NAME="GENERATOR" CONTENT="DOC++ 3.4.3">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H2>class OSGUTIL_EXPORT <A HREF="#DOC.DOCU">osgUtil::RenderVisitor</A>: public osg::NodeVisitor</H2>
<BLOCKQUOTE> Basic NodeVisitor implementation for rendering a scene.</BLOCKQUOTE>
<HR>
<H2>Inheritance:</H2>
<APPLET CODE="ClassGraph.class" WIDTH=600 HEIGHT=65>
<param name=classes value="Mosg::NodeVisitor,M,CRenderVisitor,MRenderVisitor.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 Classes</H3><DD><DT>
<A HREF="#DOC.2.11.1"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>enum <B>TransparencySortMode</B>
<DD><I></I>
<DT>
<A HREF="#DOC.2.11.2"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>enum <B>CullingType</B>
<DD><I></I>
</DL></P>
<P><DL>
<DT><H3>Public Methods</H3><DD><DT>
<A HREF="#DOC.2.11.7"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A> <B>RenderVisitor</B>()
<DD><I></I>
<DT>
<A HREF="#DOC.2.11.8"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>virtual <B>~RenderVisitor</B>()
<DD><I></I>
<DT>
<A HREF="#DOC.2.11.9"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>void <B>reset</B>()
<DD><I></I>
<DT>
<A HREF="#DOC.2.11.10"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>virtual void <B>apply</B>(osg::Node&amp;)
<DD><I></I>
<DT>
<A HREF="#DOC.2.11.11"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>virtual void <B>apply</B>(osg::Geode&amp; node)
<DD><I></I>
<DT>
<A HREF="#DOC.2.11.12"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>virtual void <B>apply</B>(osg::Billboard&amp; node)
<DD><I></I>
<DT>
<A HREF="#DOC.2.11.13"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>virtual void <B>apply</B>(osg::LightSource&amp; node)
<DD><I></I>
<DT>
<A HREF="#DOC.2.11.14"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>virtual void <B>apply</B>(osg::Group&amp; node)
<DD><I></I>
<DT>
<A HREF="#DOC.2.11.15"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>virtual void <B>apply</B>(osg::DCS&amp; node)
<DD><I></I>
<DT>
<A HREF="#DOC.2.11.16"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>virtual void <B>apply</B>(osg::Switch&amp; node)
<DD><I></I>
<DT>
<A HREF="#DOC.2.11.17"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>virtual void <B>apply</B>(osg::LOD&amp; node)
<DD><I></I>
<DT>
<A HREF="#DOC.2.11.18"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>virtual void <B>apply</B>(osg::Scene&amp; node)
<DD><I></I>
<DT>
<A HREF="#DOC.2.11.19"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>void <B>setGlobalState</B>(osg::GeoState* global)
<DD><I></I>
<DT>
<A HREF="#DOC.2.11.20"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>void <B>setPerspective</B>(const osg::Camera&amp; camera)
<DD><I></I>
<DT>
<A HREF="#DOC.2.11.21"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>void <B>setPerspective</B>(float fovy, float aspect, float znear, float zfar)
<DD><I></I>
<DT>
<A HREF="#DOC.2.11.22"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>void <B>setLookAt</B>(const osg::Camera&amp; camera)
<DD><I></I>
<DT>
<A HREF="#DOC.2.11.23"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>void <B>setLookAt</B>(const osg::Vec3&amp; eye, const osg::Vec3&amp; center, const osg::Vec3&amp; upVector)
<DD><I></I>
<DT>
<A HREF="#DOC.2.11.24"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>void <B>setLookAt</B>(double eyeX, double eyeY, double eyeZ, double centerX, double centerY, double centerZ, double upX, double upY, double upZ)
<DD><I></I>
<DT>
<A HREF="#DOC.2.11.25"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>void <B>setLODBias</B>(float bias)
<DD><I></I>
<DT>
<A HREF="#DOC.2.11.26"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>float <B>getLODBias</B>()
<DD><I></I>
<DT>
<A HREF="#DOC.2.11.27"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>void <B>setTransparencySortMode</B>(<!1><A HREF="RenderVisitor.html#DOC.2.11.1">TransparencySortMode</A> tsm)
<DD><I></I>
<DT>
<A HREF="#DOC.2.11.3"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>void <B>setCullingActive</B>(<!1><A HREF="RenderVisitor.html#DOC.2.11.2">CullingType</A> ct, bool active)
<DD><I> Enables/disables the specified culling type.</I>
<DT>
<A HREF="#DOC.2.11.4"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>bool <B>getCullingActive</B>(<!1><A HREF="RenderVisitor.html#DOC.2.11.2">CullingType</A> ct)
<DD><I> Returns the state of the specified culling type.</I>
<DT>
<A HREF="#DOC.2.11.5"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>bool <B>calcNearFar</B>(double&amp; near_plane, double&amp; far_plane)
<DD><I> Calculates the near_plane and the far_plane for the current camera view depending on the objects currently stored in the opaque and transparent bins.</I>
<DT>
<A HREF="#DOC.2.11.6"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>void <B>render</B>()
<DD><I> Renders the osg::GeoSets that were collected in the opaque and transparent bins before</I>
</DL></P>
<P><DL>
<DT><H3>Protected Fields</H3><DD><DT>
<A HREF="#DOC.2.11.35"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>bool <B>_viewFrustumCullingActive</B>
<DD><I></I>
<DT>
<A HREF="#DOC.2.11.36"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>bool <B>_smallFeatureCullingActive</B>
<DD><I></I>
<DT>
<A HREF="#DOC.2.11.41"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A><!1><A HREF="RenderVisitor.html#DOC.2.11.40">ViewStateStack</A> <B>_viewStateStack</B>
<DD><I></I>
<DT>
<A HREF="#DOC.2.11.42"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A><!1><A HREF="ViewState.html">ViewState</A>* <B>_tvs</B>
<DD><I></I>
<DT>
<A HREF="#DOC.2.11.43"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A><!1><A HREF="ViewState.html">ViewState</A>* <B>_cvs</B>
<DD><I></I>
<DT>
<A HREF="#DOC.2.11.47"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A><!1><A HREF="RenderVisitor.html#DOC.2.11.44">OpaqueList</A> <B>_opaqueGeoSets</B>
<DD><I></I>
<DT>
<A HREF="#DOC.2.11.48"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A><!1><A HREF="RenderVisitor.html#DOC.2.11.45">TransparentList</A> <B>_transparentGeoSets</B>
<DD><I></I>
<DT>
<A HREF="#DOC.2.11.49"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A><!1><A HREF="RenderVisitor.html#DOC.2.11.46">LightList</A> <B>_lights</B>
<DD><I></I>
<DT>
<A HREF="#DOC.2.11.50"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>osg::GeoState* <B>_globalState</B>
<DD><I></I>
<DT>
<A HREF="#DOC.2.11.51"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>float <B>_LODBias</B>
<DD><I></I>
<DT>
<A HREF="#DOC.2.11.52"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>float <B>_fovy</B>
<DD><I></I>
<DT>
<A HREF="#DOC.2.11.53"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>float <B>_aspect</B>
<DD><I></I>
<DT>
<A HREF="#DOC.2.11.54"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>float <B>_znear</B>
<DD><I></I>
<DT>
<A HREF="#DOC.2.11.55"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>float <B>_zfar</B>
<DD><I></I>
<DT>
<A HREF="#DOC.2.11.57"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>osg::Vec3 <B>_frustumTop</B>
<DD><I></I>
<DT>
<A HREF="#DOC.2.11.58"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>osg::Vec3 <B>_frustumBottom</B>
<DD><I></I>
<DT>
<A HREF="#DOC.2.11.59"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>osg::Vec3 <B>_frustumLeft</B>
<DD><I></I>
<DT>
<A HREF="#DOC.2.11.60"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>osg::Vec3 <B>_frustumRight</B>
<DD><I></I>
<DT>
<A HREF="#DOC.2.11.61"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A><!1><A HREF="RenderVisitor.html#DOC.2.11.1">TransparencySortMode</A> <B>_tsm</B>
<DD><I></I>
</DL></P>
<P><DL>
<DT><H3>Protected Methods</H3><DD><DT>
<A HREF="#DOC.2.11.28"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>void <B>pushMatrix</B>(const osg::Matrix&amp; matrix)
<DD><I></I>
<DT>
<A HREF="#DOC.2.11.29"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>void <B>popMatrix</B>()
<DD><I></I>
<DT>
<A HREF="#DOC.2.11.30"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>osg::Matrix* <B>getCurrentMatrix</B>()
<DD><I></I>
<DT>
<A HREF="#DOC.2.11.31"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>osg::Matrix* <B>getInverseCurrentMatrix</B>()
<DD><I></I>
<DT>
<A HREF="#DOC.2.11.32"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>const osg::Vec3&amp; <B>getEyeLocal</B>()
<DD><I></I>
<DT>
<A HREF="#DOC.2.11.33"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>const osg::Vec3&amp; <B>getCenterLocal</B>()
<DD><I></I>
<DT>
<A HREF="#DOC.2.11.34"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>const osg::Vec3&amp; <B>getLookVectorLocal</B>()
<DD><I></I>
<DT>
<A HREF="#DOC.2.11.37"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>bool <B>isCulled</B>(const osg::BoundingSphere&amp; sp)
<DD><I></I>
<DT>
<A HREF="#DOC.2.11.38"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>bool <B>isCulled</B>(const osg::BoundingBox&amp; bb)
<DD><I></I>
<DT>
<A HREF="#DOC.2.11.56"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>void <B>calculateClippingPlanes</B>()
<DD><I></I>
</DL></P>
<P><DL>
<DT><H3>Protected</H3><DD><DT>
<A HREF="#DOC.2.11.39"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>typedef std::pair&lt;osg::Matrix*,osg::GeoSet*&gt; <B>MatrixGeoSet</B>
<DD><I></I>
<DT>
<A HREF="#DOC.2.11.40"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>typedef std::vector&lt;<!1><A HREF="ViewState.html">ViewState</A>*&gt; <B>ViewStateStack</B>
<DD><I></I>
<DT>
<A HREF="#DOC.2.11.44"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>typedef std::multimap&lt;osg::GeoState*,<!1><A HREF="RenderVisitor.html#DOC.2.11.39">MatrixGeoSet</A>&gt; <B>OpaqueList</B>
<DD><I></I>
<DT>
<A HREF="#DOC.2.11.45"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>typedef std::multimap&lt;float,<!1><A HREF="RenderVisitor.html#DOC.2.11.39">MatrixGeoSet</A>&gt; <B>TransparentList</B>
<DD><I></I>
<DT>
<A HREF="#DOC.2.11.46"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>typedef std::map&lt;osg::Matrix*,osg::Light*&gt; <B>LightList</B>
<DD><I></I>
</DL></P>
</DL>
<A NAME="DOC.DOCU">
<HR>
<H2>Documentation</H2>
<BLOCKQUOTE>
Basic NodeVisitor implementation for rendering a scene.
This visitor traverses the scene graph, collecting transparent and
opaque osg::GeoSets into a depth sorted transparent bin and a state
sorted opaque bin. The opaque bin is rendered first, and then the
transparent bin in rendered in order from the furthest osg::GeoSet
from the eye to the one nearest the eye. </BLOCKQUOTE>
<DL>
<A NAME="RenderVisitor">
<A NAME="DOC.2.11.7">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> RenderVisitor()</B></TT>
<DL><DT><DD></DL><P>
<A NAME="~RenderVisitor">
<A NAME="DOC.2.11.8">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual ~RenderVisitor()</B></TT>
<DL><DT><DD></DL><P>
<A NAME="reset">
<A NAME="DOC.2.11.9">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void reset()</B></TT>
<DL><DT><DD></DL><P>
<A NAME="apply">
<A NAME="DOC.2.11.10">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void apply(osg::Node&amp;)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="apply">
<A NAME="DOC.2.11.11">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void apply(osg::Geode&amp; node)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="apply">
<A NAME="DOC.2.11.12">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void apply(osg::Billboard&amp; node)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="apply">
<A NAME="DOC.2.11.13">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void apply(osg::LightSource&amp; node)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="apply">
<A NAME="DOC.2.11.14">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void apply(osg::Group&amp; node)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="apply">
<A NAME="DOC.2.11.15">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void apply(osg::DCS&amp; node)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="apply">
<A NAME="DOC.2.11.16">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void apply(osg::Switch&amp; node)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="apply">
<A NAME="DOC.2.11.17">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void apply(osg::LOD&amp; node)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="apply">
<A NAME="DOC.2.11.18">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void apply(osg::Scene&amp; node)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="setGlobalState">
<A NAME="DOC.2.11.19">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setGlobalState(osg::GeoState* global)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="setPerspective">
<A NAME="DOC.2.11.20">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setPerspective(const osg::Camera&amp; camera)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="setPerspective">
<A NAME="DOC.2.11.21">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setPerspective(float fovy, float aspect, float znear, float zfar)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="setLookAt">
<A NAME="DOC.2.11.22">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setLookAt(const osg::Camera&amp; camera)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="setLookAt">
<A NAME="DOC.2.11.23">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setLookAt(const osg::Vec3&amp; eye, const osg::Vec3&amp; center, const osg::Vec3&amp; upVector)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="setLookAt">
<A NAME="DOC.2.11.24">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setLookAt(double eyeX, double eyeY, double eyeZ, double centerX, double centerY, double centerZ, double upX, double upY, double upZ)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="setLODBias">
<A NAME="DOC.2.11.25">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setLODBias(float bias)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="getLODBias">
<A NAME="DOC.2.11.26">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>float getLODBias()</B></TT>
<DL><DT><DD></DL><P>
<A NAME="TransparencySortMode">
<A NAME="DOC.2.11.1">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>enum TransparencySortMode</B></TT>
<DL><DT><DD></DL><P><DL>
<A NAME="LOOK_VECTOR_DISTANCE">
<A NAME="DOC.2.11.1.1">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> LOOK_VECTOR_DISTANCE</B></TT>
<DL><DT><DD></DL><P>
<A NAME="OBJECT_EYE_POINT_DISTANCE">
<A NAME="DOC.2.11.1.2">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> OBJECT_EYE_POINT_DISTANCE</B></TT>
<DL><DT><DD></DL><P></DL>
<A NAME="setTransparencySortMode">
<A NAME="DOC.2.11.27">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setTransparencySortMode(<!1><A HREF="RenderVisitor.html#DOC.2.11.1">TransparencySortMode</A> tsm)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="CullingType">
<A NAME="DOC.2.11.2">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>enum CullingType</B></TT>
<DL><DT><DD></DL><P><DL>
<A NAME="VIEW_FRUSTUM_CULLING">
<A NAME="DOC.2.11.2.1">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> VIEW_FRUSTUM_CULLING</B></TT>
<DL><DT><DD></DL><P>
<A NAME="SMALL_FEATURE_CULLING">
<A NAME="DOC.2.11.2.2">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> SMALL_FEATURE_CULLING</B></TT>
<DL><DT><DD></DL><P></DL>
<A NAME="setCullingActive">
<A NAME="DOC.2.11.3">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setCullingActive(<!1><A HREF="RenderVisitor.html#DOC.2.11.2">CullingType</A> ct, bool active)</B></TT>
<DD>
Enables/disables the specified culling type.
<DL><DT><DT><B>Parameters:</B><DD><B>ct</B> - The culling type to enable/disable.
<BR><B>active</B> - true enables the culling type, false disables.<BR><DD></DL><P>
<A NAME="getCullingActive">
<A NAME="DOC.2.11.4">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool getCullingActive(<!1><A HREF="RenderVisitor.html#DOC.2.11.2">CullingType</A> ct)</B></TT>
<DD>
Returns the state of the specified culling type.
@result true, if culling type is enabled, false otherwise.
<DL><DT><DD></DL><P>
<A NAME="calcNearFar">
<A NAME="DOC.2.11.5">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool calcNearFar(double&amp; near_plane, double&amp; far_plane)</B></TT>
<DD>
Calculates the near_plane and the far_plane for the current
camera view depending on the objects currently stored in the
opaque and transparent bins.
<DL><DT><DT><B>Parameters:</B><DD><B>near_plane</B> - reference to a variable that can store the
near plane result.
<BR><B>far_plane</B> - reference to a variable that can store the
far plane result.
@result true, if near_plane and far_plane contain valid values,
false otherwise.<BR><DD></DL><P>
<A NAME="render">
<A NAME="DOC.2.11.6">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void render()</B></TT>
<DD>
Renders the osg::GeoSets that were collected in the opaque and
transparent bins before
<DL><DT><DD></DL><P>
<A NAME="pushMatrix">
<A NAME="DOC.2.11.28">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void pushMatrix(const osg::Matrix&amp; matrix)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="popMatrix">
<A NAME="DOC.2.11.29">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void popMatrix()</B></TT>
<DL><DT><DD></DL><P>
<A NAME="getCurrentMatrix">
<A NAME="DOC.2.11.30">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::Matrix* getCurrentMatrix()</B></TT>
<DL><DT><DD></DL><P>
<A NAME="getInverseCurrentMatrix">
<A NAME="DOC.2.11.31">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::Matrix* getInverseCurrentMatrix()</B></TT>
<DL><DT><DD></DL><P>
<A NAME="getEyeLocal">
<A NAME="DOC.2.11.32">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const osg::Vec3&amp; getEyeLocal()</B></TT>
<DL><DT><DD></DL><P>
<A NAME="getCenterLocal">
<A NAME="DOC.2.11.33">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const osg::Vec3&amp; getCenterLocal()</B></TT>
<DL><DT><DD></DL><P>
<A NAME="getLookVectorLocal">
<A NAME="DOC.2.11.34">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const osg::Vec3&amp; getLookVectorLocal()</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_viewFrustumCullingActive">
<A NAME="DOC.2.11.35">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool _viewFrustumCullingActive</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_smallFeatureCullingActive">
<A NAME="DOC.2.11.36">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool _smallFeatureCullingActive</B></TT>
<DL><DT><DD></DL><P>
<A NAME="isCulled">
<A NAME="DOC.2.11.37">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool isCulled(const osg::BoundingSphere&amp; sp)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="isCulled">
<A NAME="DOC.2.11.38">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool isCulled(const osg::BoundingBox&amp; bb)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="MatrixGeoSet">
<A NAME="DOC.2.11.39">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>typedef std::pair&lt;osg::Matrix*,osg::GeoSet*&gt; MatrixGeoSet</B></TT>
<DL><DT><DD></DL><P>
<A NAME="ViewStateStack">
<A NAME="DOC.2.11.40">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>typedef std::vector&lt;<!1><A HREF="ViewState.html">ViewState</A>*&gt; ViewStateStack</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_viewStateStack">
<A NAME="DOC.2.11.41">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="RenderVisitor.html#DOC.2.11.40">ViewStateStack</A> _viewStateStack</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_tvs">
<A NAME="DOC.2.11.42">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="ViewState.html">ViewState</A>* _tvs</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_cvs">
<A NAME="DOC.2.11.43">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="ViewState.html">ViewState</A>* _cvs</B></TT>
<DL><DT><DD></DL><P>
<A NAME="OpaqueList">
<A NAME="DOC.2.11.44">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>typedef std::multimap&lt;osg::GeoState*,<!1><A HREF="RenderVisitor.html#DOC.2.11.39">MatrixGeoSet</A>&gt; OpaqueList</B></TT>
<DL><DT><DD></DL><P>
<A NAME="TransparentList">
<A NAME="DOC.2.11.45">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>typedef std::multimap&lt;float,<!1><A HREF="RenderVisitor.html#DOC.2.11.39">MatrixGeoSet</A>&gt; TransparentList</B></TT>
<DL><DT><DD></DL><P>
<A NAME="LightList">
<A NAME="DOC.2.11.46">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>typedef std::map&lt;osg::Matrix*,osg::Light*&gt; LightList</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_opaqueGeoSets">
<A NAME="DOC.2.11.47">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="RenderVisitor.html#DOC.2.11.44">OpaqueList</A> _opaqueGeoSets</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_transparentGeoSets">
<A NAME="DOC.2.11.48">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="RenderVisitor.html#DOC.2.11.45">TransparentList</A> _transparentGeoSets</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_lights">
<A NAME="DOC.2.11.49">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="RenderVisitor.html#DOC.2.11.46">LightList</A> _lights</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_globalState">
<A NAME="DOC.2.11.50">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::GeoState* _globalState</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_LODBias">
<A NAME="DOC.2.11.51">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>float _LODBias</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_fovy">
<A NAME="DOC.2.11.52">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>float _fovy</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_aspect">
<A NAME="DOC.2.11.53">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>float _aspect</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_znear">
<A NAME="DOC.2.11.54">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>float _znear</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_zfar">
<A NAME="DOC.2.11.55">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>float _zfar</B></TT>
<DL><DT><DD></DL><P>
<A NAME="calculateClippingPlanes">
<A NAME="DOC.2.11.56">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void calculateClippingPlanes()</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_frustumTop">
<A NAME="DOC.2.11.57">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::Vec3 _frustumTop</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_frustumBottom">
<A NAME="DOC.2.11.58">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::Vec3 _frustumBottom</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_frustumLeft">
<A NAME="DOC.2.11.59">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::Vec3 _frustumLeft</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_frustumRight">
<A NAME="DOC.2.11.60">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::Vec3 _frustumRight</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_tsm">
<A NAME="DOC.2.11.61">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="RenderVisitor.html#DOC.2.11.1">TransparencySortMode</A> _tsm</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><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://www.linuxsupportline.com/~doc++">DOC++</A>.
</BODY>