VR-Forces 4.3 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
vrfPropManipulationHandler.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2012 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
8
10
11
#pragma once
12
13
#include <
vrfGuiCore/vrfGuiCore.h
>
14
#include <
vrfGuiCore/vrfEntityManipulationHandler.h
>
15
#include <
vrvCore/DtUniqueID.h
>
16
17
#include <vlpi/entityType.h>
18
19
class
DtVector
;
20
21
namespace
makVrf
22
{
26
class
DT_DLL_VRFGUICORE
DtVrfPropManipulationHandler
:
public
DtVrfEntityManipulationHandler
27
{
28
public
:
29
31
DtVrfPropManipulationHandler
(
makVrv::DtDe
& );
32
34
virtual
~
DtVrfPropManipulationHandler
();
35
36
public
:
37
virtual
void
slot_onPlace(
makVrv::DtUniqueID
,
const
DtVector
& location,
double
altAboveGround);
38
39
virtual
HandlerType
type
()
const
{
return
Prop
; };
40
41
virtual
void
restore();
42
43
virtual
void
setHeading(
DtVrfObjectFacadeInterface
* objectImage,
double
heading);
44
45
protected
:
46
virtual
bool
createVrfObject();
47
virtual
void
createTerrainProp(
DtVector
& geocPosition);
48
virtual
DtVrfObjectFacadeInterface
* createLocalRepresentation(
DtVrlinkSimulatedBaseStateView
* editStateView = 0);
49
virtual
void
postCreateInitialize();
50
51
virtual
void
editSelectedObjects(
const
makVrv::DtUniqueID
& principalID,
52
makVrv::DtChannel
& initiatingChannel,
double
waitTimeAfterComplete = 0.,
53
const
makVrv::DtSelectionManager::IdSet
& editing =
makVrv::DtSelectionManager::IdSet
());
54
virtual
DtVrfObjectFacadeInterface
* createLocalRepresentation(
const
makVrv::DtUniqueID
&);
55
virtual
void
slot_onCancel(
bool
escPressed);
56
57
virtual
bool
modifyVrfObjects();
58
59
virtual
void
initializeEventProcessor();
60
virtual
void
setObjectImageAsAnchor(
DtVrfObjectFacadeInterface
* objectImage,
const
DtVector
& geocLocation,
61
bool
resetOrigin);
62
};
63
64
typedef
DtVrfObjectManipulationHandlerCreator<DtVrfPropManipulationHandler>
65
DtVrfPropManipulationHandlerCreator
;
66
}
Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (
www.mak.com
)