VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfGuiObjectInformationQt
DtEnvironmentalStatePageItems.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2008 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
/******************************************************************************
6
** $RCSfile: DtEnvironmentalStatePageItems.h,v $ $Revision: 1.1 $ $State: Exp $
7
******************************************************************************/
8
12
13
#pragma once
14
15
#include <
vrfGuiObjectInformationQt/vrfGuiObjectInformationQt.h
>
16
#include <
vrfGuiObjectInformationQt/DtEntityInformationPageItems.h
>
17
18
class
QComboBox
;
19
20
namespace
makVrf
21
{
22
namespace
makVrfGuiObjectInformationQt
23
{
24
class
DtInformationDialogPageLogic;
25
26
class
DT_DLL_VRFGUIOBJECTINFORMATIONQT
DtEnvironmentalLocation
:
public
DtItemUpdateFunction
27
{
28
public
:
29
30
DtEnvironmentalLocation
(
DtInformationDialogPageLogic
* l)
31
:
DtItemUpdateFunction
(l)
32
, myPointNumber(0)
33
{
34
}
35
36
void
setPointNumber
(
int
i) { myPointNumber = i; };
37
38
virtual
QVariant value(
int
col,
int
role,
const
QTreeWidgetItem
*,
39
makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>
*);
40
virtual
bool
valueNeedsUpdate(
int
col,
makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>
*);
41
42
void
setLocation(
const
DtVector
& v)
43
{
44
myCurrentLocation = v;
45
}
46
47
protected
:
48
DtVector
myCurrentLocation
;
49
int
myPointNumber
;
50
};
51
52
class
DT_DLL_VRFGUIOBJECTINFORMATIONQT
DtEnvironmentalForce
:
public
DtEntityStatePageItem
53
{
54
public
:
55
DtEnvironmentalForce
()
56
:
DtEntityStatePageItem
()
57
{
58
}
59
60
DtEnvironmentalForce
(
DtInformationDialogPageLogic
* l);
61
62
static
std::string creatorName();
63
64
protected
:
65
virtual
QString value(
makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>
*);
66
virtual
QString title(
makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>
*);
67
};
68
69
typedef
DtItemUpdateFunctionCreator<DtEnvironmentalForce>
DtEnvironmentalForceCreator
;
70
71
class
DT_DLL_VRFGUIOBJECTINFORMATIONQT
DtEnvironmentalType
:
public
DtEntityStatePageItem
72
{
73
public
:
74
DtEnvironmentalType
()
75
:
DtEntityStatePageItem
()
76
{
77
}
78
79
DtEnvironmentalType
(
DtInformationDialogPageLogic
* l)
80
:
DtEntityStatePageItem
(l)
81
{
82
}
83
84
static
std::string creatorName();
85
86
protected
:
87
virtual
QString value(
makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>
*);
88
virtual
QString title(
makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>
*);
89
};
90
typedef
DtItemUpdateFunctionCreator<DtEnvironmentalType>
DtEnvironmentalTypeCreator
;
91
}
92
}
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
)