|
Choreonoid
1.5
|
#include <GraphWidget.h>
Public Types | |
| typedef boost::function< void(int frame, int size, double *out_values)> | DataRequestCallback |
| typedef boost::function< void(int frame, int size, double *values)> | DataModifiedCallback |
Public Member Functions | |
| GraphDataHandler () | |
| ~GraphDataHandler () | |
| void | setID (int id) |
| int | getID () const |
| void | setColor (float r, float g, float b) |
| void | setLabel (const std::string &label) |
| void | setFrameProperties (int numFrames, double frameRate, double offset=0.0) |
| void | setValueLimits (double lower, double upper) |
| void | setVelocityLimits (double lower, double upper) |
| void | addVerticalLine (double x, const std::string &label) |
| void | addHorizontalLine (double y, const std::string &label) |
| void | clearLines () |
| void | update () |
| void | setDataRequestCallback (DataRequestCallback callback) |
| void | setDataModifiedCallback (DataModifiedCallback callback) |
Friends | |
| class | GraphWidgetImpl |
| typedef boost::function<void(int frame, int size, double* values)> cnoid::GraphDataHandler::DataModifiedCallback |
| typedef boost::function<void(int frame, int size, double* out_values)> cnoid::GraphDataHandler::DataRequestCallback |
| GraphDataHandler::GraphDataHandler | ( | ) |
| GraphDataHandler::~GraphDataHandler | ( | ) |
| void GraphDataHandler::addHorizontalLine | ( | double | y, |
| const std::string & | label | ||
| ) |
| void GraphDataHandler::addVerticalLine | ( | double | x, |
| const std::string & | label | ||
| ) |
| void GraphDataHandler::clearLines | ( | ) |
|
inline |
| void GraphDataHandler::setColor | ( | float | r, |
| float | g, | ||
| float | b | ||
| ) |
| void GraphDataHandler::setDataModifiedCallback | ( | DataModifiedCallback | callback | ) |
| void GraphDataHandler::setDataRequestCallback | ( | DataRequestCallback | callback | ) |
| void GraphDataHandler::setFrameProperties | ( | int | numFrames, |
| double | frameRate, | ||
| double | offset = 0.0 |
||
| ) |
|
inline |
| void GraphDataHandler::setLabel | ( | const std::string & | label | ) |
| void GraphDataHandler::setValueLimits | ( | double | lower, |
| double | upper | ||
| ) |
| void GraphDataHandler::setVelocityLimits | ( | double | lower, |
| double | upper | ||
| ) |
| void GraphDataHandler::update | ( | ) |
|
friend |
1.8.11