#include <Plot2d_Object.h>
|
| | Plot2d_Object () |
| |
| | Plot2d_Object (const Plot2d_Object &) |
| |
| virtual | ~Plot2d_Object () |
| |
| Plot2d_Object & | operator= (const Plot2d_Object &) |
| |
| virtual int | rtti ()=0 |
| |
| virtual QwtPlotItem * | createPlotItem ()=0 |
| |
| virtual void | autoFill (const QwtPlot *) |
| |
| virtual void | updatePlotItem (QwtPlotItem *) |
| |
| virtual QString | getTableTitle () const |
| |
| void | setHorTitle (const QString &) |
| |
| QString | getHorTitle () const |
| |
| void | setVerTitle (const QString &) |
| |
| QString | getVerTitle () const |
| |
| void | setHorUnits (const QString &) |
| |
| QString | getHorUnits () const |
| |
| void | setVerUnits (const QString &) |
| |
| QString | getVerUnits () const |
| |
| void | setName (const QString &) |
| |
| QString | getName () const |
| |
| void | setScale (double) |
| |
| double | getScale () const |
| |
| void | addPoint (double, double, const QString &=QString()) |
| |
| void | addPoint (const Plot2d_Point &) |
| |
| void | insertPoint (int, double, double, const QString &=QString()) |
| |
| void | insertPoint (int, const Plot2d_Point &) |
| |
| void | deletePoint (int) |
| |
| void | clearAllPoints () |
| |
| pointList | getPointList () const |
| |
| void | setPointList (const pointList &points) |
| |
| Plot2d_Point & | getPoint (int index) |
| |
| void | setData (const double *, const double *, long, const QStringList &=QStringList()) |
| |
| double * | horData () const |
| |
| double * | verData () const |
| |
| long | getData (double **, double **) const |
| |
| void | setText (const int, const QString &) |
| |
| QString | text (const int) const |
| |
| int | nbPoints () const |
| |
| bool | isEmpty () const |
| |
| void | setAutoAssign (bool) |
| |
| bool | isAutoAssign () const |
| |
| void | setXAxis (QwtPlot::Axis) |
| |
| QwtPlot::Axis | getXAxis () const |
| |
| void | setYAxis (QwtPlot::Axis) |
| |
| QwtPlot::Axis | getYAxis () const |
| |
| virtual double | getMinX () const |
| |
| virtual double | getMaxX () const |
| |
| virtual double | getMinY () const |
| |
| virtual double | getMaxY () const |
| |
| void | setSelected (const bool) |
| |
| bool | isSelected () const |
| |
| Plot2d_Object::Plot2d_Object |
( |
| ) |
|
| Plot2d_Object::~Plot2d_Object |
( |
| ) |
|
|
virtual |
| void Plot2d_Object::addPoint |
( |
double |
theX, |
|
|
double |
theY, |
|
|
const QString & |
theText = QString() |
|
) |
| |
Adds one point for object.
Adds one point for object.
References myPoints.
| void Plot2d_Object::clearAllPoints |
( |
| ) |
|
Remove all points for object.
References myPoints.
| void Plot2d_Object::deletePoint |
( |
int |
thePos | ) |
|
Delete one point for object on some position.
References myPoints.
| long Plot2d_Object::getData |
( |
double ** |
theX, |
|
|
double ** |
theY |
|
) |
| const |
| QString Plot2d_Object::getHorTitle |
( |
| ) |
const |
Gets object's horizontal title
References myHorTitle.
| QString Plot2d_Object::getHorUnits |
( |
| ) |
const |
Gets object's horizontal units
References myHorUnits.
| double Plot2d_Object::getMaxX |
( |
| ) |
const |
|
virtual |
Gets object's maximal abscissa
References myPoints.
| double Plot2d_Object::getMaxY |
( |
| ) |
const |
|
virtual |
| double Plot2d_Object::getMinX |
( |
| ) |
const |
|
virtual |
Gets object's minimal abscissa
References myPoints.
| double Plot2d_Object::getMinY |
( |
| ) |
const |
|
virtual |
| QString Plot2d_Object::getName |
( |
| ) |
const |
Gets object's name
References myName.
Gets points by index.
References myPoints.
| pointList Plot2d_Object::getPointList |
( |
| ) |
const |
Gets object's data : abscissas of points
References myPoints.
| double Plot2d_Object::getScale |
( |
| ) |
const |
Gets object's scale factor
References myScale.
| QString Plot2d_Object::getTableTitle |
( |
| ) |
const |
|
virtual |
| QString Plot2d_Object::getVerTitle |
( |
| ) |
const |
Gets object's vertical title
References myVerTitle.
| QString Plot2d_Object::getVerUnits |
( |
| ) |
const |
Gets object's vertical units
References myVerUnits.
Gets object's x axis
References myXAxis.
Gets object's y axis
References myYAxis.
| QColor Plot2d_Object::highlightedLegendTextColor |
( |
| ) |
|
|
static |
| double * Plot2d_Object::horData |
( |
| ) |
const |
| void Plot2d_Object::insertPoint |
( |
int |
thePos, |
|
|
double |
theX, |
|
|
double |
theY, |
|
|
const QString & |
theText = QString() |
|
) |
| |
Insert one point for object on some position.
Insert one point for object on some position.
References myPoints.
| bool Plot2d_Object::isAutoAssign |
( |
| ) |
const |
Gets object's AutoAssign flag state
References myAutoAssign.
| bool Plot2d_Object::isEmpty |
( |
| ) |
const |
Returns true if object has no data
References myPoints.
| bool Plot2d_Object::isSelected |
( |
| ) |
const |
| int Plot2d_Object::nbPoints |
( |
| ) |
const |
Gets object's data : number of points
References myPoints.
| virtual int Plot2d_Object::rtti |
( |
| ) |
|
|
pure virtual |
| QColor Plot2d_Object::selectionColor |
( |
| ) |
|
|
static |
| void Plot2d_Object::setAutoAssign |
( |
bool |
on | ) |
|
Sets object's AutoAssign flag - in this case attributes will be set automatically
References myAutoAssign.
| void Plot2d_Object::setData |
( |
const double * |
hData, |
|
|
const double * |
vData, |
|
|
long |
size, |
|
|
const QStringList & |
lst = QStringList() |
|
) |
| |
| void Plot2d_Object::setHighlightedLegendTextColor |
( |
const QColor & |
c | ) |
|
|
static |
| void Plot2d_Object::setHorTitle |
( |
const QString & |
title | ) |
|
Sets object's horizontal title
References myHorTitle.
| void Plot2d_Object::setHorUnits |
( |
const QString & |
units | ) |
|
Sets object's horizontal units
References myHorUnits.
| void Plot2d_Object::setName |
( |
const QString & |
theName | ) |
|
Sets object's name
References myName.
Gets object's data : abscissas of points
References myPoints.
| void Plot2d_Object::setScale |
( |
double |
theScale | ) |
|
Sets object's scale factor
References myScale.
| void Plot2d_Object::setSelected |
( |
const bool |
on | ) |
|
| void Plot2d_Object::setSelectionColor |
( |
const QColor & |
c | ) |
|
|
static |
| void Plot2d_Object::setText |
( |
const int |
ind, |
|
|
const QString & |
txt |
|
) |
| |
Changes text assigned to point of object
- Parameters
-
| ind | – index of point |
| txt | – new text |
References myPoints, and text().
| void Plot2d_Object::setVerTitle |
( |
const QString & |
title | ) |
|
Sets object's vertical title
References myVerTitle.
| void Plot2d_Object::setVerUnits |
( |
const QString & |
units | ) |
|
Sets object's vertical units
References myVerUnits.
| QString Plot2d_Object::text |
( |
const int |
ind | ) |
const |
- Returns
- text assigned to point
- Parameters
-
References myPoints.
| void Plot2d_Object::updatePlotItem |
( |
QwtPlotItem * |
theItem | ) |
|
|
virtual |
| double * Plot2d_Object::verData |
( |
| ) |
const |
| bool Plot2d_Object::myAutoAssign |
|
protected |
| QColor Plot2d_Object::myHighlightedLegendTextColor |
|
staticprivate |
| QString Plot2d_Object::myHorTitle |
|
protected |
| QString Plot2d_Object::myHorUnits |
|
protected |
| bool Plot2d_Object::myIsSelected |
|
protected |
| QString Plot2d_Object::myName |
|
protected |
| double Plot2d_Object::myScale |
|
protected |
| QColor Plot2d_Object::mySelectionColor |
|
staticprivate |
| QString Plot2d_Object::myVerTitle |
|
protected |
| QString Plot2d_Object::myVerUnits |
|
protected |
The documentation for this class was generated from the following files: