13 #ifndef __CHOP_Layer__
14 #define __CHOP_Layer__
25 #define CHOP_LAYER_ACTIVE_LAYER_INDEX 2
44 const char *trackname,
48 int &vecidx)
override;
65 int do_extras=1 )
override;
71 LayerContrib_ActiveValues,
72 LayerContrib_ActiveWeights,
86 {
return evalInt(
"active", 0, 0); }
89 {
return evalInt(
"nlayers", 0, 0); }
92 bool MUTE(
int i,
fpreal t)
const
94 bool SOLO(
int i,
fpreal t)
const
void opChanged(OP_EventType reason, void *data=0) override
virtual bool getActiveLayerContribution(const UT_String &track_name, fpreal t, fpreal &value, fpreal &weight)
virtual OP_ERROR cookMyChop(OP_Context &context)=0
bool findParmFromTrack(const OP_FollowChanRefsOptions &opt, const char *trackname, OP_NodeParmRefCycle &cycle, OP_Node *&node, PRM_Parm *&parm, int &vecidx) override
GLsizei GLsizei GLchar * source
fpreal evalFloatInst(const UT_StringRef &name, const int *inst, int vi, fpreal t, int nestlevel=1) const
GLuint const GLchar * name
virtual void checkTimeDependencies(int do_parms=1, int do_inputs=1, int do_extras=1)
static OP_TemplatePair myTemplatePair
exint evalInt(int pi, int vi, fpreal t) const
exint evalIntInst(const UT_StringRef &name, const int *inst, int vi, fpreal t, int nestlevel=1) const
static OP_VariablePair myVariablePair
virtual bool scopedChannelsDirty()