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