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.
variable doubles¶
Interleaved double-precision XY pairs; takes precedence over floats .
variable floatStride¶
Floats per record in floats .
variable floats¶
Interleaved single-precision records; X and Y lead each record.
variable logX¶
Whether X is on a logarithmic axis.
variable logY¶
Whether Y is on a logarithmic axis.
variable stepMode¶
How the series' line joins consecutive records; interpolation follows it.
variable valueStride¶
Floats between consecutive scalars in values .
variable values¶
Optional per-record scalar.
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¶
function valid¶
Applies the invalid-data-point contract shared with rendering.
function value¶
function x¶
function y¶
The documentation for this class was generated from the following file QAccelPlot/src/QAccelPlot/inspection/internal/InspectionTypes.hpp