mc_rtc::gui::plot::impl::Polygon< GetT > Struct Template Reference

#include <mc_rtc/gui/plot/Polygon.h>

Public Member Functions

 Polygon (const std::string &name, GetT get_fn, Side side)
 
void write (mc_rtc::MessagePackBuilder &builder) const
 
void update () const
 
Polygonside (Side side)
 

Static Public Attributes

static constexpr Type type = Type::Polygon
 

Detailed Description

template<typename GetT>
struct mc_rtc::gui::plot::impl::Polygon< GetT >

This hold information on (x,y) points in a polygon and how to plot them

Constructor & Destructor Documentation

◆ Polygon()

template<typename GetT >
mc_rtc::gui::plot::impl::Polygon< GetT >::Polygon ( const std::string &  name,
GetT  get_fn,
Side  side 
)
inline

Member Function Documentation

◆ side()

template<typename GetT >
Polygon& mc_rtc::gui::plot::impl::Polygon< GetT >::side ( Side  side)
inline

◆ update()

template<typename GetT >
void mc_rtc::gui::plot::impl::Polygon< GetT >::update ( ) const
inline

◆ write()

template<typename GetT >
void mc_rtc::gui::plot::impl::Polygon< GetT >::write ( mc_rtc::MessagePackBuilder builder) const
inline

Member Data Documentation

◆ type

template<typename GetT >
constexpr Type mc_rtc::gui::plot::impl::Polygon< GetT >::type = Type::Polygon
staticconstexpr

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