#include "Plot.h"
Public Types | |
enum | axisQuantity { Magnitude , Phase , Real , Imaginary , Complex } |
Public Member Functions | |
PlotDataset (Plot *_owner, XYPlot *_xyPlot, PolarPlot *_polarPlot, int _id, const QString &_title, double *_dataX, double *_dataY, long _dataSize) | |
virtual | ~PlotDataset () |
void | replaceData (double *_dataX, double *_dataY, long _dataSize) |
void | setYim (double *_dataYim) |
void | setCurveIsVisibile (bool _isVisible=true, bool _repaint=true) |
void | setCurveWidth (double _penSize, bool _repaint=true) |
void | setCurveColor (const QColor &_color, bool _repaint=true) |
void | setCurvePointsVisible (bool _isVisible=true, bool _repaint=true) |
void | setCurvePointInnerColor (const QColor &_color, bool _repaint=true) |
void | setCurvePointOuterColor (const QColor &_color, bool _repaint=true) |
void | setCurvePointSize (int _size, bool _repaint=true) |
void | setCurvePointOuterColorWidth (double _size, bool _repaint=true) |
void | attach (void) |
void | detach (void) |
void | setCurveTitle (const QString &_title) |
void | setDimmed (bool _isDimmed, bool _repaint=true) |
void | setInformation (AbstractPlotDatasetInformation *_information) |
void | setAxisTitleX (const std::string &title) |
void | setAxisTitleY (const std::string &title) |
void | calculateData (axisQuantity _complexType) |
void | repaint (void) |
int | id (void) const |
bool | getDataAt (int _index, double &_x, double &_y) |
bool | getData (double *&_x, double *&_y, long &_size) |
bool | getYim (double *&_yim, long &_size) |
bool | getCopyOfData (double *&_x, double *&_y, long &_size) |
bool | getCopyOfYim (double *&_yim, long &_size) |
AbstractPlotDatasetInformation * | information (void) |
std::string | getAxisTitleX (void) |
std::string | getAxisTitleY (void) |
Static Public Member Functions | |
static std::string | plotQuantityString (axisQuantity _quantity) |
static axisQuantity | plotQuantityFromString (const std::string &_string) |
Friends | |
class | qwtw::Plot |
qwtw::PlotDataset::PlotDataset | ( | Plot * | _owner, |
XYPlot * | _xyPlot, | ||
PolarPlot * | _polarPlot, | ||
int | _id, | ||
const QString & | _title, | ||
double * | _dataX, | ||
double * | _dataY, | ||
long | _dataSize ) |
|
virtual |
void qwtw::PlotDataset::attach | ( | void | ) |
void qwtw::PlotDataset::calculateData | ( | axisQuantity | _complexType | ) |
void qwtw::PlotDataset::detach | ( | void | ) |
|
inline |
|
inline |
bool qwtw::PlotDataset::getCopyOfData | ( | double *& | _x, |
double *& | _y, | ||
long & | _size ) |
bool qwtw::PlotDataset::getCopyOfYim | ( | double *& | _yim, |
long & | _size ) |
bool qwtw::PlotDataset::getData | ( | double *& | _x, |
double *& | _y, | ||
long & | _size ) |
bool qwtw::PlotDataset::getDataAt | ( | int | _index, |
double & | _x, | ||
double & | _y ) |
bool qwtw::PlotDataset::getYim | ( | double *& | _yim, |
long & | _size ) |
|
inline |
|
inline |
|
static |
|
static |
void qwtw::PlotDataset::repaint | ( | void | ) |
void qwtw::PlotDataset::replaceData | ( | double * | _dataX, |
double * | _dataY, | ||
long | _dataSize ) |
|
inline |
|
inline |
void qwtw::PlotDataset::setCurveColor | ( | const QColor & | _color, |
bool | _repaint = true ) |
void qwtw::PlotDataset::setCurveIsVisibile | ( | bool | _isVisible = true, |
bool | _repaint = true ) |
void qwtw::PlotDataset::setCurvePointInnerColor | ( | const QColor & | _color, |
bool | _repaint = true ) |
void qwtw::PlotDataset::setCurvePointOuterColor | ( | const QColor & | _color, |
bool | _repaint = true ) |
void qwtw::PlotDataset::setCurvePointOuterColorWidth | ( | double | _size, |
bool | _repaint = true ) |
void qwtw::PlotDataset::setCurvePointSize | ( | int | _size, |
bool | _repaint = true ) |
void qwtw::PlotDataset::setCurvePointsVisible | ( | bool | _isVisible = true, |
bool | _repaint = true ) |
void qwtw::PlotDataset::setCurveTitle | ( | const QString & | _title | ) |
void qwtw::PlotDataset::setCurveWidth | ( | double | _penSize, |
bool | _repaint = true ) |
void qwtw::PlotDataset::setDimmed | ( | bool | _isDimmed, |
bool | _repaint = true ) |
|
inline |
|
inline |
|
friend |