7 template <
typename Derived>
15 Derived& this_ = *
static_cast<Derived*
>(
this);
30 min(std::array<float, 1>
v)
42 max(std::array<float, 1>
v)
60 min(
float x,
float y,
float z)
62 return Base::min(Eigen::Vector3f{x, y, z});
66 min(std::array<float, 3>
v)
68 return min(
v.at(0),
v.at(1),
v.at(2));
72 max(
float x,
float y,
float z)
74 return Base::max(Eigen::Vector3f{x, y, z});
78 max(std::array<float, 3>
v)
80 return max(
v.at(0),
v.at(1),
v.at(2));
86 return steps(Eigen::Vector3i{x, y, z});
92 return steps(
v.at(0),
v.at(1),
v.at(2));
97 public ValueMixin<Vector3fSpinBoxes, Eigen::Vector3f, Vector3fSpinBoxesBuilder>,
103 widget().steps =
toIceI(Eigen::Vector3i::Ones() *
static_cast<int>(2 * limpos + 1));
105 widget().min =
toIceF(Eigen::Vector3f::Ones() * -limpos);
106 widget().max =
toIceF(Eigen::Vector3f::Ones() * +limpos);
107 widget().defaultValue =
makeValue(Eigen::Vector3f{Eigen::Vector3f::Zero()});
120 return decimals(Eigen::Vector3i(x, y, z));
126 return decimals(Eigen::Vector3i(d, d, d));
139 inline detail::Vector3fSpinBoxesBuilder
142 return {name, limpos};