Inheritance:
Public Methods
-
typedef std::set<ShadowVolumeOccluder> ShadowVolumeOccluderSet CollectOccludersVisitor()
-
virtual ~CollectOccludersVisitor()
-
virtual CollectOccludersVisitor* cloneType() const
-
virtual void reset()
-
virtual void apply(osg::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::OccluderNode& node)
-
void setMinimumShadowOccluderVolume(float vol)
-
float getMinimumShadowOccluderVolume() const
-
void setCreateDrawablesOnOccludeNodes(bool flag)
-
bool getCreateDrawablesOnOccludeNodes() const
-
void setCollectedOcculderList(const ShadowVolumeOccluderSet& svol)
-
ShadowVolumeOccluderSet& getCollectedOccluderSet()
-
const ShadowVolumeOccluderSet& getCollectedOccluderSet() const
-
void removeOccludedOccluders()
- remove occluded occluders for the collected occluders list
Protected Fields
-
float _minimumShadowOccluderVolume
-
bool _createDrawables
-
ShadowVolumeOccluderSet _occluderSet
Protected Methods
-
CollectOccludersVisitor(const CollectOccludersVisitor&)
- prevent unwanted copy construction
-
CollectOccludersVisitor& operator = (const CollectOccludersVisitor&)
- prevent unwanted copy operator
-
inline void handle_cull_callbacks_and_traverse(osg::Node& node)
-
inline void handle_cull_callbacks_and_accept(osg::Node& node, osg::Node* acceptNode)
Public Methods
-
inline void setTraversalNumber(const int fn)
-
inline const int getTraversalNumber() const
-
inline void setFrameStamp(FrameStamp* fs)
-
inline const FrameStamp* getFrameStamp() const
-
inline void setTraversalMask(const Node::NodeMask mask)
-
inline const Node::NodeMask getTraversalMask() const
-
inline void setNodeMaskOverride(const Node::NodeMask mask)
-
inline const Node::NodeMask getNodeMaskOverride() const
-
inline const bool validNodeMask(const osg::Node& node) const
-
void setTraversalMode(const TraversalMode mode)
-
inline const TraversalMode getTraversalMode() const
-
void setTraversalVisitor(NodeVisitor* nv)
-
inline NodeVisitor* getTraversalVisitor()
-
inline void traverse(Node& node)
-
inline void pushOntoNodePath(Node* node)
-
inline void popFromNodePath()
-
NodePath& getNodePath()
-
const NodePath& getNodePath() const
-
const bool getLocalToWorldMatrix(Matrix& matrix, Node* node)
-
const bool getWorldToLocalMatrix(Matrix& matrix, Node* node)
Public Members
-
enum TraversalMode
Protected Fields
-
int _traversalNumber
-
ref_ptr<FrameStamp> _frameStamp
-
ref_ptr<NodeVisitor> _traversalVisitor
-
TraversalMode _traversalMode
-
Node::NodeMask _traversalMask
-
Node::NodeMask _nodeMaskOverride
-
NodePath _nodePath
Public Methods
-
inline void ref() const
-
inline void unref() const
-
inline void unref_nodelete() const
-
inline const int referenceCount() const
Protected Fields
-
mutable int _refCount
Public Methods
-
void setOccluderList(const ShadowVolumeOccluderList& svol)
-
ShadowVolumeOccluderList& getOccluderList()
-
const ShadowVolumeOccluderList& getOccluderList() const
-
void pushViewport(osg::Viewport* viewport)
-
void popViewport()
-
void pushProjectionMatrix(osg::Matrix* matrix)
-
void popProjectionMatrix()
-
void pushModelViewMatrix(osg::Matrix* matrix)
-
void popModelViewMatrix()
-
inline float getFrustumVolume()
-
void setCullingMode(CullingMode mode)
-
CullingMode getCullingMode() const
-
void setLODBias(const float bias)
-
const float getLODBias() const
-
void setSmallFeatureCullingPixelSize(float value)
-
float getSmallFeatureCullingPixelSize() const
-
float pixelSize(const Vec3& v, float radius) const
-
float pixelSize(const BoundingSphere& bs) const
-
inline void disableAndPushOccludersCurrentMask(NodePath& nodePath)
-
inline void popOccludersCurrentMask(NodePath& nodePath)
-
inline bool isCulled(const std::vector<Vec3>& vertices)
-
inline bool isCulled(const BoundingBox& bb)
-
inline bool isCulled(const BoundingSphere& bs)
-
inline bool isCulled(const osg::Node& node)
-
inline void pushCurrentMask()
-
inline void popCurrentMask()
-
typedef fast_back_stack<ref_ptr<CullingSet> > CullingStack CullingStack& getClipSpaceCullingStack()
-
CullingStack& getProjectionCullingStack()
-
CullingStack& getModelViewCullingStack()
-
CullingSet& getCurrentCullingSet()
-
inline osg::Viewport* getViewport()
-
inline osg::Matrix& getModelViewMatrix()
-
inline osg::Matrix& getProjectionMatrix()
-
inline const osg::Matrix getWindowMatrix()
-
inline const osg::Matrix& getMVPW()
-
inline const osg::Vec3& getEyeLocal() const
-
inline const osg::Vec3 getUpLocal() const
-
inline const osg::Vec3 getLookVectorLocal() const
-
inline Viewport* getViewport()
-
inline Matrix& getModelViewMatrix()
-
inline Matrix& getProjectionMatrix()
-
inline const Matrix getWindowMatrix()
-
inline const Matrix& getMVPW()
-
inline Matrix* createOrReuseMatrix(const osg::Matrix& value)
Public Members
-
typedef std::vector<ShadowVolumeOccluder> OccluderListenum CullingModeValues
Protected Fields
-
CullingMode _cullingMode
-
float _LODBias
-
float _smallFeatureCullingPixelSize
-
ShadowVolumeOccluderList _occluderList
-
MatrixStack _modelviewStack
-
MatrixStack _MVPW_Stack
-
CullingStack _clipspaceCullingStack
-
CullingStack _projectionCullingStack
-
CullingStack _modelviewCullingStack
-
float _frustumVolume
-
unsigned int _bbCornerNear
-
unsigned int _bbCornerFar
-
osg::Matrix _identity
-
unsigned int _currentReuseMatrixIndex
Protected Methods
-
void pushCullingSet()
-
void popCullingSet()
-
void computeFrustumVolume()
-
inline osg::Matrix* createOrReuseMatrix(const osg::Matrix& value)
Protected Members
-
typedef fast_back_stack< ref_ptr<Matrix> > MatrixStack MatrixStack _projectionStack
-
typedef fast_back_stack<ref_ptr<Viewport> > ViewportStack ViewportStack _viewportStack
-
typedef fast_back_stack<Vec3> EyePointStack EyePointStack _eyePointStack
-
typedef std::vector< osg::ref_ptr<osg::Matrix> > MatrixList MatrixList _reuseMatrixList
Documentation
- typedef std::set<ShadowVolumeOccluder> ShadowVolumeOccluderSet CollectOccludersVisitor()
- virtual ~CollectOccludersVisitor()
- virtual CollectOccludersVisitor* cloneType() const
- virtual void reset()
- virtual void apply(osg::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::OccluderNode& node)
- void setMinimumShadowOccluderVolume(float vol)
- float getMinimumShadowOccluderVolume() const
- void setCreateDrawablesOnOccludeNodes(bool flag)
- bool getCreateDrawablesOnOccludeNodes() const
- void setCollectedOcculderList(const ShadowVolumeOccluderSet& svol)
- ShadowVolumeOccluderSet& getCollectedOccluderSet()
- const ShadowVolumeOccluderSet& getCollectedOccluderSet() const
- void removeOccludedOccluders()
- remove occluded occluders for the collected occluders list
- CollectOccludersVisitor(const CollectOccludersVisitor&)
- prevent unwanted copy construction
- CollectOccludersVisitor& operator = (const CollectOccludersVisitor&)
- prevent unwanted copy operator
- inline void handle_cull_callbacks_and_traverse(osg::Node& node)
- inline void handle_cull_callbacks_and_accept(osg::Node& node, osg::Node* acceptNode)
- float _minimumShadowOccluderVolume
- bool _createDrawables
- ShadowVolumeOccluderSet _occluderSet
- This class has no child classes.
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.