mc_rtc::gui::details::ArrowROImpl< GetStart, GetEnd > Struct Template Reference

#include <mc_rtc/gui/Arrow.h>

Inheritance diagram for mc_rtc::gui::details::ArrowROImpl< GetStart, GetEnd >:
Collaboration diagram for mc_rtc::gui::details::ArrowROImpl< GetStart, GetEnd >:

Public Member Functions

 ArrowROImpl (const std::string &name, const ArrowConfig &config, GetStart get_start_fn, GetEnd get_end_fn)
 
 ArrowROImpl ()
 
void write (mc_rtc::MessagePackBuilder &builder, bool ro=true)
 
- Public Member Functions inherited from mc_rtc::gui::Element
const std::string & name () const
 
int id () const
 
void id (int idIn)
 
void write (mc_rtc::MessagePackBuilder &)
 
bool handleRequest (const mc_rtc::Configuration &)
 
 Element ()
 

Static Public Member Functions

constexpr static size_t write_size ()
 
- Static Public Member Functions inherited from mc_rtc::gui::Element
static constexpr size_t write_size ()
 

Static Public Attributes

static constexpr auto type = Elements::Arrow
 

Additional Inherited Members

- Protected Member Functions inherited from mc_rtc::gui::Element
 Element (const std::string &name)
 
- Protected Attributes inherited from mc_rtc::gui::Element
std::string name_
 
int id_
 

Detailed Description

template<typename GetStart, typename GetEnd>
struct mc_rtc::gui::details::ArrowROImpl< GetStart, GetEnd >

Arrow should display an arrow from the point at the start to the point at the end

An ArrowConfig can be provided to specify how the arrow should be displayed

Template Parameters
GetStartReturns an Eigen::Vector3d representing the starting point
GetEndReturns an Eigen::Vector3d representing the end point

Constructor & Destructor Documentation

◆ ArrowROImpl() [1/2]

template<typename GetStart , typename GetEnd >
mc_rtc::gui::details::ArrowROImpl< GetStart, GetEnd >::ArrowROImpl ( const std::string &  name,
const ArrowConfig config,
GetStart  get_start_fn,
GetEnd  get_end_fn 
)
inline

◆ ArrowROImpl() [2/2]

template<typename GetStart , typename GetEnd >
mc_rtc::gui::details::ArrowROImpl< GetStart, GetEnd >::ArrowROImpl ( )
inline

Invalid element

Member Function Documentation

◆ write()

template<typename GetStart , typename GetEnd >
void mc_rtc::gui::details::ArrowROImpl< GetStart, GetEnd >::write ( mc_rtc::MessagePackBuilder builder,
bool  ro = true 
)
inline

◆ write_size()

template<typename GetStart , typename GetEnd >
constexpr static size_t mc_rtc::gui::details::ArrowROImpl< GetStart, GetEnd >::write_size ( )
inlinestaticconstexpr

Member Data Documentation

◆ type

template<typename GetStart , typename GetEnd >
constexpr auto mc_rtc::gui::details::ArrowROImpl< GetStart, GetEnd >::type = Elements::Arrow
staticconstexpr

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