mc_rtc::gui::details::TrajectoryImpl< GetT > Struct Template Reference

#include <mc_rtc/gui/Trajectory.h>

Inheritance diagram for mc_rtc::gui::details::TrajectoryImpl< GetT >:
Collaboration diagram for mc_rtc::gui::details::TrajectoryImpl< GetT >:

Public Member Functions

 TrajectoryImpl (const std::string &name, const LineConfig &config, GetT get_fn)
 
 TrajectoryImpl ()
 
void write (mc_rtc::MessagePackBuilder &builder)
 
- Public Member Functions inherited from mc_rtc::gui::DataElement< GetT >
void write (mc_rtc::MessagePackBuilder &builder)
 
 DataElement (const std::string &name, GetT get_fn)
 
 DataElement ()
 
- 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::DataElement< GetT >
static constexpr 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::Trajectory
 

Additional Inherited Members

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

Detailed Description

template<typename GetT>
struct mc_rtc::gui::details::TrajectoryImpl< GetT >

Trajectory can represent a pre-defined trajectory or a real-time trajectory depending on type of data returned by the callback

Styling information is provided to inform the client about how to display the trajectory

Template Parameters
GetTShould return either an sva::PTransformd or an Eigen::Vector3d (real-time trajectory) or a vector of these types (pre-defined trajectory)

Constructor & Destructor Documentation

◆ TrajectoryImpl() [1/2]

template<typename GetT >
mc_rtc::gui::details::TrajectoryImpl< GetT >::TrajectoryImpl ( const std::string &  name,
const LineConfig config,
GetT  get_fn 
)
inline

◆ TrajectoryImpl() [2/2]

template<typename GetT >
mc_rtc::gui::details::TrajectoryImpl< GetT >::TrajectoryImpl ( )
inline

Invalid element

Member Function Documentation

◆ write()

template<typename GetT >
void mc_rtc::gui::details::TrajectoryImpl< GetT >::write ( mc_rtc::MessagePackBuilder builder)
inline

◆ write_size()

template<typename GetT >
constexpr static size_t mc_rtc::gui::details::TrajectoryImpl< GetT >::write_size ( )
inlinestaticconstexpr

Member Data Documentation

◆ type

template<typename GetT >
constexpr auto mc_rtc::gui::details::TrajectoryImpl< GetT >::type = Elements::Trajectory
staticconstexpr

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