Public Member Functions | List of all members
rqt_multiplot::CurveData Class Referenceabstract

#include <CurveData.h>

Inheritance diagram for rqt_multiplot::CurveData:
Inheritance graph
[legend]

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 ()
 

Detailed Description

Definition at line 33 of file CurveData.h.

Constructor & Destructor Documentation

rqt_multiplot::CurveData::CurveData ( )

Definition at line 27 of file CurveData.cpp.

rqt_multiplot::CurveData::~CurveData ( )

Definition at line 30 of file CurveData.cpp.

Member Function Documentation

virtual void rqt_multiplot::CurveData::appendPoint ( const QPointF &  point)
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.

virtual void rqt_multiplot::CurveData::clearPoints ( )
pure virtual
QPair< double, double > rqt_multiplot::CurveData::getAxisBounds ( CurveConfig::Axis  axis) const

Definition at line 62 of file CurveData.cpp.

virtual BoundingRectangle rqt_multiplot::CurveData::getBounds ( ) const
pure virtual
virtual size_t rqt_multiplot::CurveData::getNumPoints ( ) const
pure virtual
virtual QPointF rqt_multiplot::CurveData::getPoint ( size_t  index) const
pure virtual
QVector< size_t > rqt_multiplot::CurveData::getPointsInDistance ( double  x,
double  maxDistance 
) const
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.


The documentation for this class was generated from the following files:


rqt_multiplot
Author(s): Ralf Kaestner
autogenerated on Wed Jul 10 2019 03:49:44