VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DtAggregateSettingsRecord.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * Copyright (c) 2012 MAK Technologies, Inc.
3  * All rights reserved.
4  *****************************************************************************/
5 
9 
10 #pragma once
11 
13 
14 namespace makArchives
15 {
16 
20  {
21  public:
22 
24  {
25  DisplayBoundingBoxes = 0x00000001,
26  DisplayBoundingBoxesForSelected = 0x00000002,
27  GhostEchelonLevelItems = 0x00000004,
28  InitiallyDisplayExpanded = 0x00000008,
29  DisplayMainIcon = 0x00000010,
30  DisplayLeafLevelItems = 0x00000020,
31  AllowSelectingOfGhostedItems = 0x00000040,
32  DisplayAggregates = 0x00000080
33  };
34 
35  public:
36 
39 
42 
45 
47  DtAggregateSettingsRecord& operator = ( const DtAggregateSettingsRecord& obj );
48 
49  bool operator == ( const DtAggregateSettingsRecord& rhs ) const;
50  inline bool operator != ( const DtAggregateSettingsRecord& rhs ) const
51  {
52  return !( *this == rhs );
53  }
54 
57 
58  double ghostingTransparency() const;
59  void setGhostingTransparency( double transparency );
60 
61  bool ghostEchelonLevelItems() const;
62  void setGhostEchelonLevelItems( bool enabled );
63 
64  int echelonLevel() const;
65  void setEchelonLevel( int level );
66 
67  bool displayAggregates() const;
68  void setDisplayAggregates( bool enabled );
69 
70  bool displayBoundingBoxes() const;
71  void setDisplayBoundingBoxes( bool enabled );
72 
73  bool displayLeafNodes() const;
74  void setDisplayLeafNodes( bool enabled );
75 
76  bool displayBoundingBoxesForSelected() const;
77  void setDisplayBoundingBoxesForSelected( bool enabled );
78 
79  bool initiallyDisplayExpanded() const;
80  void setInitiallyDisplayExpanded( bool enabled );
81 
82  bool allowSelectingOfGhostedItems() const;
83  void setAllowSelectingOfGhostedItems( bool enabled );
84 
85  bool displayMainIcon() const;
86  void setDisplayMainIcon( bool enabled );
87 
88  unsigned char colorizedModelColorType() const;
89  void setColorizedModelColorType( unsigned char colorMode );
90 
92  inline void setFlags( int f )
93  {
94  myFlags = f;
95  }
96 
98  inline int flags() const
99  {
100  return myFlags;
101  }
102 
104 
105  protected:
106 
107  friend class boost::serialization::access;
108 
112  template<class Archive>
113  void serialize(Archive & ar, const unsigned int version)
114  {
115  ar & BOOST_SERIALIZATION_NVP(myFlags);
116  ar & BOOST_SERIALIZATION_NVP(myEchelonLevel);
117  ar & BOOST_SERIALIZATION_NVP(myGhostingTransparency);
118  ar & BOOST_SERIALIZATION_NVP(myColorizedModelColorType);
119  }
120 
121  protected:
122 
123  int myFlags;
127 
128  };
129 
130 }
131 

Document ID: Generated on Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)