Inheritance diagram for osg::CollectOccludersVisitor:
typedef std::set<ShadowVolumeOccluder> osg::CollectOccludersVisitor::ShadowVolumeOccluderSet |
osg::CollectOccludersVisitor::CollectOccludersVisitor | ( | ) |
virtual osg::CollectOccludersVisitor::~CollectOccludersVisitor | ( | ) | [virtual] |
virtual void osg::CollectOccludersVisitor::apply | ( | osg::OccluderNode & | 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::Switch & | 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::Transform & | node | ) | [virtual] |
Reimplemented from osg::NodeVisitor.
virtual void osg::CollectOccludersVisitor::apply | ( | osg::Node & | ) | [virtual] |
Reimplemented from osg::NodeVisitor.
virtual CollectOccludersVisitor* osg::CollectOccludersVisitor::cloneType | ( | ) | const [inline, virtual] |
const ShadowVolumeOccluderSet& osg::CollectOccludersVisitor::getCollectedOccluderSet | ( | ) | const [inline] |
ShadowVolumeOccluderSet& osg::CollectOccludersVisitor::getCollectedOccluderSet | ( | ) | [inline] |
bool osg::CollectOccludersVisitor::getCreateDrawablesOnOccludeNodes | ( | ) | const [inline] |
virtual float osg::CollectOccludersVisitor::getDistanceFromEyePoint | ( | const Vec3 & | pos, | |
bool | withLODScale | |||
) | 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 & | pos, | |
bool | withLODScale | |||
) | 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.
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] |
void osg::CollectOccludersVisitor::handle_cull_callbacks_and_traverse | ( | osg::Node & | node | ) | [inline, protected] |
CollectOccludersVisitor& osg::CollectOccludersVisitor::operator= | ( | const CollectOccludersVisitor & | ) | [inline, protected] |
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 lowests shadow occluder volume.
virtual void osg::CollectOccludersVisitor::reset | ( | ) | [virtual] |
Reimplemented from osg::CullStack.
void osg::CollectOccludersVisitor::setCollectedOcculderSet | ( | 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] |