VR-Forces 4.6 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Types | Public Member Functions | Protected Member Functions | Protected Attributes

LOD node that switches by observer elevation ranges. More...

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

Public Types

enum  TraversalState { TraverseAlways, TraverseNever, TraverseAboveDisplayRange, TraverseBelowDisplayRange }

Public Member Functions

 DtTritonGroup (DtDe &de, double displayRange)
 CTOR.
 DtTritonGroup (const DtTritonGroup &obj, const osg::CopyOp &copyop=osg::CopyOp::SHALLOW_COPY)
 Copy constructor using CopyOp to manage deep vs shallow copy.
virtual void traverse (osg::NodeVisitor &nv)
 Override traverse to cull out this node when outside elevation range.
virtual void setElevationRange (double newRange)
 Modify the elevation range.
virtual void setTraversalState (TraversalState state)
 Set how the node uses observer altitude information.

Protected Member Functions

virtual void doDynamicWaterVisibility (double altitude, const DtOsgCullVisitorParameters *cullParams) const
virtual void resetFogState (osg::ref_ptr< osg::Camera > camera)
virtual void setReflectionState (bool enabled)

Protected Attributes

double myDisplayRange
TraversalState myTraversalState
DtDemyDe
bool myFirstTraversalFlag

Detailed Description

LOD node that switches by observer elevation ranges.

Member Enumeration Documentation

Enumerator:
TraverseAlways 
TraverseNever 
TraverseAboveDisplayRange 
TraverseBelowDisplayRange 

Constructor & Destructor Documentation

makVrv::DtTritonGroup::DtTritonGroup ( DtDe de,
double  displayRange 
)

CTOR.

makVrv::DtTritonGroup::DtTritonGroup ( const DtTritonGroup obj,
const osg::CopyOp &  copyop = osg::CopyOp::SHALLOW_COPY 
)

Copy constructor using CopyOp to manage deep vs shallow copy.

Member Function Documentation

virtual void makVrv::DtTritonGroup::traverse ( osg::NodeVisitor &  nv)
virtual

Override traverse to cull out this node when outside elevation range.

virtual void makVrv::DtTritonGroup::setElevationRange ( double  newRange)
virtual

Modify the elevation range.

virtual void makVrv::DtTritonGroup::setTraversalState ( TraversalState  state)
virtual

Set how the node uses observer altitude information.

virtual void makVrv::DtTritonGroup::doDynamicWaterVisibility ( double  altitude,
const DtOsgCullVisitorParameters cullParams 
) const
protectedvirtual
virtual void makVrv::DtTritonGroup::resetFogState ( osg::ref_ptr< osg::Camera >  camera)
protectedvirtual
virtual void makVrv::DtTritonGroup::setReflectionState ( bool  enabled)
protectedvirtual

Member Data Documentation

double makVrv::DtTritonGroup::myDisplayRange
protected
TraversalState makVrv::DtTritonGroup::myTraversalState
protected
DtDe& makVrv::DtTritonGroup::myDe
protected
bool makVrv::DtTritonGroup::myFirstTraversalFlag
protected

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

Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)