12 #ifndef __OBJ_BlendSticky__
13 #define __OBJ_BlendSticky__
40 unsigned output_idx = 0)
override;
43 unsigned output_idx = 0)
override;
70 return evalInt(
"weights", 0, 0);
74 setInt(
"weights", 0, 0, n);
97 {
return stickyIndirect; }
100 bool verifyParentGeopaths();
101 void verifyNumInputs();
static int * stickyIndirect
GLuint GLsizei const GLchar * label
virtual fpreal STICKYROT(fpreal t)
OP_ERROR setNamedInputReference(const OP_ConnectorId &input_name, const char *label, int, const OP_ConnectorId *output_name=NULL) override
static PRM_Template * getTemplateList()
GA_API const UT_StringHolder uv
OP_ERROR setIndirectInput(unsigned idx, OP_IndirectInput *in) override
Connects an input to an indirect input of our parent subnet.
virtual void STICKYGEOPATH(UT_String &str, fpreal t)
OP_ERROR cookMyObj(OP_Context &context) override
virtual unsigned nInputs() const
virtual OP_ERROR lockStickyInputs(OP_Context &context)
int * getIndirect() const override
virtual void STICKYUV(UT_Vector2R &uv, fpreal t)
virtual void createInputDependencies(fpreal t)
~OBJ_BlendSticky() override
OP_ERROR setInputReference(unsigned idx, const char *label, int keeppos, unsigned outputIdx=0) override
Connects an input to particular node by name in the network.
bool get2DWorldTransform(UT_DMatrix4 &mat, OP_Context &context) override
fpreal evalFloatInst(const UT_StringRef &name, const int *inst, int vi, fpreal t, int nestlevel=1) const
GLuint const GLchar * name
void getParallelInputs(OP_Context &context, OP_NodeList &nodes) const override
fpreal BLENDWEIGHT(int i, fpreal t) const
void setInt(int parmi, int vectori, fpreal t, exint value)
OP_ERROR setNamedInput(const OP_ConnectorId &input_name, OP_Node *op, const OP_ConnectorId *output_name=NULL) override
New input functions that use names instead of indices.
OP_ERROR setInput(unsigned idx, OP_Node *op, unsigned outputIdx=0) override
Sets a given input to connect to an output of a particular node.
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
virtual void unlockStickyInputs(OP_Context &context)
OP_ERROR setNamedIndirectInput(const OP_ConnectorId &input_name, OP_IndirectInput *input) override
static OP_Node * myConstructor(OP_Network *net, const char *name, OP_Operator *entry)