class SG_EXPORT osg::CollectOccludersVisitor


Inheritance:


Public Methods

[more]typedef std::set<ShadowVolumeOccluder> ShadowVolumeOccluderSet CollectOccludersVisitor()
[more]virtual ~CollectOccludersVisitor()
[more]virtual CollectOccludersVisitor* cloneType() const
[more]virtual void reset()
[more]virtual void apply(osg::Node&)
[more]virtual void apply(osg::Transform& node)
[more]virtual void apply(osg::Projection& node)
[more]virtual void apply(osg::Switch& node)
[more]virtual void apply(osg::LOD& node)
[more]virtual void apply(osg::OccluderNode& node)
[more]void setMinimumShadowOccluderVolume(float vol)
[more]float getMinimumShadowOccluderVolume() const
[more]void setCreateDrawablesOnOccludeNodes(bool flag)
[more]bool getCreateDrawablesOnOccludeNodes() const
[more]void setCollectedOcculderList(const ShadowVolumeOccluderSet& svol)
[more]ShadowVolumeOccluderSet& getCollectedOccluderSet()
[more]const ShadowVolumeOccluderSet& getCollectedOccluderSet() const
[more]void removeOccludedOccluders()
remove occluded occluders for the collected occluders list

Protected Fields

[more]float _minimumShadowOccluderVolume
[more]bool _createDrawables
[more]ShadowVolumeOccluderSet _occluderSet

Protected Methods

[more] CollectOccludersVisitor(const CollectOccludersVisitor&)
prevent unwanted copy construction
[more]CollectOccludersVisitor& operator = (const CollectOccludersVisitor&)
prevent unwanted copy operator
[more]inline void handle_cull_callbacks_and_traverse(osg::Node& node)
[more]inline void handle_cull_callbacks_and_accept(osg::Node& node, osg::Node* acceptNode)


Inherited from NodeVisitor:

Public Methods

oinline void setTraversalNumber(const int fn)
oinline const int getTraversalNumber() const
oinline void setFrameStamp(FrameStamp* fs)
oinline const FrameStamp* getFrameStamp() const
oinline void setTraversalMask(const Node::NodeMask mask)
oinline const Node::NodeMask getTraversalMask() const
oinline void setNodeMaskOverride(const Node::NodeMask mask)
oinline const Node::NodeMask getNodeMaskOverride() const
oinline const bool validNodeMask(const osg::Node& node) const
ovoid setTraversalMode(const TraversalMode mode)
oinline const TraversalMode getTraversalMode() const
ovoid setTraversalVisitor(NodeVisitor* nv)
oinline NodeVisitor* getTraversalVisitor()
oinline void traverse(Node& node)
oinline void pushOntoNodePath(Node* node)
oinline void popFromNodePath()
oNodePath& getNodePath()
oconst NodePath& getNodePath() const
oconst bool getLocalToWorldMatrix(Matrix& matrix, Node* node)
oconst bool getWorldToLocalMatrix(Matrix& matrix, Node* node)

Public Members

oenum TraversalMode

Protected Fields

oint _traversalNumber
oref_ptr<FrameStamp> _frameStamp
oref_ptr<NodeVisitor> _traversalVisitor
oTraversalMode _traversalMode
oNode::NodeMask _traversalMask
oNode::NodeMask _nodeMaskOverride
oNodePath _nodePath


Inherited from Referenced:

Public Methods

oinline void ref() const
oinline void unref() const
oinline void unref_nodelete() const
oinline const int referenceCount() const

Protected Fields

omutable int _refCount


Inherited from CullStack:

Public Methods

