VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfGuiCore
DtVrfBoxManipulationHandler.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2012 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
/******************************************************************************
6
** $RCSfile: DtVrfBoxManipulationHandler.h,v $ $Revision: 1.3 $ $State: Exp $
7
******************************************************************************/
8
11
12
#pragma once
13
14
#include <
vrfGuiCore/vrfGuiCore.h
>
15
#include <
vrfGuiCore/DtVrfShapeManipulationHandler.h
>
16
#include <
vrvCore/DtUniqueID.h
>
17
18
#include <vlpi/entityType.h>
19
20
class
DtVector
;
21
22
namespace
makVrf
23
{
24
class
DtEnvironmentalFacadeCollection;
25
28
class
DT_DLL_VRFGUICORE
DtVrfBoxManipulationHandler
:
public
DtVrfShapeManipulationHandler
29
{
30
31
public
:
32
33
DtVrfBoxManipulationHandler
(
makVrv::DtDe
& );
34
virtual
~
DtVrfBoxManipulationHandler
();
35
37
virtual
double
length()
const
;
38
40
virtual
void
setLength(
double
);
41
43
virtual
double
width()
const
;
44
46
virtual
void
setWidth(
double
);
47
49
virtual
void
setDimensions(
double
length,
double
width,
DtVrfObjectFacadeInterface
* = 0);
50
51
protected
:
52
virtual
void
initializeEventProcessor();
53
55
virtual
void
setLocation(
int
index,
const
DtVector
& location,
bool
resetOrigin =
true
);
56
58
virtual
void
slot_onPrincipalStateViewUpdated(
DtVrlinkSimulatedBaseStateView
* principalStateView,
59
const
makVrv::DtUniqueID
& principalSceneObjectId );
60
62
virtual
void
objectCreated(
DtVrfObjectFacadeInterface
*);
63
65
virtual
void
preVisualization(
DtVrfObjectFacadeInterface
*,
DtVrlinkSimulatedBaseStateView
*);
66
68
virtual
void
setAttachObjectToMouse(
bool
flag );
69
71
virtual
void
slot_onPlace(
makVrv::DtUniqueID
id
,
const
DtVector
& location,
double
altAboveGround);
72
74
virtual
void
setXTheSame(
const
DtVector
& source,
int
index);
75
77
virtual
void
setYTheSame(
const
DtVector
& source,
int
index);
78
79
virtual
void
getMinMaxVertices(
const
DtEntityType& creatingType,
int
& minVert,
int
& maxVert)
const
;
80
82
virtual
void
slot_onEditComplete(
makVrv::DtUniqueID
id
,
const
DtVector
& location,
double
altAboveGround);
83
84
};
85
86
typedef
DtVrfObjectManipulationHandlerCreator<DtVrfBoxManipulationHandler>
87
DtVrfBoxManipulationHandlerCreator
;
88
}
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
)