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...
Detailed Description
DtOsgIntersectVisitor checks to see if it is visiting a a DtTerrainPatchGroup and if so, uses its API to get the highest LOD terrain intersections.
Constructor & Destructor Documentation
| makVrv::DtOsgIntersectVisitor::DtOsgIntersectVisitor |
( |
| ) |
|
Member Function Documentation
| virtual osgUtil::IntersectVisitor* makVrv::DtOsgIntersectVisitor::clone |
( |
| ) |
const |
|
inlinevirtual |
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 | ) |
|
|
protectedvirtual |
Check for DtTerrainPatchGroup if useHighLodForOsgEarth is true If found and the patch is an osgEarth patch, use its getTerrainIntersection call.
Member Data Documentation
| bool makVrv::DtOsgIntersectVisitor::myUseHighLodForOsgEarth |
|
protected |
The documentation for this class was generated from the following file: