![]() |
VR-Forces 4.0.4 Class Documentation
|
DtOsgIntersectVisitor checks to see if it is visiting a a DtTerrainPatchGroup and if so, uses its API to get the highest LOD terrain intersections. More...

Public Member Functions | |
| DtOsgIntersectVisitor () | |
| CTOR. | |
| DtOsgIntersectVisitor (const DtOsgIntersectVisitor &) | |
| Copy constructor. | |
| virtual osgUtil::IntersectVisitor * | clone () const |
| All osg visitors need to implement clone. | |
| virtual void | setUseHighLodForOsgEarth (bool b) |
| Set whether we should use the highest lod when dealing with osg earth. | |
| virtual bool | useHighLodForOsgEarth () const |
| Get whether we should use the highest lod when dealing with osg earth. | |
Protected Member Functions | |
| virtual void | apply (osg::Group &group) |
| Check for DtTerrainPatchGroup if useHighLodForOsgEarth is true If found and the patch is an osgEarth patch, use its getTerrainIntersection call. | |
| virtual void | osgEarthIntersect (DtOsgTerrainPatchObject &tpo) |
Protected Attributes | |
| bool | myUseHighLodForOsgEarth |
DtOsgIntersectVisitor checks to see if it is visiting a a DtTerrainPatchGroup and if so, uses its API to get the highest LOD terrain intersections.
Copy constructor.
| virtual osgUtil::IntersectVisitor* makVrv::DtOsgIntersectVisitor::clone | ( | ) | const [inline, virtual] |
All osg visitors need to implement clone.
| virtual void makVrv::DtOsgIntersectVisitor::setUseHighLodForOsgEarth | ( | bool | b | ) | [virtual] |
Set whether we should use the highest lod when dealing with osg earth.
| virtual bool makVrv::DtOsgIntersectVisitor::useHighLodForOsgEarth | ( | ) | const [virtual] |
Get whether we should use the highest lod when dealing with osg earth.
| virtual void makVrv::DtOsgIntersectVisitor::apply | ( | osg::Group & | group | ) | [protected, virtual] |
Check for DtTerrainPatchGroup if useHighLodForOsgEarth is true If found and the patch is an osgEarth patch, use its getTerrainIntersection call.
| virtual void makVrv::DtOsgIntersectVisitor::osgEarthIntersect | ( | DtOsgTerrainPatchObject & | tpo | ) | [protected, virtual] |