VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes
makVrv::DtOsgIntersectionVisitor 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::DtOsgIntersectionVisitor:
Inheritance graph
[legend]

Public Member Functions

 DtOsgIntersectionVisitor ()
 CTOR. More...
 
virtual ~DtOsgIntersectionVisitor ()
 DTOR. More...
 
virtual void setUseHighLodForOsgEarth (bool b)
 Set whether we should use the highest lod when dealing with osg earth. More...
 
virtual bool useHighLodForOsgEarth () const
 Get whether we should use the highest lod when dealing with osg earth. More...
 
virtual void setAboveOceanLODAltitude (bool b)
 When dynamic ocean is in use, indicates whether our current altitude is above the ocean LOD altitude. More...
 
virtual void setCheckForOcean (bool b)
 Indicates whether dynamic ocean is in use. More...
 
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. More...
 
virtual void apply (osg::Node &node)
 Check for nodes that are marked as extracted ocean. More...
 
virtual void apply (osg::Geode &geode)
 

Protected Member Functions

virtual void osgEarthIntersect (DtOsgTerrainPatchObject &tpo)
 

Protected Attributes

bool myUseHighLodForOsgEarth
 
bool myAboveOceanLODAltitude
 
bool myCheckForOcean
 

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::DtOsgIntersectionVisitor::DtOsgIntersectionVisitor ( )

CTOR.

virtual makVrv::DtOsgIntersectionVisitor::~DtOsgIntersectionVisitor ( )
virtual

DTOR.

Member Function Documentation

virtual void makVrv::DtOsgIntersectionVisitor::setUseHighLodForOsgEarth ( bool  b)
virtual

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

virtual bool makVrv::DtOsgIntersectionVisitor::useHighLodForOsgEarth ( ) const
virtual

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

virtual void makVrv::DtOsgIntersectionVisitor::setAboveOceanLODAltitude ( bool  b)
virtual

When dynamic ocean is in use, indicates whether our current altitude is above the ocean LOD altitude.

virtual void makVrv::DtOsgIntersectionVisitor::setCheckForOcean ( bool  b)
virtual

Indicates whether dynamic ocean is in use.

virtual void makVrv::DtOsgIntersectionVisitor::apply ( osg::Group &  group)
virtual

Check for DtTerrainPatchGroup if useHighLodForOsgEarth is true If found and the patch is an osgEarth patch, use its getTerrainIntersection call.

virtual void makVrv::DtOsgIntersectionVisitor::apply ( osg::Node &  node)
virtual

Check for nodes that are marked as extracted ocean.

virtual void makVrv::DtOsgIntersectionVisitor::apply ( osg::Geode &  geode)
virtual
virtual void makVrv::DtOsgIntersectionVisitor::osgEarthIntersect ( DtOsgTerrainPatchObject tpo)
protectedvirtual

Member Data Documentation

bool makVrv::DtOsgIntersectionVisitor::myUseHighLodForOsgEarth
protected
bool makVrv::DtOsgIntersectionVisitor::myAboveOceanLODAltitude
protected
bool makVrv::DtOsgIntersectionVisitor::myCheckForOcean
protected

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

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)