mc_rtc::gui::details::VisualImpl< GetVisual, GetPos > Struct Template Reference

#include <mc_rtc/gui/Visual.h>

Inheritance diagram for mc_rtc::gui::details::VisualImpl< GetVisual, GetPos >:
Collaboration diagram for mc_rtc::gui::details::VisualImpl< GetVisual, GetPos >:

Public Member Functions

 VisualImpl (const std::string &name, GetVisual get_visual_fn, GetPos get_pos_fn)
 
 VisualImpl ()
 
void write (mc_rtc::MessagePackBuilder &builder)
 
- 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::Visual
 

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 GetVisual, typename GetPos>
struct mc_rtc::gui::details::VisualImpl< GetVisual, GetPos >

Visual display shows the provided rbd::parsers::Visual element at the provided location

Template Parameters
GetVisualMust return an rbd::parsers::Visual
GetPosMust return an sva::PTransformd or an Eigen::Vector3d

Constructor & Destructor Documentation

◆ VisualImpl() [1/2]

template<typename GetVisual , typename GetPos >
mc_rtc::gui::details::VisualImpl< GetVisual, GetPos >::VisualImpl ( const std::string &  name,
GetVisual  get_visual_fn,
GetPos  get_pos_fn 
)
inline

◆ VisualImpl() [2/2]

template<typename GetVisual , typename GetPos >
mc_rtc::gui::details::VisualImpl< GetVisual, GetPos >::VisualImpl ( )
inline

Invalid element

Member Function Documentation

◆ write()

template<typename GetVisual , typename GetPos >
void mc_rtc::gui::details::VisualImpl< GetVisual, GetPos >::write ( mc_rtc::MessagePackBuilder builder)
inline

◆ write_size()

template<typename GetVisual , typename GetPos >
constexpr static size_t mc_rtc::gui::details::VisualImpl< GetVisual, GetPos >::write_size ( )
inlinestaticconstexpr

Member Data Documentation

◆ type

template<typename GetVisual , typename GetPos >
constexpr auto mc_rtc::gui::details::VisualImpl< GetVisual, GetPos >::type = Elements::Visual
staticconstexpr

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