OpenSceneGraph/doc/doc++/osgUtil/CullVisitor.html

616 lines
31 KiB
HTML
Raw Normal View History

2001-09-20 05:19:47 +08:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE>class OSGUTIL_EXPORT osgUtil::CullVisitor</TITLE>
<META NAME="GENERATOR" CONTENT="DOC++ 3.4.8">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H2>class OSGUTIL_EXPORT <A HREF="#DOC.DOCU">osgUtil::CullVisitor</A></H2></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,CCullVisitor,MCullVisitor.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>
2001-09-22 10:42:08 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif> <B><A HREF="#DOC.2.4.1">CullVisitor</A></B>()
2001-09-20 05:19:47 +08:00
<DT>
2001-09-22 10:42:08 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual <B><A HREF="#DOC.2.4.2">~CullVisitor</A></B>()
2001-09-20 05:19:47 +08:00
<DT>
2001-09-22 10:42:08 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.4.3">reset</A></B>()
2001-09-20 05:19:47 +08:00
<DT>
2001-09-22 10:42:08 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.4.4">apply</A></B>(osg::Node&amp;)
2001-09-20 05:19:47 +08:00
<DT>
2001-09-22 10:42:08 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.4.5">apply</A></B>(osg::Geode&amp; node)
2001-09-20 05:19:47 +08:00
<DT>
2001-09-22 10:42:08 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.4.6">apply</A></B>(osg::Billboard&amp; node)
2001-09-20 05:19:47 +08:00
<DT>
2001-09-22 10:42:08 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.4.7">apply</A></B>(osg::LightSource&amp; node)
2001-09-20 05:19:47 +08:00
<DT>
2001-09-22 10:42:08 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.4.8">apply</A></B>(osg::Group&amp; node)
2001-09-20 05:19:47 +08:00
<DT>
2001-09-22 10:42:08 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.4.9">apply</A></B>(osg::Transform&amp; node)
2001-09-20 05:19:47 +08:00
<DT>
2001-09-22 10:42:08 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.4.10">apply</A></B>(osg::Switch&amp; node)
2001-09-20 05:19:47 +08:00
<DT>
2001-09-22 10:42:08 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.4.11">apply</A></B>(osg::LOD&amp; node)
2001-09-20 05:19:47 +08:00
<DT>
2001-09-22 10:42:08 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.4.12">apply</A></B>(osg::Impostor&amp; node)
2001-09-20 05:19:47 +08:00
<DT>
2001-09-22 10:42:08 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.4.13">setCamera</A></B>(const osg::Camera&amp; camera)
2001-09-20 05:19:47 +08:00
<DT>
2001-09-22 10:42:08 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>const osg::Camera* <B><A HREF="#DOC.2.4.14">getCamera</A></B>() const
2001-09-20 05:19:47 +08:00
<DT>
2001-09-22 10:42:08 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.4.15">setLODBias</A></B>(const float bias)
2001-09-20 05:19:47 +08:00
<DT>
2001-09-22 10:42:08 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>const float <B><A HREF="#DOC.2.4.16">getLODBias</A></B>() const
2001-09-20 05:19:47 +08:00
<DT>
2001-09-22 10:42:08 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.4.17">setImpostorsActive</A></B>(const bool active)
2001-09-20 05:19:47 +08:00
<DD><I>Switch the creation of Impostors on or off.</I>
<DT>
2001-09-22 10:42:08 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>const bool <B><A HREF="#DOC.2.4.18">getImpostorsActive</A></B>() const
2001-09-20 05:19:47 +08:00
<DD><I>Get whether impostors are active or not.</I>
<DT>
2001-09-22 10:42:08 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.4.19">setImpostorPixelErrorThreshold</A></B>(const float numPixels)
2001-09-20 05:19:47 +08:00
<DD><I>Set the impostor error threshold.</I>
<DT>
2001-09-22 10:42:08 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>const float <B><A HREF="#DOC.2.4.20">getImpostorPixelErrorThreshold</A></B>() const
2001-09-20 05:19:47 +08:00
<DD><I>Get the impostor error threshold</I>
<DT>
2001-09-22 10:42:08 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.4.21">setDepthSortImpostorSprites</A></B>(const bool doDepthSort)
2001-09-20 05:19:47 +08:00
<DD><I>Set whether ImpsotorSprite's should be placed in a depth sorted bin for rendering</I>
<DT>
2001-09-22 10:42:08 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>const bool <B><A HREF="#DOC.2.4.22">setDepthSortImpostorSprites</A></B>() const
2001-09-20 05:19:47 +08:00
<DD><I>Get whether ImpsotorSprite's are depth sorted bin for rendering</I>
<DT>
2001-09-22 10:42:08 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.4.23">setNumberOfFrameToKeepImpostorSprites</A></B>(const int numFrames)
2001-09-20 05:19:47 +08:00
<DD><I>Set the number of frames that an ImpsotorSprite's is kept whilst not being beyond, before being recycled</I>
<DT>
2001-09-22 10:42:08 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>const int <B><A HREF="#DOC.2.4.24">getNumberOfFrameToKeepImpostorSprites</A></B>() const
2001-09-20 05:19:47 +08:00
<DD><I>Get the number of frames that an ImpsotorSprite's is kept whilst not being beyond, before being recycled</I>
<DT>
2001-09-22 10:42:08 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.4.26">setTransparencySortMode</A></B>(<!1><A HREF="CullVisitor.html#DOC.2.4.25">TransparencySortMode</A> tsm)
2001-09-20 05:19:47 +08:00
<DT>
2001-09-22 10:42:08 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.4.27">setCullingMode</A></B>(CullViewState::CullingMode mode)
2001-09-20 05:19:47 +08:00
<DD><I>Sets the current CullingMode</I>
<DT>
2001-09-22 10:42:08 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>CullViewState::CullingMode <B><A HREF="#DOC.2.4.28">getCullingMode</A></B>() const
2001-09-20 05:19:47 +08:00
<DD><I>Returns the current CullingMode</I>
<DT>
2001-09-22 10:42:08 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.4.29">setViewport</A></B>(osg::Viewport* viewport)
2001-09-20 05:19:47 +08:00
<DD><I>Set the viewport.</I>
<DT>
2001-09-22 10:42:08 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>const osg::Viewport* <B><A HREF="#DOC.2.4.30">getViewport</A></B>() const
<DD><I>Get the const viewport.</I>
2001-09-20 05:19:47 +08:00
<DT>
2001-09-22 10:42:08 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>osg::Viewport* <B><A HREF="#DOC.2.4.31">getViewport</A></B>()
<DD><I>Get the viewport.</I>
2001-09-20 05:19:47 +08:00
<DT>
2001-09-22 10:42:08 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.4.32">pushCullViewState</A></B>(const osg::Matrix* matrix=NULL)
2001-09-20 05:19:47 +08:00
<DT>
2001-09-22 10:42:08 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.4.33">popCullViewState</A></B>()
2001-09-20 05:19:47 +08:00
<DT>
2001-09-22 10:42:08 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline void <B><A HREF="#DOC.2.4.34">pushStateSet</A></B>(const osg::StateSet* ss)
2001-09-20 05:19:47 +08:00
<DD><I>Push state set on the current state group.</I>
<DT>
2001-09-22 10:42:08 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline void <B><A HREF="#DOC.2.4.35">popStateSet</A></B>()
2001-09-20 05:19:47 +08:00
<DD><I>Pop the top state set and hence associated state group.</I>
<DT>
2001-09-22 10:42:08 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.4.36">setRenderGraph</A></B>(<!1><A HREF="RenderGraph.html">RenderGraph</A>* rg)
2001-09-20 05:19:47 +08:00
<DT>
2001-09-22 10:42:08 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="RenderGraph.html">RenderGraph</A>* <B><A HREF="#DOC.2.4.37">getRenderGraph</A></B>()
2001-09-20 05:19:47 +08:00
<DT>
2001-09-22 10:42:08 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.4.38">setRenderStage</A></B>(<!1><A HREF="RenderStage.html">RenderStage</A>* rg)
2001-09-20 05:19:47 +08:00
<DT>
2001-09-22 10:42:08 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="RenderStage.html">RenderStage</A>* <B><A HREF="#DOC.2.4.39">getRenderStage</A></B>()
2001-09-20 05:19:47 +08:00
<DT>
2001-09-22 10:42:08 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>const float <B><A HREF="#DOC.2.4.40">getCalculatedNearPlane</A></B>() const
2001-09-20 05:19:47 +08:00
<DT>
2001-09-22 10:42:08 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>const float <B><A HREF="#DOC.2.4.41">getCalculatedFarPlane</A></B>() const
2001-09-20 05:19:47 +08:00
</DL></P>
<P><DL>
<DT><H3>Public Members</H3><DD><DT>
2001-09-22 10:42:08 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>enum <B><A HREF="#DOC.2.4.25">TransparencySortMode</A></B>
2001-09-20 05:19:47 +08:00
</DL></P>
<P><DL>
<DT><H3>Protected Fields</H3><DD><DT>
2001-09-22 10:42:08 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>osg::ref_ptr&lt;<!1><A HREF="CullViewState.html">CullViewState</A>&gt; <B><A HREF="#DOC.2.4.58">_tvs</A></B>
2001-09-20 05:19:47 +08:00
<DT>
2001-09-22 10:42:08 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>osg::ref_ptr&lt;<!1><A HREF="CullViewState.html">CullViewState</A>&gt; <B><A HREF="#DOC.2.4.59">_cvs</A></B>
2001-09-20 05:19:47 +08:00
<DT>
2001-09-22 10:42:08 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>osg::ref_ptr&lt;<!1><A HREF="RenderGraph.html">RenderGraph</A>&gt; <B><A HREF="#DOC.2.4.60">_rootRenderGraph</A></B>
2001-09-20 05:19:47 +08:00
<DT>
2001-09-22 10:42:08 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="RenderGraph.html">RenderGraph</A>* <B><A HREF="#DOC.2.4.61">_currentRenderGraph</A></B>
2001-09-20 05:19:47 +08:00
<DT>
2001-09-22 10:42:08 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>osg::ref_ptr&lt;<!1><A HREF="RenderStage.html">RenderStage</A>&gt; <B><A HREF="#DOC.2.4.62">_rootRenderStage</A></B>
2001-09-20 05:19:47 +08:00
<DT>
2001-09-22 10:42:08 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="RenderBin.html">RenderBin</A>* <B><A HREF="#DOC.2.4.63">_currentRenderBin</A></B>
2001-09-20 05:19:47 +08:00
<DT>
2001-09-22 10:42:08 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>std::vector&lt;CullViewState::CullingMode&gt; <B><A HREF="#DOC.2.4.64">_cullingModeStack</A></B>
2001-09-20 05:19:47 +08:00
<DT>
2001-09-22 10:42:08 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>float <B><A HREF="#DOC.2.4.65">_LODBias</A></B>
2001-09-20 05:19:47 +08:00
<DT>
2001-09-22 10:42:08 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>float <B><A HREF="#DOC.2.4.66">_calculated_znear</A></B>
2001-09-20 05:19:47 +08:00
<DT>
2001-09-22 10:42:08 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>float <B><A HREF="#DOC.2.4.67">_calculated_zfar</A></B>
2001-09-20 05:19:47 +08:00
<DT>
2001-09-22 10:42:08 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>osg::ref_ptr&lt;const osg::Camera&gt; <B><A HREF="#DOC.2.4.68">_camera</A></B>
2001-09-20 05:19:47 +08:00
<DT>
2001-09-22 10:42:08 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="CullVisitor.html#DOC.2.4.25">TransparencySortMode</A> <B><A HREF="#DOC.2.4.69">_tsm</A></B>
2001-09-20 05:19:47 +08:00
<DT>
2001-09-22 10:42:08 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>osg::ref_ptr&lt;osg::Viewport&gt; <B><A HREF="#DOC.2.4.70">_viewport</A></B>
2001-09-20 05:19:47 +08:00
<DT>
2001-09-22 10:42:08 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>bool <B><A HREF="#DOC.2.4.71">_impostorActive</A></B>
2001-09-20 05:19:47 +08:00
<DT>
2001-09-22 10:42:08 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>bool <B><A HREF="#DOC.2.4.72">_depthSortImpostorSprites</A></B>
2001-09-20 05:19:47 +08:00
<DT>
2001-09-22 10:42:08 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>float <B><A HREF="#DOC.2.4.73">_impostorPixelErrorThreshold</A></B>
2001-09-20 05:19:47 +08:00
<DT>
2001-09-22 10:42:08 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>int <B><A HREF="#DOC.2.4.74">_numFramesToKeepImpostorSprites</A></B>
2001-09-20 05:19:47 +08:00
<DT>
2001-09-22 10:42:08 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>unsigned int <B><A HREF="#DOC.2.4.76">_currentReuseMatrixIndex</A></B>
2001-09-20 05:19:47 +08:00
<DT>
2001-09-22 10:42:08 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>unsigned int <B><A HREF="#DOC.2.4.79">_currentReuseRenderLeafIndex</A></B>
2001-09-20 05:19:47 +08:00
<DT>
2001-09-22 10:42:08 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>osg::ref_ptr&lt;osg::ImpostorSpriteManager&gt; <B><A HREF="#DOC.2.4.81">_impostorSpriteManager</A></B>
2001-09-20 05:19:47 +08:00
</DL></P>
<P><DL>
<DT><H3>Protected Methods</H3><DD><DT>
2001-09-22 10:42:08 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif> <B><A HREF="#DOC.2.4.42">CullVisitor</A></B>(const <!1><A HREF="CullVisitor.html#DOC.2.4.42">CullVisitor</A>&amp;)
2001-09-20 05:19:47 +08:00
<DD><I>prevent unwanted copy construction</I>
<DT>
2001-09-22 10:42:08 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="CullVisitor.html">CullVisitor</A>&amp; <B><A HREF="#DOC.2.4.43">operator = </A></B>(const <!1><A HREF="CullVisitor.html">CullVisitor</A>&amp;)
2001-09-20 05:19:47 +08:00
<DD><I>prevent unwanted copy operator</I>
<DT>
2001-09-22 10:42:08 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline osg::Matrix* <B><A HREF="#DOC.2.4.44">getCurrentMatrix</A></B>()
2001-09-20 05:19:47 +08:00
<DT>
2001-09-22 10:42:08 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline osg::Matrix* <B><A HREF="#DOC.2.4.45">getInverseCurrentMatrix</A></B>()
2001-09-20 05:19:47 +08:00
<DT>
2001-09-22 10:42:08 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline const osg::Vec3&amp; <B><A HREF="#DOC.2.4.46">getEyeLocal</A></B>() const
2001-09-20 05:19:47 +08:00
<DT>
2001-09-22 10:42:08 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline const osg::Vec3&amp; <B><A HREF="#DOC.2.4.47">getCenterLocal</A></B>() const
2001-09-20 05:19:47 +08:00
<DT>
2001-09-22 10:42:08 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline const osg::Vec3&amp; <B><A HREF="#DOC.2.4.48">getLookVectorLocal</A></B>() const
2001-09-20 05:19:47 +08:00
<DT>
2001-09-22 10:42:08 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline bool <B><A HREF="#DOC.2.4.49">isCulled</A></B>(const osg::BoundingSphere&amp; sp, CullViewState::CullingMode&amp; mode) const
2001-09-20 05:19:47 +08:00
<DT>
2001-09-22 10:42:08 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline const bool <B><A HREF="#DOC.2.4.50">isCulled</A></B>(const osg::BoundingBox&amp; bb, const CullViewState::CullingMode mode) const
2001-09-20 05:19:47 +08:00
<DT>
2001-09-22 10:42:08 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.4.51">updateCalculatedNearFar</A></B>(const osg::BoundingBox&amp; bb)
2001-09-20 05:19:47 +08:00
<DT>
2001-09-22 10:42:08 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.4.52">updateCalculatedNearFar</A></B>(const osg::Vec3&amp; pos)
2001-09-20 05:19:47 +08:00
<DT>
2001-09-22 10:42:08 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline void <B><A HREF="#DOC.2.4.53">addDrawable</A></B>(osg::Drawable* drawable, osg::Matrix* matrix)
2001-09-20 05:19:47 +08:00
<DD><I>Add a drawable to current render graph</I>
<DT>
2001-09-22 10:42:08 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline void <B><A HREF="#DOC.2.4.54">addDrawableAndDepth</A></B>(osg::Drawable* drawable, osg::Matrix* matrix, const float depth)
2001-09-20 05:19:47 +08:00
<DD><I>Add a drawable and depth to current render graph</I>
<DT>
2001-09-22 10:42:08 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline void <B><A HREF="#DOC.2.4.55">addLight</A></B>(osg::Light* light, osg::Matrix* matrix)
2001-09-20 05:19:47 +08:00
<DD><I>Add a light to current render graph</I>
<DT>
2001-09-22 10:42:08 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>osg::ImpostorSprite* <B><A HREF="#DOC.2.4.56">createImpostorSprite</A></B>(osg::Impostor&amp; node)
2001-09-20 05:19:47 +08:00
<DD><I>create an impostor sprite by setting up a pre-rendering stage to generate the impostor texture.</I>
<DT>
2001-09-22 10:42:08 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline osg::Matrix* <B><A HREF="#DOC.2.4.77">createOrReuseMatrix</A></B>()
2001-09-20 05:19:47 +08:00
<DT>
2001-09-22 10:42:08 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline <!1><A HREF="RenderLeaf.html">RenderLeaf</A>* <B><A HREF="#DOC.2.4.80">createOrReuseRenderLeaf</A></B>(osg::Drawable* drawable, osg::Matrix* matrix, float depth=0.0f)
2001-09-20 05:19:47 +08:00
</DL></P>
<P><DL>
<DT><H3>Protected Members</H3><DD><DT>
2001-09-22 10:42:08 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>typedef std::vector&lt; osg::ref_ptr&lt;<!1><A HREF="CullViewState.html">CullViewState</A>&gt; &gt; CullViewStateStack CullViewStateStack <B><A HREF="#DOC.2.4.57">_viewStateStack</A></B>
2001-09-20 05:19:47 +08:00
<DT>
2001-09-22 10:42:08 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>typedef std::vector&lt; osg::ref_ptr&lt;osg::Matrix&gt; &gt; MatrixList MatrixList <B><A HREF="#DOC.2.4.75">_reuseMatrixList</A></B>
2001-09-20 05:19:47 +08:00
<DT>
2001-09-22 10:42:08 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>typedef std::vector&lt; osg::ref_ptr&lt;<!1><A HREF="RenderLeaf.html">RenderLeaf</A>&gt; &gt; RenderLeafList RenderLeafList <B><A HREF="#DOC.2.4.78">_reuseRenderLeafList</A></B>
2001-09-20 05:19:47 +08:00
</DL></P>
</DL>
<A NAME="DOC.DOCU"></A>
<HR>
<H2>Documentation</H2>
<BLOCKQUOTE>
Basic NodeVisitor implementation for rendering a scene.
This visitor traverses the scene graph, collecting transparent and
opaque osg::Drawables 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::Drawable
from the eye to the one nearest the eye. </BLOCKQUOTE>
<DL>
<A NAME="CullVisitor"></A>
2001-09-22 10:42:08 +08:00
<A NAME="DOC.2.4.1"></A>
2001-09-20 05:19:47 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> CullVisitor()</B></TT>
<DL><DT><DD></DL><P>
<A NAME="~CullVisitor"></A>
2001-09-22 10:42:08 +08:00
<A NAME="DOC.2.4.2"></A>
2001-09-20 05:19:47 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual ~CullVisitor()</B></TT>
<DL><DT><DD></DL><P>
<A NAME="reset"></A>
2001-09-22 10:42:08 +08:00
<A NAME="DOC.2.4.3"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void reset()</B></TT>
2001-09-20 05:19:47 +08:00
<DL><DT><DD></DL><P>
<A NAME="apply"></A>
2001-09-22 10:42:08 +08:00
<A NAME="DOC.2.4.4"></A>
2001-09-20 05:19:47 +08:00
<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>
2001-09-22 10:42:08 +08:00
<A NAME="DOC.2.4.5"></A>
2001-09-20 05:19:47 +08:00
<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>
2001-09-22 10:42:08 +08:00
<A NAME="DOC.2.4.6"></A>
2001-09-20 05:19:47 +08:00
<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>
2001-09-22 10:42:08 +08:00
<A NAME="DOC.2.4.7"></A>
2001-09-20 05:19:47 +08:00
<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>
2001-09-22 10:42:08 +08:00
<A NAME="DOC.2.4.8"></A>
2001-09-20 05:19:47 +08:00
<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>
2001-09-22 10:42:08 +08:00
<A NAME="DOC.2.4.9"></A>
2001-09-20 05:19:47 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void apply(osg::Transform&amp; node)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="apply"></A>
2001-09-22 10:42:08 +08:00
<A NAME="DOC.2.4.10"></A>
2001-09-20 05:19:47 +08:00
<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>
2001-09-22 10:42:08 +08:00
<A NAME="DOC.2.4.11"></A>
2001-09-20 05:19:47 +08:00
<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>
2001-09-22 10:42:08 +08:00
<A NAME="DOC.2.4.12"></A>
2001-09-20 05:19:47 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void apply(osg::Impostor&amp; node)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="setCamera"></A>
2001-09-22 10:42:08 +08:00
<A NAME="DOC.2.4.13"></A>
2001-09-20 05:19:47 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setCamera(const osg::Camera&amp; camera)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="getCamera"></A>
2001-09-22 10:42:08 +08:00
<A NAME="DOC.2.4.14"></A>
2001-09-20 05:19:47 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const osg::Camera* getCamera() const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="setLODBias"></A>
2001-09-22 10:42:08 +08:00
<A NAME="DOC.2.4.15"></A>
2001-09-20 05:19:47 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setLODBias(const float bias)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="getLODBias"></A>
2001-09-22 10:42:08 +08:00
<A NAME="DOC.2.4.16"></A>
2001-09-20 05:19:47 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const float getLODBias() const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="setImpostorsActive"></A>
2001-09-22 10:42:08 +08:00
<A NAME="DOC.2.4.17"></A>
2001-09-20 05:19:47 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setImpostorsActive(const bool active)</B></TT>
<DD>Switch the creation of Impostors on or off.
Setting active to false forces the CullVisitor to use the Impostor
LOD children for rendering. Setting active to true forces the
CullVisitor to create the appropriate pre-rendering stages which
render to the ImpostorSprite's texture.
<DL><DT><DD></DL><P>
<A NAME="getImpostorsActive"></A>
2001-09-22 10:42:08 +08:00
<A NAME="DOC.2.4.18"></A>
2001-09-20 05:19:47 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const bool getImpostorsActive() const </B></TT>
<DD>Get whether impostors are active or not.
<DL><DT><DD></DL><P>
<A NAME="setImpostorPixelErrorThreshold"></A>
2001-09-22 10:42:08 +08:00
<A NAME="DOC.2.4.19"></A>
2001-09-20 05:19:47 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setImpostorPixelErrorThreshold(const float numPixels)</B></TT>
<DD>Set the impostor error threshold.
Used in calculation of whether impostors remain valid.
<DL><DT><DD></DL><P>
<A NAME="getImpostorPixelErrorThreshold"></A>
2001-09-22 10:42:08 +08:00
<A NAME="DOC.2.4.20"></A>
2001-09-20 05:19:47 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const float getImpostorPixelErrorThreshold() const </B></TT>
<DD>Get the impostor error threshold
<DL><DT><DD></DL><P>
<A NAME="setDepthSortImpostorSprites"></A>
2001-09-22 10:42:08 +08:00
<A NAME="DOC.2.4.21"></A>
2001-09-20 05:19:47 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setDepthSortImpostorSprites(const bool doDepthSort)</B></TT>
<DD>Set whether ImpsotorSprite's should be placed in a depth sorted bin for rendering
<DL><DT><DD></DL><P>
<A NAME="setDepthSortImpostorSprites"></A>
2001-09-22 10:42:08 +08:00
<A NAME="DOC.2.4.22"></A>
2001-09-20 05:19:47 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const bool setDepthSortImpostorSprites() const </B></TT>
<DD>Get whether ImpsotorSprite's are depth sorted bin for rendering
<DL><DT><DD></DL><P>
<A NAME="setNumberOfFrameToKeepImpostorSprites"></A>
2001-09-22 10:42:08 +08:00
<A NAME="DOC.2.4.23"></A>
2001-09-20 05:19:47 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setNumberOfFrameToKeepImpostorSprites(const int numFrames)</B></TT>
<DD>Set the number of frames that an ImpsotorSprite's is kept whilst not being beyond,
before being recycled
<DL><DT><DD></DL><P>
<A NAME="getNumberOfFrameToKeepImpostorSprites"></A>
2001-09-22 10:42:08 +08:00
<A NAME="DOC.2.4.24"></A>
2001-09-20 05:19:47 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const int getNumberOfFrameToKeepImpostorSprites() const </B></TT>
<DD>Get the number of frames that an ImpsotorSprite's is kept whilst not being beyond,
before being recycled
<DL><DT><DD></DL><P>
<A NAME="TransparencySortMode"></A>
2001-09-22 10:42:08 +08:00
<A NAME="DOC.2.4.25"></A>
2001-09-20 05:19:47 +08:00
<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>
2001-09-22 10:42:08 +08:00
<A NAME="DOC.2.4.25.1"></A>
2001-09-20 05:19:47 +08:00
<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>
2001-09-22 10:42:08 +08:00
<A NAME="DOC.2.4.25.2"></A>
2001-09-20 05:19:47 +08:00
<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>
2001-09-22 10:42:08 +08:00
<A NAME="DOC.2.4.26"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setTransparencySortMode(<!1><A HREF="CullVisitor.html#DOC.2.4.25">TransparencySortMode</A> tsm)</B></TT>
2001-09-20 05:19:47 +08:00
<DL><DT><DD></DL><P>
<A NAME="setCullingMode"></A>
2001-09-22 10:42:08 +08:00
<A NAME="DOC.2.4.27"></A>
2001-09-20 05:19:47 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setCullingMode(CullViewState::CullingMode mode)</B></TT>
<DD>Sets the current CullingMode
<DL><DT><DD></DL><P>
<A NAME="getCullingMode"></A>
2001-09-22 10:42:08 +08:00
<A NAME="DOC.2.4.28"></A>
2001-09-20 05:19:47 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>CullViewState::CullingMode getCullingMode() const </B></TT>
<DD>Returns the current CullingMode
<DL><DT><DD></DL><P>
<A NAME="setViewport"></A>
2001-09-22 10:42:08 +08:00
<A NAME="DOC.2.4.29"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setViewport(osg::Viewport* viewport)</B></TT>
2001-09-20 05:19:47 +08:00
<DD>Set the viewport.
Used to enable the CullVisitor can make decision
2001-09-22 10:42:08 +08:00
such as based on viewport dimensions.
2001-09-20 05:19:47 +08:00
<DL><DT><DD></DL><P>
<A NAME="getViewport"></A>
2001-09-22 10:42:08 +08:00
<A NAME="DOC.2.4.30"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const osg::Viewport* getViewport() const </B></TT>
<DD>Get the const viewport.
2001-09-20 05:19:47 +08:00
<DL><DT><DD></DL><P>
2001-09-22 10:42:08 +08:00
<A NAME="getViewport"></A>
<A NAME="DOC.2.4.31"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::Viewport* getViewport()</B></TT>
<DD>Get the viewport.
2001-09-20 05:19:47 +08:00
<DL><DT><DD></DL><P>
<A NAME="pushCullViewState"></A>
2001-09-22 10:42:08 +08:00
<A NAME="DOC.2.4.32"></A>
2001-09-20 05:19:47 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void pushCullViewState(const osg::Matrix* matrix=NULL)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="popCullViewState"></A>
2001-09-22 10:42:08 +08:00
<A NAME="DOC.2.4.33"></A>
2001-09-20 05:19:47 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void popCullViewState()</B></TT>
<DL><DT><DD></DL><P>
<A NAME="pushStateSet"></A>
2001-09-22 10:42:08 +08:00
<A NAME="DOC.2.4.34"></A>
2001-09-20 05:19:47 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline void pushStateSet(const osg::StateSet* ss)</B></TT>
<DD>Push state set on the current state group.
If the state exists in a child state group of the current
state group then move the current state group to that child.
Otherwise, create a new state group for the state set, add
it to the current state group then move the current state
group pointer to the new state group.
<DL><DT><DD></DL><P>
<A NAME="popStateSet"></A>
2001-09-22 10:42:08 +08:00
<A NAME="DOC.2.4.35"></A>
2001-09-20 05:19:47 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline void popStateSet()</B></TT>
<DD>Pop the top state set and hence associated state group.
Move the current state group to the parent of the popped
state group.
<DL><DT><DD></DL><P>
<A NAME="setRenderGraph"></A>
2001-09-22 10:42:08 +08:00
<A NAME="DOC.2.4.36"></A>
2001-09-20 05:19:47 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setRenderGraph(<!1><A HREF="RenderGraph.html">RenderGraph</A>* rg)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="getRenderGraph"></A>
2001-09-22 10:42:08 +08:00
<A NAME="DOC.2.4.37"></A>
2001-09-20 05:19:47 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="RenderGraph.html">RenderGraph</A>* getRenderGraph()</B></TT>
<DL><DT><DD></DL><P>
<A NAME="setRenderStage"></A>
2001-09-22 10:42:08 +08:00
<A NAME="DOC.2.4.38"></A>
2001-09-20 05:19:47 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setRenderStage(<!1><A HREF="RenderStage.html">RenderStage</A>* rg)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="getRenderStage"></A>
2001-09-22 10:42:08 +08:00
<A NAME="DOC.2.4.39"></A>
2001-09-20 05:19:47 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="RenderStage.html">RenderStage</A>* getRenderStage()</B></TT>
<DL><DT><DD></DL><P>
<A NAME="getCalculatedNearPlane"></A>
2001-09-22 10:42:08 +08:00
<A NAME="DOC.2.4.40"></A>
2001-09-20 05:19:47 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const float getCalculatedNearPlane() const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="getCalculatedFarPlane"></A>
2001-09-22 10:42:08 +08:00
<A NAME="DOC.2.4.41"></A>
2001-09-20 05:19:47 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const float getCalculatedFarPlane() const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="CullVisitor"></A>
2001-09-22 10:42:08 +08:00
<A NAME="DOC.2.4.42"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> CullVisitor(const <!1><A HREF="CullVisitor.html#DOC.2.4.42">CullVisitor</A>&amp;)</B></TT>
2001-09-20 05:19:47 +08:00
<DD>prevent unwanted copy construction
<DL><DT><DD></DL><P>
<A NAME="operator = "></A>
2001-09-22 10:42:08 +08:00
<A NAME="DOC.2.4.43"></A>
2001-09-20 05:19:47 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="CullVisitor.html">CullVisitor</A>&amp; operator = (const <!1><A HREF="CullVisitor.html">CullVisitor</A>&amp;)</B></TT>
<DD>prevent unwanted copy operator
<DL><DT><DD></DL><P>
<A NAME="getCurrentMatrix"></A>
2001-09-22 10:42:08 +08:00
<A NAME="DOC.2.4.44"></A>
2001-09-20 05:19:47 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline osg::Matrix* getCurrentMatrix()</B></TT>
<DL><DT><DD></DL><P>
<A NAME="getInverseCurrentMatrix"></A>
2001-09-22 10:42:08 +08:00
<A NAME="DOC.2.4.45"></A>
2001-09-20 05:19:47 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline osg::Matrix* getInverseCurrentMatrix()</B></TT>
<DL><DT><DD></DL><P>
<A NAME="getEyeLocal"></A>
2001-09-22 10:42:08 +08:00
<A NAME="DOC.2.4.46"></A>
2001-09-20 05:19:47 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline const osg::Vec3&amp; getEyeLocal() const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="getCenterLocal"></A>
2001-09-22 10:42:08 +08:00
<A NAME="DOC.2.4.47"></A>
2001-09-20 05:19:47 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline const osg::Vec3&amp; getCenterLocal() const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="getLookVectorLocal"></A>
2001-09-22 10:42:08 +08:00
<A NAME="DOC.2.4.48"></A>
2001-09-20 05:19:47 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline const osg::Vec3&amp; getLookVectorLocal() const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="isCulled"></A>
2001-09-22 10:42:08 +08:00
<A NAME="DOC.2.4.49"></A>
2001-09-20 05:19:47 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline bool isCulled(const osg::BoundingSphere&amp; sp, CullViewState::CullingMode&amp; mode) const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="isCulled"></A>
2001-09-22 10:42:08 +08:00
<A NAME="DOC.2.4.50"></A>
2001-09-20 05:19:47 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline const bool isCulled(const osg::BoundingBox&amp; bb, const CullViewState::CullingMode mode) const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="updateCalculatedNearFar"></A>
2001-09-22 10:42:08 +08:00
<A NAME="DOC.2.4.51"></A>
2001-09-20 05:19:47 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void updateCalculatedNearFar(const osg::BoundingBox&amp; bb)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="updateCalculatedNearFar"></A>
2001-09-22 10:42:08 +08:00
<A NAME="DOC.2.4.52"></A>
2001-09-20 05:19:47 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void updateCalculatedNearFar(const osg::Vec3&amp; pos)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="addDrawable"></A>
2001-09-22 10:42:08 +08:00
<A NAME="DOC.2.4.53"></A>
2001-09-20 05:19:47 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline void addDrawable(osg::Drawable* drawable, osg::Matrix* matrix)</B></TT>
<DD>Add a drawable to current render graph
<DL><DT><DD></DL><P>
<A NAME="addDrawableAndDepth"></A>
2001-09-22 10:42:08 +08:00
<A NAME="DOC.2.4.54"></A>
2001-09-20 05:19:47 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline void addDrawableAndDepth(osg::Drawable* drawable, osg::Matrix* matrix, const float depth)</B></TT>
<DD>Add a drawable and depth to current render graph
<DL><DT><DD></DL><P>
<A NAME="addLight"></A>
2001-09-22 10:42:08 +08:00
<A NAME="DOC.2.4.55"></A>
2001-09-20 05:19:47 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline void addLight(osg::Light* light, osg::Matrix* matrix)</B></TT>
<DD>Add a light to current render graph
<DL><DT><DD></DL><P>
<A NAME="createImpostorSprite"></A>
2001-09-22 10:42:08 +08:00
<A NAME="DOC.2.4.56"></A>
2001-09-20 05:19:47 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::ImpostorSprite* createImpostorSprite(osg::Impostor&amp; node)</B></TT>
<DD>create an impostor sprite by setting up a pre-rendering stage
to generate the impostor texture.
<DL><DT><DD></DL><P>
<A NAME="_viewStateStack"></A>
2001-09-22 10:42:08 +08:00
<A NAME="DOC.2.4.57"></A>
2001-09-20 05:19:47 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>typedef std::vector&lt; osg::ref_ptr&lt;<!1><A HREF="CullViewState.html">CullViewState</A>&gt; &gt; CullViewStateStack CullViewStateStack _viewStateStack</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_tvs"></A>
2001-09-22 10:42:08 +08:00
<A NAME="DOC.2.4.58"></A>
2001-09-20 05:19:47 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::ref_ptr&lt;<!1><A HREF="CullViewState.html">CullViewState</A>&gt; _tvs</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_cvs"></A>
2001-09-22 10:42:08 +08:00
<A NAME="DOC.2.4.59"></A>
2001-09-20 05:19:47 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::ref_ptr&lt;<!1><A HREF="CullViewState.html">CullViewState</A>&gt; _cvs</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_rootRenderGraph"></A>
2001-09-22 10:42:08 +08:00
<A NAME="DOC.2.4.60"></A>
2001-09-20 05:19:47 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::ref_ptr&lt;<!1><A HREF="RenderGraph.html">RenderGraph</A>&gt; _rootRenderGraph</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_currentRenderGraph"></A>
2001-09-22 10:42:08 +08:00
<A NAME="DOC.2.4.61"></A>
2001-09-20 05:19:47 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="RenderGraph.html">RenderGraph</A>* _currentRenderGraph</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_rootRenderStage"></A>
2001-09-22 10:42:08 +08:00
<A NAME="DOC.2.4.62"></A>
2001-09-20 05:19:47 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::ref_ptr&lt;<!1><A HREF="RenderStage.html">RenderStage</A>&gt; _rootRenderStage</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_currentRenderBin"></A>
2001-09-22 10:42:08 +08:00
<A NAME="DOC.2.4.63"></A>
2001-09-20 05:19:47 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="RenderBin.html">RenderBin</A>* _currentRenderBin</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_cullingModeStack"></A>
2001-09-22 10:42:08 +08:00
<A NAME="DOC.2.4.64"></A>
2001-09-20 05:19:47 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>std::vector&lt;CullViewState::CullingMode&gt; _cullingModeStack</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_LODBias"></A>
2001-09-22 10:42:08 +08:00
<A NAME="DOC.2.4.65"></A>
2001-09-20 05:19:47 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>float _LODBias</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_calculated_znear"></A>
2001-09-22 10:42:08 +08:00
<A NAME="DOC.2.4.66"></A>
2001-09-20 05:19:47 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>float _calculated_znear</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_calculated_zfar"></A>
2001-09-22 10:42:08 +08:00
<A NAME="DOC.2.4.67"></A>
2001-09-20 05:19:47 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>float _calculated_zfar</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_camera"></A>
2001-09-22 10:42:08 +08:00
<A NAME="DOC.2.4.68"></A>
2001-09-20 05:19:47 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::ref_ptr&lt;const osg::Camera&gt; _camera</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_tsm"></A>
2001-09-22 10:42:08 +08:00
<A NAME="DOC.2.4.69"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="CullVisitor.html#DOC.2.4.25">TransparencySortMode</A> _tsm</B></TT>
2001-09-20 05:19:47 +08:00
<DL><DT><DD></DL><P>
2001-09-22 10:42:08 +08:00
<A NAME="_viewport"></A>
<A NAME="DOC.2.4.70"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::ref_ptr&lt;osg::Viewport&gt; _viewport</B></TT>
2001-09-20 05:19:47 +08:00
<DL><DT><DD></DL><P>
<A NAME="_impostorActive"></A>
2001-09-22 10:42:08 +08:00
<A NAME="DOC.2.4.71"></A>
2001-09-20 05:19:47 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool _impostorActive</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_depthSortImpostorSprites"></A>
2001-09-22 10:42:08 +08:00
<A NAME="DOC.2.4.72"></A>
2001-09-20 05:19:47 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool _depthSortImpostorSprites</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_impostorPixelErrorThreshold"></A>
2001-09-22 10:42:08 +08:00
<A NAME="DOC.2.4.73"></A>
2001-09-20 05:19:47 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>float _impostorPixelErrorThreshold</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_numFramesToKeepImpostorSprites"></A>
2001-09-22 10:42:08 +08:00
<A NAME="DOC.2.4.74"></A>
2001-09-20 05:19:47 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>int _numFramesToKeepImpostorSprites</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_reuseMatrixList"></A>
2001-09-22 10:42:08 +08:00
<A NAME="DOC.2.4.75"></A>
2001-09-20 05:19:47 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>typedef std::vector&lt; osg::ref_ptr&lt;osg::Matrix&gt; &gt; MatrixList MatrixList _reuseMatrixList</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_currentReuseMatrixIndex"></A>
2001-09-22 10:42:08 +08:00
<A NAME="DOC.2.4.76"></A>
2001-09-20 05:19:47 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>unsigned int _currentReuseMatrixIndex</B></TT>
<DL><DT><DD></DL><P>
<A NAME="createOrReuseMatrix"></A>
2001-09-22 10:42:08 +08:00
<A NAME="DOC.2.4.77"></A>
2001-09-20 05:19:47 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline osg::Matrix* createOrReuseMatrix()</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_reuseRenderLeafList"></A>
2001-09-22 10:42:08 +08:00
<A NAME="DOC.2.4.78"></A>
2001-09-20 05:19:47 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>typedef std::vector&lt; osg::ref_ptr&lt;<!1><A HREF="RenderLeaf.html">RenderLeaf</A>&gt; &gt; RenderLeafList RenderLeafList _reuseRenderLeafList</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_currentReuseRenderLeafIndex"></A>
2001-09-22 10:42:08 +08:00
<A NAME="DOC.2.4.79"></A>
2001-09-20 05:19:47 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>unsigned int _currentReuseRenderLeafIndex</B></TT>
<DL><DT><DD></DL><P>
<A NAME="createOrReuseRenderLeaf"></A>
2001-09-22 10:42:08 +08:00
<A NAME="DOC.2.4.80"></A>
2001-09-20 05:19:47 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline <!1><A HREF="RenderLeaf.html">RenderLeaf</A>* createOrReuseRenderLeaf(osg::Drawable* drawable, osg::Matrix* matrix, float depth=0.0f)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_impostorSpriteManager"></A>
2001-09-22 10:42:08 +08:00
<A NAME="DOC.2.4.81"></A>
2001-09-20 05:19:47 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::ref_ptr&lt;osg::ImpostorSpriteManager&gt; _impostorSpriteManager</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>