VR-Forces 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 
23  virtual ~DtAttachableRangeLineTextUpdater() override;
24 
26  virtual void update(double) override;
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
virtual ~DtAttachableRangeLineTextUpdater() override
DTOR.
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:57
A DtAttachableUpdater updates a scene an object that can be positioned in the scene by (possibly) att...
Definition: DtAttachableUpdater.h:35
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.
unsigned long long DtUniqueID
Definition: DtUniqueID.h:19
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...
virtual void update(double) override
Called to 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:76
makVrv::DtDisplayUnitsConverter::DistanceUnits myDistanceUnits
Definition: DtAttachableRangeLineTextUpdater.h:46

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)