HDK
|
Go to the source code of this file.
Classes | |
class | UT_Color |
Macros | |
#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)) |
Functions | |
UT_API const char * | UTnameFromColorType (UT_ColorType ctype) |
UT_API UT_ColorType | UTcolorTypeFromName (const char *cname) |
UT_API void | UT_RGBtoHSV (fpreal *values, int nvalues) |
UT_API void | UT_HSVtoRGB (fpreal *values, int nvalues) |
UT_API void | UT_RGBtoTMI (fpreal *values, int nvalues) |
UT_API void | UT_TMItoRGB (fpreal *values, int nvalues) |
UT_API size_t | format (char *buffer, size_t buffer_size, const UT_Color &v) |
UT_API void | UTinitPhysicalBBRamp (UT_Ramp &ramp, float adaptation=0.15, float burn=0, float maxtemp=40000, int N=64, bool tonemap=true) |
#define UT_BLACK (UT_Color::getConstantColor(0)) |
Definition at line 63 of file UT_Color.h.
#define UT_BLUE (UT_Color::getConstantColor(1)) |
Definition at line 64 of file UT_Color.h.
#define UT_CYAN (UT_Color::getConstantColor(4)) |
Definition at line 67 of file UT_Color.h.
#define UT_GREEN (UT_Color::getConstantColor(2)) |
Definition at line 65 of file UT_Color.h.
#define UT_GREY1 (UT_Color::getConstantColor(8)) |
Definition at line 71 of file UT_Color.h.
#define UT_GREY2 (UT_Color::getConstantColor(9)) |
Definition at line 72 of file UT_Color.h.
#define UT_GREY3 (UT_Color::getConstantColor(10)) |
Definition at line 73 of file UT_Color.h.
#define UT_GREY4 (UT_Color::getConstantColor(11)) |
Definition at line 74 of file UT_Color.h.
#define UT_GREY5 (UT_Color::getConstantColor(12)) |
Definition at line 75 of file UT_Color.h.
#define UT_GREY6 (UT_Color::getConstantColor(13)) |
Definition at line 76 of file UT_Color.h.
#define UT_GREY7 (UT_Color::getConstantColor(14)) |
Definition at line 77 of file UT_Color.h.
#define UT_GREY8 (UT_Color::getConstantColor(15)) |
Definition at line 78 of file UT_Color.h.
#define UT_GREY9 (UT_Color::getConstantColor(16)) |
Definition at line 79 of file UT_Color.h.
#define UT_MAGENTA (UT_Color::getConstantColor(5)) |
Definition at line 68 of file UT_Color.h.
#define UT_RED (UT_Color::getConstantColor(3)) |
Definition at line 66 of file UT_Color.h.
#define UT_WHITE (UT_Color::getConstantColor(7)) |
Definition at line 70 of file UT_Color.h.
#define UT_YELLOW (UT_Color::getConstantColor(6)) |
Definition at line 69 of file UT_Color.h.
enum UT_ColorRamp |
Enumerator | |
---|---|
UT_COLORRAMP_FALSE | |
UT_COLORRAMP_PINK | |
UT_COLORRAMP_MONO | |
UT_COLORRAMP_BLACKBODY | |
UT_COLORRAMP_BIPARTITE | |
UT_COLORRAMP_NUMMODES |
Definition at line 32 of file UT_Color.h.
enum UT_ColorType |
Enumerator | |
---|---|
UT_HSL | |
UT_HSV | |
UT_RGB | |
UT_XYZ | |
UT_LAB | |
UT_TMI |
Definition at line 24 of file UT_Color.h.
enum UT_MonoRamp |
Enumerator | |
---|---|
UT_MONORAMP_INCREASING | |
UT_MONORAMP_DECREASING | |
UT_MONORAMP_HILL | |
UT_MONORAMP_VALLEY | |
UT_MONORAMP_STEP | |
UT_MONORAMP_SQUARE | |
UT_MONORAMP_NUMMODES |
Definition at line 41 of file UT_Color.h.
UT_API UT_ColorType UTcolorTypeFromName | ( | const char * | cname | ) |
UT_API void UTinitPhysicalBBRamp | ( | UT_Ramp & | ramp, |
float | adaptation = 0.15 , |
||
float | burn = 0 , |
||
float | maxtemp = 40000 , |
||
int | N = 64 , |
||
bool | tonemap = true |
||
) |
UT_API const char* UTnameFromColorType | ( | UT_ColorType | ctype | ) |