Skip to content

Struct QAccelPlot::InspectionDataPoint

ClassList > QAccelPlot > InspectionDataPoint

One XY source data point returned by an inspection query. More...

  • #include <InspectionResult.hpp>

Public Attributes

Type Name
InspectionStatus status = {InspectionStatus::NoMatch}
Query outcome.

Public Properties

Type Name
property quint64 dataRevision
Data revision the query ran against.
property qreal distance
Distance from the query position in logical pixels.
property int index
Source index, counting invalid records; -1 when nothing matched.
property bool interpolated
True when the coordinates are interpolated between two data points; index is then the data point whose value is shown.
property qreal pixelX
X in series-local logical pixels; NaN for an invalid record.
property qreal pixelY
Y in series-local logical pixels; NaN for an invalid record.
property QML_ANONYMOUSInspectionNS::Status status
Query outcome.
property bool valid
True when status is Ready .
property qreal value
Colormap value of aPointCloud point or a heatmap cell; NaN for other series and for interpolated points.
property qreal x
X in data units.
property qreal y
Y in data units.

Public Functions

Type Name
bool valid () const
Returns true when status is Ready .

Detailed Description

x and y are in the units of the series' axes. pixelX and pixelY place the same point in series-local logical pixels, measured from the top left of the plot area; map them with series.mapToItem() for another item.

Public Attributes Documentation

variable status

Query outcome.

InspectionStatus QAccelPlot::InspectionDataPoint::status;


Public Properties Documentation

property dataRevision

Data revision the query ran against.

quint64 QAccelPlot::InspectionDataPoint::dataRevision;

Data revision.


property distance

Distance from the query position in logical pixels.

qreal QAccelPlot::InspectionDataPoint::distance;

Pixel distance.


property index

Source index, counting invalid records; -1 when nothing matched.

int QAccelPlot::InspectionDataPoint::index;

Source index.


property interpolated

True when the coordinates are interpolated between two data points; index is then the data point whose value is shown.

bool QAccelPlot::InspectionDataPoint::interpolated;

Interpolated point.

That is the left neighbor, or on a step line the data point whose step or riser holds the point.


property pixelX

X in series-local logical pixels; NaN for an invalid record.

qreal QAccelPlot::InspectionDataPoint::pixelX;

X in series-local pixels.


property pixelY

Y in series-local logical pixels; NaN for an invalid record.

qreal QAccelPlot::InspectionDataPoint::pixelY;

Y in series-local pixels.


property status

Query outcome.

QML_ANONYMOUSInspectionNS::Status QAccelPlot::InspectionDataPoint::status;


property valid

True when status is Ready .

bool QAccelPlot::InspectionDataPoint::valid;


property value

Colormap value of aPointCloud point or a heatmap cell; NaN for other series and for interpolated points.

qreal QAccelPlot::InspectionDataPoint::value;

Colormap value.


property x

X in data units.

qreal QAccelPlot::InspectionDataPoint::x;


property y

Y in data units.

qreal QAccelPlot::InspectionDataPoint::y;


Public Functions Documentation

function valid

Returns true when status is Ready .

bool QAccelPlot::InspectionDataPoint::valid () const



The documentation for this class was generated from the following file QAccelPlot/src/QAccelPlot/inspection/InspectionResult.hpp