VR-Forces 4.1.1 Class Documentation
DtSharedEntityDisplaySettings.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * Copyright (c) 2013 MAK Technologies, Inc.
3  * All rights reserved.
4  *****************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvVrl/vrvVrl.h>
16 
17 class DtEntityType;
18 
19 namespace makVrv
20 {
21 
22  class DtEntityTypeMapper;
24 
27 
31  : public DtSharedSettings
32  {
33  public:
34 
37  {
38  ShowHatForAll = 0,
39  ShowHatForSelected = 1
40  };
41 
44  {
45  UsePrimaryColors = 0,
46  UseIconColors = 1
47  };
48 
49  public:
50 
53 
56 
57  bool groundClampingEnabled() const;
58  void setGroundClampingEnabled( bool enabled );
59 
60  float groundClampingRadiusScale() const;
61  void setGroundClampingRadiusScale( float scale );
62 
63  bool groundClampingCullingEnabled() const;
64  void setGroundClampingCullingEnabled( bool enabled );
65 
66  bool orientationClampingEnabled() const;
67  void setOrientationClampingEnabled( bool enabled );
68 
69  bool lifeformsUprightEnabled() const;
70  void setLifeformsUprightEnabled( bool enabled );
71 
72  bool smoothingEnabled() const;
73  void setSmoothingEnabled( bool enabled );
74 
75  float smoothingPeriod() const;
76  void setSmoothingPeriod( float period );
77 
78  bool entityIndicatorEnabled() const;
79  void setEntityIndicatorEnabled( bool shown );
80 
81  bool rotateEntitySymbols() const;
82  void setRotateEntitySymbols( bool shown );
83 
84  bool showStealthsEnabled() const;
85  void setShowStealthsEnabled( bool enabled );
86 
87  bool infoPopupsOnSelectEnabled() const;
88  void setInfoPopupsOnSelectEnabled( bool enabled );
89 
90  bool fireDetonateLinesEnabled() const;
91  void setFireDetonateLinesEnabled( bool enabled );
92 
93  bool entityEmitterVolumesEnabled() const;
94  void setEntityEmitterVolumesEnabled( bool enabled );
95 
96  bool entityHeightAboveTerrainLinesEnabled() const;
97  void setEntityHeightAboveTerrainLinesEnabled( bool enabled );
98 
99  HeightAboveTerrainMode entityHeightAboveTerrainMode() const;
100  void setEntityHeightAboveTerrainMode( HeightAboveTerrainMode mode );
101 
102  bool entitySimDataEnabled() const;
103  void setEntitySimDataEnabled( bool enabled );
104 
105  ColorizedModelColorType colorizedModelColorType() const;
106  void setColorizedModelColorType( ColorizedModelColorType colorType );
107 
108  float entityIconScale() const;
109  void setEntityIconScale( float scale );
110 
111  bool hideEmbarked2DObjects() const;
112  void setHideEmbarked2DObjects( bool hide );
113 
115 
117  void setFromRecord( const makArchives::DtEntitySettingsRecord& rec );
118 
120  void getRecord( makArchives::DtEntitySettingsRecord& rec ) const;
121 
123  virtual const DtEntityStateSettingsBackup* settingsBackup() const;
124 
126  virtual DtEntityStateSettingsBackup* settingsBackup();
127 
129  virtual void backup();
130 
132  static std::string className();
133 
134  protected:
135 
140 
143 
144  protected:
145 
165 
167 
168  };
169 
170 }

Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)