openscenegraph
|
typedef std::set<ShadowVolumeOccluder> osg::CollectOccludersVisitor::ShadowVolumeOccluderSet |
virtual osg::CollectOccludersVisitor::~CollectOccludersVisitor | ( | ) | [virtual] |
virtual void osg::CollectOccludersVisitor::apply | ( | osg::Node & | ) | [virtual] |
Reimplemented from osg::NodeVisitor.
virtual void osg::CollectOccludersVisitor::apply | ( | osg::Transform & | node | ) | [virtual] |
Reimplemented from osg::NodeVisitor.
virtual void osg::CollectOccludersVisitor::apply | ( | osg::Projection & | node | ) | [virtual] |
Reimplemented from osg::NodeVisitor.
virtual void osg::CollectOccludersVisitor::apply | ( | osg::Switch & | node | ) | [virtual] |
Reimplemented from osg::NodeVisitor.
virtual void osg::CollectOccludersVisitor::apply | ( | osg::LOD & | node | ) | [virtual] |
Reimplemented from osg::NodeVisitor.
virtual void osg::CollectOccludersVisitor::apply | ( | osg::OccluderNode & | node | ) | [virtual] |
Reimplemented from osg::NodeVisitor.
const ShadowVolumeOccluderSet& osg::CollectOccludersVisitor::getCollectedOccluderSet | ( | ) | const [inline] |
bool osg::CollectOccludersVisitor::getCreateDrawablesOnOccludeNodes | ( | ) | const [inline] |
virtual float osg::CollectOccludersVisitor::getDistanceFromEyePoint | ( | const Vec3 & | , |
bool | |||
) | const [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 float osg::CollectOccludersVisitor::getDistanceToEyePoint | ( | const Vec3 & | , |
bool | |||
) | const [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 float osg::CollectOccludersVisitor::getDistanceToViewPoint | ( | const Vec3 & | , |
bool | |||
) | const [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.
unsigned int osg::CollectOccludersVisitor::getMaximumNumberOfActiveOccluders | ( | ) | const [inline] |
float osg::CollectOccludersVisitor::getMinimumShadowOccluderVolume | ( | ) | const [inline] |
void osg::CollectOccludersVisitor::handle_cull_callbacks_and_accept | ( | osg::Node & | node, |
osg::Node * | acceptNode | ||
) | [inline, protected] |
References osg::Node::accept(), and osg::Node::getNumChildrenWithOccluderNodes().
void osg::CollectOccludersVisitor::handle_cull_callbacks_and_traverse | ( | osg::Node & | node | ) | [inline, protected] |
References osg::Node::getNumChildrenWithOccluderNodes().
osg::CollectOccludersVisitor::META_NodeVisitor | ( | "osg" | , |
"CollectOccludersVisitor" | |||
) | const [inline] |
CollectOccludersVisitor& osg::CollectOccludersVisitor::operator= | ( | const CollectOccludersVisitor & | ) | [inline, protected] |
Prevents unwanted copy construction. Prevents unwanted copy operator.
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 void osg::CollectOccludersVisitor::reset | ( | ) | [virtual] |
Reimplemented from osg::CullStack.
void osg::CollectOccludersVisitor::setCollectedOccluderSet | ( | const ShadowVolumeOccluderSet & | svol | ) | [inline] |
void osg::CollectOccludersVisitor::setCreateDrawablesOnOccludeNodes | ( | bool | flag | ) | [inline] |
void osg::CollectOccludersVisitor::setMaximumNumberOfActiveOccluders | ( | unsigned int | num | ) | [inline] |
Sets the maximum number of occluders to have active for culling purposes.
void osg::CollectOccludersVisitor::setMinimumShadowOccluderVolume | ( | float | vol | ) | [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.
bool osg::CollectOccludersVisitor::_createDrawables [protected] |
unsigned osg::CollectOccludersVisitor::_maximumNumberOfActiveOccluders [protected] |
float osg::CollectOccludersVisitor::_minimumShadowOccluderVolume [protected] |