VR-Forces 4.6 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtSharedTacticalGraphicsDisplaySettings.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * Copyright (c) 2014 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 {
21 
22  class DtEntityTypeMapper;
24 
27 
31  : public DtSharedSettings
32  {
33  public:
34 
36  {
37  ShowHatForAll=0,
38  ShowHatForSelected=1
39  };
40 
41  public:
42 
45 
48 
49  bool tacticalGraphicsEnabled() const;
50  void setTacticalGraphicsEnabled( bool enabled );
51 
52  bool tacticalGraphicsIndicatorsEnabled() const;
53  void setTacticalGraphicsIndicatorsEnabled( bool enabled );
54 
55  bool tacticalGraphicsHeightAboveTerrainLinesEnabled() const;
56  void setTacticalGraphicsHeightAboveTerrainLinesEnabled( bool enabled );
57 
58  HeightAboveTerrainMode tacticalGraphicsHeightAboveTerrainMode() const;
59  void setTacticalGraphicsHeightAboveTerrainMode( HeightAboveTerrainMode mode );
60 
61  bool remoteGraphicsEnabled() const;
62  void setRemoteGraphicsEnabled( bool enabled );
63 
65 
67  void setFromRecord( const makArchives::DtTacticalGraphicsSettingsRecord& rec );
68 
70  void getRecord( makArchives::DtTacticalGraphicsSettingsRecord& rec ) const;
71 
73  const DtTacticalGraphicsSettingsBackup* settingsBackup() const;
74 
76  DtTacticalGraphicsSettingsBackup* settingsBackup();
77 
79  virtual void backup();
80 
82  static std::string className();
83 
85  static std::string classType();
86 
88  static std::string displayName();
89 
90  protected:
91 
96 
99 
100  protected:
101 
108 
110 
111  };
112 
113 }

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)