VR-Forces 4.0.4 Class Documentation
Public Member Functions | Protected Member Functions | Protected Attributes
makVrv::DtOsgIntersectVisitor Class Reference

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...

Inheritance diagram for makVrv::DtOsgIntersectVisitor:
Inheritance graph
[legend]

List of all members.

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

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

CTOR.

Copy constructor.


Member Function Documentation

virtual osgUtil::IntersectVisitor* makVrv::DtOsgIntersectVisitor::clone ( ) const [inline, virtual]

All osg visitors need to implement clone.

Set whether we should use the highest lod when dealing with osg earth.

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]

Member Data Documentation


The documentation for this class was generated from the following file:

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)