![]() |
VR-Forces 5.0.1 Developer's Guide
|
DtOsgIntersectVisitor checks to see if it is visiting a a DtTerrainPatchGroup and if so, uses its API to get the highest LOD terrain intersections.

Public Member Functions | |
| DtOsgIntersectionVisitor () | |
| virtual | ~DtOsgIntersectionVisitor () |
| virtual void | setUseHighLodForOsgEarth (bool b) |
| virtual bool | useHighLodForOsgEarth () const |
| virtual void | setAboveOceanLODAltitude (bool b) |
| virtual void | setCheckForOcean (bool b) |
| virtual void | apply (osg::Group &group) |
| virtual void | apply (osg::Node &node) |
| virtual void | apply (osg::Geode &geode) |
Protected Member Functions | |
| virtual void | osgEarthIntersect (DtOsgTerrainPatchObject &tpo) |
| virtual bool | isOcean (const osg::Node *node) const |
Protected Attributes | |
| bool | myUseHighLodForOsgEarth |
| bool | myAboveOceanLODAltitude |
| bool | myCheckForOcean |
| makVrv::DtOsgIntersectionVisitor::DtOsgIntersectionVisitor | ( | ) |
CTOR.
|
virtual |
DTOR.
|
virtual |
Set whether we should use the highest lod when dealing with osg earth.
|
virtual |
Get whether we should use the highest lod when dealing with osg earth.
|
virtual |
When dynamic ocean is in use, indicates whether our current altitude is above the ocean LOD altitude.
|
virtual |
Indicates whether dynamic ocean is in use.
|
virtual |
Check for DtTerrainPatchGroup if useHighLodForOsgEarth is true If found and the patch is an osgEarth patch, use its getTerrainIntersection call.
|
virtual |
Check for nodes that are marked as extracted ocean.
|
virtual |
|
protectedvirtual |
|
protectedvirtual |
whether is ocean
|
protected |
|
protected |
|
protected |