VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrvSenSimQt
DtSenSimConfigurationWidget.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2012 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
9
10
#pragma once
11
12
#include <
vrvSenSimQt/vrvSenSimQt.h
>
13
14
#include <
vrvCoreQt/DtSensorConfigurationWidgetFactory.h
>
15
#include <
vrvCoreQt/DtSensorConfigurationWidgetInterface.h
>
16
17
#include <
vrvSenSimQt/DtSenSimConfigurationWidgetInterface.h
>
18
19
class
QCheckBox
;
20
class
QDoubleSpinBox;
21
class
QSlider;
22
class
QRadioButton;
23
24
namespace
makVrv
25
{
26
class
DtSenSimConfigurationWidgetLogic;
27
30
class
DT_DLL_VRVSENSIMQT
DtSenSimWidgetCreator
:
public
DtSensorConfigurationWidgetCreator
31
{
32
public
:
34
DtSenSimWidgetCreator
(
DtDe
& de);
35
37
virtual
~
DtSenSimWidgetCreator
();
38
40
virtual
DtSensorConfigurationWidgetInterface
* create();
41
42
protected
:
43
DtDe
&
myDe
;
44
};
45
48
class
DT_DLL_VRVSENSIMQT
DtSenSimConfigurationWidget
49
:
public
DtSensorConfigurationWidgetInterface
50
,
public
DtSenSimConfigurationWidgetInterface
51
{
52
public
:
53
Q_OBJECT;
54
public
:
56
DtSenSimConfigurationWidget
(
DtDe
& de);
57
59
virtual
~
DtSenSimConfigurationWidget
();
60
65
virtual
void
setSensor(
DtSensor
& sensor);
66
67
//@name GUI state setters
69
70
virtual
void
setBlackHotEnabled(
bool
enabled);
71
73
virtual
void
setMode(
SensorMode
mode);
74
76
virtual
void
setBlurEnabled(
bool
enabled);
77
79
virtual
void
setNoiseEnabled(
bool
enabled);
80
82
virtual
void
setGainEnabled(
bool
enabled);
83
85
virtual
void
setGainLevel(
float
val);
86
88
virtual
void
setLevel(
float
val);
89
91
virtual
void
setNoiseLevel(
float
val);
92
94
virtual
void
setBlurLevel(
float
val);
96
97
protected
slots:
98
//@name Qt slots
100
void
slot_blurSpinChanged(
double
val);
101
void
slot_gainSpinChanged(
double
val);
102
void
slot_noiseSpinChanged(
double
val);
103
void
slot_levelSpinChanged(
double
val);
104
105
void
slot_blurSliderChanged(
int
val);
106
void
slot_gainSliderChanged(
int
val);
107
void
slot_noiseSliderChanged(
int
val);
108
void
slot_levelSliderChanged(
int
val);
109
110
void
slot_modeChanged(
bool
checked);
111
void
slot_blurChanged(
int
val);
112
void
slot_gainChanged(
int
val);
113
void
slot_noiseChanged(
int
val);
114
void
slot_blackHotChanged(
int
val);
116
protected
:
117
DtSensor
*
mySensor
;
118
119
QRadioButton*
myIrButton
;
120
QRadioButton*
myNvgButton
;
121
QRadioButton*
myColorButton
;
122
QCheckBox
*
myBlurCheckbox
;
123
QCheckBox
*
myGainCheckbox
;
124
QCheckBox
*
myBlackHotCheckbox
;
125
QCheckBox
*
myNoiseCheckbox
;
126
127
//QDoubleSpinBox* myFilterSpin;
128
QDoubleSpinBox*
myGainSpin
;
129
QDoubleSpinBox*
myNoiseSpin
;
130
QDoubleSpinBox*
myBlurSpin
;
131
QDoubleSpinBox*
myLevelSpin
;
132
133
//QSlider* myFilterSlider;
134
QSlider*
myGainSlider
;
135
QSlider*
myNoiseSlider
;
136
QSlider*
myBlurSlider
;
137
QSlider*
myLevelSlider
;
138
139
DtSenSimConfigurationWidgetLogic
*
myLogic
;
140
141
DtDe
&
myDe
;
142
};
143
}
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
)