VR-Forces 4.6 Class Documentation
 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) 2017 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  UsePrimaryColors=0,
38  UseIconColors=1
39  };
40 
41  public:
42 
45 
48 
50  virtual bool displayAggregates() const;
52  virtual void setDisplayAggregates( bool enabled );
53 
55  virtual bool displayAggregateLeafNodes() const;
57  virtual void setDisplayAggregateLeafNodes( bool enabled );
58 
60  virtual bool displayInitiallyExpanded() const;
62  virtual void setDisplayInitiallyExpanded( bool enabled );
63 
65  virtual bool displayAggregateBoundingBoxes() const;
67  virtual void setDisplayAggregateBoundingBoxes( bool enabled );
68 
70  virtual bool displayAggregateBoundingBoxesForSelected() const;
72  virtual void setDisplayAggregateBoundingBoxesForSelected( bool enabled );
73 
75  virtual bool displayMainIcon() const;
77  virtual void setDisplayMainIcon( bool enabled );
78 
80  virtual bool ghostEchelonLevelItems() const;
82  virtual void setGhostEchelonLevelItems( bool enabled );
83 
85  virtual bool allowSelectionOfGhostedItems() const;
87  virtual void setAllowSelectionOfGhostedItems( bool enabled );
88 
90  virtual int echelonLevel() const;
92  virtual void setEchelonLevel( int level );
93 
95  virtual double ghostingTransparency() const;
97  virtual void setGhostingTransparency( double transparency );
98 
100  virtual DtSharedAggregateDisplaySettings::ColorizedModelColorType colorizedModelColorTypeForAggregates() const;
102  virtual void setColorizedModelColorTypeForAggregates( DtSharedAggregateDisplaySettings::ColorizedModelColorType type );
103 
105 
107  void setFromRecord( const makArchives::DtAggregateSettingsRecord& rec );
108 
110  void getRecord( makArchives::DtAggregateSettingsRecord& rec ) const;
111 
113  virtual const DtAggregateStateSettingsBackup* settingsBackup() const;
114 
116  virtual DtAggregateStateSettingsBackup* settingsBackup();
117 
119  virtual void backup();
120 
122  static std::string className();
123 
124  protected:
125 
130 
133 
134  protected:
135 
136  int myFlags;
140 
142 
143  };
144 
145 }

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)