Go to the documentation of this file.
25 #include <ArmarXGui/interface/WidgetDescription.h>
40 FormLayoutPtr
makeFormLayout(std::vector<std::pair<std::string, WidgetPtr>> elements);
53 CheckBoxPtr
makeCheckBox(std::string name,
bool defaultValue, std::string label);
54 CheckBoxPtr
makeCheckBox(std::string name,
bool defaultValue =
false);
56 IntSpinBoxPtr
makeIntSpinBox(std::string name,
int min = 0,
int max = 100,
int defaultValue = 0);
57 FloatSpinBoxPtr
makeFloatSpinBox(std::string name,
float min = 0,
float max = 100,
float defaultValue = 0,
int steps = 100,
int decimals = 3);
58 DoubleSpinBoxPtr
makeDoubleSpinBox(std::string name,
double min = 0,
double max = 100,
double defaultValue = 0,
int steps = 100,
int decimals = 3);
60 IntSliderPtr
makeIntSlider(std::string name,
int min = 0,
int max = 100,
int defaultValue = 0);
61 FloatSliderPtr
makeFloatSlider(std::string name,
float min = 0,
float max = 100,
float defaultValue = 0);
62 DoubleSliderPtr
makeDoubleSlider(std::string name,
double min = 0,
double max = 100,
double defaultValue = 0);
64 StringComboBoxPtr
makeStringComboBox(std::string name, std::vector<std::string> options,
long defaultIndex = 0);
66 LineEditPtr
makeLineEdit(std::string name, std::string defaultValue =
"");
75 const std::string& namePrefix =
"",
82 FloatRange rangeX = { -25000, 25000},
83 FloatRange rangeY = { -25000, 25000},
84 FloatRange rangeZ = { -0, 25000},
85 FloatRange rangeRoll = { -
M_PI,
M_PI},
86 FloatRange rangePitch = { -
M_PI,
M_PI},
87 FloatRange rangeYaw = { -
M_PI,
M_PI});
90 const std::string& namePrefix,
94 return makeXYZRollPitchYawWidget(namePrefix, 0, 0, 0, 0, 0, 0, rangeLin, rangeLin, rangeLin, rangeAng, rangeAng, rangeAng);
std::vector< T > max(const std::vector< T > &v1, const std::vector< T > &v2)
std::vector< T > min(const std::vector< T > &v1, const std::vector< T > &v2)