12 #ifndef __OBJ_BlendSticky__
13 #define __OBJ_BlendSticky__
42 const char *
label,
int keeppos,
71 return evalInt(
"weights", 0, 0);
75 setInt(
"weights", 0, 0, n);
98 {
return stickyIndirect; }
101 bool verifyParentGeopaths();
102 void verifyNumInputs();
static int * stickyIndirect
OP_ERROR setInput(OP_InputIdx idx, OP_Node *op, OP_OutputIdx outputIdx=0) override
Sets a given input to connect to an output of a particular node.
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
virtual void STICKYGEOPATH(UT_String &str, fpreal t)
OP_ERROR cookMyObj(OP_Context &context) override
OP_ERROR setIndirectInput(OP_InputIdx idx, OP_IndirectInput *in) override
Connects an input to an indirect input of our parent subnet.
constexpr auto in(type t, int set) -> bool
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
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
OP_ERROR setInputReference(OP_InputIdx idx, const char *label, int keeppos, OP_OutputIdx outputIdx=0) override
Connects an input to particular node by name in the network.
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.
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)