VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtSharedModelSetSettings.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2009 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: DtSharedModelSetSettings.h,v $ $Revision: 1.23 $ $State: Exp $
7 ******************************************************************************/
8 
12 
13 #ifndef DtSharedModelSetSettings_H_
14 #define DtSharedModelSetSettings_H_
15 
16 #include <vrvCore/vrvCore.h>
18 
19 #include <string>
20 #include <map>
21 
22 
23 namespace makVrv
24 {
28  {
29  public:
30  typedef std::map<int, bool> ModelSetVisualizedMap;
31 
37 
41  static const std::string& className();
42 
44  virtual ~DtSharedModelSetSettings();
45 
46  // set if a model set is visualized
47  void setModelSetVisualized( int modelSet, bool trueOrFalse );
48 
49  // check if a model set is visualized
50  bool modelSetVisualized( int modelSet ) const;
51 
52  //Get the model sets that are currently visualized.
53  const ModelSetVisualizedMap& modelSetVisualizedMap() const;
54 
55  // set, by map
56  void setModelSetVisualizedMap( const ModelSetVisualizedMap&
57  modelSetVisualizedMap );
58 
59 
60  protected:
61 
64 
65  protected:
66 
68 
69 
70 
71  };
72 }
73 
74 #endif
75 
a read settings lock on a setting object.
Definition: DtReadSettingsLock.h:51
The shared settings manager, is the global object responsible for managing any shared settings object...
Definition: DtSharedSettingsManager.h:45
The base class for all shared settings.
Definition: DtSharedSettings.h:45
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
Contains the DtSharedSettings class declaration.
a write settings lock on a setting object.
Definition: DtWriteSettingsLock.h:50
ModelSetVisualizedMap myModelSetVisualizedMap
Definition: DtSharedModelSetSettings.h:67
The shared model set settings.
Definition: DtSharedModelSetSettings.h:27
std::map< int, bool > ModelSetVisualizedMap
Definition: DtSharedModelSetSettings.h:30
Contains DLL export macros.

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)