Namespaces | |
impl | |
Classes | |
struct | AxisConfiguration |
struct | PolygonDescription |
struct | Range |
Enumerations | |
enum | Plot { Plot::Standard = 0, Plot::XY } |
enum | Type { Type::Abscissa, Type::Ordinate, Type::Polygon, Type::Polygons, Type::AbscissaOrdinate } |
Functions | |
template<typename GetT > | |
impl::Abscissa< GetT > | X (AxisConfiguration config, GetT get_fn) |
template<typename GetT > | |
impl::Abscissa< GetT > | X (std::string_view legend, GetT get_fn) |
template<typename UpdateCacheT , typename MaybeGetColor > | |
auto | XYChunk (std::string_view name, UpdateCacheT update_fn, MaybeGetColor color, Style style=Style::Solid, Side side=Side::Left) |
template<typename GetXT , typename GetYT , typename MaybeGetColor > | |
auto | XY (std::string_view name, GetXT get_x_fn, GetYT get_y_fn, MaybeGetColor color, Style style=Style::Solid, Side side=Side::Left) |
template<typename GetT > | |
impl::Ordinate< GetT > | Y (std::string_view name, GetT get_fn, Color color, Style style=Style::Solid, Side side=Side::Left) |
template<typename GetT , typename GetColor > | |
impl::OrdinateWithColor< GetT, GetColor > | Y (std::string_view name, GetT get_fn, GetColor get_color, Style style=Style::Solid, Side side=Side::Left) |
template<typename GetT > | |
impl::Polygon< GetT > | Polygon (const std::string &name, GetT get_fn, Side side=Side::Left) |
template<typename GetT > | |
impl::Polygons< GetT > | Polygons (const std::string &name, GetT get_fn, Side side=Side::Left) |
template<typename T > | |
constexpr bool | is_Abscissa () |
template<bool = true> | |
constexpr bool | is_not_Abscissa () |
template<typename T , typename... Args> | |
constexpr bool | is_not_Abscissa () |
template<bool = true> | |
constexpr bool | is_2d () |
template<typename T , typename... Args> | |
constexpr bool | is_2d () |
|
strong |
|
strong |
Distinguish plot types
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
impl::Polygon<GetT> mc_rtc::gui::plot::Polygon | ( | const std::string & | name, |
GetT | get_fn, | ||
Side | side = Side::Left |
||
) |
Helper function to create an impl::Polygon
impl::Polygons<GetT> mc_rtc::gui::plot::Polygons | ( | const std::string & | name, |
GetT | get_fn, | ||
Side | side = Side::Left |
||
) |
Helper function to create an impl::Polygon
impl::Abscissa<GetT> mc_rtc::gui::plot::X | ( | AxisConfiguration | config, |
GetT | get_fn | ||
) |
Helper to create an impl::Abscissa
impl::Abscissa<GetT> mc_rtc::gui::plot::X | ( | std::string_view | legend, |
GetT | get_fn | ||
) |
Helper to create an impl::Abscissa without limits
auto mc_rtc::gui::plot::XY | ( | std::string_view | name, |
GetXT | get_x_fn, | ||
GetYT | get_y_fn, | ||
MaybeGetColor | color, | ||
Style | style = Style::Solid , |
||
Side | side = Side::Left |
||
) |
Helper to create an impl::AbscissaOrdinate|impl::AbscissaOrdinateWithColor
auto mc_rtc::gui::plot::XYChunk | ( | std::string_view | name, |
UpdateCacheT | update_fn, | ||
MaybeGetColor | color, | ||
Style | style = Style::Solid , |
||
Side | side = Side::Left |
||
) |
Helper to create an impl::AbscissaOrdinate|impl::AbscissaOrdinateWithColor with chunky updates
This is meant to be used to create/update graphs with a bunch of data at once
impl::Ordinate<GetT> mc_rtc::gui::plot::Y | ( | std::string_view | name, |
GetT | get_fn, | ||
Color | color, | ||
Style | style = Style::Solid , |
||
Side | side = Side::Left |
||
) |
Helper to create an impl::Ordinate
impl::OrdinateWithColor<GetT, GetColor> mc_rtc::gui::plot::Y | ( | std::string_view | name, |
GetT | get_fn, | ||
GetColor | get_color, | ||
Style | style = Style::Solid , |
||
Side | side = Side::Left |
||
) |
Helper to create an impl::OrdinateWithColor