UT/UT_Color.h File Reference

#include "UT_API.h"
#include <iostream.h>
#include <SYS/SYS_Types.h>

Go to the source code of this file.

Classes

class  UT_Color

Defines

#define UT_BLACK   (UT_Color::getConstantColor(0))
#define UT_BLUE   (UT_Color::getConstantColor(1))
#define UT_GREEN   (UT_Color::getConstantColor(2))
#define UT_RED   (UT_Color::getConstantColor(3))
#define UT_CYAN   (UT_Color::getConstantColor(4))
#define UT_MAGENTA   (UT_Color::getConstantColor(5))
#define UT_YELLOW   (UT_Color::getConstantColor(6))
#define UT_WHITE   (UT_Color::getConstantColor(7))
#define UT_GREY1   (UT_Color::getConstantColor(8))
#define UT_GREY2   (UT_Color::getConstantColor(9))
#define UT_GREY3   (UT_Color::getConstantColor(10))
#define UT_GREY4   (UT_Color::getConstantColor(11))
#define UT_GREY5   (UT_Color::getConstantColor(12))
#define UT_GREY6   (UT_Color::getConstantColor(13))
#define UT_GREY7   (UT_Color::getConstantColor(14))
#define UT_GREY8   (UT_Color::getConstantColor(15))
#define UT_GREY9   (UT_Color::getConstantColor(16))

Enumerations

enum  UT_ColorType {
  UT_HSL, UT_HSV, UT_RGB, UT_XYZ,
  UT_LAB
}
enum  UT_ColorRamp {
  UT_COLORRAMP_FALSE, UT_COLORRAMP_PINK, UT_COLORRAMP_MONO, UT_COLORRAMP_BLACKBODY,
  UT_COLORRAMP_NUMMODES
}

Functions

UT_API void UT_RGBtoHSV (float *values, int nvalues)
UT_API void UT_HSVtoRGB (float *values, int nvalues)


Define Documentation

#define UT_BLACK   (UT_Color::getConstantColor(0))

Definition at line 40 of file UT_Color.h.

#define UT_BLUE   (UT_Color::getConstantColor(1))

Definition at line 41 of file UT_Color.h.

#define UT_CYAN   (UT_Color::getConstantColor(4))

Definition at line 44 of file UT_Color.h.

#define UT_GREEN   (UT_Color::getConstantColor(2))

Definition at line 42 of file UT_Color.h.

#define UT_GREY1   (UT_Color::getConstantColor(8))

Definition at line 48 of file UT_Color.h.

#define UT_GREY2   (UT_Color::getConstantColor(9))

Definition at line 49 of file UT_Color.h.

#define UT_GREY3   (UT_Color::getConstantColor(10))

Definition at line 50 of file UT_Color.h.

#define UT_GREY4   (UT_Color::getConstantColor(11))

Definition at line 51 of file UT_Color.h.

#define UT_GREY5   (UT_Color::getConstantColor(12))

Definition at line 52 of file UT_Color.h.

#define UT_GREY6   (UT_Color::getConstantColor(13))

Definition at line 53 of file UT_Color.h.

#define UT_GREY7   (UT_Color::getConstantColor(14))

Definition at line 54 of file UT_Color.h.

#define UT_GREY8   (UT_Color::getConstantColor(15))

Definition at line 55 of file UT_Color.h.

#define UT_GREY9   (UT_Color::getConstantColor(16))

Definition at line 56 of file UT_Color.h.

#define UT_MAGENTA   (UT_Color::getConstantColor(5))

Definition at line 45 of file UT_Color.h.

#define UT_RED   (UT_Color::getConstantColor(3))

Definition at line 43 of file UT_Color.h.

#define UT_WHITE   (UT_Color::getConstantColor(7))

Definition at line 47 of file UT_Color.h.

#define UT_YELLOW   (UT_Color::getConstantColor(6))

Definition at line 46 of file UT_Color.h.


Enumeration Type Documentation

Enumerator:
UT_COLORRAMP_FALSE 
UT_COLORRAMP_PINK 
UT_COLORRAMP_MONO 
UT_COLORRAMP_BLACKBODY 
UT_COLORRAMP_NUMMODES 

Definition at line 23 of file UT_Color.h.

Enumerator:
UT_HSL 
UT_HSV 
UT_RGB 
UT_XYZ 
UT_LAB 

Definition at line 19 of file UT_Color.h.


Function Documentation

UT_API void UT_HSVtoRGB ( float *  values,
int  nvalues 
)

UT_API void UT_RGBtoHSV ( float *  values,
int  nvalues 
)


Generated on Thu May 24 00:09:05 2012 for HDK by  doxygen 1.5.9