Skip to content

Struct QAccelPlot::Internal::InspectionSource

ClassList > QAccelPlot > Internal > InspectionSource

Read-only view over the XY records a series exposes to inspection queries. More...

  • #include <InspectionTypes.hpp>

Public Attributes

Type Name
int count = {-1}
Number of records, or -1 when the series has no XY records.
const double * doubles = {nullptr}
Interleaved double-precision XY pairs; takes precedence over floats .
int floatStride = {2}
Floats per record in floats .
const float * floats = {nullptr}
Interleaved single-precision records; X and Y lead each record.
bool logX = {false}
Whether X is on a logarithmic axis.
bool logY = {false}
Whether Y is on a logarithmic axis.
StepMode stepMode = {StepMode::None}
How the series' line joins consecutive records; interpolation follows it.
int valueStride = {1}
Floats between consecutive scalars in values .
const float * values = {nullptr}
Optional per-record scalar.

Public Functions

Type Name
double coordinate (InspectionAxis axis, int index) noexcept const
Returns the coordinate of record index along__axis .
bool supported () noexcept const
bool valid (int index) noexcept const
Applies the invalid-data-point contract shared with rendering.
double value (int index) noexcept const
double x (int index) noexcept const
double y (int index) noexcept const

Detailed Description

The pointers refer to the series' own buffers and are only valid until its next data change.

Public Attributes Documentation

variable count

Number of records, or -1 when the series has no XY records.

int QAccelPlot::Internal::InspectionSource::count;


variable doubles

Interleaved double-precision XY pairs; takes precedence over floats .

const double* QAccelPlot::Internal::InspectionSource::doubles;


variable floatStride

Floats per record in floats .

int QAccelPlot::Internal::InspectionSource::floatStride;


variable floats

Interleaved single-precision records; X and Y lead each record.

const float* QAccelPlot::Internal::InspectionSource::floats;


variable logX

Whether X is on a logarithmic axis.

bool QAccelPlot::Internal::InspectionSource::logX;


variable logY

Whether Y is on a logarithmic axis.

bool QAccelPlot::Internal::InspectionSource::logY;


variable stepMode

How the series' line joins consecutive records; interpolation follows it.

StepMode QAccelPlot::Internal::InspectionSource::stepMode;


variable valueStride

Floats between consecutive scalars in values .

int QAccelPlot::Internal::InspectionSource::valueStride;


variable values

Optional per-record scalar.

const float* QAccelPlot::Internal::InspectionSource::values;


Public Functions Documentation

function coordinate

Returns the coordinate of record index along__axis .

double QAccelPlot::Internal::InspectionSource::coordinate (
    InspectionAxis axis,
    int index
) noexcept const


function supported

bool QAccelPlot::Internal::InspectionSource::supported () noexcept const

function valid

Applies the invalid-data-point contract shared with rendering.

bool QAccelPlot::Internal::InspectionSource::valid (
    int index
) noexcept const


function value

double QAccelPlot::Internal::InspectionSource::value (
    int index
) noexcept const

function x

double QAccelPlot::Internal::InspectionSource::x (
    int index
) noexcept const

function y

double QAccelPlot::Internal::InspectionSource::y (
    int index
) noexcept const


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