7 #ifndef __houdini_HoudiniRamp_h__ 8 #define __houdini_HoudiniRamp_h__ 29 virtual U32 entryCount(
void)
const 30 {
return m_ramp.getNodeCount(); }
32 virtual Vector2 entry(U32 a_index)
const 34 const UT_ColorNode* pColorNode=m_ramp.getNode(a_index);
35 return Vector2(pColorNode->t,pColorNode->rgba.r);
38 virtual Real eval(Real a_u)
const 41 m_ramp.rampLookup(a_u,values);
45 UT_Ramp& nativeRamp(
void) {
return m_ramp; }
kernel
Definition: namespace.dox:3
Ramp in Houdini.
Definition: HoudiniRamp.h:20
Per-class participation non-RTTI fallback dynamic casting mechanism.
Definition: Castable.h:192