|
Public Types |
| typedef osg::Matrix::value_type | value_type |
Public Member Functions |
| | CullVisitor () |
| virtual | ~CullVisitor () |
| virtual CullVisitor * | cloneType () const |
| virtual void | reset () |
| virtual osg::Vec3 | getEyePoint () const |
| virtual float | getDistanceToEyePoint (const osg::Vec3 &pos, bool withLODScale) const |
| virtual float | getDistanceFromEyePoint (const osg::Vec3 &pos, bool withLODScale) const |
| virtual void | apply (osg::Node &) |
| virtual void | apply (osg::Geode &node) |
| virtual void | apply (osg::Billboard &node) |
| virtual void | apply (osg::LightSource &node) |
| virtual void | apply (osg::ClipNode &node) |
| virtual void | apply (osg::TexGenNode &node) |
| virtual void | apply (osg::Group &node) |
| virtual void | apply (osg::Transform &node) |
| virtual void | apply (osg::Projection &node) |
| virtual void | apply (osg::Switch &node) |
| virtual void | apply (osg::LOD &node) |
| virtual void | apply (osg::ClearNode &node) |
| virtual void | apply (osg::OccluderNode &node) |
| virtual void | apply (osg::Impostor &node) |
| void | setClearNode (const osg::ClearNode *earthSky) |
| const osg::ClearNode * | getClearNode () const |
| void | pushStateSet (const osg::StateSet *ss) |
| void | popStateSet () |
| void | setRenderGraph (RenderGraph *rg) |
| RenderGraph * | getRootRenderGraph () |
| RenderGraph * | getCurrentRenderGraph () |
| void | setRenderStage (RenderStage *rg) |
| RenderStage * | getRenderStage () |
| RenderBin * | getCurrentRenderBin () |
| void | setCurrentRenderBin (RenderBin *rb) |
| value_type | getCalculatedNearPlane () const |
| value_type | getCalculatedFarPlane () const |
| value_type | computeNearestPointInFrustum (const osg::Matrix &matrix, const osg::Polytope::PlaneList &planes, const osg::Drawable &drawable) |
| bool | updateCalculatedNearFar (const osg::Matrix &matrix, const osg::BoundingBox &bb) |
| bool | updateCalculatedNearFar (const osg::Matrix &matrix, const osg::Drawable &drawable, bool isBillboard=false) |
| void | updateCalculatedNearFar (const osg::Vec3 &pos) |
| void | addDrawable (osg::Drawable *drawable, osg::RefMatrix *matrix) |
| void | addDrawableAndDepth (osg::Drawable *drawable, osg::RefMatrix *matrix, float depth) |
| void | addPositionedAttribute (osg::RefMatrix *matrix, const osg::StateAttribute *attr) |
| void | addPositionedTextureAttribute (unsigned int textureUnit, osg::RefMatrix *matrix, const osg::StateAttribute *attr) |
| virtual void | popProjectionMatrix () |
| virtual bool | clampProjectionMatrixImplementation (osg::Matrixf &projection, double &znear, double &zfar) const |
| virtual bool | clampProjectionMatrixImplementation (osg::Matrixd &projection, double &znear, double &zfar) const |
| bool | clampProjectionMatrix (osg::Matrixf &projection, value_type &znear, value_type &zfar) const |
| bool | clampProjectionMatrix (osg::Matrixd &projection, value_type &znear, value_type &zfar) const |
| void | setState (osg::State *state) |
| osg::State * | getState () |
| const osg::State * | getState () const |
Protected Types |
typedef std::vector< osg::ref_ptr<
RenderLeaf > > | RenderLeafList |
typedef std::multimap< value_type,
MatrixPlanesDrawables > | DistanceMatrixDrawableMap |
Protected Member Functions |
| CullVisitor & | operator= (const CullVisitor &) |
| void | handle_cull_callbacks_and_traverse (osg::Node &node) |
| void | handle_cull_callbacks_and_accept (osg::Node &node, osg::Node *acceptNode) |
| osg::ImpostorSprite * | createImpostorSprite (osg::Impostor &node) |
| RenderLeaf * | createOrReuseRenderLeaf (osg::Drawable *drawable, osg::RefMatrix *projection, osg::RefMatrix *matrix, float depth=0.0f) |
Protected Attributes |
| osg::ref_ptr< const osg::ClearNode > | _clearNode |
| osg::ref_ptr< RenderGraph > | _rootRenderGraph |
| RenderGraph * | _currentRenderGraph |
| osg::ref_ptr< RenderStage > | _rootRenderStage |
| RenderBin * | _currentRenderBin |
| value_type | _computed_znear |
| value_type | _computed_zfar |
| RenderLeafList | _reuseRenderLeafList |
| unsigned int | _currentReuseRenderLeafIndex |
| osg::ref_ptr< osg::ImpostorSpriteManager > | _impostorSpriteManager |
| osg::ref_ptr< osg::State > | _state |
| DistanceMatrixDrawableMap | _nearPlaneCandidateMap |
Classes |
| struct | MatrixPlanesDrawables |