9 #ifndef __HOM_Color_h__
10 #define __HOM_Color_h__
30 HOM_Color(
const std::vector<float> &rgb_tuple);
65 std::vector<float> rgb();
66 std::vector<float> hsv();
67 std::vector<float> hsl();
68 std::vector<float> xyz();
69 std::vector<float> lab();
70 std::vector<float> tmi();
72 void setRGB(
const std::vector<float> &tuple);
73 void setHSV(
const std::vector<float> &tuple);
74 void setHSL(
const std::vector<float> &tuple);
75 void setXYZ(
const std::vector<float> &tuple);
76 void setLAB(
const std::vector<float> &tuple);
77 void setTMI(
const std::vector<float> &tuple);
80 static std::vector<std::string> ocio_spaces();
81 static std::vector<std::string> ocio_activeDisplays();
82 static std::vector<std::string> ocio_activeViews();
83 static std::vector<std::string> ocio_looks();
84 static std::vector<std::string> ocio_roles();
85 static std::vector<std::string> ocio_views(
const char *display);
89 SWIGOUT(%newobject ocio_transform;)
93 SWIGOUT(%newobject ocio_viewTransform;)
98 static void reloadOCIO();
#define HOM_DESTRUCT_OBJECT(pointer)
HOM_Color(const UT_Color &color)
GLsizei const GLchar *const * string
HOM_Color(const HOM_Color &color)
string __repr__(VtArray< T > const &self)
HOM_Color(float r, float g, float b)
bool operator==(HOM_PtrOrNull< HOM_Color > color)
bool operator!=(HOM_PtrOrNull< HOM_Color > color)
void ignore(T const &) VULKAN_HPP_NOEXCEPT
int __hash__() override=0
#define HOM_CONSTRUCT_OBJECT(pointer)
GLboolean GLboolean GLboolean b
OIIO_UTIL_API bool rename(string_view from, string_view to, std::string &err)
bool operator==(const Mat3< T0 > &m0, const Mat3< T1 > &m1)
Equality operator, does exact floating point comparisons.