VR-Forces 4.1.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
entityEditorImpl
uiBoundingVolumeElement.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 2007 MaK Technologies, Inc.
3
** All rights reserved.
4
*********************************************************************/
5
/*********************************************************************
6
** $RCSfile: uiBoundingVolumeElement.h,v $ $Revision: 1.2 $ $State: Exp $
7
*********************************************************************/
8
11
12
#ifndef DTUIBOUNDINGVOLUMEELEMENT_H_
13
#define DTUIBOUNDINGVOLUMEELEMENT_H
14
15
#include "
entityEditorImpl/uiElement.h
"
16
#include <matrix/vlVector.h>
17
18
class
DtLocationEntryWidget
;
19
class
QLabel
;
20
class
QComboBox
;
21
22
#include "
entityEditorImpl/entityEditorImplDefines.h
"
23
24
class
DT_DLL_entityeditorimpl
DtUiBoundingVolumeElement
:
public
DtUiElement
25
{
26
public
:
27
29
DtUiBoundingVolumeElement
30
(
31
const
DtString
& name,
32
DtReaderWriterRegistry
*
const
parentRegistry = NULL
33
);
34
36
virtual
~
DtUiBoundingVolumeElement
();
37
39
DtUiBoundingVolumeElement
(
const
DtUiBoundingVolumeElement
& orig);
40
42
DtUiBoundingVolumeElement
&
operator=
(
const
DtUiBoundingVolumeElement
& orig);
43
44
public
:
45
virtual
QWidget
*
createLabelWidget
(
QWidget
* parent) {
return
0;};
46
virtual
QWidget
*
createControls
(
QWidget
*);
47
48
protected
:
49
virtual
DtUiElement
*
clone
();
50
virtual
void
decorateElement
();
51
virtual
void
setFromParameters
(
DtReaderWriter
* parentRw);
52
virtual
void
elementChanged
();
53
virtual
void
setModified(
QLabel
*,
bool
);
54
virtual
void
updateOrigin();
55
57
virtual
void
updateSupportPoints();
58
60
virtual
void
updateSupportPoint(
DtUiElement
*,
const
DtVector
& pt);
61
63
virtual
void
sendUpdatedValues();
64
65
virtual
void
processUiEvent
(
const
DtUiElementEvent
& e);
66
67
protected
:
68
DtLocationEntryWidget
*
mySize
;
69
70
DtVector
myDiff
;
71
DtVector
myCustomize
;
72
QLabel
*
myOriginLabel
;
73
QComboBox
*
myOrigin
;
74
76
DtUiElement
*
myLeftSupport
;
77
DtUiElement
*
myRightSupport
;
78
DtUiElement
*
myOtherSupport
;
79
};
80
81
#endif
Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)