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
vrfGuiCore
vrfObserverStateRecord.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2014 MaK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
14
15
#pragma once
16
21
22
#include <
vrfGuiCore/vrfGuiCore.h
>
23
#include "
vrfutil/readerWriter.h
"
24
#include "
vrfutil/rwReal.h
"
25
#include "
vrfutil/rwString.h
"
26
#include "
vrfutil/rwBoolean.h
"
27
#include "
vrfutil/rwVector.h
"
28
#include "
vrfutil/rwInt.h
"
29
#include "
vrfutil/rwNLengthStringVector.h
"
30
31
namespace
makArchives
32
{
33
class
DtObserverStateRecord;
34
class
DtObserverSettingsRecord;
35
};
36
37
class
DT_DLL_VRFGUICORE
DtVrfObserverSettingsRecord
:
public
DtReaderWriter
38
{
39
public
:
40
//Constructor
41
DtVrfObserverSettingsRecord
(
const
DtString
& name,
DtReaderWriterRegistry
*
const
parentRegistry);
42
44
virtual
~
DtVrfObserverSettingsRecord
();
45
46
DtVrfObserverSettingsRecord
&
operator=
(
const
DtVrfObserverSettingsRecord
&);
47
49
virtual
void
setFromRecord(
const
makArchives::DtObserverSettingsRecord
&);
50
virtual
void
getRecord(
makArchives::DtObserverSettingsRecord
&)
const
;
51
52
protected
:
53
DtRwString
myObserverMode
;
54
DtRwInt
myAttachType
;
55
DtRwBoolean
myHideModelOnAttach
;
56
DtRwBoolean
myOrientToTargetConstraint
;
57
DtRwInt
myOrbitSpeedGain
;
58
DtRwInt
myRotationSpeedGain
;
59
DtRwInt
myLinearScaledSpeedGain
;
60
DtRwInt
myLinearUnscaledSpeedGain
;
61
DtRwReal
myOrbitSpeed
;
62
DtRwReal
myRotationSpeed
;
63
DtRwReal
myLinearSpeed
;
64
};
65
66
class
DT_DLL_VRFGUICORE
DtVrfObserverStateRecord
:
public
DtReaderWriter
67
{
68
public
:
69
//Constructor
70
DtVrfObserverStateRecord
(
const
DtString
& name =
""
,
DtReaderWriterRegistry
*
const
parentRegistry = 0);
71
73
virtual
~
DtVrfObserverStateRecord
();
74
75
DtVrfObserverStateRecord
&
operator=
(
const
DtVrfObserverStateRecord
&);
76
77
virtual
void
setFromRecord(
const
makArchives::DtObserverStateRecord
&);
78
virtual
void
getRecord(
makArchives::DtObserverStateRecord
&)
const
;
79
80
virtual
DtString
toXml
()
const
;
81
82
virtual
DtString
prettyPrint
()
const
;
83
84
protected
:
85
DtVrfObserverSettingsRecord
myObserverSettingsRecord
;
86
DtRwNLengthStringVector
myAttachedToDisplayNames
;
87
DtRwVector
myObserverOffsetVector
;
88
DtRwVector
myObserverRotationOffset
;
89
DtRwReal
myObserverRotationOffsetW
;
90
DtRwVector
myPos
;
91
DtRwVector
myOrientation
;
92
DtRwReal
myOrientationW
;
93
DtRwString
myDisplayName
;
94
DtRwReal
myViewResolution
;
95
DtRwNLengthStringVector
mySecondaryAttachedToDisplayNames
;
96
DtRwInt
myPartAttachment
;
97
DtRwReal
myViewMagnification
;
98
};
Document ID: Generated on Mon Jul 4 01:00:18 EDT 2016 from SVN revision 166489
Copyright © 2005-2015 VT MÄK. All Rights Reserved (
www.mak.com
)