VR-Forces 4.1 Class Documentation
DtSharedEntityDisplaySettings.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * Copyright (c) 2012 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 showStealthsEnabled() const;
82  void setShowStealthsEnabled( bool enabled );
83 
84  bool infoPopupsOnSelectEnabled() const;
85  void setInfoPopupsOnSelectEnabled( bool enabled );
86 
87  bool fireDetonateLinesEnabled() const;
88  void setFireDetonateLinesEnabled( bool enabled );
89 
90  bool entityEmitterVolumesEnabled() const;
91  void setEntityEmitterVolumesEnabled( bool enabled );
92 
93  bool entityHeightAboveTerrainLinesEnabled() const;
94  void setEntityHeightAboveTerrainLinesEnabled( bool enabled );
95 
96  HeightAboveTerrainMode entityHeightAboveTerrainMode() const;
97  void setEntityHeightAboveTerrainMode( HeightAboveTerrainMode mode );
98 
99  bool entitySimDataEnabled() const;
100  void setEntitySimDataEnabled( bool enabled );
101 
102  ColorizedModelColorType colorizedModelColorType() const;
103  void setColorizedModelColorType( ColorizedModelColorType colorType );
104 
105  float entityIconScale() const;
106  void setEntityIconScale( float scale );
107 
108  bool hideEmbarked2DObjects() const;
109  void setHideEmbarked2DObjects( bool hide );
110 
112 
114  void setFromRecord( const makArchives::DtEntitySettingsRecord& rec );
115 
117  void getRecord( makArchives::DtEntitySettingsRecord& rec ) const;
118 
120  virtual const DtEntityStateSettingsBackup* settingsBackup() const;
121 
123  virtual DtEntityStateSettingsBackup* settingsBackup();
124 
126  virtual void backup();
127 
129  static std::string className();
130 
131  protected:
132 
137 
140 
141  protected:
142 
161 
163 
164  };
165 
166 }

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)