ShadowVolumeOccluder is a helper class for implementing shadow occlusion culling.
More...
ShadowVolumeOccluder is a helper class for implementing shadow occlusion culling.
◆ HoleList
◆ ShadowVolumeOccluder() [1/2]
◆ ShadowVolumeOccluder() [2/2]
osg::ShadowVolumeOccluder::ShadowVolumeOccluder |
( |
| ) |
|
|
inline |
◆ computeOccluder()
compute the shadow volume occluder.
◆ contains() [1/3]
bool osg::ShadowVolumeOccluder::contains |
( |
const std::vector< Vec3 > & |
vertices | ) |
|
return true if the specified vertex list is contained entirely within this shadow occluder volume.
◆ contains() [2/3]
bool osg::ShadowVolumeOccluder::contains |
( |
const BoundingSphere & |
bound | ) |
|
return true if the specified bounding sphere is contained entirely within this shadow occluder volume.
◆ contains() [3/3]
bool osg::ShadowVolumeOccluder::contains |
( |
const BoundingBox & |
bound | ) |
|
return true if the specified bounding box is contained entirely within this shadow occluder volume.
◆ disableResultMasks()
void osg::ShadowVolumeOccluder::disableResultMasks |
( |
| ) |
|
|
inline |
◆ getHoleList() [1/2]
HoleList& osg::ShadowVolumeOccluder::getHoleList |
( |
| ) |
|
|
inline |
return the list of holes.
◆ getHoleList() [2/2]
const HoleList& osg::ShadowVolumeOccluder::getHoleList |
( |
| ) |
const |
|
inline |
return the const list of holes.
◆ getNodePath() [1/2]
NodePath& osg::ShadowVolumeOccluder::getNodePath |
( |
| ) |
|
|
inline |
◆ getNodePath() [2/2]
const NodePath& osg::ShadowVolumeOccluder::getNodePath |
( |
| ) |
const |
|
inline |
◆ getOccluder() [1/2]
Polytope& osg::ShadowVolumeOccluder::getOccluder |
( |
| ) |
|
|
inline |
return the occluder polytope.
◆ getOccluder() [2/2]
const Polytope& osg::ShadowVolumeOccluder::getOccluder |
( |
| ) |
const |
|
inline |
return the const occluder polytope.
◆ getVolume()
float osg::ShadowVolumeOccluder::getVolume |
( |
| ) |
const |
|
inline |
get the volume of the occluder minus its holes, in eye coords, the volume is normalized by dividing by the volume of the view frustum in eye coords.
Referenced by operator<().
◆ matchProjectionMatrix()
bool osg::ShadowVolumeOccluder::matchProjectionMatrix |
( |
const osg::Matrix & |
matrix | ) |
const |
|
inline |
return true if the matrix passed in matches the projection matrix that this ShadowVolumeOccluder is associated with.
◆ operator<()
◆ popCurrentMask()
void osg::ShadowVolumeOccluder::popCurrentMask |
( |
| ) |
|
|
inline |
◆ pushCurrentMask()
void osg::ShadowVolumeOccluder::pushCurrentMask |
( |
| ) |
|
|
inline |
◆ setNodePath()
void osg::ShadowVolumeOccluder::setNodePath |
( |
NodePath & |
nodePath | ) |
|
|
inline |
Set the NodePath which describes which node in the scene graph that this occluder is attached to.
◆ transformProvidingInverse()
void osg::ShadowVolumeOccluder::transformProvidingInverse |
( |
const osg::Matrix & |
matrix | ) |
|
|
inline |
◆ _holeList
HoleList osg::ShadowVolumeOccluder::_holeList |
|
protected |
◆ _nodePath
NodePath osg::ShadowVolumeOccluder::_nodePath |
|
protected |
◆ _occluderVolume
Polytope osg::ShadowVolumeOccluder::_occluderVolume |
|
protected |
◆ _projectionMatrix
◆ _volume
float osg::ShadowVolumeOccluder::_volume |
|
protected |
The documentation for this class was generated from the following file: