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

A DtAttachableHatUpdater updates a height above terrain (HAT) object that can be positioned in the scene by (possibly) attaching it to another object. More...

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

List of all members.

Public Member Functions

 DtAttachableHatUpdater (DtDe &de, DtUniqueID id)
 CTOR.
virtual ~DtAttachableHatUpdater ()
 DTOR.
virtual void update (double simTime)
 Update the scene object.
virtual void setUseHighestTerrainLod (bool useHighest)
 Set whether the line is to currently visible terrain LOD or to highest available terrain LOD.

Protected Member Functions

virtual bool useHighestTerrainLod () const
 Get whether line is to currently visible terrain LOD or to highest available terrain LOD.

Protected Attributes

DtVector myLastTopPos
DtTaitBryan myLastTopOri
bool myUseHighestTerrainLod

Detailed Description

A DtAttachableHatUpdater updates a height above terrain (HAT) object that can be positioned in the scene by (possibly) attaching it to another object.

The scene object's first transform is updated with the position indicated by the attachment, and its second transform is set to the position of the underlying terrain directly below the first transform.


Constructor & Destructor Documentation

CTOR.

DTOR.


Member Function Documentation

virtual void makVrv::DtAttachableHatUpdater::update ( double  simTime) [virtual]

Update the scene object.

Reimplemented from makVrv::DtAttachableUpdater.

virtual void makVrv::DtAttachableHatUpdater::setUseHighestTerrainLod ( bool  useHighest) [virtual]

Set whether the line is to currently visible terrain LOD or to highest available terrain LOD.

virtual bool makVrv::DtAttachableHatUpdater::useHighestTerrainLod ( ) const [protected, virtual]

Get whether line is to currently visible terrain LOD or to highest available terrain LOD.


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)