VR-Forces 4.8 Class Documentation
 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:53
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.
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.
unsigned long long DtUniqueID
Definition: DtUniqueID.h:22
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.
Definition: DtDe.h:69
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 Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)