|
mc_rtc
2.14.0
|
Namespaces | |
| details | |
| plot | |
Classes | |
| struct | CylinderParameters |
| struct | Element |
| struct | DataElement |
| struct | CallbackElement |
| struct | CallbackElement< ElementT, std::nullptr_t > |
| struct | CommonInputImpl |
| struct | VoidCallbackElement |
| struct | FormElement |
| struct | FormComboInput |
| struct | FormDataComboInput |
| struct | FormObjectInput |
| struct | FormGenericArrayInput |
| struct | FormOneOfInput |
| struct | StateBuilder |
| struct | Color |
| struct | LineConfig |
| struct | ArrowConfig |
| struct | ForceConfig |
| struct | PointConfig |
| struct | PolyhedronConfig |
| struct | RobotMsgData |
Enumerations | |
| enum class | Elements { Label = 0 , ArrayLabel , Button , Checkbox , StringInput , IntegerInput , NumberInput , NumberSlider , ArrayInput , ComboInput , DataComboInput , Point3D , Trajectory , Rotation , Transform , Schema , Form , Polygon , Force , Arrow , XYTheta , Table , Robot , Visual , PolyhedronTrianglesList , PolyhedronVerticesTriangles , GenericArray , OneOf , RobotMsg } |
| enum class | ElementsStacking { Vertical = 0 , Horizontal } |
| enum class | LineStyle { Solid , Dotted } |
Functions | |
| template<typename GetT , typename SetT > | |
| auto | ArrayInput (const std::string &name, GetT get_fn, SetT set_fn) |
| template<typename GetT , typename SetT > | |
| auto | ArrayInput (const std::string &name, const std::vector< std::string > &labels, GetT get_fn, SetT set_fn) |
| template<typename T > | |
| auto | ArrayInput (const std::string &name, const std::vector< std::string > &labels, T &value) |
| template<typename T > | |
| auto | ArrayInput (const std::string &name, T &value) |
| template<bool Degrees = true, typename T > | |
| auto | RPYInput (const std::string &name, T &value) |
| template<typename GetT , std::enable_if_t< std::is_invocable_v< GetT >, int > = 0> | |
| auto | ArrayLabel (const std::string &name, GetT get_fn) |
| template<typename GetT , std::enable_if_t< std::is_invocable_v< GetT >, int > = 0> | |
| auto | ArrayLabel (const std::string &name, const std::vector< std::string > &labels, GetT get_fn) |
| template<typename T , std::enable_if_t<!std::is_invocable_v< T >, int > = 0> | |
| auto | ArrayLabel (const std::string &name, const std::vector< std::string > &labels, T &&value) |
| template<typename T , std::enable_if_t<!std::is_invocable_v< T >, int > = 0> | |
| auto | ArrayLabel (const std::string &name, T &&value) |
| template<bool Degrees = true, typename T > | |
| auto | RPYLabel (const std::string &name, T &&value) |
| template<typename GetStart , typename GetEnd > | |
| auto | Arrow (const std::string &name, GetStart get_start_fn, GetEnd get_end_fn) |
| template<typename GetStart , typename GetEnd > | |
| auto | Arrow (const std::string &name, const ArrowConfig &config, GetStart get_start_fn, GetEnd get_end_fn) |
| template<typename GetStart , typename SetStart , typename GetEnd , typename SetEnd > | |
| auto | Arrow (const std::string &name, GetStart get_start_fn, SetStart set_start_fn, GetEnd get_end_fn, SetEnd set_end_fn) |
| template<typename GetStart , typename SetStart , typename GetEnd , typename SetEnd > | |
| auto | Arrow (const std::string &name, const ArrowConfig &config, GetStart get_start_fn, SetStart set_start_fn, GetEnd get_end_fn, SetEnd set_end_fn) |
| template<typename GetPos , typename GetSize = const Eigen::Vector3d &, typename GetColor = const mc_rtc::gui::Color &> | |
| auto | Box (const std::string &name, GetSize size_fn, GetPos get_pos_fn, GetColor color_fn=mc_rtc::gui::Color::Red) |
| template<typename Callback > | |
| auto | Button (const std::string &name, Callback cb) |
| template<typename GetT , typename Callback > | |
| auto | Checkbox (const std::string &name, GetT get_fn, Callback cb) |
| auto | Checkbox (const std::string &name, bool &value) |
| template<typename GetT , typename SetT > | |
| auto | ComboInput (const std::string &name, const std::vector< std::string > &values, GetT get_fn, SetT set_fn) |
| auto | ComboInput (const std::string &name, const std::vector< std::string > &values, std::string &value) |
| template<typename GetPos , typename GetParams = const CylinderParameters &, typename GetColor = const mc_rtc::gui::Color &> | |
| auto | Cylinder (const std::string &name, GetParams params_fn, GetPos get_pos_fn, GetColor color_fn=mc_rtc::gui::Color::Red) |
| template<typename GetT , typename SetT > | |
| auto | DataComboInput (const std::string &name, const std::vector< std::string > &values, GetT get_fn, SetT set_fn) |
| auto | DataComboInput (const std::string &name, const std::vector< std::string > &values, std::string &value) |
| template<typename GetPos , typename GetSize = const Eigen::Vector3d &, typename GetColor = const mc_rtc::gui::Color &> | |
| auto | Ellipsoid (const std::string &name, GetSize size_fn, GetPos get_pos_fn, GetColor color_fn=mc_rtc::gui::Color::Red) |
| template<typename GetForce , typename GetSurface > | |
| auto | Force (const std::string &name, GetForce get_force_fn, GetSurface get_surface_fn) |
| template<typename GetForce , typename GetSurface > | |
| auto | Force (const std::string &name, const ForceConfig &config, GetForce get_force_fn, GetSurface get_surface_fn) |
| template<typename GetForce , typename GetSurface , typename SetForce > | |
| auto | Force (const std::string &name, GetForce get_force_fn, SetForce set_force_fn, GetSurface get_surface_fn) |
| template<typename GetForce , typename GetSurface , typename SetForce > | |
| auto | Force (const std::string &name, const ForceConfig &config, GetForce get_force_fn, SetForce set_force_fn, GetSurface get_surface_fn) |
| template<typename T > | |
| details::FormArrayInput< T > | FormArrayInput (const std::string &name, bool required, bool fixed_size=false) |
| template<typename T > | |
| auto | FormArrayInput (const std::string &name, bool required, T &&value, bool fixed_size=true) |
| template<typename Callback , typename... Args> | |
| auto | Form (const std::string &name, Callback cb, Args &&... args) |
| template<typename T > | |
| auto | Input (const std::string &name, T &value) |
| template<typename GetT , typename SetT > | |
| auto | IntegerInput (const std::string &name, GetT get_fn, SetT set_fn) |
| template<typename T > | |
| auto | IntegerInput (const std::string &name, T &value) |
| template<typename GetT , std::enable_if_t< std::is_invocable_v< GetT >, int > = 0> | |
| auto | Label (const std::string &name, GetT get_fn) |
| template<typename T , std::enable_if_t<!std::is_invocable_v< T >, int > = 0> | |
| auto | Label (const std::string &name, T &&value) |
| template<typename GetT , typename SetT > | |
| auto | NumberInput (const std::string &name, GetT get_fn, SetT set_fn) |
| template<typename T > | |
| auto | NumberInput (const std::string &name, T &value) |
| template<typename GetT , typename SetT > | |
| auto | NumberSlider (const std::string &name, GetT get_fn, SetT set_fn, double min, double max) |
| template<typename T > | |
| auto | NumberSlider (const std::string &name, T &value, double min, double max) |
| template<typename GetT , std::enable_if_t< std::is_invocable_v< GetT >, int > = 0> | |
| auto | Point3D (const std::string &name, GetT get_fn) |
| template<typename GetT , typename SetT > | |
| auto | Point3D (const std::string &name, GetT get_fn, SetT set_fn) |
| template<typename GetT , std::enable_if_t< std::is_invocable_v< GetT >, int > = 0> | |
| auto | Point3D (const std::string &name, const PointConfig &config, GetT get_fn) |
| template<typename GetT , typename SetT > | |
| auto | Point3D (const std::string &name, const PointConfig &config, GetT get_fn, SetT set_fn) |
| template<typename T > | |
| auto | Point3DRO (const std::string &name, T &&value) |
| template<typename T > | |
| auto | Point3DRO (const std::string &name, const PointConfig &config, T &&value) |
| template<typename T , std::enable_if_t<!std::is_invocable_v< T >, int > = 0> | |
| auto | Point3D (const std::string &name, T &value) |
| template<typename T , std::enable_if_t<!std::is_invocable_v< T >, int > = 0> | |
| auto | Point3D (const std::string &name, const PointConfig &config, T &value) |
| template<typename GetT > | |
| auto | Polygon (const std::string &name, GetT get_fn) |
| template<typename GetT > | |
| auto | Polygon (const std::string &name, const Color &color, GetT get_fn) |
| template<typename GetT > | |
| auto | Polygon (const std::string &name, const LineConfig &config, GetT get_fn) |
| template<typename GetTrianglesT > | |
| auto | Polyhedron (const std::string &name, GetTrianglesT get_triangles_fn) |
| template<typename GetTrianglesT > | |
| auto | Polyhedron (const std::string &name, const PolyhedronConfig &config, GetTrianglesT get_triangles_fn) |
| template<typename GetVerticesOrTrianglesT , typename GetTrianglesOrColorsT > | |
| auto | Polyhedron (const std::string &name, GetVerticesOrTrianglesT get_vertices_or_triangles_fn, GetTrianglesOrColorsT get_triangles_or_colors_fn) |
| template<typename GetVerticesOrTrianglesT , typename GetTrianglesOrColorsT > | |
| auto | Polyhedron (const std::string &name, const PolyhedronConfig &config, GetVerticesOrTrianglesT get_vertices_or_triangles_fn, GetTrianglesOrColorsT get_triangles_or_colors_fn) |
| template<typename GetTrianglesT , typename GetColorT > | |
| auto | ColoredPolyhedron (const std::string &name, const PolyhedronConfig &config, GetTrianglesT get_triangles_fn, GetColorT get_color_fn) |
| template<typename GetVerticesT , typename GetTrianglesT , typename GetColorT > | |
| auto | Polyhedron (const std::string &name, GetVerticesT get_vertices_fn, GetTrianglesT get_triangles_fn, GetColorT get_color_fn) |
| template<typename GetVerticesT , typename GetTrianglesT , typename GetColorT > | |
| auto | Polyhedron (const std::string &name, const PolyhedronConfig &config, GetVerticesT get_vertices_fn, GetTrianglesT get_triangles_fn, GetColorT get_color_fn) |
| template<typename GetT > | |
| auto | Robot (const std::string &name, GetT get_fn) |
| template<typename GetT > | |
| auto | RobotMsg (const std::string &name, GetT get_fn) |
| template<typename GetT > | |
| auto | Rotation (const std::string &name, GetT get_fn) |
| template<typename GetT , typename SetT > | |
| auto | Rotation (const std::string &name, GetT get_fn, SetT set_fn) |
| template<typename Callback > | |
| auto | Schema (const std::string &name, const std::string &schema, Callback cb) |
| template<typename GetPos , typename GetRadius = double, typename GetColor = const mc_rtc::gui::Color &> | |
| auto | Sphere (const std::string &name, GetRadius radius_fn, GetPos get_pos_fn, GetColor color_fn=mc_rtc::gui::Color::Red) |
| template<typename GetT , typename SetT > | |
| auto | StringInput (const std::string &name, GetT get_fn, SetT set_fn) |
| auto | StringInput (const std::string &name, std::string &value) |
| template<typename GetData > | |
| auto | Table (const std::string &name, std::vector< std::string > header, GetData get_data_fn) |
| template<typename GetData > | |
| auto | Table (const std::string &name, std::vector< std::string > header, std::vector< std::string > format, GetData get_data_fn) |
| template<typename GetHeader , typename GetData > | |
| auto | Table (const std::string &name, GetHeader get_header_fn, GetData get_data_fn) |
| template<typename GetHeader , typename GetFormat , typename GetData > | |
| auto | Table (const std::string &name, GetHeader get_header_fn, GetFormat get_format_fn, GetData get_data_fn) |
| template<typename GetT > | |
| auto | Trajectory (const std::string &name, GetT get_fn) |
| template<typename GetT > | |
| auto | Trajectory (const std::string &name, const LineConfig &config, GetT get_fn) |
| template<typename GetT , std::enable_if_t< std::is_invocable_v< GetT >, int > = 0> | |
| auto | Transform (const std::string &name, GetT get_fn) |
| template<typename GetT , typename SetT > | |
| auto | Transform (const std::string &name, GetT get_fn, SetT set_fn) |
| template<typename T > | |
| auto | TransformRO (const std::string &name, T &&value) |
| template<typename T , std::enable_if_t<!std::is_invocable_v< T >, int > = 0> | |
| auto | Transform (const std::string &name, T &value) |
| template<typename GetVisual , typename GetPos > | |
| auto | Visual (const std::string &name, GetVisual get_visual_fn, GetPos get_pos_fn) |
| template<typename GetT , std::enable_if_t< std::is_invocable_v< GetT >, int > = 0> | |
| auto | XYTheta (const std::string &name, GetT get_fn) |
| template<typename GetT , typename SetT > | |
| auto | XYTheta (const std::string &name, GetT get_fn, SetT set_fn) |
|
strong |
An enumeration of available elements
|
strong |
|
strong |
| auto mc_rtc::gui::ArrayInput | ( | const std::string & | name, |
| const std::vector< std::string > & | labels, | ||
| GetT | get_fn, | ||
| SetT | set_fn | ||
| ) |
Helper function to create an ArrayInput element (with labels)
| auto mc_rtc::gui::ArrayInput | ( | const std::string & | name, |
| const std::vector< std::string > & | labels, | ||
| T & | value | ||
| ) |
Helper function to build an ArrayInput from a variable
| auto mc_rtc::gui::ArrayInput | ( | const std::string & | name, |
| GetT | get_fn, | ||
| SetT | set_fn | ||
| ) |
Helper function to create an ArrayInput element (no labels)
| auto mc_rtc::gui::ArrayInput | ( | const std::string & | name, |
| T & | value | ||
| ) |
Helper function to build an ArrayInput from a variable
Labels are automatically added for certain types, see details::Labels<T>
| auto mc_rtc::gui::ArrayLabel | ( | const std::string & | name, |
| const std::vector< std::string > & | labels, | ||
| GetT | get_fn | ||
| ) |
Helper function to build an ArrayLabelImpl (with labels)
| auto mc_rtc::gui::ArrayLabel | ( | const std::string & | name, |
| const std::vector< std::string > & | labels, | ||
| T && | value | ||
| ) |
Helper function to build an ArrayLabelImpl from a variable.
Labels are automatically added for certain types, see details::Labels<T>
| auto mc_rtc::gui::ArrayLabel | ( | const std::string & | name, |
| GetT | get_fn | ||
| ) |
Helper function to build an ArrayLabelImpl (no labels)
| auto mc_rtc::gui::ArrayLabel | ( | const std::string & | name, |
| T && | value | ||
| ) |
Helper function to build an ArrayLabelImpl from a variable.
Labels are automatically added for certain types, see details::Labels<T>
| auto mc_rtc::gui::Arrow | ( | const std::string & | name, |
| const ArrowConfig & | config, | ||
| GetStart | get_start_fn, | ||
| GetEnd | get_end_fn | ||
| ) |
Helper function to create an ArrowImpl
| auto mc_rtc::gui::Arrow | ( | const std::string & | name, |
| const ArrowConfig & | config, | ||
| GetStart | get_start_fn, | ||
| SetStart | set_start_fn, | ||
| GetEnd | get_end_fn, | ||
| SetEnd | set_end_fn | ||
| ) |
| auto mc_rtc::gui::Arrow | ( | const std::string & | name, |
| GetStart | get_start_fn, | ||
| GetEnd | get_end_fn | ||
| ) |
Helper function to create an ArrowImpl
| auto mc_rtc::gui::Arrow | ( | const std::string & | name, |
| GetStart | get_start_fn, | ||
| SetStart | set_start_fn, | ||
| GetEnd | get_end_fn, | ||
| SetEnd | set_end_fn | ||
| ) |
| auto mc_rtc::gui::Box | ( | const std::string & | name, |
| GetSize | size_fn, | ||
| GetPos | get_pos_fn, | ||
| GetColor | color_fn = mc_rtc::gui::Color::Red |
||
| ) |
Creates a Box
| GetPos | Callback to get the box position |
| GetSize | An Eigen::Vector3d (fixed size) or callback to get the size |
| GetColor | A color (fixed color) or callback to get the color |
If
| GetSize | and/or |
| GetColor | are callbacks they are invoked immediately |
| auto mc_rtc::gui::Button | ( | const std::string & | name, |
| Callback | cb | ||
| ) |
Helper function to create a ButtonImpl
|
inline |
Helper function to create a Checkbox from a variable, the callback flips the variable state
| auto mc_rtc::gui::Checkbox | ( | const std::string & | name, |
| GetT | get_fn, | ||
| Callback | cb | ||
| ) |
Helper function to create a Checkbox
| auto mc_rtc::gui::ColoredPolyhedron | ( | const std::string & | name, |
| const PolyhedronConfig & | config, | ||
| GetTrianglesT | get_triangles_fn, | ||
| GetColorT | get_color_fn | ||
| ) |
Helper function to build a ColoredPolyhedronImpl
| auto mc_rtc::gui::ComboInput | ( | const std::string & | name, |
| const std::vector< std::string > & | values, | ||
| GetT | get_fn, | ||
| SetT | set_fn | ||
| ) |
Helper function to create a ComboInputImpl
|
inline |
Helper function to create a ComboInputImpl from a variable
| auto mc_rtc::gui::Cylinder | ( | const std::string & | name, |
| GetParams | params_fn, | ||
| GetPos | get_pos_fn, | ||
| GetColor | color_fn = mc_rtc::gui::Color::Red |
||
| ) |
Creates a Cylinder
| GetPos | Callback to get the cylinder position |
| GetParams | A CylinderParameters (fixed size) or callback to get the parameters |
| GetColor | A color (fixed color) or callback to get the color |
If
| GetParams | and/or |
| GetColor | are callbacks they are invoked immediately |
| auto mc_rtc::gui::DataComboInput | ( | const std::string & | name, |
| const std::vector< std::string > & | values, | ||
| GetT | get_fn, | ||
| SetT | set_fn | ||
| ) |
Helper function to build a DataComboInputImpl
|
inline |
Helper function to build a DataComboInputImpl from a variable
| auto mc_rtc::gui::Ellipsoid | ( | const std::string & | name, |
| GetSize | size_fn, | ||
| GetPos | get_pos_fn, | ||
| GetColor | color_fn = mc_rtc::gui::Color::Red |
||
| ) |
Creates an Ellipsoid
| GetPos | Callback to get the ellipsoid position |
| GetSize | An Eigen::Vector3d (fixed size) or callback to get the ellipsoid size |
| GetColor | A color (fixed color) or callback to get the color |
If
| GetSize | and/or |
| GetColor | are callbacks they are invoked immediately |
| auto mc_rtc::gui::Force | ( | const std::string & | name, |
| const ForceConfig & | config, | ||
| GetForce | get_force_fn, | ||
| GetSurface | get_surface_fn | ||
| ) |
Helper function to get a ForceImpl
| auto mc_rtc::gui::Force | ( | const std::string & | name, |
| const ForceConfig & | config, | ||
| GetForce | get_force_fn, | ||
| SetForce | set_force_fn, | ||
| GetSurface | get_surface_fn | ||
| ) |
Helper function to get a ForceImpl
| auto mc_rtc::gui::Force | ( | const std::string & | name, |
| GetForce | get_force_fn, | ||
| GetSurface | get_surface_fn | ||
| ) |
Helper function to get a ForceImpl
| auto mc_rtc::gui::Force | ( | const std::string & | name, |
| GetForce | get_force_fn, | ||
| SetForce | set_force_fn, | ||
| GetSurface | get_surface_fn | ||
| ) |
Helper function to get a ForceImpl
| auto mc_rtc::gui::Form | ( | const std::string & | name, |
| Callback | cb, | ||
| Args &&... | args | ||
| ) |
Helper to create a Form element
| details::FormArrayInput<T> mc_rtc::gui::FormArrayInput | ( | const std::string & | name, |
| bool | required, | ||
| bool | fixed_size = false |
||
| ) |
| auto mc_rtc::gui::FormArrayInput | ( | const std::string & | name, |
| bool | required, | ||
| T && | value, | ||
| bool | fixed_size = true |
||
| ) |
| auto mc_rtc::gui::Input | ( | const std::string & | name, |
| T & | value | ||
| ) |
Generic helper to build an input from a variable, the most appopriate type is automatically selected
| auto mc_rtc::gui::IntegerInput | ( | const std::string & | name, |
| GetT | get_fn, | ||
| SetT | set_fn | ||
| ) |
Helper function to create a IntegerInputImpl
| auto mc_rtc::gui::IntegerInput | ( | const std::string & | name, |
| T & | value | ||
| ) |
Helper function to create an IntegerInputImpl from a reference
| auto mc_rtc::gui::Label | ( | const std::string & | name, |
| GetT | get_fn | ||
| ) |
Helper function to create a Label element
| auto mc_rtc::gui::Label | ( | const std::string & | name, |
| T && | value | ||
| ) |
Helper function to create a Label element from a variable
| auto mc_rtc::gui::NumberInput | ( | const std::string & | name, |
| GetT | get_fn, | ||
| SetT | set_fn | ||
| ) |
Helper function to create a NumberInputImpl
| auto mc_rtc::gui::NumberInput | ( | const std::string & | name, |
| T & | value | ||
| ) |
Helper function to create a NumberInputImpl from a variable
| auto mc_rtc::gui::NumberSlider | ( | const std::string & | name, |
| GetT | get_fn, | ||
| SetT | set_fn, | ||
| double | min, | ||
| double | max | ||
| ) |
Helper function to create a NumberSliderImpl
| auto mc_rtc::gui::NumberSlider | ( | const std::string & | name, |
| T & | value, | ||
| double | min, | ||
| double | max | ||
| ) |
Helper function to create a NumberSlider from a variable
| auto mc_rtc::gui::Point3D | ( | const std::string & | name, |
| const PointConfig & | config, | ||
| GetT | get_fn | ||
| ) |
Helper function to create a read-only Point3DImpl with configuration
| auto mc_rtc::gui::Point3D | ( | const std::string & | name, |
| const PointConfig & | config, | ||
| GetT | get_fn, | ||
| SetT | set_fn | ||
| ) |
Helper function to create a Point3DImpl with configuration
| auto mc_rtc::gui::Point3D | ( | const std::string & | name, |
| const PointConfig & | config, | ||
| T & | value | ||
| ) |
Helper function to build a Point3D from a variable
| auto mc_rtc::gui::Point3D | ( | const std::string & | name, |
| GetT | get_fn | ||
| ) |
Helper function to create a read-only Point3DImpl
| auto mc_rtc::gui::Point3D | ( | const std::string & | name, |
| GetT | get_fn, | ||
| SetT | set_fn | ||
| ) |
Helper function to create a Point3DImpl
| auto mc_rtc::gui::Point3D | ( | const std::string & | name, |
| T & | value | ||
| ) |
Helper function to build a Point3D from a variable
| auto mc_rtc::gui::Point3DRO | ( | const std::string & | name, |
| const PointConfig & | config, | ||
| T && | value | ||
| ) |
Helper function to build a Point3D from a variable
| auto mc_rtc::gui::Point3DRO | ( | const std::string & | name, |
| T && | value | ||
| ) |
Helper function to build a Point3D from a variable
| auto mc_rtc::gui::Polygon | ( | const std::string & | name, |
| const Color & | color, | ||
| GetT | get_fn | ||
| ) |
Helper function to build a PolygonImpl
| auto mc_rtc::gui::Polygon | ( | const std::string & | name, |
| const LineConfig & | config, | ||
| GetT | get_fn | ||
| ) |
Helper function to build a PolygonImpl
| auto mc_rtc::gui::Polygon | ( | const std::string & | name, |
| GetT | get_fn | ||
| ) |
Helper function to build a PolygonImpl
| auto mc_rtc::gui::Polyhedron | ( | const std::string & | name, |
| const PolyhedronConfig & | config, | ||
| GetTrianglesT | get_triangles_fn | ||
| ) |
Helper function to build a PolyhedronTriangleListImpl
| auto mc_rtc::gui::Polyhedron | ( | const std::string & | name, |
| const PolyhedronConfig & | config, | ||
| GetVerticesOrTrianglesT | get_vertices_or_triangles_fn, | ||
| GetTrianglesOrColorsT | get_triangles_or_colors_fn | ||
| ) |
Helper function to build a PolyhedronVerticesTrianglesImpl
| auto mc_rtc::gui::Polyhedron | ( | const std::string & | name, |
| const PolyhedronConfig & | config, | ||
| GetVerticesT | get_vertices_fn, | ||
| GetTrianglesT | get_triangles_fn, | ||
| GetColorT | get_color_fn | ||
| ) |
Helper function to build a ColoredPolyhedronImpl
| auto mc_rtc::gui::Polyhedron | ( | const std::string & | name, |
| GetTrianglesT | get_triangles_fn | ||
| ) |
Helper function to build a PolyhedronTriangleListImpl
| auto mc_rtc::gui::Polyhedron | ( | const std::string & | name, |
| GetVerticesOrTrianglesT | get_vertices_or_triangles_fn, | ||
| GetTrianglesOrColorsT | get_triangles_or_colors_fn | ||
| ) |
Helper function to build a PolyhedronVerticesTrianglesImpl
| auto mc_rtc::gui::Polyhedron | ( | const std::string & | name, |
| GetVerticesT | get_vertices_fn, | ||
| GetTrianglesT | get_triangles_fn, | ||
| GetColorT | get_color_fn | ||
| ) |
Helper function to build a ColoredPolyhedronImpl
| auto mc_rtc::gui::Robot | ( | const std::string & | name, |
| GetT | get_fn | ||
| ) |
Helper function to create a RobotImpl
| auto mc_rtc::gui::RobotMsg | ( | const std::string & | name, |
| GetT | get_fn | ||
| ) |
Helper function to create a RobotImpl
| auto mc_rtc::gui::Rotation | ( | const std::string & | name, |
| GetT | get_fn | ||
| ) |
Helper function to create a Rotation element (read-only)
| auto mc_rtc::gui::Rotation | ( | const std::string & | name, |
| GetT | get_fn, | ||
| SetT | set_fn | ||
| ) |
Helper function to create a Rotation element (writable)
| auto mc_rtc::gui::RPYInput | ( | const std::string & | name, |
| T & | value | ||
| ) |
Creates an input for a rotation using RPY angles
Defaults to degrees inputs, can be changed via the
| Degrees | template parameter |
| auto mc_rtc::gui::RPYLabel | ( | const std::string & | name, |
| T && | value | ||
| ) |
Creates a label for RPY angles
Defaults to degrees inputs, can be changed via the
| DegreesInput | template parameter |
| auto mc_rtc::gui::Schema | ( | const std::string & | name, |
| const std::string & | schema, | ||
| Callback | cb | ||
| ) |
Helper function to create a Schema element
| auto mc_rtc::gui::Sphere | ( | const std::string & | name, |
| GetRadius | radius_fn, | ||
| GetPos | get_pos_fn, | ||
| GetColor | color_fn = mc_rtc::gui::Color::Red |
||
| ) |
Creates a Sphere
| GetPos | Callback to get the sphere position |
| GetRadius | A double (fixed radius) or callback to get the radius |
| GetColor | A color (fixed color) or callback to get the color |
If
| GetRadius | and/or |
| GetColor | are callbacks they are invoked immediately |
| auto mc_rtc::gui::StringInput | ( | const std::string & | name, |
| GetT | get_fn, | ||
| SetT | set_fn | ||
| ) |
Helper function to create a StringInputImpl
|
inline |
Helper function to create a StringInputImpl from a variable
| auto mc_rtc::gui::Table | ( | const std::string & | name, |
| GetHeader | get_header_fn, | ||
| GetData | get_data_fn | ||
| ) |
Helper function to get a TableImpl
| auto mc_rtc::gui::Table | ( | const std::string & | name, |
| GetHeader | get_header_fn, | ||
| GetFormat | get_format_fn, | ||
| GetData | get_data_fn | ||
| ) |
Helper function to get a FormattedTableImpl
| auto mc_rtc::gui::Table | ( | const std::string & | name, |
| std::vector< std::string > | header, | ||
| GetData | get_data_fn | ||
| ) |
Helper function to a get a StaticTableImpl
| auto mc_rtc::gui::Table | ( | const std::string & | name, |
| std::vector< std::string > | header, | ||
| std::vector< std::string > | format, | ||
| GetData | get_data_fn | ||
| ) |
Helper function to a get a StaticTableImpl with format
| auto mc_rtc::gui::Trajectory | ( | const std::string & | name, |
| const LineConfig & | config, | ||
| GetT | get_fn | ||
| ) |
Function helper to get a TrajectoryImpl
| auto mc_rtc::gui::Trajectory | ( | const std::string & | name, |
| GetT | get_fn | ||
| ) |
Function helper to get a TrajectoryImpl
| auto mc_rtc::gui::Transform | ( | const std::string & | name, |
| GetT | get_fn | ||
| ) |
Helper function to create a Transform element (read-only)
| auto mc_rtc::gui::Transform | ( | const std::string & | name, |
| GetT | get_fn, | ||
| SetT | set_fn | ||
| ) |
Helper function to create a Transform element (editable)
| auto mc_rtc::gui::Transform | ( | const std::string & | name, |
| T & | value | ||
| ) |
Helper function to create a writable transform element from a variable
| auto mc_rtc::gui::TransformRO | ( | const std::string & | name, |
| T && | value | ||
| ) |
Helper function to create a read-only transform display from a variable
| auto mc_rtc::gui::Visual | ( | const std::string & | name, |
| GetVisual | get_visual_fn, | ||
| GetPos | get_pos_fn | ||
| ) |
Helper function to create a details::VisualImpl
| auto mc_rtc::gui::XYTheta | ( | const std::string & | name, |
| GetT | get_fn | ||
| ) |
Helper function to create an XYTheta element (read-only)
| auto mc_rtc::gui::XYTheta | ( | const std::string & | name, |
| GetT | get_fn, | ||
| SetT | set_fn | ||
| ) |
Helper function to create an XYTheta element