Skip to main content

CorePlotting::RenderablePolyLineBatch

CorePlotting::RenderablePolyLineBatch

A batch of lines (e.g., LineData, Epochs, or segmented AnalogSeries). More…

#include <RenderablePrimitives.hpp>

Public Attributes

Name
std::vector< float > vertices
std::vector< int32_t > line_start_indices
std::vector< int32_t > line_vertex_counts
std::vector< EntityId > entity_ids
EntityId global_entity_id
std::vector< glm::vec4 > colors
float thickness
glm::vec4 global_color
glm::mat4 model_matrix
bool is_integer_time
int32_t view_start_time

Detailed Description

struct CorePlotting::RenderablePolyLineBatch;

A batch of lines (e.g., LineData, Epochs, or segmented AnalogSeries).

Designed for efficient rendering via glMultiDrawArrays or Instancing. The Transformer flattens source data into these vectors.

Public Attributes Documentation

variable vertices

std::vector< float > vertices;

variable line_start_indices

std::vector< int32_t > line_start_indices;

variable line_vertex_counts

std::vector< int32_t > line_vertex_counts;

variable entity_ids

std::vector< EntityId > entity_ids;

variable global_entity_id

EntityId global_entity_id {0};

variable colors

std::vector< glm::vec4 > colors;

variable thickness

float thickness {1.0f};

variable global_color

glm::vec4 global_color {1.0f, 1.0f, 1.0f, 1.0f};

variable model_matrix

glm::mat4 model_matrix {1.0f};

variable is_integer_time

bool is_integer_time {false};

variable view_start_time

int32_t view_start_time {0};

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