10 #define __HOM_Ramp_h__
29 HOM_Ramp(std::vector<HOM_EnumValue *> basis,
30 const std::vector<double> &keys,
31 const std::vector<double> &
values);
33 HOM_Ramp(std::vector<HOM_EnumValue *> basis,
34 const std::vector<double> &keys,
35 const std::vector<std::vector<double> > &
values);
58 std::vector<HOM_EnumValue *> basis();
60 std::vector<double> keys();
72 { myIsColor = is_color; }
90 InterpreterObject lookup(
double pos)
92 return HOMboostAnyToInterpreterObject(self->rampLookup(pos));
97 return HOMboostAnyToInterpreterObject(self->rampValues());
#define HOM_DESTRUCT_OBJECT(pointer)
GLsizei const GLchar *const * string
string __repr__(VtArray< T > const &self)
bool any(const vbool4 &v)
void ignore(T const &) VULKAN_HPP_NOEXCEPT
#define HOM_CONSTRUCT_OBJECT(pointer)
void setIsColor(bool is_color)
GLenum GLsizei GLsizei GLint * values
OIIO_UTIL_API bool rename(string_view from, string_view to, std::string &err)
Utility class for containing a color ramp.