class HT_Int_RGB


Triplet of integers used in specifying colors in an RGB color system. This can be used also for specifying color cube resolutions. Please refer to that class for details about color cubes.

See Also

HT_Color_Cube

Data Members

int r, g, b             Color cube resolutions on three axes.

Constructor

HT_Int_RGB              Creates and initializes this object.

 


HT_Int_RGB::r,g,b

Purpose

Color cube dimensions for three axes.

Synopsis

int r, g, b;

Details

The color cube dimensions should be between 0 and 255.

 


HT_Int_RGB::HT_Int_RGB

Purpose

Initializes a new HT_Int_RGB object.

Synopsis

HT_Int_RGB ()
HT_Int_RGB (
    int r_in,
    int g_in,
    int b_in
) 

Details

The first form initializes the HT_Int_RGB object to an indeterminate value.

The second form initializes it to the argument values, which should be between 0 and 255.