ovoid setOccluderList(const ShadowVolumeOccluderList& svol)
oShadowVolumeOccluderList& getOccluderList()
oconst ShadowVolumeOccluderList& getOccluderList() const
ovoid pushViewport(osg::Viewport* viewport)
ovoid popViewport()
ovoid pushProjectionMatrix(osg::Matrix* matrix)
ovoid popProjectionMatrix()
ovoid pushModelViewMatrix(osg::Matrix* matrix)
ovoid popModelViewMatrix()
oinline float getFrustumVolume()
ovoid setCullingMode(CullingMode mode)
oCullingMode getCullingMode() const
ovoid setLODBias(const float bias)
oconst float getLODBias() const
ovoid setSmallFeatureCullingPixelSize(float value)
ofloat getSmallFeatureCullingPixelSize() const
ofloat pixelSize(const Vec3& v, float radius) const
ofloat pixelSize(const BoundingSphere& bs) const
oinline void disableAndPushOccludersCurrentMask(NodePath& nodePath)
oinline void popOccludersCurrentMask(NodePath& nodePath)
oinline bool isCulled(const std::vector<Vec3>& vertices)
oinline bool isCulled(const BoundingBox& bb)
oinline bool isCulled(const BoundingSphere& bs)
oinline bool isCulled(const osg::Node& node)
oinline void pushCurrentMask()
oinline void popCurrentMask()
otypedef fast_back_stack<ref_ptr<CullingSet> > CullingStack CullingStack& getClipSpaceCullingStack()
oCullingStack& getProjectionCullingStack()
oCullingStack& getModelViewCullingStack()
oCullingSet& getCurrentCullingSet()
oinline osg::Viewport* getViewport()
oinline osg::Matrix& getModelViewMatrix()
oinline osg::Matrix& getProjectionMatrix()
oinline const osg::Matrix getWindowMatrix()
oinline const osg::Matrix& getMVPW()
oinline const osg::Vec3& getEyeLocal() const
oinline const osg::Vec3 getUpLocal() const
oinline const osg::Vec3 getLookVectorLocal() const
oinline Viewport* getViewport()
oinline Matrix& getModelViewMatrix()
oinline Matrix& getProjectionMatrix()
oinline const Matrix getWindowMatrix()
oinline const Matrix& getMVPW()
oinline Matrix* createOrReuseMatrix(const osg::Matrix& value)

Public Members

otypedef std::vector<ShadowVolumeOccluder> OccluderListenum CullingModeValues

Protected Fields

oCullingMode _cullingMode
ofloat _LODBias
ofloat _smallFeatureCullingPixelSize
oShadowVolumeOccluderList _occluderList
oMatrixStack _modelviewStack
oMatrixStack _MVPW_Stack
oCullingStack _clipspaceCullingStack
oCullingStack _projectionCullingStack
oCullingStack _modelviewCullingStack
ofloat _frustumVolume
ounsigned int _bbCornerNear
ounsigned int _bbCornerFar
oosg::Matrix _identity
ounsigned int _currentReuseMatrixIndex

Protected Methods

ovoid pushCullingSet()
ovoid popCullingSet()
ovoid computeFrustumVolume()
oinline osg::Matrix* createOrReuseMatrix(const osg::Matrix& value)

Protected Members

otypedef fast_back_stack< ref_ptr<Matrix> > MatrixStack MatrixStack _projectionStack
otypedef fast_back_stack<ref_ptr<Viewport> > ViewportStack ViewportStack _viewportStack
otypedef fast_back_stack<Vec3> EyePointStack EyePointStack _eyePointStack
otypedef std::vector< osg::ref_ptr<osg::Matrix> > MatrixList MatrixList _reuseMatrixList


Documentation

otypedef std::set<ShadowVolumeOccluder> ShadowVolumeOccluderSet CollectOccludersVisitor()

ovirtual ~CollectOccludersVisitor()

ovirtual CollectOccludersVisitor* cloneType() const

ovirtual void reset()

ovirtual void apply(osg::Node&)

ovirtual void apply(osg::Transform& node)

ovirtual void apply(osg::Projection& node)

ovirtual void apply(osg::Switch& node)

ovirtual void apply(osg::LOD& node)

ovirtual void apply(osg::OccluderNode& node)

ovoid setMinimumShadowOccluderVolume(float vol)

ofloat getMinimumShadowOccluderVolume() const

ovoid setCreateDrawablesOnOccludeNodes(bool flag)

obool getCreateDrawablesOnOccludeNodes() const

ovoid setCollectedOcculderList(const ShadowVolumeOccluderSet& svol)

oShadowVolumeOccluderSet& getCollectedOccluderSet()

oconst ShadowVolumeOccluderSet& getCollectedOccluderSet() const

ovoid removeOccludedOccluders()
remove occluded occluders for the collected occluders list

o CollectOccludersVisitor(const CollectOccludersVisitor&)
prevent unwanted copy construction

oCollectOccludersVisitor& operator = (const CollectOccludersVisitor&)
prevent unwanted copy operator

oinline void handle_cull_callbacks_and_traverse(osg::Node& node)

oinline void handle_cull_callbacks_and_accept(osg::Node& node, osg::Node* acceptNode)

ofloat _minimumShadowOccluderVolume

obool _createDrawables

oShadowVolumeOccluderSet _occluderSet


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.