AgIsoStack++
A control-function-focused implementation of the major ISOBUS and J1939 protocols
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
isobus::VTColourVector Class Reference

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.
 

Detailed Description

VT 3 component colour vector.

Definition at line 137 of file isobus_virtual_terminal_objects.hpp.

Constructor & Destructor Documentation

◆ VTColourVector() [1/2]

constexpr isobus::VTColourVector::VTColourVector ( )
inlineconstexpr

Default constructor for a VT Colour, which produces the colour black.

Definition at line 145 of file isobus_virtual_terminal_objects.hpp.

◆ VTColourVector() [2/2]

constexpr isobus::VTColourVector::VTColourVector ( float red,
float green,
float blue )
inlineconstexpr

Constructor for a VT Colour which initializes to an arbitrary colour.

Parameters
[in]redThe red value for a pixel, range 0.0f to 1.0f
[in]greenThe green value for a pixel, range 0.0f to 1.0f
[in]blueThe blue value for a pixel, range 0.0f to 1.0f

Definition at line 152 of file isobus_virtual_terminal_objects.hpp.

Member Data Documentation

◆ b

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.

◆ g

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.

◆ r

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.


The documentation for this class was generated from the following file: