VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtSharedAggregateDisplaySettingsManager.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>
13 
15 
17 
19 
20 using namespace makArchives;
21 
22 namespace makVrv
23 {
24  enum class DtColorizedModelColorType;
25 
29  : public DtBaseSharedSettingsManager<makArchives::DtAggregateSettingsRecord,
30  DtSharedAggregateDisplaySettings>
31  {
32  public:
33 
35  static DtSharedAggregateDisplaySettingsManager& instance( DtDe& de );
36 
39 
41  void connectInputSignals();
42 
45 
47  virtual bool displayInitiallyExpanded() const;
49  virtual void setDisplayInitiallyExpanded( bool enabled );
50 
51  virtual bool displayAggregates() const;
52  virtual void setDisplayAggregates( bool enabled );
53 
54  virtual bool displayAggregateLeafNodes() const;
55  virtual void setDisplayAggregateLeafNodes( bool enabled );
56 
57  virtual bool displayAggregateBoundingBoxes() const;
58  virtual void setDisplayAggregateBoundingBoxes( bool enabled );
59 
60  virtual bool displayAggregateBoundingBoxesForSelected() const;
61  virtual void setDisplayAggregateBoundingBoxesForSelected( bool enabled );
62 
63  virtual bool displayMainIcon() const;
64  virtual void setDisplayMainIcon( bool enabled );
65 
66  virtual bool ghostEchelonLevelItems() const;
67  virtual void setGhostEchelonLevelItems( bool enabled );
68 
69  virtual bool ghostEchelonLevelItemLabels() const;
70  virtual void setGhostEchelonLevelItemLabels(bool enabled);
71 
72  virtual bool allowSelectionOfGhostedItems() const;
73  virtual void setAllowSelectionOfGhostedItems( bool enabled );
74 
75  virtual int echelonLevel() const;
76  virtual void setEchelonLevel( int level );
77 
78  virtual DtColorizedModelColorType colorizedModelColorTypeForAggregates() const;
79  virtual void setColorizedModelColorTypeForAggregates( DtColorizedModelColorType type );
80 
82 
83  protected:
84 
86  template <typename ManagerClass>
87  friend ManagerClass& defaultManagerInstanceFunction( DtDe&, bool );
88 
90  template <typename ManagerClass>
91  friend void defaultManagerRegisterInstanceFunction( DtDe&, ManagerClass* );
92 
95 
97  virtual void slot_backupRestored( const DtSettingsBackup* s );
98 
99  };
100 
101 }
Base class for shared settings managers. Extends the functionality provided by the DtCommonBaseSettin...
Definition: DtBaseSettingsManager.h:372
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:38
Settings manager for handling aggregate display settings.
Definition: DtSharedAggregateDisplaySettingsManager.h:28
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
void defaultManagerRegisterInstanceFunction(DtDe &de, ManagerClass *mgr)
Default implementation of how to register a manager, especially necessary when overriding the manager...
Definition: DtDe.h:882
Provides a method of doign settings backup.
Definition: DtSettingsBackup.h:23
ManagerClass & defaultManagerInstanceFunction(DtDe &de, bool allowedInSlave)
default Manager instance function. Manager requirements: 1) Static instance function 2) Protected DtS...
Definition: DtDe.h:844
Contains the DtSharedAggregateDisplaySettings class declaration.
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:72
Contains the DtAggregateSettingsRecord class declaration.
Contains the DtBaseSettingsManager class declaration.
Contains DLL export macros.

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)