VR-Forces 5.0.1 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtSharedAggregateDisplaySettings.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * Copyright (c) 2021 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;
23  class DtSharedAggregateDisplaySettings;
25 
28 
32  : public DtSharedSettings
33  {
34  public:
35 
38 
41 
43  virtual bool displayAggregates() const;
45  virtual void setDisplayAggregates( bool enabled );
46 
48  virtual bool displayAggregateLeafNodes() const;
50  virtual void setDisplayAggregateLeafNodes( bool enabled );
51 
53  virtual bool displayInitiallyExpanded() const;
55  virtual void setDisplayInitiallyExpanded( bool enabled );
56 
58  virtual bool displayAggregateBoundingBoxes() const;
60  virtual void setDisplayAggregateBoundingBoxes( bool enabled );
61 
63  virtual bool displayAggregateBoundingBoxesForSelected() const;
65  virtual void setDisplayAggregateBoundingBoxesForSelected( bool enabled );
66 
68  virtual bool displayMainIcon() const;
70  virtual void setDisplayMainIcon( bool enabled );
71 
73  virtual bool ghostEchelonLevelItems() const;
75  virtual void setGhostEchelonLevelItems( bool enabled );
76 
78  virtual bool ghostEchelonLevelItemLabels() const;
80  virtual void setGhostEchelonLevelItemLabels(bool enabled);
81 
83  virtual bool allowSelectionOfGhostedItems() const;
85  virtual void setAllowSelectionOfGhostedItems( bool enabled );
86 
88  virtual int echelonLevel() const;
90  virtual void setEchelonLevel( int level );
91 
93  virtual double ghostingTransparency() const;
95  virtual void setGhostingTransparency( double transparency );
96 
98  virtual DtColorizedModelColorType colorizedModelColorTypeForAggregates() const;
100  virtual void setColorizedModelColorTypeForAggregates( DtColorizedModelColorType type );
101 
103 
105  void setFromRecord( const makArchives::DtAggregateSettingsRecord& rec );
106 
108  void getRecord( makArchives::DtAggregateSettingsRecord& rec ) const;
109 
111  virtual const DtAggregateStateSettingsBackup* settingsBackup() const;
112 
114  virtual DtAggregateStateSettingsBackup* settingsBackup();
115 
117  virtual void backup();
118 
120  static const std::string& className();
121 
122  protected:
123 
128 
131 
132  protected:
133 
134  int myFlags;
138 
140 
141  };
142 
143 }
a read settings lock on a setting object. The object can only get read access aka const functions...
Definition: DtReadSettingsLock.h:48
DtSharedRecordSettingsBackup< DtSharedAggregateDisplaySettings, makArchives::DtAggregateSettingsRecord > DtAggregateStateSettingsBackup
Definition: DtSharedAggregateDisplaySettings.h:24
DT_DLL_VRVCORE DtTaitBryan level(const DtCoordinateSystem &cs, const DtVector &localOrigin, double topoHeading)
Returns a level orientation with the topographic heading.
DtColorizedModelColorType
Enumeration for the model coloring mode.
Definition: DtSharedEntityDisplaySettings.h:34
int myEchelonLevel
Definition: DtSharedAggregateDisplaySettings.h:135
The shared settings manager, is the global object responsible for managing any shared settings object...
Definition: DtSharedSettingsManager.h:42
int myFlags
Definition: DtSharedAggregateDisplaySettings.h:134
The shared aggregate display settings object.
Definition: DtSharedAggregateDisplaySettings.h:31
The base class for all shared settings. Actual settings class should have the following members/decla...
Definition: DtSharedSettings.h:45
DtColorizedModelColorType myColorizedModelColorType
Definition: DtSharedAggregateDisplaySettings.h:137
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
Contains the DtSharedSettings class declaration.
a write settings lock on a setting object. The object can be read and modified, but no other threads ...
Definition: DtWriteSettingsLock.h:47
double myGhostingTransparency
Definition: DtSharedAggregateDisplaySettings.h:136
Record class for aggregate settings.
Definition: DtAggregateSettingsRecord.h:19
DtAggregateStateSettingsBackup * myAggregateSettingsBackup
Definition: DtSharedAggregateDisplaySettings.h:139
The makVrv::DtSharedRecordSettingsBackup is a templaced class that settings records will use in order...
Definition: DtRecordSettingsBackup.h:197
Contains the DtAggregateSettingsRecord class declaration.
Contains DLL export macros.

Document ID: Generated on Mon Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)