VAPOR3
3.9.4
apps
vaporgui
V3DInput.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <QWidget>
4
#include <vector>
5
6
class
VDoubleLineEdit
;
7
11
12
class
V3DInput
:
public
QWidget {
13
Q_OBJECT
14
15
VDoubleLineEdit
*_x, *_y, *_z;
16
17
public
:
18
V3DInput
();
19
void
SetValue
(
double
x,
double
y,
double
z);
20
void
SetValue
(
const
std::vector<double> &xyz);
21
void
SetValue
(
const
double
xyz[3]);
22
void
GetValue
(
double
xyz[3])
const
;
23
std::vector<double>
GetValue
()
const
;
24
25
signals:
26
void
ValueChanged
(
double
x,
double
y,
double
z);
27
void
ValueChangedVec
(
const
std::vector<double> &xyz);
28
29
private
slots:
30
void
axisValueChanged(
double
);
31
};
V3DInput
Widget that allows the user to specify a 3D point.
Definition:
V3DInput.h:12
V3DInput::SetValue
void SetValue(const std::vector< double > &xyz)
V3DInput::SetValue
void SetValue(const double xyz[3])
V3DInput::ValueChangedVec
void ValueChangedVec(const std::vector< double > &xyz)
V3DInput::GetValue
void GetValue(double xyz[3]) const
V3DInput::GetValue
std::vector< double > GetValue() const
V3DInput::SetValue
void SetValue(double x, double y, double z)
V3DInput::ValueChanged
void ValueChanged(double x, double y, double z)
V3DInput::V3DInput
V3DInput()
VDoubleLineEdit
A wrapper for a QLineEdit that handles user input of type double, and provides Vapor's standard sette...
Definition:
VDoubleLineEdit.h:18
Generated by
1.9.6