Skip to main content

LaneDiagnostic

LaneDiagnostic

Per-lane diagnostic snapshot for one series. More…

#include <DataViewerDiagnostics.hpp>

Public Attributes

Name
std::string series_key
std::string series_type
“Analog”, “DigitalEvent”, or “DigitalInterval”
int lane_index
bool is_visible
float center_y_ndc
Y offset in NDC from LayoutTransform.
float height_ndc
Vertical extent in NDC derived from gain.
float transform_offset
LayoutTransform::offset.
float transform_gain
LayoutTransform::gain.
float user_scale_factor
Analog-only per-series scale.
float data_mean
Analog-only cached mean.
float data_std_dev
Analog-only cached std dev.
int vertex_count
bool is_on_screen
Does lane NDC extent intersect the viewport?

Detailed Description

struct LaneDiagnostic;

Per-lane diagnostic snapshot for one series.

Captures the layout, transform, and cache state of a single series at the time getDiagnostics() is called.

Public Attributes Documentation

variable series_key

std::string series_key;

variable series_type

std::string series_type;

“Analog”, “DigitalEvent”, or “DigitalInterval”

variable lane_index

int lane_index = 0;

variable is_visible

bool is_visible = true;

variable center_y_ndc

float center_y_ndc = 0.0f;

Y offset in NDC from LayoutTransform.

variable height_ndc

float height_ndc = 0.0f;

Vertical extent in NDC derived from gain.

variable transform_offset

float transform_offset = 0.0f;

LayoutTransform::offset.

variable transform_gain

float transform_gain = 1.0f;

LayoutTransform::gain.

variable user_scale_factor

float user_scale_factor = 1.0f;

Analog-only per-series scale.

variable data_mean

float data_mean = 0.0f;

Analog-only cached mean.

variable data_std_dev

float data_std_dev = 0.0f;

Analog-only cached std dev.

variable vertex_count

int vertex_count = 0;

variable is_on_screen

bool is_on_screen = true;

Does lane NDC extent intersect the viewport?


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