VR-Forces Developer's Guide
 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) 2022 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvCore/vrvCore.h>
14 
15 #include <string>
16 #include <map>
17 
18 
19 namespace makVrv
20 {
21  enum class DtModelSetId;
22 
26  {
27  public:
28  using ModelSetVisualizedMap = std::map<DtModelSetId, bool> ;
29 
35 
39  static const std::string& className();
40 
42  virtual ~DtSharedModelSetSettings();
43 
44  // set if a model set is visualized
45  void setModelSetVisualized( DtModelSetId modelSet, bool trueOrFalse );
46 
47  // check if a model set is visualized
48  bool modelSetVisualized( DtModelSetId modelSet ) const;
49 
50  //Get the model sets that are currently visualized.
51  const ModelSetVisualizedMap& modelSetVisualizedMap() const;
52 
53  // set, by map
54  void setModelSetVisualizedMap( const ModelSetVisualizedMap&
55  modelSetVisualizedMap );
56 
57 
58  protected:
59 
62 
63  protected:
64 
66 
67 
68 
69  };
70 }
a read settings lock on a setting object. The object can only get read access aka const functions...
Definition: DtReadSettingsLock.h:48
The shared settings manager, is the global object responsible for managing any shared settings object...
Definition: DtSharedSettingsManager.h:42
The base class for all shared settings. Actual settings class should have the following members/decla...
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. The object can be read and modified, but no other threads ...
Definition: DtWriteSettingsLock.h:47
ModelSetVisualizedMap myModelSetVisualizedMap
Definition: DtSharedModelSetSettings.h:65
std::map< DtModelSetId, bool > ModelSetVisualizedMap
Definition: DtSharedModelSetSettings.h:28
The shared model set settings.
Definition: DtSharedModelSetSettings.h:25
DtModelSetId
Definition: DtModelSetEnums.h:19
Contains DLL export macros.

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)