VR-Forces 4.6 Class Documentation
 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) 2017 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 get3DPerspectiveIconTooltip();
92 
94  virtual const DtUnicode get3DPerspectiveIconFilePath(DtDe& de);
95 
97  virtual const DtUnicode getAssociatedToTerrainIconTooltip();
98 
100  virtual const DtUnicode getAssociatedToTerrainIconFilePath(DtDe& de);
101 
103  virtual const DtUnicode getDefaultAssociatedToTerrainIconTooltip();
104 
106  virtual const DtUnicode getDefaultAssociatedToTerrainIconFilePath(DtDe& de);
107 
108  protected:
109 
110 
113 
114 
115 
116  protected:
117 
123  };
124 
125 
130  {
131 
132  public:
133 
136 
138  DtObserverViewIcon(const DtUnicode& toolTiptex, const DtUnicode& iconFilePath);
139 
142 
144  const DtUnicode& toolTiptext() const;
145 
147  void setToolTipText(const DtUnicode& val);
148 
150  const DtUnicode& iconFilePath() const;
151 
153  void setIconFilePath(const DtUnicode& val);
154 
155 
156  protected:
159  };
160 
163  {
164  public:
165 
167 
170  static DtObserverViewInfoViewerDataCreator& instance(DtDe& de);
171 
172  static void registerInstance(DtDe& de, DtObserverViewInfoViewerDataCreator* instance);
173 
175  virtual DtObserverViewInfoViewerData* create();
176 
177 
178 
179  };
180 }
181 

Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)