Home Previous Up Next Index

visionx::RGBA

Overview

struct RGBA

Color value RGBA \in N⁴ := 0,..,255^4 represented with 4 bytes = 32 bits. Notice, the alpha channel can also be ignored depending the context. Its inclusion is for 32 bit padding purposes. Namely, the 32 bits are needed for padding while transmitted by ICE. This occurs because the minimal granularity of the data is 4 bytes. Thus, this situation will no affect data structures "X" which are (sizeof(X)%4 == 0).

Used By

ColoredLabeledPoint3D::color
ColoredOrientedPoint3D::color
ColoredPoint3D::color

Data Member Index

r
g
b
a

Data Members

byte r;
byte g;
byte b;
byte a;

Home Previous Up Next Index