OpenCurves  0.9
PlotDataCurve Class Reference

A specialisation of QwtPlotCurve used to visualisation PlotInstanceData. More...

#include <plotdatacurve.h>

Inheritance diagram for PlotDataCurve:

Public Types

enum  { Rtti = Rtti_PlotDataCurve }
 

Public Member Functions

 PlotDataCurve (PlotInstance &curve)
 Constructor.
 
int rtti () const override
 Returns the Rtti value for this object. More...
 
void invalidate ()
 Invalidate this curve visualiser, requesting a replot. More...
 
PlotInstancecurve ()
 Access the data being visualised. More...
 
const PlotInstancecurve () const
 Access the data being visualised. More...
 

Detailed Description

A specialisation of QwtPlotCurve used to visualisation PlotInstanceData.

This class allows the PlotInstance data to be shared across a number of active plots.

Member Enumeration Documentation

anonymous enum
Enumerator
Rtti 

The id for rtti() identifying a PlotDataCurve class.

Member Function Documentation

PlotInstance& PlotDataCurve::curve ( )
inline

Access the data being visualised.

Returns
The visualised PlotInstance.
const PlotInstance& PlotDataCurve::curve ( ) const
inline

Access the data being visualised.

Returns
The visualised PlotInstance.
void PlotDataCurve::invalidate ( )
inline

Invalidate this curve visualiser, requesting a replot.

This invokes the QwtPlotSeriesItem::dataChanged() method.

int PlotDataCurve::rtti ( ) const
override

Returns the Rtti value for this object.

Returns
The value Rtti.

The documentation for this class was generated from the following file: