VR-Forces Development_Version Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
include
vrvCore
DtSharedIntersectorSettings.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2015 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
9
10
#pragma once
11
12
#include <
vrvCore/DtSharedSettings.h
>
13
#include <
vrvCore/DtSettingsBackupManager.h
>
14
#include <
vrvGraphicsUtils/DtColorValue.h
>
15
16
#include <
makArchives/DtIntersectorSettingsRecord.h
>
17
18
#include <
vrvCore/DtRecordSettingsBackup.h
>
19
20
#include <string>
21
22
namespace
makArchives
23
{
24
class
DtIntersectorSettingsRecord;
25
}
26
27
namespace
makVrv
28
{
29
class
DtDe;
30
class
DtSharedIntersectorSettings
;
31
32
typedef
DtSharedRecordSettingsBackup
<
DtSharedIntersectorSettings
,
33
makArchives::DtIntersectorSettingsRecord
>
DtIntersectorSettingsBackup
;
34
37
class
DT_DLL_VRVCORE
DtSharedIntersectorSettings
:
public
DtSharedSettings
38
{
39
public
:
40
42
virtual
~
DtSharedIntersectorSettings
();
43
46
48
49
bool
drawEnabled()
const
;
50
void
setDrawEnabled(
bool
setting);
52
54
55
float
drawnDuration()
const
;
56
void
setDrawnDuration(
float
setting);
58
62
void
setFailedIntersectorColor(
const
DtColorValue
& color);
63
const
DtColorValue
& failedIntersectorColor()
const
;
65
69
void
setOddSegmentIntersectorColor(
const
DtColorValue
& color);
70
const
DtColorValue
& oddSegmentIntersectorColor()
const
;
72
76
void
setEvenSegmentIntersectorColor(
const
DtColorValue
& color);
77
const
DtColorValue
& evenSegmentIntersectorColor()
const
;
79
80
82
85
87
void
setFromRecord(
const
makArchives::DtIntersectorSettingsRecord
& rec );
88
90
void
getRecord(
makArchives::DtIntersectorSettingsRecord
& rec )
const
;
91
93
virtual
const
DtIntersectorSettingsBackup
* settingsBackup()
const
;
94
96
virtual
DtIntersectorSettingsBackup
* settingsBackup();
97
99
virtual
void
backup();
100
102
104
static
std::string className();
105
106
protected
:
107
109
friend
class
DtReadSettingsLock
<
DtSharedIntersectorSettings
>;
111
friend
class
DtWriteSettingsLock
<
DtSharedIntersectorSettings
>;
112
114
DtSharedIntersectorSettings
(
DtSharedSettingsManager
& manager );
115
116
protected
:
117
118
bool
myDrawEnabled
;
119
float
myDrawnDuration
;
120
DtColorValue
myFailedIntersectorColor
;
121
DtColorValue
myOddSegmentIntersectorColor
;
122
DtColorValue
myEvenSegmentIntersectorColor
;
123
DtIntersectorSettingsBackup
*
mySettingsBackup
;
124
};
125
}
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
)