VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DtSharedEntityDisplaySettings.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>
16 
17 class DtEntityType;
18 
19 namespace makVrv
20 {
22 
25 
29  : public DtSharedSettings
30  {
31  public:
32 
35  {
36  ShowHatForAll = 0,
37  ShowHatForSelected = 1
38  };
39 
42  {
43  UsePrimaryColors = 0,
44  UseIconColors = 1
45  };
46 
47  public:
48 
51 
54 
55  bool groundClampingEnabled() const;
56  void setGroundClampingEnabled( bool enabled );
57 
58  float groundClampingRadiusScale() const;
59  void setGroundClampingRadiusScale( float scale );
60 
61  bool groundClampingCullingEnabled() const;
62  void setGroundClampingCullingEnabled( bool enabled );
63 
64  bool orientationClampingEnabled() const;
65  void setOrientationClampingEnabled( bool enabled );
66 
67  bool lifeformsUprightEnabled() const;
68  void setLifeformsUprightEnabled( bool enabled );
69 
70  bool smoothingEnabled() const;
71  void setSmoothingEnabled( bool enabled );
72 
73  float smoothingPeriod() const;
74  void setSmoothingPeriod( float period );
75 
76  bool entityIndicatorEnabled() const;
77  void setEntityIndicatorEnabled( bool shown );
78 
79  bool rotateEntitySymbols() const;
80  void setRotateEntitySymbols( bool shown );
81 
82  bool showStealthsEnabled() const;
83  void setShowStealthsEnabled( bool enabled );
84 
85  bool infoPopupsOnSelectEnabled() const;
86  void setInfoPopupsOnSelectEnabled( bool enabled );
87 
88  bool fireDetonateLinesEnabled() const;
89  void setFireDetonateLinesEnabled( bool enabled );
90 
91  bool entityEmitterVolumesEnabled() const;
92  void setEntityEmitterVolumesEnabled( bool enabled );
93 
94  bool entityHeightAboveTerrainLinesEnabled() const;
95  void setEntityHeightAboveTerrainLinesEnabled( bool enabled );
96 
97  HeightAboveTerrainMode entityHeightAboveTerrainMode() const;
98  void setEntityHeightAboveTerrainMode( HeightAboveTerrainMode mode );
99 
100  bool entitySimDataEnabled() const;
101  void setEntitySimDataEnabled( bool enabled );
102 
103  ColorizedModelColorType colorizedModelColorType() const;
104  void setColorizedModelColorType( ColorizedModelColorType colorType );
105 
106  float entityIconScale() const;
107  void setEntityIconScale( float scale );
108 
109  bool hideEmbarked2DObjects() const;
110  void setHideEmbarked2DObjects( bool hide );
111 
112  bool entityOceanWakesEnabled() const;
113  void setEntityOceanWakesEnabled( bool enabled );
114 
115  bool entityHullSprayEffectsEnabled() const;
116  void setEntityHullSprayEffectsEnabled( bool enabled );
117 
118  bool entityBuoyancyModelsEnabled() const;
119  void setEntityBuoyancyModelsEnabled( bool enabled );
120 
121  bool buoyAndBeaconIconsEnabled() const;
122  void setBuoyAndBeaconIconsEnabled( bool enabled );
123 
124 
126 
128  void setFromRecord( const makArchives::DtEntitySettingsRecord& rec );
129 
131  void getRecord( makArchives::DtEntitySettingsRecord& rec ) const;
132 
134  virtual const DtEntityStateSettingsBackup* settingsBackup() const;
135 
137  virtual DtEntityStateSettingsBackup* settingsBackup();
138 
140  virtual void backup();
141 
143  static std::string className();
144 
145  protected:
146 
151 
154 
155  protected:
156 
180 
182  };
183 
184 }

Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)