VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtAttachableHatTextUpdater.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * Copyright (c) 2015 MAK Technologies, Inc.
3  * All rights reserved.
4  *****************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvCore/vrvCore.h>
13 
16 #include <vrvUtil/DtUnicode.h>
17 
18 namespace makVrv
19 {
20 
21  class DtDe;
22  class DtWidgetLabel;
23  class DtIntersectorResult;
24 
33  {
34  public:
35 
38 
40  virtual ~DtAttachableHatTextUpdater();
41 
43  virtual void update( double simTime );
44 
47  virtual void setUseHighestTerrainLod(bool useHighest);
48 
51  virtual bool useHighestTerrainLod() const;
52 
54  virtual void setTextProportion( double proportion );
55 
56  protected:
57 
59  virtual void updateWidgetLabel( DtWidgetLabel* widgetLabel,
60  double distanceInMeters );
61 
68  virtual DtVector findIntersect( const DtVector& start, const DtVector& up );
69 
70  protected:
71 
73  DtTaitBryan myLastTopOri;
79  };
80 
81 }
DtTaitBryan myLastTopOri
Definition: DtAttachableHatTextUpdater.h:73
DtDisplayUnitsConverter::DistanceUnits myLastAltUnits
Definition: DtAttachableHatTextUpdater.h:75
Contains the makVrv::DtAttachableUpdater class declaration.
bool myUseHighestTerrainLod
Definition: DtAttachableHatTextUpdater.h:76
Contains the DtDisplayUnitsSettingsManager class declaration.
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
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
This is the implementation independent widget class for showing text.
Definition: DtWidgetLabel.h:21
DtDisplayUnitsConverter & myDistConverter
Definition: DtAttachableHatTextUpdater.h:74
DtVector myTextOffset
Definition: DtAttachableHatTextUpdater.h:78
Utility class for doing global unit conversion.
Definition: DtDisplayUnitsSettingsManager.h:59
DtVector myLastTopPos
Definition: DtAttachableHatTextUpdater.h:72
unsigned long long DtUniqueID
Definition: DtUniqueID.h:22
A DtAttachableHatTextUpdater is used to update a HAT text object that can be positioned in the scene ...
Definition: DtAttachableHatTextUpdater.h:32
double myTextProportion
Definition: DtAttachableHatTextUpdater.h:77
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
Contains DLL export macros.

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)