|
| | UT_Color () |
| |
| | UT_Color (UT_ColorType t) |
| |
| | UT_Color (UT_ColorType t, fpreal x, fpreal y, fpreal z) |
| |
| | UT_Color (const UT_Color &c) |
| |
| | UT_Color (const char *colorname) |
| |
| | ~UT_Color () |
| |
| UT_ColorType | getType () const |
| |
| void | getValue (float &x, float &y, float &z) const |
| |
| void | getValue (fpreal64 &x, fpreal64 &y, fpreal64 &z) const |
| |
| void | getRGB (float *r, float *g, float *b) const |
| |
| void | getHSV (float *h, float *s, float *v) const |
| |
| void | getHSL (float *h, float *s, float *l) const |
| |
| void | getXYZ (float *x, float *y, float *z) const |
| |
| void | getLAB (float *l, float *a, float *b) const |
| |
| void | getTMI (float *t, float *m, float *i) const |
| |
| void | getColor (UT_Color &c) const |
| |
| UT_Vector3F | rgb () const |
| |
| void | setRGB (UT_Vector3F c) |
| |
| void | setRGB (UT_Vector3D c) |
| |
| fpreal | luminance () const |
| |
| fpreal | relativeLuminance () const |
| |
| void | setType (UT_ColorType t) |
| |
| void | setValue (fpreal x, fpreal y, fpreal z) |
| |
| void | setRGB (fpreal r, fpreal g, fpreal b) |
| |
| void | setHSV (fpreal h, fpreal s, fpreal v) |
| |
| void | setHSL (fpreal h, fpreal s, fpreal l) |
| |
| void | setXYZ (fpreal x, fpreal y, fpreal z) |
| |
| void | setLAB (fpreal l, fpreal a, fpreal b) |
| |
| void | setLABluminance (fpreal l) |
| |
| void | setTMI (fpreal t, fpreal m, fpreal i) |
| |
| void | setUnique (int64 idx) |
| |
| void | setColorByName (const char *colorname) |
| |
| void | clampToLegal () |
| |
| void | ghost (fpreal gfactor=0.75f) |
| |
| UT_Color | copyGhosted (fpreal gfactor=0.75f) const |
| |
| void | operator= (const UT_Color &c) |
| |
| int | operator== (const UT_Color &color) const |
| |
| int | operator!= (const UT_Color &c) const |
| |
| bool | operator< (const UT_Color &b) const |
| |
| uint32 | hash () const |
| |
| void | brighten (fpreal amount) |
| |
| void | tintRGB (const UT_Color &clr) |
| |
| void | addHSV (const UT_Color &clr) |
| |
| void | addRGB (const UT_Color &clr) |
| |
| void | subRGB (const UT_Color &clr) |
| |
| UT_Color | copyWithGamma (fpreal gamma) const |
| |
| void | gamma (fpreal gamma) |
| |
| void | blendRGB (const UT_Color &clr, fpreal bias=0.5) |
| |
| int | save (std::ostream &os, int binary) const |
| |
| void | saveMinimalAsText (std::ostream &os) const |
| |
| bool | load (UT_IStream &is) |
| |
| const char * | className () const |
| |
|
| bool | save (UT_JSONWriter &w) const |
| |
| bool | save (UT_JSONValue &v) const |
| |
| bool | load (UT_JSONParser &p) |
| |