AgIsoStack++
A control-function-focused implementation of the major ISOBUS and J1939 protocols
|
VT 3 component colour vector. More...
#include <isobus_virtual_terminal_objects.hpp>
Public Member Functions | |
constexpr | VTColourVector () |
Default constructor for a VT Colour, which produces the colour black. | |
constexpr | VTColourVector (float red, float green, float blue) |
Constructor for a VT Colour which initializes to an arbitrary colour. | |
Public Attributes | |
float | r |
Red value for a pixel, range 0.0f to 1.0f. | |
float | g |
Green value for a pixel, range 0.0f to 1.0f. | |
float | b |
Blue value for a pixel, range 0.0f to 1.0f. | |
VT 3 component colour vector.
Definition at line 137 of file isobus_virtual_terminal_objects.hpp.
|
inlineconstexpr |
Default constructor for a VT Colour, which produces the colour black.
Definition at line 145 of file isobus_virtual_terminal_objects.hpp.
|
inlineconstexpr |
Constructor for a VT Colour which initializes to an arbitrary colour.
[in] | red | The red value for a pixel, range 0.0f to 1.0f |
[in] | green | The green value for a pixel, range 0.0f to 1.0f |
[in] | blue | The blue value for a pixel, range 0.0f to 1.0f |
Definition at line 152 of file isobus_virtual_terminal_objects.hpp.
float isobus::VTColourVector::b |
Blue value for a pixel, range 0.0f to 1.0f.
Definition at line 142 of file isobus_virtual_terminal_objects.hpp.
float isobus::VTColourVector::g |
Green value for a pixel, range 0.0f to 1.0f.
Definition at line 141 of file isobus_virtual_terminal_objects.hpp.
float isobus::VTColourVector::r |
Red value for a pixel, range 0.0f to 1.0f.
Definition at line 140 of file isobus_virtual_terminal_objects.hpp.