class SG_EXPORT osg::ShadowOccluderVolume

ShadowOccluderVolume is a helper class for implementating shadow occlusion culling.

Public Methods

[more]typedef std::vector<Polytope> HoleList ShadowOccluderVolume(const ShadowOccluderVolume& soc)
[more] ShadowOccluderVolume(const ShadowOccluderVolume& soc, Matrix& MVP)
[more] ShadowOccluderVolume(const ConvexPlanerOccluder& occluder, Matrix& MVP)
[more]void set(const ShadowOccluderVolume& soc, Matrix& MVP)
Convert shadow occluder into local coords by multiplying the clip space occluder by the ModelViewProjectionMatrix
[more]void set(const ConvexPlanerOccluder& occluder, Matrix& MVP)
Initialize a ShadowOccluderVolume to a ConvexPlanerOccluder transformed into clipspace
[more]bool contains(const BoundingSphere& bound)
return true if the specified bounding sphere is contaned entirely within this shadow occluder volume
[more]bool contains(const BoundingBox& bound)
return true if the specified bounding box is contained entirely within this shadow occluder volume
[more]inline void transformProvidingInverse(const osg::Matrix& matrix)
[more]inline void pushCurrentMask()
[more]inline void popCurrentMask()

Protected Fields

[more]Polytope _occluderVolume
[more]HoleList _holeList


Documentation

ShadowOccluderVolume is a helper class for implementating shadow occlusion culling.
otypedef std::vector<Polytope> HoleList ShadowOccluderVolume(const ShadowOccluderVolume& soc)

o ShadowOccluderVolume(const ShadowOccluderVolume& soc, Matrix& MVP)

o ShadowOccluderVolume(const ConvexPlanerOccluder& occluder, Matrix& MVP)

ovoid set(const ShadowOccluderVolume& soc, Matrix& MVP)
Convert shadow occluder into local coords by multiplying the clip space occluder by the ModelViewProjectionMatrix

ovoid set(const ConvexPlanerOccluder& occluder, Matrix& MVP)
Initialize a ShadowOccluderVolume to a ConvexPlanerOccluder transformed into clipspace

obool contains(const BoundingSphere& bound)
return true if the specified bounding sphere is contaned entirely within this shadow occluder volume

obool contains(const BoundingBox& bound)
return true if the specified bounding box is contained entirely within this shadow occluder volume

oinline void transformProvidingInverse(const osg::Matrix& matrix)

oPolytope _occluderVolume

oHoleList _holeList

oinline void pushCurrentMask()

oinline void popCurrentMask()


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



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