11 #ifndef __CVEX_Transform__
12 #define __CVEX_Transform__
23 class VEX_TransformContext;
26 class cvex_TransformData;
75 if (myCwdId < 0 && myOpCaller)
76 return myOpCaller->getOpId();
96 void setInputXform(
int input,
const UT_Matrix4D &xform);
97 void getInputXform(
int input,
UT_Matrix4D &xform)
const;
98 void setInputXformId(
int input,
int nodeid);
99 int getInputXformId(
int input)
const;
125 virtual
void *allocateUserData() const;
127 virtual
void freeUserData(
void *) const;
129 virtual
void clearUserData(
void *) const;
140 virtual
bool lookupInverse(const
char *name,
UT_Matrix4D &m,
144 virtual
bool lookupToNDC(const
char *name,
148 virtual
bool lookupFromNDC(const
char *name,
170 int cwdId()
const {
return myContext.cwdId(); }
171 int worldId()
const {
return myContext.worldId(); }
189 VEX_TransformContext *context()
const;
191 cvex_TransformData *myData;
192 LookupContext myContext;
194 template <VEX_Precision ALLPREC>
void * getUserData() const
**But if you need a result
void setOpCaller(UT_OpCaller *c)
int worldId() const
Specifies the node that defines the transform space.
std::shared_ptr< T > UT_SharedPtr
Wrapper around std::shared_ptr.
#define UT_NON_COPYABLE(CLASS)
Define deleted copy constructor and assignment operator inside a class.
GLuint const GLchar * name
UT_OpCaller * opCaller() const
int cwdId() const
Specifies the node for relative path searching.