VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DtSharedAggregateDisplaySettings.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>
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 displayAggregateBoundingBoxes() const;
62  virtual void setDisplayAggregateBoundingBoxes( bool enabled );
63 
65  virtual bool displayAggregateBoundingBoxesForSelected() const;
67  virtual void setDisplayAggregateBoundingBoxesForSelected( bool enabled );
68 
70  virtual bool displayMainIcon() const;
72  virtual void setDisplayMainIcon( bool enabled );
73 
75  virtual bool ghostEchelonLevelItems() const;
77  virtual void setGhostEchelonLevelItems( bool enabled );
78 
80  virtual bool allowSelectionOfGhostedItems() const;
82  virtual void setAllowSelectionOfGhostedItems( bool enabled );
83 
85  virtual int echelonLevel() const;
87  virtual void setEchelonLevel( int level );
88 
90  virtual double ghostingTransparency() const;
92  virtual void setGhostingTransparency( double transparency );
93 
95  virtual DtSharedAggregateDisplaySettings::ColorizedModelColorType colorizedModelColorTypeForAggregates() const;
97  virtual void setColorizedModelColorTypeForAggregates( DtSharedAggregateDisplaySettings::ColorizedModelColorType type );
98 
100 
102  void setFromRecord( const makArchives::DtAggregateSettingsRecord& rec );
103 
105  void getRecord( makArchives::DtAggregateSettingsRecord& rec ) const;
106 
108  virtual const DtAggregateStateSettingsBackup* settingsBackup() const;
109 
111  virtual DtAggregateStateSettingsBackup* settingsBackup();
112 
114  virtual void backup();
115 
117  static std::string className();
118 
119  protected:
120 
125 
128 
129  protected:
130 
131  int myFlags;
135 
137 
138  };
139 
140 }

Document ID: Generated on Mon Jul 4 01:00:18 EDT 2016 from SVN revision 166489
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)