VR-Forces 4.7 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
vrfGuiCore
vrfVertexManipulationHandler.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2014 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
8
10
11
#pragma once
12
13
#include <
vrfGuiCore/vrfGuiCore.h
>
14
#include <
vrfGuiCore/environmentalFacadeCollection.h
>
15
#include <
vrfGuiCore/vrfObjectManipulationHandlerBaseClass.h
>
16
#include <
vrfGuiCore/vrfShapeManipulationHandler.h
>
17
#include <
vrfGuiCore/vrfCircleManipulationHandler.h
>
18
#include <
vrfGuiCore/vrfBoxManipulationHandler.h
>
19
#include <
vrfGuiCore/vrfWeatherManipulationHandler.h
>
20
#include <
vrfGuiCore/vrfCloudLayerManipulationHandler.h
>
21
22
#include <vlutil/vlExceptions.h>
23
#include <
vrfGuiCore/vrlinkSimulatedEnvironmentProcess.h
>
24
25
#include <
vrvCore/DtUniqueID.h
>
26
27
#include <
vrvCore/DtSimData.h
>
28
29
#include <vlpi/entityType.h>
30
31
#include <matrix/vlVector.h>
32
33
namespace
makVrv
34
{
35
class
DtSimEntry;
36
class
DtAgentManagerInterface;
37
class
DtChannel;
38
struct
DtVrlinkSimulatedBaseState;
39
struct
DtVrlinkSimulatedEntityState;
40
};
41
42
namespace
makVrf
43
{
45
template
<
typename
_Handler>
46
class
DtVrfVertexManipulationHandler
:
public
_Handler
47
{
48
public
:
49
DtVrfVertexManipulationHandler
(
makVrv::DtDe
& de);
50
51
virtual
~DtVrfVertexManipulationHandler
();
52
53
public
:
55
virtual
void
editSelectedObjects
(
const
makVrv::DtUniqueID
& editId,
56
makVrv::DtChannel
& initiatingChannel,
double
waitTimeAfterComplete = 0.,
57
const
makVrv::DtSelectionManager::IdSet
& editing =
makVrv::DtSelectionManager::IdSet
());
58
59
virtual
HandlerType
type
()
const
{
return
Vertex
; };
60
61
protected
:
62
virtual
void
editSelectedVertex
(
const
makVrv::DtUniqueID
& vertexId,
63
const
DtVector
& vertexPos,
makVrv::DtChannel
& initiatingChannel );
64
65
virtual
void
slot_onStateViewUpdated
(
DtVrlinkSimulatedBaseStateView
* editStateView,
66
makVrv::DtUniqueID
sceneObjectId,
double
vx,
double
vy,
double
vz );
67
68
virtual
void
slot_onLocationChanged
(
const
DtVector
& location,
double
altAboveGround );
69
70
virtual
void
setLocation
(
const
DtVector
& loc );
71
73
virtual
DtVector
vertexPosition
(
DtEnvironmentalFacadeCollection
* iFace,
int
index)
const
;
74
76
virtual
bool
anchorPositionIsMouse
()
const
;
77
79
virtual
void
initializeEventProcessor
();
80
};
81
83
class
DT_DLL_VRFGUICORE
DtVrfShapeVertexManipulationHandler
:
public
DtVrfVertexManipulationHandler
<DtVrfShapeManipulationHandler>
84
{
85
public
:
86
DtVrfShapeVertexManipulationHandler
(
makVrv::DtDe
& de)
87
:
DtVrfVertexManipulationHandler
<
DtVrfShapeManipulationHandler
>(de)
88
{
89
}
90
91
virtual
~
DtVrfShapeVertexManipulationHandler
()
92
{
93
};
94
};
95
96
typedef
DtVrfObjectManipulationHandlerCreator<DtVrfShapeVertexManipulationHandler>
DtVrfShapeVertexManipulationHandlerCreator
;
97
99
class
DT_DLL_VRFGUICORE
DtVrfCircleVertexManipulationHandler
:
public
DtVrfVertexManipulationHandler
<DtVrfCircleManipulationHandler>
100
{
101
public
:
102
DtVrfCircleVertexManipulationHandler
(
makVrv::DtDe
& de)
103
:
DtVrfVertexManipulationHandler
<
DtVrfCircleManipulationHandler
>(de)
104
{
105
}
106
107
virtual
~
DtVrfCircleVertexManipulationHandler
()
108
{
109
};
110
};
111
112
typedef
DtVrfObjectManipulationHandlerCreator<DtVrfCircleVertexManipulationHandler>
DtVrfCircleVertexManipulationHandlerCreator
;
113
115
class
DT_DLL_VRFGUICORE
DtVrfBoxVertexManipulationHandler
:
public
DtVrfVertexManipulationHandler
<DtVrfBoxManipulationHandler>
116
{
117
public
:
118
DtVrfBoxVertexManipulationHandler
(
makVrv::DtDe
& de)
119
:
DtVrfVertexManipulationHandler
<
DtVrfBoxManipulationHandler
>(de)
120
{
121
}
122
123
virtual
~
DtVrfBoxVertexManipulationHandler
()
124
{
125
};
126
};
127
128
typedef
DtVrfObjectManipulationHandlerCreator<DtVrfBoxVertexManipulationHandler>
DtVrfBoxVertexManipulationHandlerCreator
;
129
131
class
DT_DLL_VRFGUICORE
DtVrfWeatherVertexBoxManipulationHandler
:
public
DtVrfVertexManipulationHandler
<DtVrfWeatherBoxManipulationHandler>
132
{
133
public
:
134
DtVrfWeatherVertexBoxManipulationHandler
(
makVrv::DtDe
& de)
135
:
DtVrfVertexManipulationHandler
<
DtVrfWeatherBoxManipulationHandler
>(de)
136
{
137
}
138
139
virtual
~
DtVrfWeatherVertexBoxManipulationHandler
()
140
{
141
};
142
};
143
145
class
DT_DLL_VRFGUICORE
DtVrfCloudLayerVertexBoxManipulationHandler
:
public
DtVrfVertexManipulationHandler
<DtVrfCloudLayerBoxManipulationHandler>
146
{
147
public
:
148
DtVrfCloudLayerVertexBoxManipulationHandler
(
makVrv::DtDe
& de)
149
:
DtVrfVertexManipulationHandler
<
DtVrfCloudLayerBoxManipulationHandler
>(de)
150
{
151
}
152
153
virtual
~
DtVrfCloudLayerVertexBoxManipulationHandler
()
154
{
155
};
156
};
157
158
class
DT_DLL_VRFGUICORE
DtVrfWeatherVertexAreaManipulationHandler
:
public
DtVrfVertexManipulationHandler
<DtVrfWeatherAreaManipulationHandler>
159
{
160
public
:
161
DtVrfWeatherVertexAreaManipulationHandler
(
makVrv::DtDe
& de)
162
:
DtVrfVertexManipulationHandler
<
DtVrfWeatherAreaManipulationHandler
>(de)
163
{
164
}
165
166
virtual
~
DtVrfWeatherVertexAreaManipulationHandler
()
167
{
168
};
169
};
170
171
class
DT_DLL_VRFGUICORE
DtVrfWeatherVertexCircleManipulationHandler
:
public
DtVrfVertexManipulationHandler
<DtVrfWeatherCircleManipulationHandler>
172
{
173
public
:
174
DtVrfWeatherVertexCircleManipulationHandler
(
makVrv::DtDe
& de)
175
:
DtVrfVertexManipulationHandler
<
DtVrfWeatherCircleManipulationHandler
>(de)
176
{
177
}
178
179
virtual
~
DtVrfWeatherVertexCircleManipulationHandler
()
180
{
181
};
182
};
183
184
typedef
DtVrfObjectManipulationHandlerCreator<DtVrfWeatherVertexBoxManipulationHandler>
DtVrfWeatherVertexBoxManipulationHandlerCreator
;
185
typedef
DtVrfObjectManipulationHandlerCreator<DtVrfWeatherVertexAreaManipulationHandler>
DtVrfWeatherVertexAreaManipulationHandlerCreator
;
186
typedef
DtVrfObjectManipulationHandlerCreator<DtVrfWeatherVertexCircleManipulationHandler>
DtVrfWeatherVertexCircleManipulationHandlerCreator
;
187
typedef
DtVrfObjectManipulationHandlerCreator<DtVrfCloudLayerVertexBoxManipulationHandler>
DtVrfCloudLayerVertexBoxManipulationHandlerCreator
;
188
}
189
190
#include <vrfGuiCore/vrfVertexManipulationHandler.inl>
Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (
www.mak.com
)