VR-Forces 4.6.1 Class Documentation
 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) 2017 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 
28  : public DtBaseSharedSettingsManager<makArchives::DtAggregateSettingsRecord,
29  DtSharedAggregateDisplaySettings>
30  {
31  public:
32 
34  static DtSharedAggregateDisplaySettingsManager& instance( DtDe& de );
35 
38 
40  void connectInputSignals();
41 
44 
46  virtual bool displayInitiallyExpanded() const;
48  virtual void setDisplayInitiallyExpanded( bool enabled );
49 
50  virtual bool displayAggregates() const;
51  virtual void setDisplayAggregates( bool enabled );
52 
53  virtual bool displayAggregateLeafNodes() const;
54  virtual void setDisplayAggregateLeafNodes( bool enabled );
55 
56  virtual bool displayAggregateBoundingBoxes() const;
57  virtual void setDisplayAggregateBoundingBoxes( bool enabled );
58 
59  virtual bool displayAggregateBoundingBoxesForSelected() const;
60  virtual void setDisplayAggregateBoundingBoxesForSelected( bool enabled );
61 
62  virtual bool displayMainIcon() const;
63  virtual void setDisplayMainIcon( bool enabled );
64 
65  virtual bool ghostEchelonLevelItems() const;
66  virtual void setGhostEchelonLevelItems( bool enabled );
67 
68  virtual bool allowSelectionOfGhostedItems() const;
69  virtual void setAllowSelectionOfGhostedItems( bool enabled );
70 
71  virtual int echelonLevel() const;
72  virtual void setEchelonLevel( int level );
73 
74  virtual DtSharedAggregateDisplaySettings::ColorizedModelColorType colorizedModelColorTypeForAggregates() const;
75  virtual void setColorizedModelColorTypeForAggregates( DtSharedAggregateDisplaySettings::ColorizedModelColorType type );
76 
78 
79  protected:
80 
82  template <typename ManagerClass>
83  friend ManagerClass& defaultManagerInstanceFunction( DtDe&, bool );
84 
86  template <typename ManagerClass>
87  friend void defaultManagerRegisterInstanceFunction( DtDe&, ManagerClass* );
88 
91 
93  virtual void slot_backupRestored( const DtSettingsBackup* s );
94 
95  };
96 
97 }

Document ID: Generated on Wed Jul 25 16:57:45 EDT 2018 from SVN revision 190790
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)