Crazy Eddie's GUI System  0.8.4
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
CEGUI::ColourPickerConversions Class Reference

Static Public Member Functions

static Lab_Colour toLab (RGB_Colour colour)
 Function for converting an RGB_Colour to a Lab_Colour.
 
static HSV_Colour toHSV (RGB_Colour colour)
 Function for converting an RGB_Colour to an HSV_Colour.
 
static RGB_Colour toRGB (const Lab_Colour &colour)
 Function for converting a Lab_Colour to an RGB_Colour.
 
static RGB_Colour toRGB (float L, float a, float b)
 Function for converting a Lab_Colour to an RGB_Colour.
 
static RGB_Colour toRGB (const CEGUI::Colour &colour)
 Function for converting a CEGUI Colour to an RGB_Colour.
 
static RGB_Colour toRGB (const HSV_Colour &colour)
 Function for converting a HSV to an RGB_Colour.
 
static CEGUI::Colour toCeguiColour (const RGB_Colour &colourRGB)
 Conversion from RGB_Colour to CEGUI::Colour.
 
static float toX (unsigned char R, unsigned char G, unsigned char B)
 Function for calculating X based on the RGB components.
 
static float toY (unsigned char R, unsigned char G, unsigned char B)
 Function for calculating Y based on the RGB components.
 
static float toZ (unsigned char R, unsigned char G, unsigned char B)
 Function for calculating Z based on the RGB components.
 
static float toX (float R, float G, float B)
 Function for calculating X based on the RGB components.
 
static float toY (float R, float G, float B)
 Function for calculating Y based on the RGB components.
 
static float toZ (float R, float G, float B)
 Function for calculating Z based on the RGB components.
 
static float toL (float Y)
 Function for calculating L (of CIELab) based on the Y components.
 
static float toA (float X, float Y)
 Function for calculating a (of CIELab) based on the X and Y components.
 
static float toB (float Y, float Z)
 Function for calculating b (of CIELab) based on the Y and Z components.
 
static RGB_Colour linearInterpolationRGB (float interPolBalance, const RGB_Colour &start, const RGB_Colour &end)
 Linear interpolation helper function for RGB_Colour.
 
static unsigned char linearInterpolationAlpha (float interPolBalance, unsigned char startAlpha, unsigned char endAlpha)
 Linear interpolation helper function for Alpha.
 
static Lab_Colour linearInterpolationLab (float interPolBalance, const Lab_Colour &start, const Lab_Colour &end)
 Linear interpolation helper function for Lab_Colour.
 
static HSV_Colour linearInterpolationHSV (float interPolBalance, const HSV_Colour &start, const HSV_Colour &end)
 Linear interpolation helper function for HSV_Colour.