![]() |
VR-Forces 4.1.1 Class Documentation
|
DtOsgCullVisitor will inspect the camera to see which visual mode is active. More...

Public Member Functions | |
| DtOsgCullVisitor () | |
| CTOR. | |
| DtOsgCullVisitor (const DtOsgCullVisitor &) | |
| Copy constructor. | |
| void | initializeViewDependentSettings () |
| Virtual void. | |
| bool | orthoCulling () const |
| Query whether this visitor is doing orthographic culling. | |
| bool | coordinateSystemChanged () const |
| Query whether the coordinate system changed this frame (used to reset localToWorkd matrices) | |
| virtual float | getDistanceToScreenEdge (const osg::Vec3 &vec) const |
| Get a projected distance from the screen edge (approximate) when orthoCulling. | |
| virtual float | altitude2D () const |
| Same as getDistanceToViewPoint() when ortho culling. | |
| const DtOsgCullVisitorParameters * | visitorParameters () const |
| Get the cull visitor parameters. | |
Protected Member Functions | |
| virtual void | apply (osg::Transform &node) |
| check for scalable transform and scale as required | |
| virtual void | apply (osg::Group &group) |
| check for scalable group and scale bounding sphere as required | |
| virtual float | getDistanceToViewPoint (const osg::Vec3 &vec, bool useLOD) const |
| Gets the distance to the view point with the given visual mode. | |
| virtual bool | isCulled (osg::Node &node, double scaleFactor) |
| for nodes that need scaling, we call this instead of CullVisitor::isCulled | |
| DtOsgCullVisitorParameters * | getVisitorParameters () const |
| Fetches the info from the visitor's renderInfo object. | |
| virtual osgUtil::CullVisitor * | clone () const |
| Protected clone function. | |
Protected Attributes | |
| DtOsgCullVisitorParameters * | myInfoCopy |
| double | myAltitude |
| double | myMaximumMagnificationAngle |
| osg::Matrix | myWorldToWindowMatrix |
DtOsgCullVisitor will inspect the camera to see which visual mode is active.
If the visual mode is a 2D display mode, it changes the way LODs are paged in by pixel size and zoom level, else uses a distance from eye-point check with no LOD scale
| makVrv::DtOsgCullVisitor::DtOsgCullVisitor | ( | ) |
CTOR.
| makVrv::DtOsgCullVisitor::DtOsgCullVisitor | ( | const DtOsgCullVisitor & | ) |
Copy constructor.
| void makVrv::DtOsgCullVisitor::initializeViewDependentSettings | ( | ) |
Virtual void.
| bool makVrv::DtOsgCullVisitor::orthoCulling | ( | ) | const |
Query whether this visitor is doing orthographic culling.
| bool makVrv::DtOsgCullVisitor::coordinateSystemChanged | ( | ) | const |
Query whether the coordinate system changed this frame (used to reset localToWorkd matrices)
|
virtual |
Get a projected distance from the screen edge (approximate) when orthoCulling.
|
virtual |
Same as getDistanceToViewPoint() when ortho culling.
| const DtOsgCullVisitorParameters* makVrv::DtOsgCullVisitor::visitorParameters | ( | ) | const |
Get the cull visitor parameters.
|
protectedvirtual |
check for scalable transform and scale as required
|
protectedvirtual |
check for scalable group and scale bounding sphere as required
|
protectedvirtual |
Gets the distance to the view point with the given visual mode.
Will be used to page in LODs
|
protectedvirtual |
for nodes that need scaling, we call this instead of CullVisitor::isCulled
|
protected |
Fetches the info from the visitor's renderInfo object.
|
protectedvirtual |
Protected clone function.
|
protected |
|
protected |
|
protected |
|
protected |