|
| | QwtPlotVectorField (const QString &title=QString()) |
| | Constructor.
|
| |
| | QwtPlotVectorField (const QwtText &title) |
| | Constructor.
|
| |
| virtual | ~QwtPlotVectorField () |
| | Destructor .
|
| |
| void | setPaintAttribute (PaintAttribute, bool on=true) |
| | Specify an attribute how to draw the curve.
|
| |
| bool | testPaintAttribute (PaintAttribute) const |
| | Test a paint attribute.
|
| |
| void | setMagnitudeMode (MagnitudeMode, bool on=true) |
| | Specify a mode how to represent the magnitude of an arrow/symbol.
|
| |
| bool | testMagnitudeMode (MagnitudeMode) const |
| | Test a magnitude mode.
|
| |
| void | setSymbol (QwtVectorFieldSymbol *) |
| | Set a new arrow symbol.
|
| |
| const QwtVectorFieldSymbol * | symbol () const |
| | Get the arrow symbol.
|
| |
| void | setPen (const QPen &) |
| | Assign a pen.
|
| |
| QPen | pen () const |
| | Get the pen used to draw the lines.
|
| |
| void | setBrush (const QBrush &) |
| | Assign a brush.
|
| |
| QBrush | brush () const |
| | Get the brush used to fill the symbol.
|
| |
| void | setRasterSize (const QSizeF &) |
| | Set the raster size used for filtering samples.
|
| |
| QSizeF | rasterSize () const |
| | Get the raster size used for filtering samples.
|
| |
| void | setIndicatorOrigin (IndicatorOrigin) |
| | Set the origin for the symbols/arrows.
|
| |
| IndicatorOrigin | indicatorOrigin () const |
| | Get the origin for the symbols/arrows.
|
| |
| void | setSamples (const QVector< QwtVectorFieldSample > &) |
| | Initialize data with an array of samples.
|
| |
| void | setSamples (QwtVectorFieldData *) |
| | Assign a series of samples.
|
| |
| void | setColorMap (QwtColorMap *) |
| | Change the color map.
|
| |
| const QwtColorMap * | colorMap () const |
| | Get the color map used for mapping intensity values to colors.
|
| |
| void | setMagnitudeRange (const QwtInterval &) |
| | Set the magnitude range for color map lookups.
|
| |
| QwtInterval | magnitudeRange () const |
| | Get the magnitude range for color map lookups.
|
| |
| void | setMinArrowLength (double) |
| | Set a minimum for the arrow length of non zero vectors.
|
| |
| double | minArrowLength () const |
| | Get the minimum for the arrow length of non zero vectors.
|
| |
| void | setMaxArrowLength (double) |
| | Set a maximum for the arrow length.
|
| |
| double | maxArrowLength () const |
| | Get the maximum for the arrow length.
|
| |
| virtual double | arrowLength (double magnitude) const |
| | Calculate the arrow length for a given magnitude.
|
| |
| virtual QRectF | boundingRect () const override |
| | Get the bounding rectangle.
|
| |
| virtual void | drawSeries (QPainter *, const QwtScaleMap &xMap, const QwtScaleMap &yMap, const QRectF &canvasRect, int from, int to) const override |
| | Draw a subset of the points.
|
| |
| virtual int | rtti () const override |
| | Get the runtime type information.
|
| |
| virtual QwtGraphic | legendIcon (int index, const QSizeF &) const override |
| | Get the icon representing the vector fields on the legend.
|
| |
| void | setMagnitudeScaleFactor (double factor) |
| | Set the magnitude scale factor.
|
| |
| double | magnitudeScaleFactor () const |
| | Get the scale factor used to calculate the arrow length from the magnitude.
|
| |
| | QwtPlotSeriesItem (const QString &title=QString()) |
| | Constructor.
|
| |
| | QwtPlotSeriesItem (const QwtText &title) |
| | Constructor.
|
| |
| virtual | ~QwtPlotSeriesItem () |
| | Destructor .
|
| |
| void | setOrientation (Qt::Orientation) |
| | Set the orientation of the item.
|
| |
| Qt::Orientation | orientation () const |
| | Get the orientation of the plot item.
|
| |
| virtual void | draw (QPainter *, const QwtScaleMap &xMap, const QwtScaleMap &yMap, const QRectF &canvasRect) const override |
| | Draw the complete series.
|
| |
| virtual void | updateScaleDiv (const QwtScaleDiv &, const QwtScaleDiv &) override |
| | Update the scale divisions.
|
| |
| | QwtPlotItem () |
| | Default constructor.
|
| |
| | QwtPlotItem (const QString &title) |
| | Constructor with title as QString.
|
| |
| | QwtPlotItem (const QwtText &title) |
| | Constructor with title as QwtText.
|
| |
| virtual | ~QwtPlotItem () |
| | Destructor.
|
| |
| void | attach (QwtPlot *plot) |
| | Attach the item to a plot.
|
| |
| void | detach () |
| | Detach the item from the plot.
|
| |
| QwtPlot * | plot () const |
| | Get the plot the item is attached to.
|
| |
| void | setTitle (const QString &title) |
| | Set the title using a QString.
|
| |
| void | setTitle (const QwtText &title) |
| | Set the title using a QwtText.
|
| |
| const QwtText & | title () const |
| | Get the title.
|
| |
| void | setItemAttribute (ItemAttribute, bool on=true) |
| | Set an item attribute.
|
| |
| bool | testItemAttribute (ItemAttribute) const |
| | Test an item attribute.
|
| |
| void | setItemInterest (ItemInterest, bool on=true) |
| | Set an item interest.
|
| |
| bool | testItemInterest (ItemInterest) const |
| | Test an item interest.
|
| |
| void | setRenderHint (RenderHint, bool on=true) |
| | Set a render hint.
|
| |
| bool | testRenderHint (RenderHint) const |
| | Test a render hint.
|
| |
| void | setRenderThreadCount (uint numThreads) |
| | Set the number of render threads.
|
| |
| uint | renderThreadCount () const |
| | Get the number of render threads.
|
| |
| void | setLegendIconSize (const QSize &) |
| | Set the legend icon size.
|
| |
| QSize | legendIconSize () const |
| | Get the legend icon size.
|
| |
| double | z () const |
| | Get the z-value.
|
| |
| void | setZ (double z) |
| | Set the z-value.
|
| |
| void | show () |
| | Show the item.
|
| |
| void | hide () |
| | Hide the item.
|
| |
| virtual void | setVisible (bool) |
| | Set the visibility.
|
| |
| bool | isVisible () const |
| | Check if the item is visible.
|
| |
| void | setAxes (QwtAxisId xAxis, QwtAxisId yAxis) |
| | Set both axes.
|
| |
| void | setXAxis (QwtAxisId) |
| | Set the x-axis.
|
| |
| QwtAxisId | xAxis () const |
| | Get the x-axis.
|
| |
| void | setYAxis (QwtAxisId) |
| | Set the y-axis.
|
| |
| QwtAxisId | yAxis () const |
| | Get the y-axis.
|
| |
| virtual void | itemChanged () |
| | Notify the plot that the item has changed.
|
| |
| virtual void | legendChanged () |
| | Notify the item that the legend has changed.
|
| |
| virtual void | getCanvasMarginHint (const QwtScaleMap &xMap, const QwtScaleMap &yMap, const QRectF &canvasRect, double &left, double &top, double &right, double &bottom) const |
| | Get margin hints for the canvas.
|
| |
| virtual void | updateLegend (const QwtPlotItem *, const QList< QwtLegendData > &) |
| | Update the item with changes of the legend.
|
| |
| QRectF | scaleRect (const QwtScaleMap &, const QwtScaleMap &) const |
| | Calculate the scale rectangle.
|
| |
| QRectF | paintRect (const QwtScaleMap &, const QwtScaleMap &) const |
| | Calculate the paint rectangle.
|
| |
| virtual QList< QwtLegendData > | legendData () const |
| | Return legend data.
|
| |
|
void | setData (QwtSeriesData< QwtVectorFieldSample > *series) |
| |
|
QwtSeriesData< QwtVectorFieldSample > * | data () |
| |
|
const QwtSeriesData< QwtVectorFieldSample > * | data () const |
| |
|
QwtVectorFieldSample | sample (size_t index) const |
| |
| virtual size_t | dataSize () const override |
| |
| virtual QRectF | dataRect () const override |
| |
| virtual void | setRectOfInterest (const QRectF &rect) override |
| | Set a the "rectangle of interest" for the stored series.
|
| |
|
QwtSeriesData< QwtVectorFieldSample > * | swapData (QwtSeriesData< QwtVectorFieldSample > *series) |
| |
A plot item, that represents a vector field.