13 #ifndef __SOP_Muscle_h__
14 #define __SOP_Muscle_h__
29 #define SOP_MUSCLE_NUM_MUSCLE_PARMS (25)
35 #define SOP_MUSCLE_NUM_MODEL_PARMS (17)
66 #define SOP_MUSCLE_NUM_PREFERENCE_PARMS (5)
73 #define SOP_MUSCLE_NUM_CENTERLINE_PARMS (5)
95 #define NUM_SEGMENTS 4
96 #define DEFAULT_CENTER_GROUP "center"
121 { myGradientChanged =
true; }
137 color[0] = myCurrColorValuesRGB[0];
138 color[1] = myCurrColorValuesRGB[1];
139 color[2] = myCurrColorValuesRGB[2];
157 OP_ERROR setupInputs(
int numInputs);
164 void setupGradientValues(
int numMeta,
fpreal t);
172 bool getInputsChanged();
277 float CONTROL1SCALE(
int i,
fpreal t)
282 float CONTROL2SCALE(
int i,
fpreal t)
287 float CONTROL3SCALE(
int i,
fpreal t)
292 float CONTROL4SCALE(
int i,
fpreal t)
297 float CONTROL5SCALE(
int i,
fpreal t)
317 int PRIMSPERSEGMENT()
322 float MUSCLESCALE(
int i,
fpreal t)
363 bool myGradientChanged;
378 bool myInputsChanged;
virtual bool updateParmsFlags()
fpreal evalFloat(int pi, int vi, fpreal t) const
#define DEFAULT_CENTER_GROUP
void checkChannelDependencies(CH_Channel *ch, CH_CHANGE_TYPE reason) override
virtual const char * inputLabel(OP_InputIdx idx) const
GLint GLint GLsizei GLint GLenum GLenum type
void getCurrColorValues(UT_Vector3 &color)
void evalString(UT_String &val, int pi, int vi, fpreal t) const
GLuint const GLchar * name
GA_API const UT_StringHolder parms
void evalStringInst(const UT_StringRef &name, const int *inst, UT_String &val, int vi, fpreal t, int nestlevel=1) const
exint evalInt(int pi, int vi, fpreal t) const
virtual OP_ERROR cookMySop(OP_Context &context)=0