12 #ifndef __OBJ_StickyShared__
13 #define __OBJ_StickyShared__
56 static int clearUVCacheStatic(
void *,
int,
fpreal,
76 return evalInt(
"fetchworld", 0, 0.0
f);
80 return evalInt(
"stickyorient", 0, 0.0
f);
85 return evalInt(
"stickyuvconstant", 0, t);
90 return evalInt(
"stickywrapu", 0, t);
94 return evalInt(
"stickywrapu", 0, t);
117 {
return myVAxisInvert; }
120 void zeroPrimCacheValues(
const GU_Detail *gdp,
122 void buildHullCacheValues(
const GU_Detail *gdp,
125 void buildPrimCacheValues(
const GU_Detail *gdp,
149 virtual void createInputDependencies(
fpreal t);
151 virtual void unlockStickyInputs(
OP_Context &context);
154 GU_UVCache *myUVCache;
bool isVAxisInverted() const
virtual fpreal STICKYROT(fpreal t)
GA_API const UT_StringHolder uv
void STICKYATTRIB(UT_String &str, fpreal t)
virtual void STICKYGEOPATH(UT_String &str, fpreal t)
fpreal evalFloat(int pi, int vi, fpreal t) const
static OP_Node * myConstructor(OP_Network *net, const char *name, OP_Operator *entry)
GLfloat GLfloat GLfloat v2
GLfloat GLfloat GLfloat GLfloat v3
constexpr SYS_FORCE_INLINE T & x() noexcept
virtual void STICKYUV(UT_Vector2R &uv, fpreal t)
void evalString(UT_String &val, int pi, int vi, fpreal t) const
bool get2DWorldTransform(UT_DMatrix4 &mat, OP_Context &context) override
virtual OP_ERROR cookMyObj(OP_Context &context)
void identity()
Set the matrix to identity.
GLuint const GLchar * name
void STICKYURANGE(UT_Vector2R &urange, fpreal t)
OBJ_OBJECT_TYPE getObjectType() const override
exint evalInt(int pi, int vi, fpreal t) const
virtual void getUV(UT_Vector2R &uv, OP_Context &context)
bool ASSUMEUVCONSTANT(fpreal t)
void STICKYVRANGE(UT_Vector2R &vrange, fpreal t)
constexpr SYS_FORCE_INLINE T & y() noexcept
int * getIndirect() const override