VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrvCore
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
>
17
#include <
vrvCore/DtSharedSettings.h
>
18
19
#include <string>
20
#include <map>
21
22
23
namespace
makVrv
24
{
27
class
DT_DLL_VRVCORE
DtSharedModelSetSettings
:
public
DtSharedSettings
28
{
29
public
:
30
typedef
std::map<int, bool>
ModelSetVisualizedMap
;
31
34
friend
class
DtReadSettingsLock
<
DtSharedModelSetSettings
>;
35
friend
class
DtWriteSettingsLock
<
DtSharedModelSetSettings
>;
36
friend
class
DtSharedSettingsManager
;
37
41
static
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
63
DtSharedModelSetSettings
(
DtSharedSettingsManager
& manager);
64
65
protected
:
66
67
ModelSetVisualizedMap
myModelSetVisualizedMap
;
68
69
70
71
};
72
}
73
74
#endif
75
Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (
www.mak.com
)