5#include <SimoxUtility/math/convert/mat3f_to_rpy.h>
6#include <SimoxUtility/math/convert/rpy_to_mat3f.h>
29 Eigen::Vector3f result;
30 result.x() =
x.getValue();
31 result.y() =
y.getValue();
32 result.z() =
z.getValue();
39 x.setValue(value.x());
40 y.setValue(value.y());
41 z.setValue(value.z());
47 x.setRange(allMin, allMax);
48 y.setRange(allMin, allMax);
49 z.setRange(allMin, allMax);
63 x.setDecimals(decimals);
64 y.setDecimals(decimals);
65 z.setDecimals(decimals);
71 return x.hasValueChanged() ||
y.hasValueChanged() ||
z.hasValueChanged();
99 Eigen::Matrix4f result;
102 result.block<1, 4>(3, 0) = Eigen::Vector4f::UnitW();
109 Eigen::Vector3f result;
110 result.x() =
x.getValue();
111 result.y() =
y.getValue();
112 result.z() =
z.getValue();
119 x.setValue(value.x());
120 y.setValue(value.y());
121 z.setValue(value.z());
127 float r =
roll.getValue();
128 float p =
pitch.getValue();
129 float y =
yaw.getValue();
131 return simox::math::rpy_to_mat3f(r, p,
y);
137 Eigen::Vector3f rpy = simox::math::mat3f_to_rpy(m);
139 roll.setValue(rpy(0));
140 pitch.setValue(rpy(1));
141 yaw.setValue(rpy(2));
147 x.setRange(allMin, allMax);
148 y.setRange(allMin, allMax);
149 z.setRange(allMin, allMax);
163 roll.setRange(allMin, allMax);
164 pitch.setRange(allMin, allMax);
165 yaw.setRange(allMin, allMax);
171 roll.setSteps(steps);
172 pitch.setSteps(steps);
179 x.setDecimals(decimals);
180 y.setDecimals(decimals);
181 z.setDecimals(decimals);
187 roll.setDecimals(decimals);
188 pitch.setDecimals(decimals);
189 yaw.setDecimals(decimals);
int Label(int n[], int size, int *curLabel, MiscLib::Vector< std::pair< int, size_t > > *labels)
This file offers overloads of toIce() and fromIce() functions for STL container types.