VR-Forces 5.0.3 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtAttachableRangeLineTextUpdater.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2013 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
8 
9 #pragma once
10 
13 
17 {
18 public:
21 
24 
26  virtual void update(double);
27 
30  virtual void setComputeToNextPoint(bool);
31 
33  virtual void setParentId(makVrv::DtUniqueID);
34 
35 protected:
38  virtual double calculateRange();
39 
40 protected:
43  double myLastRange;
47 };
bool myStopChecking
Definition: DtAttachableRangeLineTextUpdater.h:45
This class will compute the range from this to the next or previous point and then update the attache...
Definition: DtAttachableRangeLineTextUpdater.h:16
double myLastRange
Definition: DtAttachableRangeLineTextUpdater.h:43
Contains the makVrv::DtAttachableUpdater class declaration.
int mySourceIndex
Definition: DtAttachableRangeLineTextUpdater.h:44
Contains the DtDisplayUnitsSettingsManager class declaration.
bool myComputeToNextPoint
Definition: DtAttachableRangeLineTextUpdater.h:41
DistanceUnits
Enumeration of the different distance units.
Definition: DtDisplayUnitsSettingsRecord.h:56
A DtAttachableUpdater updates a scene an object that can be positioned in the scene by (possibly) att...
Definition: DtAttachableUpdater.h:33
virtual void setComputeToNextPoint(bool)
Set whether or not to compute to the next or previous point. Default is false – compute to previous p...
DtAttachableRangeLineTextUpdater(makVrv::DtDe &de, makVrv::DtUniqueID id)
CTOR.
virtual void setParentId(makVrv::DtUniqueID)
The ID of the line object we are looking at for range calculations.
makVrv::DtUniqueID myParentId
Definition: DtAttachableRangeLineTextUpdater.h:42
virtual double calculateRange()
Given the parent ID and our position, attempt to find out index and calculate the range...
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:70
makVrv::DtDisplayUnitsConverter::DistanceUnits myDistanceUnits
Definition: DtAttachableRangeLineTextUpdater.h:46
virtual void update(double)
Called to calculate the range.
virtual ~DtAttachableRangeLineTextUpdater()
DTOR.

Document ID: Generated on Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)