VR-Forces 4.6 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
vrvCore
DtSurfacesSettings.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2008 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
/******************************************************************************
6
** $RCSfile: DtSurfacesSettings.h,v $ $Revision: 1.14 $ $State: Exp $
7
******************************************************************************/
8
12
13
#ifndef DtSurfacesSettings_H_
14
#define DtSurfacesSettings_H_
15
16
#include <
vrvCore/vrvCore.h
>
17
#include <
vrvUtil/signalslib.h
>
18
#include <
makArchives/DtSurfaceSettingsRecord.h
>
19
#include <map>
20
#include <string>
21
#include <vector>
22
23
namespace
makVrv
24
{
27
class
DT_DLL_VRVCORE
DtSurfacesSettings
28
{
29
public
:
30
32
typedef
std::vector<int>
SurfaceIdList
;
33
36
class
SurfaceDefinition
37
{
38
public
:
39
SurfaceDefinition
(
const
std::string& regExp,
int
id
)
40
: myId(id)
41
, myRegExp(regExp)
42
{}
43
44
std::string
myRegExp
;
45
int
myId
;
46
};
47
49
DtSurfacesSettings
();
50
52
~
DtSurfacesSettings
();
53
55
DtSurfacesSettings
(
DtSurfacesSettings
const
&);
56
58
DtSurfacesSettings
& operator=(
DtSurfacesSettings
const
& obj);
59
61
void
getRecord(
makArchives::DtSurfaceSettingsRecord
& rec)
const
;
62
64
void
setFromRecord(
const
makArchives::DtSurfaceSettingsRecord
& rec);
65
67
void
setSurfaceVisible(
int
surfaceId,
bool
state);
68
70
bool
surfaceVisible(
int
surfaceId);
71
73
SurfaceIdList
const
& surfaceIds();
74
76
SurfaceDefinition
* findSurfaceDefinition(
int
id
);
77
78
protected
:
79
80
makArchives::DtSurfaceSettingsRecord::SurfaceVisibleMap
mySurfaceVisibleMap
;
81
83
typedef
std::vector<SurfaceDefinition>
SurfaceDefinitionList
;
84
std::vector<SurfaceDefinition>
mySurfaceDefinitions
;
85
86
SurfaceIdList
mySurfaceIds
;
87
};
88
}
89
90
#endif
Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (
www.mak.com
)