VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfGuiCore
DtVrfVertexManipulationHandler.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2011 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
/******************************************************************************
6
** $RCSfile: DtVrfVertexManipulationHandler.h,v $ $Revision: 1.2 $ $State: Exp $
7
******************************************************************************/
8
11
13
14
#pragma once
15
16
#include <
vrfGuiCore/vrfGuiCore.h
>
17
#include <
vrfGuiCore/DtEnvironmentalFacadeCollection.h
>
18
#include <
vrfGuiCore/DtVrfObjectManipulationHandlerBaseClass.h
>
19
#include <
vrfGuiCore/DtVrfShapeManipulationHandler.h
>
20
#include <
vrfGuiCore/DtVrfCircleManipulationHandler.h
>
21
#include <
vrfGuiCore/DtVrfBoxManipulationHandler.h
>
22
23
#include <vlutil/vlExceptions.h>
24
#include <
vrfGuiCore/DtEnvironmentState.h
>
25
26
#include <
vrvCore/DtUniqueID.h
>
27
28
#include <
vrvCore/DtSimData.h
>
29
30
#include <vlpi/entityType.h>
31
32
33
class
DtVector
;
34
35
namespace
makVrv
36
{
37
class
DtSimEntry;
38
class
DtAgentManagerInterface;
39
class
DtChannel;
40
struct
DtVrlinkSimulatedBaseState;
41
struct
DtVrlinkSimulatedEntityState;
42
};
43
44
namespace
makVrf
45
{
47
template
<
typename
_Handler>
48
class
DtVrfVertexManipulationHandler
:
public
_Handler
49
{
50
public
:
51
DtVrfVertexManipulationHandler
(
makVrv::DtDe
& de);
52
53
virtual
~DtVrfVertexManipulationHandler
();
54
55
public
:
57
virtual
void
editSelectedObjects
(
const
makVrv::DtUniqueID
& editId,
58
makVrv::DtChannel
& initiatingChannel,
double
waitTimeAfterComplete );
59
60
protected
:
61
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
};
75
77
class
DT_DLL_VRFGUICORE
DtVrfShapeVertexManipulationHandler
:
public
DtVrfVertexManipulationHandler
<DtVrfShapeManipulationHandler>
78
{
79
public
:
80
DtVrfShapeVertexManipulationHandler
(
makVrv::DtDe
& de)
81
:
DtVrfVertexManipulationHandler
<
DtVrfShapeManipulationHandler
>(de)
82
{
83
}
84
85
virtual
~
DtVrfShapeVertexManipulationHandler
()
86
{
87
};
88
};
89
90
typedef
DtVrfObjectManipulationHandlerCreator<DtVrfShapeVertexManipulationHandler>
DtVrfShapeVertexManipulationHandlerCreator
;
91
93
class
DT_DLL_VRFGUICORE
DtVrfCircleVertexManipulationHandler
:
public
DtVrfVertexManipulationHandler
<DtVrfCircleManipulationHandler>
94
{
95
public
:
96
DtVrfCircleVertexManipulationHandler
(
makVrv::DtDe
& de)
97
:
DtVrfVertexManipulationHandler
<
DtVrfCircleManipulationHandler
>(de)
98
{
99
}
100
101
virtual
~
DtVrfCircleVertexManipulationHandler
()
102
{
103
};
104
};
105
106
typedef
DtVrfObjectManipulationHandlerCreator<DtVrfCircleVertexManipulationHandler>
DtVrfCircleVertexManipulationHandlerCreator
;
107
109
class
DT_DLL_VRFGUICORE
DtVrfBoxVertexManipulationHandler
:
public
DtVrfVertexManipulationHandler
<DtVrfBoxManipulationHandler>
110
{
111
public
:
112
DtVrfBoxVertexManipulationHandler
(
makVrv::DtDe
& de)
113
:
DtVrfVertexManipulationHandler
<
DtVrfBoxManipulationHandler
>(de)
114
{
115
}
116
117
virtual
~
DtVrfBoxVertexManipulationHandler
()
118
{
119
};
120
};
121
122
typedef
DtVrfObjectManipulationHandlerCreator<DtVrfBoxVertexManipulationHandler>
DtVrfBoxVertexManipulationHandlerCreator
;
123
}
124
125
#include <vrfGuiCore/DtVrfVertexManipulationHandler.inl>
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
)