mc_rtc::gui::plot::Range Struct Reference

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

Public Member Functions

 Range ()=default
 
 Range (double min, double max)
 
void fromMessagePack (const mc_rtc::Configuration &config)
 
void write (mc_rtc::MessagePackBuilder &builder) const
 

Public Attributes

double min = -inf
 
double max = inf
 

Static Public Attributes

static constexpr double inf = std::numeric_limits<double>::infinity()
 

Detailed Description

Range for abscissa or ordinate display

Setting the min to -inf or max to +inf tells the client to compute the related limit (default)

Constructor & Destructor Documentation

◆ Range() [1/2]

mc_rtc::gui::plot::Range::Range ( )
default

◆ Range() [2/2]

mc_rtc::gui::plot::Range::Range ( double  min,
double  max 
)
inline

Member Function Documentation

◆ fromMessagePack()

void mc_rtc::gui::plot::Range::fromMessagePack ( const mc_rtc::Configuration config)
inline

◆ write()

void mc_rtc::gui::plot::Range::write ( mc_rtc::MessagePackBuilder builder) const
inline

Member Data Documentation

◆ inf

constexpr double mc_rtc::gui::plot::Range::inf = std::numeric_limits<double>::infinity()
staticconstexpr

◆ max

double mc_rtc::gui::plot::Range::max = inf

◆ min

double mc_rtc::gui::plot::Range::min = -inf

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