mc_rtc::gui::details::Labels< T > Struct Template Reference

#include <mc_rtc/gui/details/traits.h>

Static Public Attributes

static constexpr bool has_labels = false
 
static const std::vector< std::string > labels = {}
 

Detailed Description

template<typename T>
struct mc_rtc::gui::details::Labels< T >

Given a type provides appropriate labels.

The following types are supported:

  • Eigen::Vector2d -> {"x", "y"}
  • Eigen::Vector3d -> {"x", "y", "z"}
  • Eigen::Vector4d -> {"x", "y", "z", "w"}
  • Eigen::Quaterniond -> {"w", "x", "y", "z"}
  • Eigen::Quaterniond -> {"w", "x", "y", "z"}
  • sva::MotionVecd -> {"wx", "wy", "wz", "vx", "vy", "vz"}
  • sva::ForceVecd -> {"cx", "cy", "cz", "fx", "fy", "fz"}
  • sva::ImpedanceVecd -> {"cx", "cy", "cz", "fx", "fy", "fz"}

Member Data Documentation

◆ has_labels

template<typename T >
constexpr bool mc_rtc::gui::details::Labels< T >::has_labels = false
staticconstexpr

◆ labels

template<typename T >
const std::vector<std::string> mc_rtc::gui::details::Labels< T >::labels = {}
inlinestatic

The documentation for this struct was generated from the following file: