790 lines
39 KiB
HTML
790 lines
39 KiB
HTML
<!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>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>typedef unsigned int CullingMode <B><A HREF="#DOC.2.3.2">CullVisitor</A></B>()
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual <B><A HREF="#DOC.2.3.3">~CullVisitor</A></B>()
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual <!1><A HREF="CullVisitor.html">CullVisitor</A>* <B><A HREF="#DOC.2.3.4">cloneType</A></B>() const
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.3.5">reset</A></B>()
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.3.6">apply</A></B>(osg::Node&)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.3.7">apply</A></B>(osg::Geode& node)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.3.8">apply</A></B>(osg::Billboard& node)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.3.9">apply</A></B>(osg::LightSource& node)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.3.10">apply</A></B>(osg::Group& node)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.3.11">apply</A></B>(osg::Transform& node)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.3.12">apply</A></B>(osg::Projection& node)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.3.13">apply</A></B>(osg::Switch& node)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.3.14">apply</A></B>(osg::LOD& node)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.3.15">apply</A></B>(osg::EarthSky& node)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.3.16">apply</A></B>(osg::Impostor& node)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.3.17">setEarthSky</A></B>(const osg::EarthSky* earthSky)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>const osg::EarthSky* <B><A HREF="#DOC.2.3.18">getEarthSky</A></B>() const
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.3.19">setLODBias</A></B>(const float bias)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>const float <B><A HREF="#DOC.2.3.20">getLODBias</A></B>() const
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.3.21">setImpostorsActive</A></B>(const bool active)
|
|
<DD><I>Switch the creation of Impostors on or off.</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>const bool <B><A HREF="#DOC.2.3.22">getImpostorsActive</A></B>() const
|
|
<DD><I>Get whether impostors are active or not.</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.3.23">setImpostorPixelErrorThreshold</A></B>(const float numPixels)
|
|
<DD><I>Set the impostor error threshold.</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>const float <B><A HREF="#DOC.2.3.24">getImpostorPixelErrorThreshold</A></B>() const
|
|
<DD><I>Get the impostor error threshold</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.3.25">setDepthSortImpostorSprites</A></B>(const bool doDepthSort)
|
|
<DD><I>Set whether ImpsotorSprite's should be placed in a depth sorted bin for rendering</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>const bool <B><A HREF="#DOC.2.3.26">setDepthSortImpostorSprites</A></B>() const
|
|
<DD><I>Get whether ImpsotorSprite's are depth sorted bin for rendering</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.3.27">setNumberOfFrameToKeepImpostorSprites</A></B>(const int numFrames)
|
|
<DD><I>Set the number of frames that an ImpsotorSprite's is kept whilst not being beyond, before being recycled</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>const int <B><A HREF="#DOC.2.3.28">getNumberOfFrameToKeepImpostorSprites</A></B>() const
|
|
<DD><I>Get the number of frames that an ImpsotorSprite's is kept whilst not being beyond, before being recycled</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.3.30">setTransparencySortMode</A></B>(<!1><A HREF="CullVisitor.html#DOC.2.3.29">TransparencySortMode</A> tsm)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.3.31">setCullingMode</A></B>(CullingMode mode)
|
|
<DD><I>Sets the current CullingMode</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>CullingMode <B><A HREF="#DOC.2.3.32">getCullingMode</A></B>() const
|
|
<DD><I>Returns the current CullingMode</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.3.33">pushViewport</A></B>(osg::Viewport* viewport)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.3.34">popViewport</A></B>()
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.3.35">pushProjectionMatrix</A></B>(osg::Matrix* matrix)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.3.36">popProjectionMatrix</A></B>()
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.3.37">pushModelViewMatrix</A></B>(osg::Matrix* matrix)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.3.38">popModelViewMatrix</A></B>()
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline void <B><A HREF="#DOC.2.3.39">pushStateSet</A></B>(const osg::StateSet* ss)
|
|
<DD><I>Push state set on the current state group.</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline void <B><A HREF="#DOC.2.3.40">popStateSet</A></B>()
|
|
<DD><I>Pop the top state set and hence associated state group.</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.3.41">setRenderGraph</A></B>(<!1><A HREF="RenderGraph.html">RenderGraph</A>* rg)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="RenderGraph.html">RenderGraph</A>* <B><A HREF="#DOC.2.3.42">getRenderGraph</A></B>()
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.3.43">setRenderStage</A></B>(<!1><A HREF="RenderStage.html">RenderStage</A>* rg)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="RenderStage.html">RenderStage</A>* <B><A HREF="#DOC.2.3.44">getRenderStage</A></B>()
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>const float <B><A HREF="#DOC.2.3.45">getCalculatedNearPlane</A></B>() const
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>const float <B><A HREF="#DOC.2.3.46">getCalculatedFarPlane</A></B>() const
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline const osg::Vec3& <B><A HREF="#DOC.2.3.47">getEyeLocal</A></B>() const
|
|
</DL></P>
|
|
|
|
<P><DL>
|
|
<DT><H3>Public Members</H3><DD><DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>enum <B><A HREF="#DOC.2.3.1"></A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>enum <B><A HREF="#DOC.2.3.29">TransparencySortMode</A></B>
|
|
</DL></P>
|
|
|
|
<P><DL>
|
|
<DT><H3>Protected Fields</H3><DD><DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>MatrixStack <B><A HREF="#DOC.2.3.70">_PW_Stack</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>ClippingVolumeStack <B><A HREF="#DOC.2.3.71">_projectionClippingVolumeStack</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>MatrixStack <B><A HREF="#DOC.2.3.72">_modelviewStack</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>MatrixStack <B><A HREF="#DOC.2.3.73">_MVPW_Stack</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>ClippingVolumeStack <B><A HREF="#DOC.2.3.74">_modelviewClippingVolumeStack</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>unsigned int <B><A HREF="#DOC.2.3.78">_bbCornerNear</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>unsigned int <B><A HREF="#DOC.2.3.79">_bbCornerFar</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>osg::Matrix <B><A HREF="#DOC.2.3.80">_identity</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>osg::ref_ptr<<!1><A HREF="RenderGraph.html">RenderGraph</A>> <B><A HREF="#DOC.2.3.81">_rootRenderGraph</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="RenderGraph.html">RenderGraph</A>* <B><A HREF="#DOC.2.3.82">_currentRenderGraph</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>osg::ref_ptr<<!1><A HREF="RenderStage.html">RenderStage</A>> <B><A HREF="#DOC.2.3.83">_rootRenderStage</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="RenderBin.html">RenderBin</A>* <B><A HREF="#DOC.2.3.84">_currentRenderBin</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>float <B><A HREF="#DOC.2.3.85">_LODBias</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="CullVisitor.html#DOC.2.3.86">ComputeNearFarMode</A> <B><A HREF="#DOC.2.3.87">_computeNearFar</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>float <B><A HREF="#DOC.2.3.88">_computed_znear</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>float <B><A HREF="#DOC.2.3.89">_computed_zfar</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>osg::ref_ptr<const osg::EarthSky> <B><A HREF="#DOC.2.3.90">_earthSky</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="CullVisitor.html#DOC.2.3.29">TransparencySortMode</A> <B><A HREF="#DOC.2.3.91">_tsm</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>bool <B><A HREF="#DOC.2.3.92">_impostorActive</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>bool <B><A HREF="#DOC.2.3.93">_depthSortImpostorSprites</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>float <B><A HREF="#DOC.2.3.94">_impostorPixelErrorThreshold</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>int <B><A HREF="#DOC.2.3.95">_numFramesToKeepImpostorSprites</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>unsigned int <B><A HREF="#DOC.2.3.97">_currentReuseMatrixIndex</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>unsigned int <B><A HREF="#DOC.2.3.100">_currentReuseRenderLeafIndex</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>osg::ref_ptr<osg::ImpostorSpriteManager> <B><A HREF="#DOC.2.3.102">_impostorSpriteManager</A></B>
|
|
</DL></P>
|
|
|
|
<P><DL>
|
|
<DT><H3>Protected Methods</H3><DD><DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif> <B><A HREF="#DOC.2.3.48">CullVisitor</A></B>(const <!1><A HREF="CullVisitor.html#DOC.2.3.48">CullVisitor</A>&)
|
|
<DD><I>prevent unwanted copy construction</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="CullVisitor.html">CullVisitor</A>& <B><A HREF="#DOC.2.3.49">operator = </A></B>(const <!1><A HREF="CullVisitor.html">CullVisitor</A>&)
|
|
<DD><I>prevent unwanted copy operator</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline void <B><A HREF="#DOC.2.3.50">handle_cull_callbacks_and_traverse</A></B>(osg::Node& node)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline void <B><A HREF="#DOC.2.3.51">handle_cull_callbacks_and_accept</A></B>(osg::Node& node, osg::Node* acceptNode)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline const osg::Vec3 <B><A HREF="#DOC.2.3.52">getUpLocal</A></B>() const
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline const osg::Vec3 <B><A HREF="#DOC.2.3.53">getLookVectorLocal</A></B>() const
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline bool <B><A HREF="#DOC.2.3.54">isCulled</A></B>(const osg::BoundingSphere& sp, CullingMode& mode) const
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline const bool <B><A HREF="#DOC.2.3.55">isCulled</A></B>(const osg::BoundingBox& bb, CullingMode mode) const
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.3.56">updateCalculatedNearFar</A></B>(const osg::Matrix& matrix, const osg::Drawable& drawable)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.3.57">updateCalculatedNearFar</A></B>(const osg::Vec3& pos)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline void <B><A HREF="#DOC.2.3.58">addDrawable</A></B>(osg::Drawable* drawable, osg::Matrix* matrix)
|
|
<DD><I>Add a drawable to current render graph</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline void <B><A HREF="#DOC.2.3.59">addDrawableAndDepth</A></B>(osg::Drawable* drawable, osg::Matrix* matrix, const float depth)
|
|
<DD><I>Add a drawable and depth to current render graph</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline void <B><A HREF="#DOC.2.3.60">addLight</A></B>(osg::Light* light, osg::Matrix* matrix)
|
|
<DD><I>Add a light to current render graph</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>osg::ImpostorSprite* <B><A HREF="#DOC.2.3.61">createImpostorSprite</A></B>(osg::Impostor& node)
|
|
<DD><I>create an impostor sprite by setting up a pre-rendering stage to generate the impostor texture.</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>osg::Viewport* <B><A HREF="#DOC.2.3.62">getViewport</A></B>()
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>osg::Matrix& <B><A HREF="#DOC.2.3.63">getModelViewMatrix</A></B>()
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>osg::Matrix& <B><A HREF="#DOC.2.3.64">getProjectionMatrix</A></B>()
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>const osg::Matrix <B><A HREF="#DOC.2.3.65">getWindowMatrix</A></B>()
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>const osg::Matrix& <B><A HREF="#DOC.2.3.66">getMVPW</A></B>()
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.3.67">pushClippingVolume</A></B>()
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.3.68">popClippingVolume</A></B>()
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline osg::Matrix* <B><A HREF="#DOC.2.3.98">createOrReuseMatrix</A></B>(const osg::Matrix value)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline <!1><A HREF="RenderLeaf.html">RenderLeaf</A>* <B><A HREF="#DOC.2.3.101">createOrReuseRenderLeaf</A></B>(osg::Drawable* drawable, osg::Matrix* projection, osg::Matrix* matrix, float depth=0.0f)
|
|
</DL></P>
|
|
|
|
<P><DL>
|
|
<DT><H3>Protected Members</H3><DD><DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>typedef std::vector<osg::ref_ptr<osg::Matrix> > MatrixStack MatrixStack <B><A HREF="#DOC.2.3.69">_projectionStack</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>typedef std::vector<osg::ref_ptr<osg::Viewport> > ViewportStack ViewportStack <B><A HREF="#DOC.2.3.75">_viewportStack</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>typedef std::vector<osg::Vec3> EyePointStack EyePointStack <B><A HREF="#DOC.2.3.76">_eyePointStack</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>typedef std::vector<CullingMode> CullingModeStack CullingModeStack <B><A HREF="#DOC.2.3.77">_cullingModeStack</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>enum <B><A HREF="#DOC.2.3.86">ComputeNearFarMode</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>typedef std::vector< osg::ref_ptr<osg::Matrix> > MatrixList MatrixList <B><A HREF="#DOC.2.3.96">_reuseMatrixList</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>typedef std::vector< osg::ref_ptr<<!1><A HREF="RenderLeaf.html">RenderLeaf</A>> > RenderLeafList RenderLeafList <B><A HREF="#DOC.2.3.99">_reuseRenderLeafList</A></B>
|
|
</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=""></A>
|
|
<A NAME="DOC.2.3.1"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>enum </B></TT>
|
|
<DL><DT><DD></DL><P><DL>
|
|
|
|
<A NAME="NO_CULLING"></A>
|
|
<A NAME="DOC.2.3.1.1"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> NO_CULLING</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="FRUSTUM_LEFT_CULLING"></A>
|
|
<A NAME="DOC.2.3.1.2"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> FRUSTUM_LEFT_CULLING</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="FRUSTUM_RIGHT_CULLING"></A>
|
|
<A NAME="DOC.2.3.1.3"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> FRUSTUM_RIGHT_CULLING</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="FRUSTUM_BOTTOM_CULLING"></A>
|
|
<A NAME="DOC.2.3.1.4"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> FRUSTUM_BOTTOM_CULLING</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="FRUSTUM_TOP_CULLING"></A>
|
|
<A NAME="DOC.2.3.1.5"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> FRUSTUM_TOP_CULLING</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="FRUSTUM_NEAR_CULLING"></A>
|
|
<A NAME="DOC.2.3.1.6"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> FRUSTUM_NEAR_CULLING</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="FRUSTUM_FAR_CULLING"></A>
|
|
<A NAME="DOC.2.3.1.7"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> FRUSTUM_FAR_CULLING</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="VIEW_FRUSTUM_CULLING"></A>
|
|
<A NAME="DOC.2.3.1.8"></A>
|
|
<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>
|
|
<A NAME="DOC.2.3.1.9"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> SMALL_FEATURE_CULLING</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="ENABLE_ALL_CULLING"></A>
|
|
<A NAME="DOC.2.3.1.10"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> ENABLE_ALL_CULLING</B></TT>
|
|
<DL><DT><DD></DL><P></DL>
|
|
|
|
<A NAME="CullVisitor"></A>
|
|
<A NAME="DOC.2.3.2"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>typedef unsigned int CullingMode CullVisitor()</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="~CullVisitor"></A>
|
|
<A NAME="DOC.2.3.3"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual ~CullVisitor()</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="cloneType"></A>
|
|
<A NAME="DOC.2.3.4"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual <!1><A HREF="CullVisitor.html">CullVisitor</A>* cloneType() const </B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="reset"></A>
|
|
<A NAME="DOC.2.3.5"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void reset()</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="apply"></A>
|
|
<A NAME="DOC.2.3.6"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void apply(osg::Node&)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="apply"></A>
|
|
<A NAME="DOC.2.3.7"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void apply(osg::Geode& node)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="apply"></A>
|
|
<A NAME="DOC.2.3.8"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void apply(osg::Billboard& node)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="apply"></A>
|
|
<A NAME="DOC.2.3.9"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void apply(osg::LightSource& node)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="apply"></A>
|
|
<A NAME="DOC.2.3.10"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void apply(osg::Group& node)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="apply"></A>
|
|
<A NAME="DOC.2.3.11"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void apply(osg::Transform& node)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="apply"></A>
|
|
<A NAME="DOC.2.3.12"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void apply(osg::Projection& node)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="apply"></A>
|
|
<A NAME="DOC.2.3.13"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void apply(osg::Switch& node)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="apply"></A>
|
|
<A NAME="DOC.2.3.14"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void apply(osg::LOD& node)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="apply"></A>
|
|
<A NAME="DOC.2.3.15"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void apply(osg::EarthSky& node)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="apply"></A>
|
|
<A NAME="DOC.2.3.16"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void apply(osg::Impostor& node)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="setEarthSky"></A>
|
|
<A NAME="DOC.2.3.17"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setEarthSky(const osg::EarthSky* earthSky)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getEarthSky"></A>
|
|
<A NAME="DOC.2.3.18"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const osg::EarthSky* getEarthSky() const </B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="setLODBias"></A>
|
|
<A NAME="DOC.2.3.19"></A>
|
|
<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>
|
|
<A NAME="DOC.2.3.20"></A>
|
|
<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>
|
|
<A NAME="DOC.2.3.21"></A>
|
|
<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>
|
|
<A NAME="DOC.2.3.22"></A>
|
|
<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>
|
|
<A NAME="DOC.2.3.23"></A>
|
|
<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>
|
|
<A NAME="DOC.2.3.24"></A>
|
|
<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>
|
|
<A NAME="DOC.2.3.25"></A>
|
|
<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>
|
|
<A NAME="DOC.2.3.26"></A>
|
|
<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>
|
|
<A NAME="DOC.2.3.27"></A>
|
|
<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>
|
|
<A NAME="DOC.2.3.28"></A>
|
|
<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>
|
|
<A NAME="DOC.2.3.29"></A>
|
|
<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>
|
|
<A NAME="DOC.2.3.29.1"></A>
|
|
<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>
|
|
<A NAME="DOC.2.3.29.2"></A>
|
|
<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>
|
|
<A NAME="DOC.2.3.30"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setTransparencySortMode(<!1><A HREF="CullVisitor.html#DOC.2.3.29">TransparencySortMode</A> tsm)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="setCullingMode"></A>
|
|
<A NAME="DOC.2.3.31"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setCullingMode(CullingMode mode)</B></TT>
|
|
<DD>Sets the current CullingMode
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getCullingMode"></A>
|
|
<A NAME="DOC.2.3.32"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>CullingMode getCullingMode() const </B></TT>
|
|
<DD>Returns the current CullingMode
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="pushViewport"></A>
|
|
<A NAME="DOC.2.3.33"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void pushViewport(osg::Viewport* viewport)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="popViewport"></A>
|
|
<A NAME="DOC.2.3.34"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void popViewport()</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="pushProjectionMatrix"></A>
|
|
<A NAME="DOC.2.3.35"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void pushProjectionMatrix(osg::Matrix* matrix)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="popProjectionMatrix"></A>
|
|
<A NAME="DOC.2.3.36"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void popProjectionMatrix()</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="pushModelViewMatrix"></A>
|
|
<A NAME="DOC.2.3.37"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void pushModelViewMatrix(osg::Matrix* matrix)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="popModelViewMatrix"></A>
|
|
<A NAME="DOC.2.3.38"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void popModelViewMatrix()</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="pushStateSet"></A>
|
|
<A NAME="DOC.2.3.39"></A>
|
|
<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>
|
|
<A NAME="DOC.2.3.40"></A>
|
|
<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>
|
|
<A NAME="DOC.2.3.41"></A>
|
|
<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>
|
|
<A NAME="DOC.2.3.42"></A>
|
|
<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>
|
|
<A NAME="DOC.2.3.43"></A>
|
|
<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>
|
|
<A NAME="DOC.2.3.44"></A>
|
|
<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>
|
|
<A NAME="DOC.2.3.45"></A>
|
|
<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>
|
|
<A NAME="DOC.2.3.46"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const float getCalculatedFarPlane() const </B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getEyeLocal"></A>
|
|
<A NAME="DOC.2.3.47"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline const osg::Vec3& getEyeLocal() const </B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="CullVisitor"></A>
|
|
<A NAME="DOC.2.3.48"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> CullVisitor(const <!1><A HREF="CullVisitor.html#DOC.2.3.48">CullVisitor</A>&)</B></TT>
|
|
<DD>prevent unwanted copy construction
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="operator = "></A>
|
|
<A NAME="DOC.2.3.49"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="CullVisitor.html">CullVisitor</A>& operator = (const <!1><A HREF="CullVisitor.html">CullVisitor</A>&)</B></TT>
|
|
<DD>prevent unwanted copy operator
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="handle_cull_callbacks_and_traverse"></A>
|
|
<A NAME="DOC.2.3.50"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline void handle_cull_callbacks_and_traverse(osg::Node& node)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="handle_cull_callbacks_and_accept"></A>
|
|
<A NAME="DOC.2.3.51"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline void handle_cull_callbacks_and_accept(osg::Node& node, osg::Node* acceptNode)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getUpLocal"></A>
|
|
<A NAME="DOC.2.3.52"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline const osg::Vec3 getUpLocal() const </B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getLookVectorLocal"></A>
|
|
<A NAME="DOC.2.3.53"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline const osg::Vec3 getLookVectorLocal() const </B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="isCulled"></A>
|
|
<A NAME="DOC.2.3.54"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline bool isCulled(const osg::BoundingSphere& sp, CullingMode& mode) const </B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="isCulled"></A>
|
|
<A NAME="DOC.2.3.55"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline const bool isCulled(const osg::BoundingBox& bb, CullingMode mode) const </B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="updateCalculatedNearFar"></A>
|
|
<A NAME="DOC.2.3.56"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void updateCalculatedNearFar(const osg::Matrix& matrix, const osg::Drawable& drawable)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="updateCalculatedNearFar"></A>
|
|
<A NAME="DOC.2.3.57"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void updateCalculatedNearFar(const osg::Vec3& pos)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="addDrawable"></A>
|
|
<A NAME="DOC.2.3.58"></A>
|
|
<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>
|
|
<A NAME="DOC.2.3.59"></A>
|
|
<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>
|
|
<A NAME="DOC.2.3.60"></A>
|
|
<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>
|
|
<A NAME="DOC.2.3.61"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::ImpostorSprite* createImpostorSprite(osg::Impostor& 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="getViewport"></A>
|
|
<A NAME="DOC.2.3.62"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::Viewport* getViewport()</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getModelViewMatrix"></A>
|
|
<A NAME="DOC.2.3.63"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::Matrix& getModelViewMatrix()</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getProjectionMatrix"></A>
|
|
<A NAME="DOC.2.3.64"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::Matrix& getProjectionMatrix()</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getWindowMatrix"></A>
|
|
<A NAME="DOC.2.3.65"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const osg::Matrix getWindowMatrix()</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getMVPW"></A>
|
|
<A NAME="DOC.2.3.66"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const osg::Matrix& getMVPW()</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="pushClippingVolume"></A>
|
|
<A NAME="DOC.2.3.67"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void pushClippingVolume()</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="popClippingVolume"></A>
|
|
<A NAME="DOC.2.3.68"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void popClippingVolume()</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_projectionStack"></A>
|
|
<A NAME="DOC.2.3.69"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>typedef std::vector<osg::ref_ptr<osg::Matrix> > MatrixStack MatrixStack _projectionStack</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_PW_Stack"></A>
|
|
<A NAME="DOC.2.3.70"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>MatrixStack _PW_Stack</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_projectionClippingVolumeStack"></A>
|
|
<A NAME="DOC.2.3.71"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>ClippingVolumeStack _projectionClippingVolumeStack</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_modelviewStack"></A>
|
|
<A NAME="DOC.2.3.72"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>MatrixStack _modelviewStack</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_MVPW_Stack"></A>
|
|
<A NAME="DOC.2.3.73"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>MatrixStack _MVPW_Stack</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_modelviewClippingVolumeStack"></A>
|
|
<A NAME="DOC.2.3.74"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>ClippingVolumeStack _modelviewClippingVolumeStack</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_viewportStack"></A>
|
|
<A NAME="DOC.2.3.75"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>typedef std::vector<osg::ref_ptr<osg::Viewport> > ViewportStack ViewportStack _viewportStack</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_eyePointStack"></A>
|
|
<A NAME="DOC.2.3.76"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>typedef std::vector<osg::Vec3> EyePointStack EyePointStack _eyePointStack</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_cullingModeStack"></A>
|
|
<A NAME="DOC.2.3.77"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>typedef std::vector<CullingMode> CullingModeStack CullingModeStack _cullingModeStack</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_bbCornerNear"></A>
|
|
<A NAME="DOC.2.3.78"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>unsigned int _bbCornerNear</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_bbCornerFar"></A>
|
|
<A NAME="DOC.2.3.79"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>unsigned int _bbCornerFar</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_identity"></A>
|
|
<A NAME="DOC.2.3.80"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::Matrix _identity</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_rootRenderGraph"></A>
|
|
<A NAME="DOC.2.3.81"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::ref_ptr<<!1><A HREF="RenderGraph.html">RenderGraph</A>> _rootRenderGraph</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_currentRenderGraph"></A>
|
|
<A NAME="DOC.2.3.82"></A>
|
|
<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>
|
|
<A NAME="DOC.2.3.83"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::ref_ptr<<!1><A HREF="RenderStage.html">RenderStage</A>> _rootRenderStage</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_currentRenderBin"></A>
|
|
<A NAME="DOC.2.3.84"></A>
|
|
<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="_LODBias"></A>
|
|
<A NAME="DOC.2.3.85"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>float _LODBias</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="ComputeNearFarMode"></A>
|
|
<A NAME="DOC.2.3.86"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>enum ComputeNearFarMode</B></TT>
|
|
<DL><DT><DD></DL><P><DL>
|
|
|
|
<A NAME="DO_NOT_COMPUTE_NEAR_FAR"></A>
|
|
<A NAME="DOC.2.3.86.1"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> DO_NOT_COMPUTE_NEAR_FAR</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="COMPUTE_NEAR_FAR_USING_BOUNDING_VOLUMES"></A>
|
|
<A NAME="DOC.2.3.86.2"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> COMPUTE_NEAR_FAR_USING_BOUNDING_VOLUMES</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="COMPUTE_NEAR_FAR_USING_PRIMITIVES"></A>
|
|
<A NAME="DOC.2.3.86.3"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> COMPUTE_NEAR_FAR_USING_PRIMITIVES</B></TT>
|
|
<DL><DT><DD></DL><P></DL>
|
|
|
|
<A NAME="_computeNearFar"></A>
|
|
<A NAME="DOC.2.3.87"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="CullVisitor.html#DOC.2.3.86">ComputeNearFarMode</A> _computeNearFar</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_computed_znear"></A>
|
|
<A NAME="DOC.2.3.88"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>float _computed_znear</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_computed_zfar"></A>
|
|
<A NAME="DOC.2.3.89"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>float _computed_zfar</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_earthSky"></A>
|
|
<A NAME="DOC.2.3.90"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::ref_ptr<const osg::EarthSky> _earthSky</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_tsm"></A>
|
|
<A NAME="DOC.2.3.91"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="CullVisitor.html#DOC.2.3.29">TransparencySortMode</A> _tsm</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_impostorActive"></A>
|
|
<A NAME="DOC.2.3.92"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool _impostorActive</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_depthSortImpostorSprites"></A>
|
|
<A NAME="DOC.2.3.93"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool _depthSortImpostorSprites</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_impostorPixelErrorThreshold"></A>
|
|
<A NAME="DOC.2.3.94"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>float _impostorPixelErrorThreshold</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_numFramesToKeepImpostorSprites"></A>
|
|
<A NAME="DOC.2.3.95"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>int _numFramesToKeepImpostorSprites</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_reuseMatrixList"></A>
|
|
<A NAME="DOC.2.3.96"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>typedef std::vector< osg::ref_ptr<osg::Matrix> > MatrixList MatrixList _reuseMatrixList</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_currentReuseMatrixIndex"></A>
|
|
<A NAME="DOC.2.3.97"></A>
|
|
<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>
|
|
<A NAME="DOC.2.3.98"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline osg::Matrix* createOrReuseMatrix(const osg::Matrix value)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_reuseRenderLeafList"></A>
|
|
<A NAME="DOC.2.3.99"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>typedef std::vector< osg::ref_ptr<<!1><A HREF="RenderLeaf.html">RenderLeaf</A>> > RenderLeafList RenderLeafList _reuseRenderLeafList</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_currentReuseRenderLeafIndex"></A>
|
|
<A NAME="DOC.2.3.100"></A>
|
|
<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>
|
|
<A NAME="DOC.2.3.101"></A>
|
|
<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* projection, osg::Matrix* matrix, float depth=0.0f)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_impostorSpriteManager"></A>
|
|
<A NAME="DOC.2.3.102"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::ref_ptr<osg::ImpostorSpriteManager> _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>
|