9 #ifndef __PRM_RampUtils_h__
10 #define __PRM_RampUtils_h__
48 inline void *callee()
const;
51 inline int vectorIndex()
const;
53 inline int intValue()
const;
54 inline fpreal floatValue()
const;
73 static void updateRampFromMultiParm(
78 static void updateMultiParmFromRamp(
85 static void updateMultiParmFromRamp(
94 static void getRampParmFromDefault(
PRM_Parm &ramp_parm,
95 const char *defaults_string);
99 static void getRampValuesFromParm(
102 const UT_Ramp &ramp,
bool is_rgb);
121 , myVectorIndex(vector_index)
135 , myVectorIndex(vector_index)
ValueData(void *callee, fpreal t, PRM_Parm &p, int vector_index, int val, PRM_AddKeyType add_key)
PRM_API PRM_RampInterpType PRMgetRampInterp(UT_SPLINE_BASIS basis)
PRM_API UT_SPLINE_BASIS PRMgetRampBasis(int ramp_interp)
PRM_ValueType valueType() const
GT_API const UT_StringHolder time
An output stream object that owns its own string buffer storage.
fpreal floatValue() const
PRM_AddKeyType addKey() const
GLenum GLsizei GLsizei GLint * values
Utility class for containing a color ramp.
Utility functions for working with ramp parameters.