VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DtSharedAggregateDisplaySettingsManager.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>
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 
45  virtual bool displayAggregates() const;
46  virtual void setDisplayAggregates( bool enabled );
47 
48  virtual bool displayAggregateLeafNodes() const;
49  virtual void setDisplayAggregateLeafNodes( bool enabled );
50 
51  virtual bool displayAggregateBoundingBoxes() const;
52  virtual void setDisplayAggregateBoundingBoxes( bool enabled );
53 
54  virtual bool displayAggregateBoundingBoxesForSelected() const;
55  virtual void setDisplayAggregateBoundingBoxesForSelected( bool enabled );
56 
57  virtual bool displayMainIcon() const;
58  virtual void setDisplayMainIcon( bool enabled );
59 
60  virtual bool ghostEchelonLevelItems() const;
61  virtual void setGhostEchelonLevelItems( bool enabled );
62 
63  virtual bool allowSelectionOfGhostedItems() const;
64  virtual void setAllowSelectionOfGhostedItems( bool enabled );
65 
66  virtual int echelonLevel() const;
67  virtual void setEchelonLevel( int level );
68 
69  virtual DtSharedAggregateDisplaySettings::ColorizedModelColorType colorizedModelColorTypeForAggregates() const;
70  virtual void setColorizedModelColorTypeForAggregates( DtSharedAggregateDisplaySettings::ColorizedModelColorType type );
71 
73 
74  protected:
75 
77  template <typename ManagerClass>
78  friend ManagerClass& defaultManagerInstanceFunction( DtDe&, bool );
79 
81  template <typename ManagerClass>
82  friend void defaultManagerRegisterInstanceFunction( DtDe&, ManagerClass* );
83 
86 
88  virtual void slot_backupRestored( const DtSettingsBackup* s );
89 
90  };
91 
92 }

Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)