#include <ShadowVolumeOccluder.h>
ShadowVolumeOccluder is a helper class for implementing shadow occlusion culling.
Definition at line 26 of file ShadowVolumeOccluder.h.
osg::ShadowVolumeOccluder::ShadowVolumeOccluder |
( |
| ) |
|
|
inline |
compute the shadow volume occluder.
bool osg::ShadowVolumeOccluder::contains |
( |
const std::vector< Vec3 > & |
vertices | ) |
|
return true if the specified vertex list is contained entirely within this shadow occluder volume.
bool osg::ShadowVolumeOccluder::contains |
( |
const BoundingSphere & |
bound | ) |
|
return true if the specified bounding sphere is contained entirely within this shadow occluder volume.
bool osg::ShadowVolumeOccluder::contains |
( |
const BoundingBox & |
bound | ) |
|
return true if the specified bounding box is contained entirely within this shadow occluder volume.
void osg::ShadowVolumeOccluder::disableResultMasks |
( |
| ) |
|
|
inline |
HoleList& osg::ShadowVolumeOccluder::getHoleList |
( |
| ) |
|
|
inline |
const HoleList& osg::ShadowVolumeOccluder::getHoleList |
( |
| ) |
const |
|
inline |
NodePath& osg::ShadowVolumeOccluder::getNodePath |
( |
| ) |
|
|
inline |
const NodePath& osg::ShadowVolumeOccluder::getNodePath |
( |
| ) |
const |
|
inline |
Polytope& osg::ShadowVolumeOccluder::getOccluder |
( |
| ) |
|
|
inline |
const Polytope& osg::ShadowVolumeOccluder::getOccluder |
( |
| ) |
const |
|
inline |
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.
Definition at line 75 of file ShadowVolumeOccluder.h.
bool osg::ShadowVolumeOccluder::matchProjectionMatrix |
( |
const osg::Matrix & |
matrix | ) |
const |
|
inline |
void osg::ShadowVolumeOccluder::popCurrentMask |
( |
| ) |
|
|
inline |
void osg::ShadowVolumeOccluder::pushCurrentMask |
( |
| ) |
|
|
inline |
void osg::ShadowVolumeOccluder::setNodePath |
( |
NodePath & |
nodePath | ) |
|
|
inline |
Set the NodePath which describes which node in the scene graph that this occluder is attached to.
Definition at line 68 of file ShadowVolumeOccluder.h.
void osg::ShadowVolumeOccluder::transformProvidingInverse |
( |
const osg::Matrix & |
matrix | ) |
|
|
inline |
HoleList osg::ShadowVolumeOccluder::_holeList |
|
protected |
NodePath osg::ShadowVolumeOccluder::_nodePath |
|
protected |
Polytope osg::ShadowVolumeOccluder::_occluderVolume |
|
protected |
float osg::ShadowVolumeOccluder::_volume |
|
protected |
The documentation for this class was generated from the following file: