HDK
|
#include <HOM_Color.h>
Public Member Functions | |
HOM_Color () | |
HOM_Color (const std::vector< float > &rgb_tuple) | |
HOM_Color (float r, float g, float b) | |
HOM_Color (const HOM_Color &color) | |
HOM_Color (const UT_Color &color) | |
~HOM_Color () | |
bool | operator== (HOM_PtrOrNull< HOM_Color > color) |
bool | operator!= (HOM_PtrOrNull< HOM_Color > color) |
int | __hash__ () |
std::string | __repr__ () |
HOM_Color & | operator= (const HOM_Color &color) |
std::vector< float > | rgb () |
std::vector< float > | hsv () |
std::vector< float > | hsl () |
std::vector< float > | xyz () |
std::vector< float > | lab () |
std::vector< float > | tmi () |
void | setRGB (const std::vector< float > &tuple) |
void | setHSV (const std::vector< float > &tuple) |
void | setHSL (const std::vector< float > &tuple) |
void | setXYZ (const std::vector< float > &tuple) |
void | setLAB (const std::vector< float > &tuple) |
void | setTMI (const std::vector< float > &tuple) |
HOM_Color * | ocio_transform (std::string src_colorspace, std::string dest_colorspace, std::string looks) |
HOM_Color * | ocio_viewTransform (std::string src_colorspace, std::string display, std::string view) |
void * | _asVoidPointer () |
Static Public Member Functions | |
static std::string | ocio_configPath () |
static std::vector< std::string > | ocio_spaces () |
static std::vector< std::string > | ocio_activeDisplays () |
static std::vector< std::string > | ocio_activeViews () |
static std::vector< std::string > | ocio_looks () |
static std::vector< std::string > | ocio_roles () |
static std::vector< std::string > | ocio_views (const char *display) |
static std::string | ocio_defaultDisplay () |
static std::string | ocio_defaultView () |
static void | reloadOCIO () |
static UT_ColorType | colorTypeForEnumValue (HOM_EnumValue &enum_value) |
static HOM_EnumValue & | colorTypeToEnumValue (UT_ColorType basis) |
Public Attributes | |
UT_Color | myColor |
Definition at line 23 of file HOM_Color.h.
|
inline |
Definition at line 26 of file HOM_Color.h.
HOM_Color::HOM_Color | ( | const std::vector< float > & | rgb_tuple | ) |
Definition at line 32 of file HOM_Color.h.
|
inline |
Definition at line 37 of file HOM_Color.h.
|
inline |
Definition at line 42 of file HOM_Color.h.
|
inline |
Definition at line 46 of file HOM_Color.h.
int HOM_Color::__hash__ | ( | ) |
std::string HOM_Color::__repr__ | ( | ) |
|
inline |
Definition at line 105 of file HOM_Color.h.
|
static |
|
static |
std::vector<float> HOM_Color::hsl | ( | ) |
std::vector<float> HOM_Color::hsv | ( | ) |
std::vector<float> HOM_Color::lab | ( | ) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
HOM_Color* HOM_Color::ocio_transform | ( | std::string | src_colorspace, |
std::string | dest_colorspace, | ||
std::string | looks | ||
) |
|
static |
HOM_Color* HOM_Color::ocio_viewTransform | ( | std::string | src_colorspace, |
std::string | display, | ||
std::string | view | ||
) |
|
inline |
Definition at line 52 of file HOM_Color.h.
Definition at line 59 of file HOM_Color.h.
|
inline |
Definition at line 49 of file HOM_Color.h.
|
static |
std::vector<float> HOM_Color::rgb | ( | ) |
std::vector<float> HOM_Color::tmi | ( | ) |
std::vector<float> HOM_Color::xyz | ( | ) |
UT_Color HOM_Color::myColor |
Definition at line 110 of file HOM_Color.h.