GT RoboCup SSL
Soccer software, robot firmware
StripChart Class Reference

Public Member Functions

 StripChart (QWidget *parent=nullptr)
 
void history (const std::vector< std::shared_ptr< Packet::LogFrame > > *value)
 
void function (Chart::Function *function)
 
QList< Chart::Function * > getFunctions ()
 
void exportChart ()
 
void minValue (float v)
 
void maxValue (float v)
 
void color (const QColor &color)
 

Public Attributes

bool autoRange
 
int chartSize = 1000
 

Protected Member Functions

void paintEvent (QPaintEvent *e) override
 
QPointF dataPoint (int i, float value)
 
int indexAtPoint (const QPoint &point)
 

Protected Attributes

QList< Chart::Function * > _functions
 
float _minValue
 
float _maxValue
 
QColor _color
 
const std::vector< std::shared_ptr< Packet::LogFrame > > * _history
 
QPointF _mouse_overlay
 
+ Inheritance diagram for StripChart:
+ Collaboration diagram for StripChart:

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