PlottingOpenGL::GridConfig
PlottingOpenGL::GridConfig
Configuration for rendering time-aligned grid lines. More…
#include <AxisRenderer.hpp>
Public Attributes
| Name | |
|---|---|
| int64_t | time_start Start of visible time range (world X, typically view-local ticks). |
| int64_t | time_end End of visible time range (world X). |
| int64_t | spacing Spacing between grid lines (in time units). |
| float | y_min Y coordinate of bottom of grid lines. |
| float | y_max Y coordinate of top of grid lines. |
| glm::vec3 | color Grid line color (RGB). |
| float | alpha Grid line opacity. |
| float | dash_length Length of each dash in pixels. |
| float | gap_length Gap between dashes in pixels. |
Detailed Description
struct PlottingOpenGL::GridConfig;Configuration for rendering time-aligned grid lines.
Note: Stage 2 TODO: Move to CorePlotting scene graph as GridDescription
Grid lines are vertical dashed lines drawn at regular time intervals.
Public Attributes Documentation
variable time_start
int64_t time_start {0};Start of visible time range (world X, typically view-local ticks).
variable time_end
int64_t time_end {1000};End of visible time range (world X).
variable spacing
int64_t spacing {100};Spacing between grid lines (in time units).
variable y_min
float y_min {-1.0f};Y coordinate of bottom of grid lines.
variable y_max
float y_max {1.0f};Y coordinate of top of grid lines.
variable color
glm::vec3 color {0.5f, 0.5f, 0.5f};Grid line color (RGB).
variable alpha
float alpha {0.5f};Grid line opacity.
variable dash_length
float dash_length {3.0f};Length of each dash in pixels.
variable gap_length
float gap_length {3.0f};Gap between dashes in pixels.
Updated on 2026-11-13 at 20:25:41 +0000