Skip to content

Struct QAccelPlot::CurveHitTestParams

ClassList > QAccelPlot > CurveHitTestParams

All inputs required for a contains() hit-test, bundled to reduce parameter count.

  • #include <CurveRendererParams.hpp>

Public Attributes

Type Name
const std::vector< CurveChunk > & chunks
Precomputed chunk bounding boxes.
CurveDataView data
Interleaved XY source data without precision loss.
qreal height
Height of the curve item in pixels.
qreal hitThreshold
Hit distance threshold in pixels.
bool nonPositiveXInvalid
Whether non-positive X values are invalid data points (X axis uses log scale).
bool nonPositiveYInvalid
Whether non-positive Y values are invalid data points (Y axis uses log scale).
int pointCount
Number of leading points in data to test; later points are never hit.
StepMode stepMode = {StepMode::None}
How the line joins consecutive data points.
qreal width
Width of the curve item in pixels.
Axis * xAxis
Horizontal axis for coordinate mapping.
Axis * yAxis
Vertical axis for coordinate mapping.

Public Attributes Documentation

variable chunks

Precomputed chunk bounding boxes.

const std::vector<CurveChunk>& QAccelPlot::CurveHitTestParams::chunks;


variable data

Interleaved XY source data without precision loss.

CurveDataView QAccelPlot::CurveHitTestParams::data;


variable height

Height of the curve item in pixels.

qreal QAccelPlot::CurveHitTestParams::height;


variable hitThreshold

Hit distance threshold in pixels.

qreal QAccelPlot::CurveHitTestParams::hitThreshold;


variable nonPositiveXInvalid

Whether non-positive X values are invalid data points (X axis uses log scale).

bool QAccelPlot::CurveHitTestParams::nonPositiveXInvalid;


variable nonPositiveYInvalid

Whether non-positive Y values are invalid data points (Y axis uses log scale).

bool QAccelPlot::CurveHitTestParams::nonPositiveYInvalid;


variable pointCount

Number of leading points in data to test; later points are never hit.

int QAccelPlot::CurveHitTestParams::pointCount;


variable stepMode

How the line joins consecutive data points.

StepMode QAccelPlot::CurveHitTestParams::stepMode;


variable width

Width of the curve item in pixels.

qreal QAccelPlot::CurveHitTestParams::width;


variable xAxis

Horizontal axis for coordinate mapping.

Axis* QAccelPlot::CurveHitTestParams::xAxis;


variable yAxis

Vertical axis for coordinate mapping.

Axis* QAccelPlot::CurveHitTestParams::yAxis;



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