VR-Forces 5.0.1 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtObserverViewInfoViewerData.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2021 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvCore/vrvCore.h>
13 
15 
17 #include <vrvUtil/DtUnicode.h>
18 
20 
21 
22 namespace makVrv
23 {
24 
25  class DtDe;
26  class DtObserverViewIcon;
27 
28 
33  {
35  public:
36 
37  typedef std::vector<DtObserverViewIcon*> ObserserIconsInfoVector;
38 
39 
42 
44  bool isDefaultObserver() const;
45 
47  void setIsDefaultObserver(bool val);
48 
51  bool isObserverAssociatedToTerrain() const;
52 
54  void setIsObserverAssociatedToTerrain(bool val);
55 
57  DtObserverViewsManager::ViewProjection observerProjection() const;
58 
60  void setObserverProjection(DtObserverViewsManager::ViewProjection projection);
61 
63  const std::string& observerDisplayName() const;
64 
66  void setObserverDisplayName(const std::string& val);
67 
70  virtual bool buildFromRecord(DtDe& de, const makArchives::DtObserverStateRecord&,
72 
73  //virtual void
74 
76  const ObserserIconsInfoVector& icons() const;
77 
79  void setIcons(const ObserserIconsInfoVector& val);
80 
83 
85  virtual const DtUnicode get2DPerspectiveIconTooltip();
86 
88  virtual const DtUnicode get2DPerspectiveIconFilePath(DtDe& de);
89 
91  virtual const DtUnicode get2DPerspectiveIconFileName();
92 
94  virtual const DtUnicode get3DPerspectiveIconTooltip();
95 
97  virtual const DtUnicode get3DPerspectiveIconFilePath(DtDe& de);
98 
100  virtual const DtUnicode get3DPerspectiveIconFileName();
101 
103  virtual const DtUnicode getAssociatedToTerrainIconTooltip();
104 
106  virtual const DtUnicode getAssociatedToTerrainIconFilePath(DtDe& de);
107 
109  virtual const DtUnicode getAssociatedToTerrainIconFileName();
110 
112  virtual const DtUnicode getDefaultAssociatedToTerrainIconTooltip();
113 
115  virtual const DtUnicode getDefaultAssociatedToTerrainIconFilePath(DtDe& de);
116 
118  virtual const DtUnicode getDefaultAssociatedToTerrainIconFileName();
119 
120  protected:
121 
122 
125 
126 
127 
128  protected:
129 
135  };
136 
137 
142  {
143 
144  public:
145 
148 
150  DtObserverViewIcon(const DtUnicode& toolTiptex, const DtUnicode& iconFilePath);
151 
154 
156  const DtUnicode& toolTiptext() const;
157 
159  void setToolTipText(const DtUnicode& val);
160 
162  const DtUnicode& iconFilePath() const;
163 
165  void setIconFilePath(const DtUnicode& val);
166 
168  const DtUnicode& iconFileName() const;
169 
171  void setIconFileName(const DtUnicode& val);
172 
173  protected:
177  };
178 
181  {
182  public:
183 
185 
188  static DtObserverViewInfoViewerDataCreator& instance(DtDe& de);
189 
190  static void registerInstance(DtDe& de, DtObserverViewInfoViewerDataCreator* instance);
191 
193  virtual DtObserverViewInfoViewerData* create();
194 
195 
196 
197  };
198 }
199 
DtUnicode myIconFileName
Definition: DtObserverViewInfoViewerData.h:176
helper class to wrap the observer view icon and tooltip makVrv::DtObserverViewIcon.
Definition: DtObserverViewInfoViewerData.h:141
Virtual base class. Allows for RTTI and proper virtual destruction. Used by Creators, Factories, Providers, Assemblers and User Interfaces.
Definition: DtVirtualBaseClass.h:19
A unicode string. DtUnicode stores a UTF-16 encoded unicode string. Code Point, a Unicode character...
Definition: DtUnicode.h:33
std::vector< DtObserverViewIcon * > ObserserIconsInfoVector
Definition: DtObserverViewInfoViewerData.h:37
A DtObserverSettingsRecord contains the state of an observer.
Definition: DtObserverStateRecord.h:20
std::string myObserverDisplayName
Definition: DtObserverViewInfoViewerData.h:131
ObserserIconsInfoVector myIcons
Definition: DtObserverViewInfoViewerData.h:130
bool myIsObserverAssociatedToTerrain
Definition: DtObserverViewInfoViewerData.h:134
DtObserverViewsManager::ViewProjection myObserverProjection
Definition: DtObserverViewInfoViewerData.h:132
bool myIsDefaultObserver
Definition: DtObserverViewInfoViewerData.h:133
Contains makVrv::DtVirtualBaseClass class.
DtUnicode myIconFilePath
Definition: DtObserverViewInfoViewerData.h:175
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
Contains makArchives::DtObserverStateRecord class.
Contains makVrv::DtObserverViewsManager class.
helper class to wrap and send the data in the DtObserverViewWidget makVrv::DtObserverViewInfoViewerDa...
Definition: DtObserverViewInfoViewerData.h:32
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
Creator of the class DtObserverViewInfoViewerData.
Definition: DtObserverViewInfoViewerData.h:180
DtUnicode myToolTipText
Definition: DtObserverViewInfoViewerData.h:174
ViewProjection
Definition: DtObserverViewsManager.h:35
Contains DLL export macros.

Document ID: Generated on Mon Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)