|
MeVisLab Scripting Reference
|
#include <mlCurveDataWrapper.h>
Public Slots | |
| void | clearData () |
| void | clear () |
| int | getNumPoints () const |
| int | getNumSeries () const |
| double | getXValue (int point) const |
| QList< double > | getXValues () const |
| QList< double > | getXSpacing () const |
| QList< double > | getXSlice (int startPoint, int endPoint=-1) |
| void | setXValue (int point, double value) |
| void | setX (int nPoints, QList< double > data, int step=1) |
| QList< double > | getYValues (int series=0) const |
| double | getYValue (int point, int series=0) const |
| QList< double > | getYSlice (int startPoint, int endPoint=-1, int series=0) |
| void | setYValue (int point, double value, int series=0) |
| void | setY (int nPoints, QList< double > data, int step=1) |
| double | getXMin () const |
| double | getXMax () const |
| double | getYMin () const |
| double | getYMax () const |
| void | setXRange (double xMin, double xMax) |
| void | setAutoXRange () |
| void | setYRange (double yMin, double yMax) |
| void | setAutoYRange () |
| int | getCurveType () const |
| void | setCurveType (int curveType) |
| int | getCurveStyle () const |
| void | setCurveStyle (int curveStyle) |
| QString | getCurveTitle () const |
| void | setCurveTitle (QString curveTitle) |
| QString | getCurveUnit () const |
| void | setCurveUnit (QString curveUnit) |
| QString | getCurveSymbol () const |
| void | setCurveSymbol (QString curveSymbol) |
| void | resizeX (int nPoints) |
| void | resizeY (int nPoints) |
| void | resizeY (int iSeries, int nPoints) |
Properties | |
| int | curveStyle |
| QString | curveSymbol |
| QString | curveTitle |
| int | curveType |
| QString | curveUnit |
| int | numPoints |
| int | numSeries |
A class that wraps CurveData objects for use in Python.
|
slot |
Clears curve data and reset curve properties.
|
slot |
Clears curve data.
|
slot |
Returns the curve style.
|
slot |
Returns the curve symbol.
|
slot |
Returns the curve title.
|
slot |
Returns the curve type.
|
slot |
Returns the curve unit.
|
slot |
Returns the number of points in the curve.
|
slot |
Returns the number of series in the curve.
|
slot |
Returns the maxium X value.
|
slot |
Returns the minimum X value.
|
slot |
Returns slice of X values from startPoint to endPoint (inclusive!). If endPoint is omitted, it is assumed to be the last point of the curve.
|
slot |
Returns spacing of X values.
|
slot |
Returns the X value at point.
|
slot |
Returns all X values.
|
slot |
Returns the maximum Y value.
|
slot |
Returns the minimum Y value.
|
slot |
Returns slice of Y values from startPoint to endPoint (inclusive!) in series. If series is omitted, series 0 is assumed. If endPoint is omitted, it is assumed to be the last point of the curve.
|
slot |
Returns the Y value at point in series. If series is omitted, series 0 is assumed.
|
slot |
Returns all Y values for a given series.
|
slot |
Changes length of X-series. New values are initialized to zero.
|
slot |
Changes length of iSeries-th Y-series. New values are initialized to zero.
|
slot |
Changes length of first Y-series. New values are initialized to zero.
|
slot |
Sets X value range to 'automatic', i.e. dependent on X series data.
|
slot |
Sets Y value range to 'automatic', i.e. dependent on Y series data.
|
slot |
Sets the curve style.
References curveStyle.
|
slot |
Sets the curve symbol.
References curveSymbol.
|
slot |
Sets the curve title.
References curveTitle.
|
slot |
Sets the curve type.
References curveType.
|
slot |
Sets the curve unit.
References curveUnit.
|
slot |
Sets X-series to nPoints double values copied from the source array data. The optional step value specifies the array index difference between two consecutive X-series values. Hence, the data array is expected to contain at least (nPoints-1)*step+1 values. If no X data is specified, the X values are generated automatically as numbers 0, 1, ...
|
slot |
Explicitly sets X value range to xMin ... xMax.
|
slot |
Sets the X value at point to value.
|
slot |
Sets Y data to a single series of nPoints double values copied from the source array data. All previous Y-series are replaced by the new series. The optional step value specifies the array index difference between two consecutive Y-series values. Hence, the data array is expected to contain at least (nPoints-1)*step+1 values.
|
slot |
Explicitly sets Y value range to yMin ... yMax.
|
slot |
Sets Y value at point in series to value. If series is omitted, series 0 is assumed.
|
readwrite |
Style of curve.
Referenced by setCurveStyle().
|
readwrite |
Symbol of curve.
Referenced by setCurveSymbol().
|
readwrite |
Title of curve.
Referenced by setCurveTitle().
|
readwrite |
Type of curve.
Referenced by setCurveType().
|
readwrite |
Unit of curve.
Referenced by setCurveUnit().
|
read |
Number of points.
|
read |
Number of series.