Skip to main content

DataViewer::AnalogSeriesEntry

DataViewer::AnalogSeriesEntry

Data structure holding analog series and its computed/cached state. More…

#include <TimeSeriesDataStore.hpp>

Public Attributes

Name
std::shared_ptr< AnalogTimeSeries > series
CorePlotting::LayoutTransform layout_transform
Layout transform computed by LayoutEngine (offset, gain).
CorePlotting::SeriesDataCache data_cache
Cached statistics (mean, std_dev, intrinsic_scale).
AnalogVertexCache vertex_cache
Vertex cache for efficient scrolling (initialized lazily).
std::vector< float > scratch_vertices
Scratch vertex buffer to eliminate per-frame allocations during scene rebuilds.

Detailed Description

struct DataViewer::AnalogSeriesEntry;

Data structure holding analog series and its computed/cached state.

NOTE: Display options (style, visibility, user_scale_factor, etc.) are stored in DataViewerState via SeriesOptionsRegistry. This struct holds only:

  • The data series itself
  • Computed layout transform from LayoutEngine
  • Cached statistics for efficient rendering
  • Vertex cache for efficient scrolling

Public Attributes Documentation

variable series

std::shared_ptr< AnalogTimeSeries > series;

variable layout_transform

CorePlotting::LayoutTransform layout_transform;

Layout transform computed by LayoutEngine (offset, gain).

variable data_cache

CorePlotting::SeriesDataCache data_cache;

Cached statistics (mean, std_dev, intrinsic_scale).

variable vertex_cache

AnalogVertexCache vertex_cache;

Vertex cache for efficient scrolling (initialized lazily).

variable scratch_vertices

std::vector< float > scratch_vertices;

Scratch vertex buffer to eliminate per-frame allocations during scene rebuilds.


Updated on 2026-11-13 at 20:25:42 +0000