class SG_EXPORT osg::CullingSet

A CullingSet class which contains a frustum and a list of occluder.

Inheritance:


Public Methods

[more] CullingSet()
[more] CullingSet(const CullingSet& cs, const Matrix& matrix, const Vec4& pixelSizeVector)
[more] ~CullingSet()
[more]void setCullingMask(Mask mask)
[more]void setFrustum(Polytope& cv)
[more]Polytope& getFrustum()
[more]const Polytope& getFrustum() const
[more]void addOccluder(ShadowVolumeOccluder& cv)
[more]void setPixelSizeVector(const Vec4& v)
[more]Vec4& getPixelSizeVector()
[more]const Vec4& getPixelSizeVector() const
[more]void setSmallFeatureCullingPixelSize(float value)
[more]float& getSmallFeatureCullingPixelSize()
[more]float getSmallFeatureCullingPixelSize() const
[more]float pixelSize(const Vec3& v, float radius) const
Compute the pixel of an object at position v, with specified radius
[more]float pixelSize(const BoundingSphere& bs) const
Compute the pixel of an bounding sphere
[more]inline bool isCulled(const std::vector<Vec3>& vertices)
[more]inline bool isCulled(const BoundingBox& bb)
[more]inline bool isCulled(const BoundingSphere& bs)
[more]inline void pushCurrentMask()
[more]inline void popCurrentMask()
[more]void disableAndPushOccludersCurrentMask(NodePath& nodePath)
[more]void popOccludersCurrentMask(NodePath& nodePath)

Public Members

[more]typedef unsigned int Maskenum MaskValues

Protected Fields

[more]Mask _mask
[more]Polytope _frustum
[more]OccluderList _occluderList
[more]Vec4 _pixelSizeVector
[more]float _smallFeatureCullingPixelSize


Inherited from Referenced:

Public Methods

oinline Referenced& operator = (Referenced&)
oinline void ref() const
oinline void unref() const
oinline void unref_nodelete() const
oinline const int referenceCount() const

Protected Fields

omutable int _refCount


Documentation

A CullingSet class which contains a frustum and a list of occluder.
o CullingSet()

o CullingSet(const CullingSet& cs, const Matrix& matrix, const Vec4& pixelSizeVector)

o ~CullingSet()

otypedef unsigned int Maskenum MaskValues

o VIEW_FRUSTUM_CULLING

o SMALL_FEATURE_CULLING

o SHADOW_OCCLUSION_CULLING

o ALL_CULLING

ovoid setCullingMask(Mask mask)

ovoid setFrustum(Polytope& cv)

oPolytope& getFrustum()

oconst Polytope& getFrustum() const

ovoid addOccluder(ShadowVolumeOccluder& cv)

ovoid setPixelSizeVector(const Vec4& v)

oVec4& getPixelSizeVector()

oconst Vec4& getPixelSizeVector() const

ovoid setSmallFeatureCullingPixelSize(float value)

ofloat& getSmallFeatureCullingPixelSize()

ofloat getSmallFeatureCullingPixelSize() const

ofloat pixelSize(const Vec3& v, float radius) const
Compute the pixel of an object at position v, with specified radius

ofloat pixelSize(const BoundingSphere& bs) const
Compute the pixel of an bounding sphere

oinline bool isCulled(const std::vector<Vec3>& vertices)

oinline bool isCulled(const BoundingBox& bb)

oinline bool isCulled(const BoundingSphere& bs)

oinline void pushCurrentMask()

oinline void popCurrentMask()

ovoid disableAndPushOccludersCurrentMask(NodePath& nodePath)

ovoid popOccludersCurrentMask(NodePath& nodePath)

oMask _mask

oPolytope _frustum

oOccluderList _occluderList

oVec4 _pixelSizeVector

ofloat _smallFeatureCullingPixelSize


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



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