VR-Forces 4.0.4 Class Documentation
Classes | Public Member Functions | Protected Member Functions | Protected Attributes
exampleRangeLine::DtAttachableRangeTextUpdater Class Reference

A DtAttachableRangeTextUpdater is used to update a text widget with a range between two points (fixed or attached) More...

Inheritance diagram for exampleRangeLine::DtAttachableRangeTextUpdater:
Inheritance graph
[legend]

List of all members.

Classes

struct  RangePointInformation
 If id is non-zero, will try and use that, else will use the position. More...

Public Member Functions

 DtAttachableRangeTextUpdater (makVrv::DtDe &de, makVrv::DtUniqueID id)
 CTOR.
virtual ~DtAttachableRangeTextUpdater ()
 DTOR.
virtual void update (double simTime)
 Update the scene object.
virtual void setRangeFrom (makVrv::DtUniqueID fromID)
 If attached (from), sets the from point.
virtual void setRangeFrom (const DtVector &fromPoint)
 If not attached, sets the from position.
virtual void setRangeTo (makVrv::DtUniqueID toID)
 If attached, sets the to point.
virtual void setRangeTo (const DtVector &toPoint)
 If not attached, sets the to position.
virtual void updateWidgetLabel (makVrv::DtWidgetLabel *widgetLabel, double distanceInMeters)
virtual DtVector position (const RangePointInformation &, double simTime) const
 Returns position from information.

Protected Member Functions

virtual void cleanup (RangePointInformation &, bool isFrom)
virtual void slot_attachedUpdaterToBeDeleted (const makVrv::DtUniqueID &id, bool isFrom)
virtual void slot_attachedSceneObjectToBeDeleted (const makVrv::DtUniqueID &id, bool isFrom)

Protected Attributes

RangePointInformation myRangeFrom
RangePointInformation myRangeTo

Detailed Description

A DtAttachableRangeTextUpdater is used to update a text widget with a range between two points (fixed or attached)


Constructor & Destructor Documentation

CTOR.

DTOR.


Member Function Documentation

virtual void exampleRangeLine::DtAttachableRangeTextUpdater::update ( double  simTime) [virtual]

Update the scene object.

Reimplemented from makVrv::DtAttachableUpdater.

If attached (from), sets the from point.

virtual void exampleRangeLine::DtAttachableRangeTextUpdater::setRangeFrom ( const DtVector fromPoint) [virtual]

If not attached, sets the from position.

If attached, sets the to point.

virtual void exampleRangeLine::DtAttachableRangeTextUpdater::setRangeTo ( const DtVector toPoint) [virtual]

If not attached, sets the to position.

virtual void exampleRangeLine::DtAttachableRangeTextUpdater::updateWidgetLabel ( makVrv::DtWidgetLabel widgetLabel,
double  distanceInMeters 
) [virtual]
virtual DtVector exampleRangeLine::DtAttachableRangeTextUpdater::position ( const RangePointInformation ,
double  simTime 
) const [virtual]

Returns position from information.

virtual void exampleRangeLine::DtAttachableRangeTextUpdater::cleanup ( RangePointInformation ,
bool  isFrom 
) [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)