iDynTree::ColorViz class

Basic structure to encode color information.

Derived classes

class PixelViz
Basic structure to encode pixel information.

Constructors, destructors, conversion operators

ColorViz()
Default constructor (to white)
ColorViz(float r, float g, float b, float a)
Constructor for rgba.
ColorViz(const Vector4& rgba)
Build a color from a Vector4 rgba.

Public functions

auto toVector4() const -> Vector4
Return as a Vector4.

Public variables

float r
Red component of the color.
float g
Green component of the color.
float b
Blue component of the color.
float a
Alpha component of the color.