2003-04-18 00:22:51 +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.10" >
< / HEAD >
< BODY BGCOLOR = "#ffffff" >
2003-10-02 22:28:30 +08:00
< H2 > class OSGUTIL_EXPORT < A HREF = "#DOC.DOCU" > osgUtil::CullVisitor< / A > < / H2 > < / H2 > < BLOCKQUOTE > Basic NodeVisitor implementation for rendering a scene.< / BLOCKQUOTE >
2003-04-18 00:22:51 +08:00
< HR >
< H2 > Inheritance:< / H2 >
< APPLET CODE = "ClassGraph.class" WIDTH = 600 HEIGHT = 95 >
< param name = classes value = "Mosg::CullStack,M,Mosg::NodeVisitor,M,CCullVisitor,MCullVisitor.html" >
< param name = before value = "M,M,M" >
< param name = after value = "Ml_,MD_,M" >
< param name = indent value = "0,0,1" >
< param name = arrowdir value = "down" >
< / APPLET >
< HR >
< DL >
< P > < DL >
< DT > < H3 > Public Methods< / H3 > < DD > < DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > < B > < A HREF = "#DOC.2.2.2" > CullVisitor< / A > < / B > ()
2003-04-18 00:22:51 +08:00
< DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual < B > < A HREF = "#DOC.2.2.3" > ~CullVisitor< / A > < / B > ()
2003-04-18 00:22:51 +08:00
< DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual <!1> < A HREF = "CullVisitor.html" > CullVisitor< / A > * < B > < A HREF = "#DOC.2.2.4" > cloneType< / A > < / B > () const
2003-04-18 00:22:51 +08:00
< DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual void < B > < A HREF = "#DOC.2.2.5" > reset< / A > < / B > ()
2003-04-18 00:22:51 +08:00
< DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual osg::Vec3 < B > < A HREF = "#DOC.2.2.6" > getEyePoint< / A > < / B > () const
2003-04-18 00:22:51 +08:00
< DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual float < B > < A HREF = "#DOC.2.2.7" > getDistanceToEyePoint< / A > < / B > (const osg::Vec3& pos, bool withLODScale) const
2003-04-18 00:22:51 +08:00
< DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual float < B > < A HREF = "#DOC.2.2.8" > getDistanceFromEyePoint< / A > < / B > (const osg::Vec3& pos, bool withLODScale) const
2003-04-18 00:22:51 +08:00
< DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual void < B > < A HREF = "#DOC.2.2.9" > apply< / A > < / B > (osg::Node& )
2003-04-18 00:22:51 +08:00
< DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual void < B > < A HREF = "#DOC.2.2.10" > apply< / A > < / B > (osg::Geode& node)
2003-04-18 00:22:51 +08:00
< DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual void < B > < A HREF = "#DOC.2.2.11" > apply< / A > < / B > (osg::Billboard& node)
2003-04-18 00:22:51 +08:00
< DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual void < B > < A HREF = "#DOC.2.2.12" > apply< / A > < / B > (osg::LightSource& node)
2003-04-18 00:22:51 +08:00
< DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual void < B > < A HREF = "#DOC.2.2.13" > apply< / A > < / B > (osg::ClipNode& node)
2003-04-18 00:22:51 +08:00
< DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual void < B > < A HREF = "#DOC.2.2.14" > apply< / A > < / B > (osg::Group& node)
2003-04-18 00:22:51 +08:00
< DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual void < B > < A HREF = "#DOC.2.2.15" > apply< / A > < / B > (osg::Transform& node)
2003-04-18 00:22:51 +08:00
< DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual void < B > < A HREF = "#DOC.2.2.16" > apply< / A > < / B > (osg::Projection& node)
2003-04-18 00:22:51 +08:00
< DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual void < B > < A HREF = "#DOC.2.2.17" > apply< / A > < / B > (osg::Switch& node)
2003-04-18 00:22:51 +08:00
< DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual void < B > < A HREF = "#DOC.2.2.18" > apply< / A > < / B > (osg::LOD& node)
2003-04-18 00:22:51 +08:00
< DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual void < B > < A HREF = "#DOC.2.2.19" > apply< / A > < / B > (osg::ClearNode& node)
2003-04-18 00:22:51 +08:00
< DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual void < B > < A HREF = "#DOC.2.2.20" > apply< / A > < / B > (osg::OccluderNode& node)
2003-04-18 00:22:51 +08:00
< DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual void < B > < A HREF = "#DOC.2.2.21" > apply< / A > < / B > (osg::Impostor& node)
2003-04-18 00:22:51 +08:00
< DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > void < B > < A HREF = "#DOC.2.2.22" > setClearNode< / A > < / B > (const osg::ClearNode* earthSky)
2003-04-18 00:22:51 +08:00
< DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > const osg::ClearNode* < B > < A HREF = "#DOC.2.2.23" > getClearNode< / A > < / B > () const
2003-04-18 00:22:51 +08:00
< DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > void < B > < A HREF = "#DOC.2.2.24" > setImpostorsActive< / A > < / B > (bool active)
< DD > < I > Switch the creation of Impostors on or off.< / I >
2003-04-18 00:22:51 +08:00
< DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > bool < B > < A HREF = "#DOC.2.2.25" > getImpostorsActive< / A > < / B > () const
< DD > < I > Get whether impostors are active or not.< / I >
2003-04-18 00:22:51 +08:00
< DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > void < B > < A HREF = "#DOC.2.2.26" > setImpostorPixelErrorThreshold< / A > < / B > (float numPixels)
< DD > < I > Set the impostor error threshold.< / I >
2003-04-18 00:22:51 +08:00
< DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > float < B > < A HREF = "#DOC.2.2.27" > getImpostorPixelErrorThreshold< / A > < / B > () const
< DD > < I > Get the impostor error threshold< / I >
2003-04-18 00:22:51 +08:00
< DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > void < B > < A HREF = "#DOC.2.2.28" > setDepthSortImpostorSprites< / A > < / B > (bool doDepthSort)
< DD > < I > Set whether ImpsotorSprite's should be placed in a depth sorted bin for rendering< / I >
2003-04-18 00:22:51 +08:00
< DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > bool < B > < A HREF = "#DOC.2.2.29" > setDepthSortImpostorSprites< / A > < / B > () const
< DD > < I > Get whether ImpsotorSprite's are depth sorted bin for rendering< / I >
2003-04-18 00:22:51 +08:00
< DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > void < B > < A HREF = "#DOC.2.2.30" > setNumberOfFrameToKeepImpostorSprites< / A > < / B > (int numFrames)
< DD > < I > Set the number of frames that an ImpsotorSprite's is kept whilst not being beyond, before being recycled< / I >
2003-04-18 00:22:51 +08:00
< DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > int < B > < A HREF = "#DOC.2.2.31" > 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 >
2003-04-18 00:22:51 +08:00
< DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > void < B > < A HREF = "#DOC.2.2.33" > setComputeNearFarMode< / A > < / B > (<!1> < A HREF = "CullVisitor.html#DOC.2.2.32" > ComputeNearFarMode< / A > cnfm)
2003-04-18 00:22:51 +08:00
< DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > <!1> < A HREF = "CullVisitor.html#DOC.2.2.32" > ComputeNearFarMode< / A > < B > < A HREF = "#DOC.2.2.34" > getComputeNearFarMode< / A > < / B > () const
2003-04-18 00:22:51 +08:00
< DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > void < B > < A HREF = "#DOC.2.2.35" > setNearFarRatio< / A > < / B > (float ratio)
2003-07-23 19:27:31 +08:00
< DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > float < B > < A HREF = "#DOC.2.2.36" > getNearFarRatio< / A > < / B > () const
2003-07-23 19:27:31 +08:00
< DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > inline void < B > < A HREF = "#DOC.2.2.37" > pushStateSet< / A > < / B > (const osg::StateSet* ss)
< DD > < I > Push state set on the current state group.< / I >
2003-04-18 00:22:51 +08:00
< DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > inline void < B > < A HREF = "#DOC.2.2.38" > popStateSet< / A > < / B > ()
< DD > < I > Pop the top state set and hence associated state group.< / I >
2003-04-18 00:22:51 +08:00
< DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > inline void < B > < A HREF = "#DOC.2.2.39" > setRenderGraph< / A > < / B > (<!1> < A HREF = "RenderGraph.html" > RenderGraph< / A > * rg)
2003-04-18 00:22:51 +08:00
< DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > inline <!1> < A HREF = "RenderGraph.html" > RenderGraph< / A > * < B > < A HREF = "#DOC.2.2.40" > getRootRenderGraph< / A > < / B > ()
2003-04-18 00:22:51 +08:00
< DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > inline <!1> < A HREF = "RenderGraph.html" > RenderGraph< / A > * < B > < A HREF = "#DOC.2.2.41" > getCurrentRenderGraph< / A > < / B > ()
2003-04-18 00:22:51 +08:00
< DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > inline void < B > < A HREF = "#DOC.2.2.42" > setRenderStage< / A > < / B > (<!1> < A HREF = "RenderStage.html" > RenderStage< / A > * rg)
2003-04-18 00:22:51 +08:00
< DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > inline <!1> < A HREF = "RenderStage.html" > RenderStage< / A > * < B > < A HREF = "#DOC.2.2.43" > getRenderStage< / A > < / B > ()
2003-04-18 00:22:51 +08:00
< DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > inline <!1> < A HREF = "RenderBin.html" > RenderBin< / A > * < B > < A HREF = "#DOC.2.2.44" > getCurrentRenderBin< / A > < / B > ()
2003-04-18 00:22:51 +08:00
< DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > inline void < B > < A HREF = "#DOC.2.2.45" > setCurrentRenderBin< / A > < / B > (<!1> < A HREF = "RenderBin.html" > RenderBin< / A > * rb)
2003-04-18 00:22:51 +08:00
< DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > inline float < B > < A HREF = "#DOC.2.2.46" > getCalculatedNearPlane< / A > < / B > () const
2003-04-18 00:22:51 +08:00
< DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > inline float < B > < A HREF = "#DOC.2.2.47" > getCalculatedFarPlane< / A > < / B > () const
2003-04-18 00:22:51 +08:00
< DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > void < B > < A HREF = "#DOC.2.2.48" > updateCalculatedNearFar< / A > < / B > (const osg::Matrix& matrix, const osg::Drawable& drawable)
2003-04-18 00:22:51 +08:00
< DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > void < B > < A HREF = "#DOC.2.2.49" > updateCalculatedNearFar< / A > < / B > (const osg::Matrix& matrix, const osg::BoundingBox& bb)
2003-04-18 00:22:51 +08:00
< DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > void < B > < A HREF = "#DOC.2.2.50" > updateCalculatedNearFar< / A > < / B > (const osg::Vec3& pos)
2003-04-18 00:22:51 +08:00
< DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual void < B > < A HREF = "#DOC.2.2.51" > popProjectionMatrix< / A > < / B > ()
< DD > < I > reimplement CullStack's popProjectionMatrix() adding clamping of the projection matrix to the computed near and far< / I >
2003-04-18 00:22:51 +08:00
< DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > void < B > < A HREF = "#DOC.2.2.52" > setState< / A > < / B > (osg::State* state)
2003-04-18 00:22:51 +08:00
< DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > osg::State* < B > < A HREF = "#DOC.2.2.53" > getState< / A > < / B > ()
2003-04-18 00:22:51 +08:00
< DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > const osg::State* < B > < A HREF = "#DOC.2.2.54" > getState< / A > < / B > () const
2003-04-18 00:22:51 +08:00
< DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > inline void < B > < A HREF = "#DOC.2.2.77" > addDrawable< / A > < / B > (osg::Drawable* drawable, osg::RefMatrix* matrix)
< DD > < I > Add a drawable to current render graph< / I >
2003-04-18 00:22:51 +08:00
< DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > inline void < B > < A HREF = "#DOC.2.2.78" > addDrawableAndDepth< / A > < / B > (osg::Drawable* drawable, osg::RefMatrix* matrix, float <!1> < A HREF = "Statistics.html#DOC.2.23.32" > depth< / A > )
< DD > < I > Add a drawable and depth to current render graphAdd a drawable and depth to current render graph< / I >
2003-04-18 00:22:51 +08:00
< DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > inline void < B > < A HREF = "#DOC.2.2.79" > addPositionedAttribute< / A > < / B > (osg::RefMatrix* matrix, const osg::StateAttribute* attr)
< DD > < I > Add an attribute which is positioned related to the modelview matrixAdd an attribute which is positioned related to the modelview matrix< / I >
2003-04-18 00:22:51 +08:00
< DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > inline <!1> < A HREF = "RenderLeaf.html" > RenderLeaf< / A > * < B > < A HREF = "#DOC.2.2.80" > createOrReuseRenderLeaf< / A > < / B > (osg::Drawable* drawable, osg::RefMatrix* projection, osg::RefMatrix* matrix, float <!1> < A HREF = "Statistics.html#DOC.2.23.32" > depth< / A > )
2003-04-18 00:22:51 +08:00
< / DL > < / P >
< P > < DL >
< DT > < H3 > Public Members< / H3 > < DD > < DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > typedef osg::Matrix::value_type < B > < A HREF = "#DOC.2.2.1" > value_type< / A > < / B >
2003-09-08 18:51:14 +08:00
< DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > enum < B > < A HREF = "#DOC.2.2.32" > ComputeNearFarMode< / A > < / B >
2003-04-18 00:22:51 +08:00
< / DL > < / P >
< P > < DL >
< DT > < H3 > Protected Fields< / H3 > < DD > < DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > osg::ref_ptr< <!1> < A HREF = "RenderGraph.html" > RenderGraph< / A > > < B > < A HREF = "#DOC.2.2.59" > _rootRenderGraph< / A > < / B >
2003-09-08 18:51:14 +08:00
< DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > <!1> < A HREF = "RenderGraph.html" > RenderGraph< / A > * < B > < A HREF = "#DOC.2.2.60" > _currentRenderGraph< / A > < / B >
2003-09-08 18:51:14 +08:00
< DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > osg::ref_ptr< <!1> < A HREF = "RenderStage.html" > RenderStage< / A > > < B > < A HREF = "#DOC.2.2.61" > _rootRenderStage< / A > < / B >
2003-07-23 19:27:31 +08:00
< DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > <!1> < A HREF = "RenderBin.html" > RenderBin< / A > * < B > < A HREF = "#DOC.2.2.62" > _currentRenderBin< / A > < / B >
2003-04-18 00:22:51 +08:00
< DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > <!1> < A HREF = "CullVisitor.html#DOC.2.2.32" > ComputeNearFarMode< / A > < B > < A HREF = "#DOC.2.2.63" > _computeNearFar< / A > < / B >
2003-04-18 00:22:51 +08:00
< DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > <!1> < A HREF = "CullVisitor.html#DOC.2.2.1" > value_type< / A > < B > < A HREF = "#DOC.2.2.64" > _nearFarRatio< / A > < / B >
2003-04-18 00:22:51 +08:00
< DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > <!1> < A HREF = "CullVisitor.html#DOC.2.2.1" > value_type< / A > < B > < A HREF = "#DOC.2.2.65" > _computed_znear< / A > < / B >
2003-04-18 00:22:51 +08:00
< DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > <!1> < A HREF = "CullVisitor.html#DOC.2.2.1" > value_type< / A > < B > < A HREF = "#DOC.2.2.66" > _computed_zfar< / A > < / B >
2003-04-18 00:22:51 +08:00
< DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > osg::ref_ptr< const osg::ClearNode> < B > < A HREF = "#DOC.2.2.67" > _clearNode< / A > < / B >
2003-04-18 00:22:51 +08:00
< DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > bool < B > < A HREF = "#DOC.2.2.68" > _impostorActive< / A > < / B >
2003-04-18 00:22:51 +08:00
< DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > bool < B > < A HREF = "#DOC.2.2.69" > _depthSortImpostorSprites< / A > < / B >
2003-04-18 00:22:51 +08:00
< DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > float < B > < A HREF = "#DOC.2.2.70" > _impostorPixelErrorThreshold< / A > < / B >
2003-04-18 00:22:51 +08:00
< DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > int < B > < A HREF = "#DOC.2.2.71" > _numFramesToKeepImpostorSprites< / A > < / B >
2003-04-18 00:22:51 +08:00
< DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > <!1> < A HREF = "CullVisitor.html#DOC.2.2.72" > RenderLeafList< / A > < B > < A HREF = "#DOC.2.2.73" > _reuseRenderLeafList< / A > < / B >
2003-04-18 00:22:51 +08:00
< DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > unsigned int < B > < A HREF = "#DOC.2.2.74" > _currentReuseRenderLeafIndex< / A > < / B >
2003-04-18 00:22:51 +08:00
< DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > osg::ref_ptr< osg::ImpostorSpriteManager> < B > < A HREF = "#DOC.2.2.75" > _impostorSpriteManager< / A > < / B >
2003-04-18 00:22:51 +08:00
< DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > osg::ref_ptr< osg::State> < B > < A HREF = "#DOC.2.2.76" > _state< / A > < / B >
2003-04-18 00:22:51 +08:00
< / DL > < / P >
< P > < DL >
< DT > < H3 > Protected Methods< / H3 > < DD > < DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > <!1> < A HREF = "CullVisitor.html" > CullVisitor< / A > & < B > < A HREF = "#DOC.2.2.55" > operator = < / A > < / B > (const <!1> < A HREF = "CullVisitor.html" > CullVisitor< / A > & )
< DD > < I > prevent unwanted copy operator< / I >
2003-04-18 00:22:51 +08:00
< DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > inline void < B > < A HREF = "#DOC.2.2.56" > handle_cull_callbacks_and_traverse< / A > < / B > (osg::Node& node)
2003-04-18 00:22:51 +08:00
< DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > inline void < B > < A HREF = "#DOC.2.2.57" > handle_cull_callbacks_and_accept< / A > < / B > (osg::Node& node, osg::Node* acceptNode)
2003-04-18 00:22:51 +08:00
< DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > osg::ImpostorSprite* < B > < A HREF = "#DOC.2.2.58" > 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 >
2003-04-18 00:22:51 +08:00
< / DL > < / P >
< P > < DL >
< DT > < H3 > Protected Members< / H3 > < DD > < DT >
2003-10-02 22:28:30 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > typedef std::vector< osg::ref_ptr< <!1> < A HREF = "RenderLeaf.html" > RenderLeaf< / A > > > < B > < A HREF = "#DOC.2.2.72" > RenderLeafList< / A > < / B >
2003-04-18 00:22:51 +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 >
2003-09-08 18:51:14 +08:00
< A NAME = "value_type" > < / A >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.2.1" > < / A >
2003-09-08 18:51:14 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > typedef osg::Matrix::value_type value_type< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
2003-04-18 00:22:51 +08:00
< A NAME = "CullVisitor" > < / A >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.2.2" > < / A >
2003-04-18 00:22:51 +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 >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.2.3" > < / A >
2003-04-18 00:22:51 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > virtual ~CullVisitor()< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "cloneType" > < / A >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.2.4" > < / A >
2003-04-18 00:22:51 +08:00
< 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 >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.2.5" > < / A >
2003-04-18 00:22:51 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > virtual void reset()< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "getEyePoint" > < / A >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.2.6" > < / A >
2003-04-18 00:22:51 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > virtual osg::Vec3 getEyePoint() const < / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "getDistanceToEyePoint" > < / A >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.2.7" > < / A >
2003-04-18 00:22:51 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > virtual float getDistanceToEyePoint(const osg::Vec3& pos, bool withLODScale) const < / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "getDistanceFromEyePoint" > < / A >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.2.8" > < / A >
2003-04-18 00:22:51 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > virtual float getDistanceFromEyePoint(const osg::Vec3& pos, bool withLODScale) const < / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "apply" > < / A >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.2.9" > < / A >
2003-04-18 00:22:51 +08:00
< 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 >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.2.10" > < / A >
2003-04-18 00:22:51 +08:00
< 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 >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.2.11" > < / A >
2003-04-18 00:22:51 +08:00
< 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 >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.2.12" > < / A >
2003-04-18 00:22:51 +08:00
< 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 >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.2.13" > < / A >
2003-04-18 00:22:51 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > virtual void apply(osg::ClipNode& node)< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "apply" > < / A >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.2.14" > < / A >
2003-04-18 00:22:51 +08:00
< 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 >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.2.15" > < / A >
2003-04-18 00:22:51 +08:00
< 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 >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.2.16" > < / A >
2003-04-18 00:22:51 +08:00
< 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 >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.2.17" > < / A >
2003-04-18 00:22:51 +08:00
< 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 >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.2.18" > < / A >
2003-04-18 00:22:51 +08:00
< 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 >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.2.19" > < / A >
2003-04-18 00:22:51 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > virtual void apply(osg::ClearNode& node)< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "apply" > < / A >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.2.20" > < / A >
2003-04-18 00:22:51 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > virtual void apply(osg::OccluderNode& node)< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "apply" > < / A >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.2.21" > < / A >
2003-04-18 00:22:51 +08:00
< 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 = "setClearNode" > < / A >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.2.22" > < / A >
2003-04-18 00:22:51 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > void setClearNode(const osg::ClearNode* earthSky)< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "getClearNode" > < / A >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.2.23" > < / A >
2003-04-18 00:22:51 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > const osg::ClearNode* getClearNode() const < / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "setImpostorsActive" > < / A >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.2.24" > < / A >
2003-04-18 00:22:51 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > void setImpostorsActive(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 >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.2.25" > < / A >
2003-04-18 00:22:51 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > bool getImpostorsActive() const < / B > < / TT >
2003-10-02 22:28:30 +08:00
< DD > Get whether impostors are active or not.
2003-04-18 00:22:51 +08:00
< DL > < DT > < DD > < / DL > < P >
< A NAME = "setImpostorPixelErrorThreshold" > < / A >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.2.26" > < / A >
2003-04-18 00:22:51 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > void setImpostorPixelErrorThreshold(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 >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.2.27" > < / A >
2003-04-18 00:22:51 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > float getImpostorPixelErrorThreshold() const < / B > < / TT >
2003-10-02 22:28:30 +08:00
< DD > Get the impostor error threshold
2003-04-18 00:22:51 +08:00
< DL > < DT > < DD > < / DL > < P >
< A NAME = "setDepthSortImpostorSprites" > < / A >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.2.28" > < / A >
2003-04-18 00:22:51 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > void setDepthSortImpostorSprites(bool doDepthSort)< / B > < / TT >
2003-10-02 22:28:30 +08:00
< DD > Set whether ImpsotorSprite's should be placed in a depth sorted bin for rendering
2003-04-18 00:22:51 +08:00
< DL > < DT > < DD > < / DL > < P >
< A NAME = "setDepthSortImpostorSprites" > < / A >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.2.29" > < / A >
2003-04-18 00:22:51 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > bool setDepthSortImpostorSprites() const < / B > < / TT >
2003-10-02 22:28:30 +08:00
< DD > Get whether ImpsotorSprite's are depth sorted bin for rendering
2003-04-18 00:22:51 +08:00
< DL > < DT > < DD > < / DL > < P >
< A NAME = "setNumberOfFrameToKeepImpostorSprites" > < / A >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.2.30" > < / A >
2003-04-18 00:22:51 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > void setNumberOfFrameToKeepImpostorSprites(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 >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.2.31" > < / A >
2003-04-18 00:22:51 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > 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 = "ComputeNearFarMode" > < / A >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.2.32" > < / A >
2003-04-18 00:22:51 +08:00
< 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 >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.2.32.1" > < / A >
2003-04-18 00:22:51 +08:00
< 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 >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.2.32.2" > < / A >
2003-04-18 00:22:51 +08:00
< 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 >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.2.32.3" > < / A >
2003-04-18 00:22:51 +08:00
< 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 = "setComputeNearFarMode" > < / A >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.2.33" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > void setComputeNearFarMode(<!1> < A HREF = "CullVisitor.html#DOC.2.2.32" > ComputeNearFarMode< / A > cnfm)< / B > < / TT >
2003-04-18 00:22:51 +08:00
< DL > < DT > < DD > < / DL > < P >
< A NAME = "getComputeNearFarMode" > < / A >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.2.34" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > <!1> < A HREF = "CullVisitor.html#DOC.2.2.32" > ComputeNearFarMode< / A > getComputeNearFarMode() const < / B > < / TT >
2003-07-23 19:27:31 +08:00
< DL > < DT > < DD > < / DL > < P >
< A NAME = "setNearFarRatio" > < / A >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.2.35" > < / A >
2003-07-23 19:27:31 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > void setNearFarRatio(float ratio)< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "getNearFarRatio" > < / A >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.2.36" > < / A >
2003-07-23 19:27:31 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > float getNearFarRatio() const < / B > < / TT >
2003-04-18 00:22:51 +08:00
< DL > < DT > < DD > < / DL > < P >
< A NAME = "pushStateSet" > < / A >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.2.37" > < / A >
2003-04-18 00:22:51 +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 >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.2.38" > < / A >
2003-04-18 00:22:51 +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 >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.2.39" > < / A >
2003-04-18 00:22:51 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > inline void setRenderGraph(<!1> < A HREF = "RenderGraph.html" > RenderGraph< / A > * rg)< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "getRootRenderGraph" > < / A >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.2.40" > < / A >
2003-04-18 00:22:51 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > inline <!1> < A HREF = "RenderGraph.html" > RenderGraph< / A > * getRootRenderGraph()< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "getCurrentRenderGraph" > < / A >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.2.41" > < / A >
2003-04-18 00:22:51 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > inline <!1> < A HREF = "RenderGraph.html" > RenderGraph< / A > * getCurrentRenderGraph()< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "setRenderStage" > < / A >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.2.42" > < / A >
2003-04-18 00:22:51 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > inline void setRenderStage(<!1> < A HREF = "RenderStage.html" > RenderStage< / A > * rg)< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "getRenderStage" > < / A >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.2.43" > < / A >
2003-04-18 00:22:51 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > inline <!1> < A HREF = "RenderStage.html" > RenderStage< / A > * getRenderStage()< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "getCurrentRenderBin" > < / A >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.2.44" > < / A >
2003-04-18 00:22:51 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > inline <!1> < A HREF = "RenderBin.html" > RenderBin< / A > * getCurrentRenderBin()< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "setCurrentRenderBin" > < / A >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.2.45" > < / A >
2003-04-18 00:22:51 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > inline void setCurrentRenderBin(<!1> < A HREF = "RenderBin.html" > RenderBin< / A > * rb)< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "getCalculatedNearPlane" > < / A >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.2.46" > < / A >
2003-04-18 00:22:51 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > inline float getCalculatedNearPlane() const < / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "getCalculatedFarPlane" > < / A >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.2.47" > < / A >
2003-04-18 00:22:51 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > inline float getCalculatedFarPlane() const < / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "updateCalculatedNearFar" > < / A >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.2.48" > < / A >
2003-04-18 00:22:51 +08:00
< 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 >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.2.49" > < / A >
2003-04-18 00:22:51 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > void updateCalculatedNearFar(const osg::Matrix& matrix, const osg::BoundingBox& bb)< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "updateCalculatedNearFar" > < / A >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.2.50" > < / A >
2003-04-18 00:22:51 +08:00
< 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 = "popProjectionMatrix" > < / A >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.2.51" > < / A >
2003-04-18 00:22:51 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > virtual void popProjectionMatrix()< / B > < / TT >
2003-10-02 22:28:30 +08:00
< DD > reimplement CullStack's popProjectionMatrix() adding clamping of the projection matrix to the computed near and far
2003-04-18 00:22:51 +08:00
< DL > < DT > < DD > < / DL > < P >
< A NAME = "setState" > < / A >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.2.52" > < / A >
2003-04-18 00:22:51 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > void setState(osg::State* state)< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "getState" > < / A >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.2.53" > < / A >
2003-04-18 00:22:51 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > osg::State* getState()< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "getState" > < / A >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.2.54" > < / A >
2003-04-18 00:22:51 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > const osg::State* getState() const < / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "operator = " > < / A >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.2.55" > < / A >
2003-04-18 00:22:51 +08:00
< 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 >
2003-10-02 22:28:30 +08:00
< DD > prevent unwanted copy operator
2003-04-18 00:22:51 +08:00
< DL > < DT > < DD > < / DL > < P >
< A NAME = "handle_cull_callbacks_and_traverse" > < / A >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.2.56" > < / A >
2003-04-18 00:22:51 +08:00
< 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 >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.2.57" > < / A >
2003-04-18 00:22:51 +08:00
< 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 = "createImpostorSprite" > < / A >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.2.58" > < / A >
2003-04-18 00:22:51 +08:00
< 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 = "_rootRenderGraph" > < / A >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.2.59" > < / A >
2003-04-18 00:22:51 +08:00
< 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 >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.2.60" > < / A >
2003-04-18 00:22:51 +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 >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.2.61" > < / A >
2003-04-18 00:22:51 +08:00
< 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 >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.2.62" > < / A >
2003-04-18 00:22:51 +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 = "_computeNearFar" > < / A >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.2.63" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > <!1> < A HREF = "CullVisitor.html#DOC.2.2.32" > ComputeNearFarMode< / A > _computeNearFar< / B > < / TT >
2003-07-23 19:27:31 +08:00
< DL > < DT > < DD > < / DL > < P >
< A NAME = "_nearFarRatio" > < / A >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.2.64" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > <!1> < A HREF = "CullVisitor.html#DOC.2.2.1" > value_type< / A > _nearFarRatio< / B > < / TT >
2003-04-18 00:22:51 +08:00
< DL > < DT > < DD > < / DL > < P >
< A NAME = "_computed_znear" > < / A >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.2.65" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > <!1> < A HREF = "CullVisitor.html#DOC.2.2.1" > value_type< / A > _computed_znear< / B > < / TT >
2003-04-18 00:22:51 +08:00
< DL > < DT > < DD > < / DL > < P >
< A NAME = "_computed_zfar" > < / A >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.2.66" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > <!1> < A HREF = "CullVisitor.html#DOC.2.2.1" > value_type< / A > _computed_zfar< / B > < / TT >
2003-04-18 00:22:51 +08:00
< DL > < DT > < DD > < / DL > < P >
< A NAME = "_clearNode" > < / A >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.2.67" > < / A >
2003-04-18 00:22:51 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > osg::ref_ptr< const osg::ClearNode> _clearNode< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "_impostorActive" > < / A >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.2.68" > < / A >
2003-04-18 00:22:51 +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 >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.2.69" > < / A >
2003-04-18 00:22:51 +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 >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.2.70" > < / A >
2003-04-18 00:22:51 +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 >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.2.71" > < / A >
2003-04-18 00:22:51 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > int _numFramesToKeepImpostorSprites< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "RenderLeafList" > < / A >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.2.72" > < / A >
2003-04-18 00:22:51 +08:00
< 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< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "_reuseRenderLeafList" > < / A >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.2.73" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > <!1> < A HREF = "CullVisitor.html#DOC.2.2.72" > RenderLeafList< / A > _reuseRenderLeafList< / B > < / TT >
2003-04-18 00:22:51 +08:00
< DL > < DT > < DD > < / DL > < P >
< A NAME = "_currentReuseRenderLeafIndex" > < / A >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.2.74" > < / A >
2003-04-18 00:22:51 +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 = "_impostorSpriteManager" > < / A >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.2.75" > < / A >
2003-04-18 00:22:51 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > osg::ref_ptr< osg::ImpostorSpriteManager> _impostorSpriteManager< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "_state" > < / A >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.2.76" > < / A >
2003-04-18 00:22:51 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > osg::ref_ptr< osg::State> _state< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "addDrawable" > < / A >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.2.77" > < / A >
2003-04-18 00:22:51 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > inline void addDrawable(osg::Drawable* drawable, osg::RefMatrix* matrix)< / B > < / TT >
2003-10-02 22:28:30 +08:00
< DD > Add a drawable to current render graph
2003-04-18 00:22:51 +08:00
< DL > < DT > < DD > < / DL > < P >
< A NAME = "addDrawableAndDepth" > < / A >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.2.78" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > inline void addDrawableAndDepth(osg::Drawable* drawable, osg::RefMatrix* matrix, float <!1> < A HREF = "Statistics.html#DOC.2.23.32" > depth< / A > )< / B > < / TT >
< DD > Add a drawable and depth to current render graphAdd a drawable and depth to current render graph
2003-04-18 00:22:51 +08:00
< DL > < DT > < DD > < / DL > < P >
< A NAME = "addPositionedAttribute" > < / A >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.2.79" > < / A >
2003-04-18 00:22:51 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > inline void addPositionedAttribute(osg::RefMatrix* matrix, const osg::StateAttribute* attr)< / B > < / TT >
2003-10-02 22:28:30 +08:00
< DD > Add an attribute which is positioned related to the modelview matrixAdd an attribute which is positioned related to the modelview matrix
2003-04-18 00:22:51 +08:00
< DL > < DT > < DD > < / DL > < P >
< A NAME = "createOrReuseRenderLeaf" > < / A >
2003-10-02 22:28:30 +08:00
< A NAME = "DOC.2.2.80" > < / 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::RefMatrix* projection, osg::RefMatrix* matrix, float <!1> < A HREF = "Statistics.html#DOC.2.23.32" > depth< / A > )< / B > < / TT >
2003-04-18 00:22:51 +08:00
< 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 >