EigenWidgets.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <
ArmarXGui/libraries/RemoteGui/Client/Widgets.h
>
4
5
// Warning: These includes are heavy. Therefore, these widgets are only available if you need them
6
#include <Eigen/Core>
7
8
namespace
armarx::RemoteGui::Client
9
{
10
11
struct
Vector3Widget
:
HBoxLayout
12
{
13
FloatSpinBox
x
;
14
FloatSpinBox
y
;
15
FloatSpinBox
z
;
16
17
Vector3Widget
();
18
19
Eigen::Vector3f
getValue
()
const
;
20
21
void
setValue
(Eigen::Vector3f
value
);
22
23
void
setRange
(
float
allMin,
float
allMax);
24
25
void
setSteps
(
int
steps);
26
27
void
setDecimals
(
int
decimals);
28
29
bool
hasValueChanged
()
const
;
30
};
31
32
struct
PoseWidget
:
HBoxLayout
33
{
34
FloatSpinBox
x
;
35
FloatSpinBox
y
;
36
FloatSpinBox
z
;
37
38
FloatSpinBox
roll
;
39
FloatSpinBox
pitch
;
40
FloatSpinBox
yaw
;
41
42
PoseWidget
();
43
44
Eigen::Matrix4f
getPose
()
const
;
45
46
Eigen::Vector3f
getPosition
()
const
;
47
void
setPosition
(Eigen::Vector3f
value
);
48
49
Eigen::Matrix3f
getOrientation
()
const
;
50
void
setOrientation
(
Eigen::Matrix3f
const
& m);
51
52
void
setRangePosition
(
float
allMin,
float
allMax);
53
void
setStepsPosition
(
int
steps);
54
55
void
setRangeRPY
(
float
allMin,
float
allMax);
56
57
void
setStepsRPY
(
int
steps);
58
59
void
setDecimalsPosition
(
int
decimals);
60
void
setDecimalsRPY
(
int
decimals);
61
};
62
63
}
armarx::RemoteGui::Client::PoseWidget::pitch
FloatSpinBox pitch
Definition:
EigenWidgets.h:39
armarx::RemoteGui::Client::Vector3Widget::y
FloatSpinBox y
Definition:
EigenWidgets.h:14
armarx::RemoteGui::Client::PoseWidget::y
FloatSpinBox y
Definition:
EigenWidgets.h:35
armarx::RemoteGui::Client::Vector3Widget
Definition:
EigenWidgets.h:11
armarx::RemoteGui::Client::PoseWidget::setRangePosition
void setRangePosition(float allMin, float allMax)
Definition:
EigenWidgets.cpp:126
armarx::RemoteGui::Client::PoseWidget::setOrientation
void setOrientation(Eigen::Matrix3f const &m)
Definition:
EigenWidgets.cpp:117
armarx::RemoteGui::Client::PoseWidget::setStepsRPY
void setStepsRPY(int steps)
Definition:
EigenWidgets.cpp:147
armarx::RemoteGui::Client::PoseWidget::getPosition
Eigen::Vector3f getPosition() const
Definition:
EigenWidgets.cpp:92
armarx::RemoteGui::Client::PoseWidget::setPosition
void setPosition(Eigen::Vector3f value)
Definition:
EigenWidgets.cpp:101
armarx::RemoteGui::Client::PoseWidget
Definition:
EigenWidgets.h:32
armarx::RemoteGui::Client::PoseWidget::setDecimalsPosition
void setDecimalsPosition(int decimals)
Definition:
EigenWidgets.cpp:154
armarx::RemoteGui::Client::PoseWidget::getPose
Eigen::Matrix4f getPose() const
Definition:
EigenWidgets.cpp:83
armarx::RemoteGui::Client::PoseWidget::setStepsPosition
void setStepsPosition(int steps)
Definition:
EigenWidgets.cpp:133
cxxopts::value
std::shared_ptr< Value > value()
Definition:
cxxopts.hpp:926
armarx::RemoteGui::Client::Vector3Widget::hasValueChanged
bool hasValueChanged() const
Definition:
EigenWidgets.cpp:61
armarx::RemoteGui::Client::PoseWidget::z
FloatSpinBox z
Definition:
EigenWidgets.h:36
armarx::RemoteGui::Client::Vector3Widget::setRange
void setRange(float allMin, float allMax)
Definition:
EigenWidgets.cpp:40
armarx::RemoteGui::Client::Vector3Widget::x
FloatSpinBox x
Definition:
EigenWidgets.h:13
armarx::RemoteGui::Client::PoseWidget::roll
FloatSpinBox roll
Definition:
EigenWidgets.h:38
armarx::RemoteGui::Client::Vector3Widget::z
FloatSpinBox z
Definition:
EigenWidgets.h:15
armarx::RemoteGui::Client::PoseWidget::getOrientation
Eigen::Matrix3f getOrientation() const
Definition:
EigenWidgets.cpp:108
armarx::RemoteGui::Client::PoseWidget::x
FloatSpinBox x
Definition:
EigenWidgets.h:34
armarx::RemoteGui::Client::Vector3Widget::getValue
Eigen::Vector3f getValue() const
Definition:
EigenWidgets.cpp:24
armarx::RemoteGui::Client::HBoxLayout
Definition:
Widgets.h:160
GfxTL::Matrix3f
MatrixXX< 3, 3, float > Matrix3f
Definition:
MatrixXX.h:600
GfxTL::Matrix4f
MatrixXX< 4, 4, float > Matrix4f
Definition:
MatrixXX.h:601
armarx::RemoteGui::Client::PoseWidget::setRangeRPY
void setRangeRPY(float allMin, float allMax)
Definition:
EigenWidgets.cpp:140
armarx::RemoteGui::Client::Vector3Widget::setValue
void setValue(Eigen::Vector3f value)
Definition:
EigenWidgets.cpp:33
Widgets.h
armarx::RemoteGui::Client::PoseWidget::setDecimalsRPY
void setDecimalsRPY(int decimals)
Definition:
EigenWidgets.cpp:161
armarx::RemoteGui::Client::Vector3Widget::Vector3Widget
Vector3Widget()
Definition:
EigenWidgets.cpp:11
armarx::RemoteGui::Client::Vector3Widget::setDecimals
void setDecimals(int decimals)
Definition:
EigenWidgets.cpp:54
armarx::RemoteGui::Client::Vector3Widget::setSteps
void setSteps(int steps)
Definition:
EigenWidgets.cpp:47
armarx::RemoteGui::Client::PoseWidget::PoseWidget
PoseWidget()
Definition:
EigenWidgets.cpp:66
armarx::RemoteGui::Client
Definition:
EigenWidgets.cpp:8
armarx::RemoteGui::Client::FloatSpinBox
Definition:
Widgets.h:93
armarx::RemoteGui::Client::PoseWidget::yaw
FloatSpinBox yaw
Definition:
EigenWidgets.h:40
ArmarXGui
libraries
RemoteGui
Client
EigenWidgets.h
Generated on Sat Oct 12 2024 09:14:04 for armarx_documentation by
1.8.17