openscenegraph
|
Protected Member Functions | |
CollectOccludersVisitor & | operator= (const CollectOccludersVisitor &) |
void | handle_cull_callbacks_and_traverse (osg::Node &node) |
void | handle_cull_callbacks_and_accept (osg::Node &node, osg::Node *acceptNode) |
![]() | |
void | computeFrustumVolume () |
osg::RefMatrix * | createOrReuseMatrix (const osg::Matrix &value) |
Additional Inherited Members | |
![]() | |
static OpenThreads::Mutex * | getGlobalReferencedMutex () |
static void | setThreadSafeReferenceCounting (bool enableThreadSafeReferenceCounting) |
static bool | getThreadSafeReferenceCounting () |
static void | setDeleteHandler (DeleteHandler *handler) |
static DeleteHandler * | getDeleteHandler () |
![]() | |
typedef fast_back_stack < ref_ptr< RefMatrix > > | MatrixStack |
typedef fast_back_stack < ref_ptr< Viewport > > | ViewportStack |
typedef fast_back_stack< Vec3 > | EyePointStack |
typedef std::vector < osg::ref_ptr< osg::RefMatrix > > | MatrixList |
typedef std::set<ShadowVolumeOccluder> osg::CollectOccludersVisitor::ShadowVolumeOccluderSet |
osg::CollectOccludersVisitor::CollectOccludersVisitor | ( | ) |
|
virtual |
Reimplemented from osg::NodeVisitor.
|
virtual |
Reimplemented from osg::NodeVisitor.
|
virtual |
Reimplemented from osg::NodeVisitor.
|
virtual |
Reimplemented from osg::NodeVisitor.
Reimplemented from osg::NodeVisitor.
|
virtual |
Reimplemented from osg::NodeVisitor.
|
inline |
|
inline |
|
inline |
|
virtual |
Get the distance of a point from the eye point, distance value in the eye coordinate system. Note, not all NodeVisitor implement this method, it is mainly cull visitors which will implement. If the getDistanceFromEyePoint(pos) is not implemented than a default value of 0.0 is returned.
Reimplemented from osg::NodeVisitor.
|
virtual |
Get the distance from a point to the eye point, distance value in local coordinate system. Note, not all NodeVisitor implement this method, it is mainly cull visitors which will implement. If the getDistanceFromEyePoint(pos) is not implemented then a default value of 0.0 is returned.
Reimplemented from osg::NodeVisitor.
|
virtual |
Get the distance from a point to the view point, distance value in local coordinate system. Note, not all NodeVisitor implement this method, it is mainly cull visitors which will implement. If the getDistanceToViewPoint(pos) is not implemented then a default value of 0.0 is returned.
Reimplemented from osg::NodeVisitor.
|
inline |
|
inline |
|
inlineprotected |
References osg::Node::accept(), and osg::Node::getNumChildrenWithOccluderNodes().
|
inlineprotected |
References osg::Node::getNumChildrenWithOccluderNodes().
|
inline |
|
inlineprotected |
Prevents unwanted copy construction. Prevents unwanted copy operator.
void osg::CollectOccludersVisitor::removeOccludedOccluders | ( | ) |
Removes occluded occluders for the collected occluders list, then discards all but MaximumNumberOfActiveOccluders of occluders, discarding the occluders with the lowest shadow occluder volume.
|
virtual |
Reimplemented from osg::CullStack.
|
inline |
|
inline |
|
inline |
Sets the maximum number of occluders to have active for culling purposes.
|
inline |
Sets the minimum shadow occluder volume that an active occluder must have. vol is units relative the clip space volume where 1.0 is the whole clip space.
|
protected |
|
protected |
|
protected |
|
protected |