Skip to main content

PlottingOpenGL::AxisConfig

PlottingOpenGL::AxisConfig

Configuration for rendering a vertical axis line. More…

#include <AxisRenderer.hpp>

Public Attributes

Name
float x_position
X position of the vertical axis (typically 0).
float y_min
Y coordinate of bottom of axis.
float y_max
Y coordinate of top of axis.
glm::vec3 color
Line color (RGB).
float alpha
Line opacity.
float line_width
Line width in pixels.

Detailed Description

struct PlottingOpenGL::AxisConfig;

Configuration for rendering a vertical axis line.

Note: Stage 2 TODO: Move to CorePlotting scene graph as AxisDescription ## Public Attributes Documentation

variable x_position

float x_position {0.0f};

X position of the vertical axis (typically 0).

variable y_min

float y_min {-1.0f};

Y coordinate of bottom of axis.

variable y_max

float y_max {1.0f};

Y coordinate of top of axis.

variable color

glm::vec3 color {1.0f, 1.0f, 1.0f};

Line color (RGB).

variable alpha

float alpha {1.0f};

Line opacity.

variable line_width

float line_width {1.0f};

Line width in pixels.


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