Struct QAccelPlot::CurveChunk¶
ClassList > QAccelPlot > CurveChunk
Axis-aligned bounding box (AABB) for a contiguous block of curve points, used for hit-test culling. More...
#include <CurveRendererParams.hpp>
Public Attributes¶
| Type | Name |
|---|---|
| int | count Number of points owned by this chunk. |
| qreal | maxX Maximum X of the data-space AABB (extended to bridging points). |
| qreal | maxY Maximum Y of the data-space AABB (extended to bridging points). |
| qreal | minX Minimum X of the data-space AABB (extended to bridging points). |
| qreal | minY Minimum Y of the data-space AABB (extended to bridging points). |
| int | start Index of the first point in the data buffer. |
Detailed Description¶
The AABB is stored in data-space so it never needs rebuilding during pan/zoom — only when the underlying data changes. It intentionally extends one point beyond each chunk boundary so that line segments bridging adjacent chunks are always covered.
Public Attributes Documentation¶
variable count¶
Number of points owned by this chunk.
variable maxX¶
Maximum X of the data-space AABB (extended to bridging points).
variable maxY¶
Maximum Y of the data-space AABB (extended to bridging points).
variable minX¶
Minimum X of the data-space AABB (extended to bridging points).
variable minY¶
Minimum Y of the data-space AABB (extended to bridging points).
variable start¶
Index of the first point in the data buffer.
The documentation for this class was generated from the following file QAccelPlot/src/QAccelPlot/renderers/CurveRendererParams.hpp