#include <CurveData.h>
Public Member Functions | |
virtual void | appendPoint (const QPointF &point)=0 |
void | appendPoint (double x, double y) |
QRectF | boundingRect () const |
virtual void | clearPoints ()=0 |
CurveData () | |
QPair< double, double > | getAxisBounds (CurveConfig::Axis axis) const |
virtual BoundingRectangle | getBounds () const =0 |
virtual size_t | getNumPoints () const =0 |
virtual QPointF | getPoint (size_t index) const =0 |
virtual QVector< size_t > | getPointsInDistance (double x, double maxDistance) const |
double | getValue (size_t index, CurveConfig::Axis axis) const |
bool | isEmpty () const |
QPointF | sample (size_t i) const |
size_t | size () const |
void | writeFormatted (QStringList &formattedX, QStringList &formattedY) const |
~CurveData () | |
Definition at line 33 of file CurveData.h.
rqt_multiplot::CurveData::CurveData | ( | ) |
Definition at line 27 of file CurveData.cpp.
rqt_multiplot::CurveData::~CurveData | ( | ) |
Definition at line 30 of file CurveData.cpp.
|
pure virtual |
void rqt_multiplot::CurveData::appendPoint | ( | double | x, |
double | y | ||
) |
Definition at line 95 of file CurveData.cpp.
QRectF rqt_multiplot::CurveData::boundingRect | ( | ) | const |
Definition at line 91 of file CurveData.cpp.
|
pure virtual |
QPair< double, double > rqt_multiplot::CurveData::getAxisBounds | ( | CurveConfig::Axis | axis | ) | const |
Definition at line 62 of file CurveData.cpp.
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
virtual |
Reimplemented in rqt_multiplot::CurveDataCircularBuffer, and rqt_multiplot::CurveDataVector.
Definition at line 46 of file CurveData.cpp.
double rqt_multiplot::CurveData::getValue | ( | size_t | index, |
CurveConfig::Axis | axis | ||
) | const |
Definition at line 37 of file CurveData.cpp.
bool rqt_multiplot::CurveData::isEmpty | ( | ) | const |
Definition at line 75 of file CurveData.cpp.
QPointF rqt_multiplot::CurveData::sample | ( | size_t | i | ) | const |
Definition at line 87 of file CurveData.cpp.
size_t rqt_multiplot::CurveData::size | ( | ) | const |
Definition at line 83 of file CurveData.cpp.
void rqt_multiplot::CurveData::writeFormatted | ( | QStringList & | formattedX, |
QStringList & | formattedY | ||
) | const |
Definition at line 99 of file CurveData.cpp.