11 #ifndef __SOP_CaptureRegion__
12 #define __SOP_CaptureRegion__
47 void copyRegularToCaptureParameters(
OP_Context &context );
76 float &bcap,
float &tcap,
77 float &taperx,
float &taperz,
78 float &iweight,
float &oweight,
81 int *timedep=
nullptr);
85 void synchronizeCaptureToDeform(
93 void synchronizeDeformToCapture(
164 float &tx,
float &ty,
float &tz,
165 float &rx,
float &ry,
float &rz,
166 float &squash_x,
float &squash_y,
float &squash_z,
167 float &top_tube_sy,
float &bot_tube_sy,
168 float &top_x,
float &top_y,
float &top_z,
169 float &bot_x,
float &bot_y,
float &bot_z,
175 bool createChannelWithReference(
const char* ch_name,
179 const char *old_parm_name,
int vi,
180 const char *new_parm_name,
181 const char *new_chan_name,
182 const char *find_expr,
183 const char *replace_expr,
187 void setDeformToCaptureTube(
OP_Context &context );
188 void setCaptureToDeformTube(
OP_Context &context );
196 void updateRigAdjusmentZFactor(
OP_Context &context );
199 int AXIS() {
return evalInt ( I_AXIS, 0, 0); }
228 float RIGADJUSTZFACTOR(
fpreal t)
229 {
return evalFloat( I_RIG_ADJUST_ZFACTOR, 0, t);}
231 int C_AXIS() {
return evalInt ( I_C_AXIS, 0, 0); }
254 void setAXIS(
int v) {
setChRefInt ( I_AXIS, 0, 0, v); }
273 void setTOPHEIGHT(
float v,
fpreal t)
283 void setBOTHEIGHT(
float v,
fpreal t)
293 void setZFACTOR(
float v,
fpreal t)
300 void setC_AXIS(
int v) {
setChRefInt ( I_C_AXIS, 0, 0, v); }
319 void setC_TOPHEIGHT(
float v,
fpreal t)
329 void setC_BOTHEIGHT(
float v,
fpreal t)
339 void setC_ZFACTOR(
float v,
fpreal t)
362 void setRIGADJUSTZFACTOR(
float v,
fpreal t)
static UT_XformOrder CR_XFORM_ORDER
#define SYS_DEPRECATED(__V__)
virtual bool getTransform(TransformMode mode, UT_Matrix4D &xform, OP_Context &)
constexpr SYS_FORCE_INLINE T & z() noexcept
fpreal evalFloat(int pi, int vi, fpreal t) const
GA_API const UT_StringHolder scale
void setChRefFloat(int pi, int vi, fpreal t, fpreal val, PRM_AddKeyType add_key=PRM_AK_MARK_PENDING, bool propagate=true)
void setChRefInt(int pi, int vi, fpreal t, exint val, PRM_AddKeyType add_key=PRM_AK_MARK_PENDING, bool propagate=true)
GLuint const GLchar * name
virtual void resolveObsoleteParms(PRM_ParmList *)
exint evalInt(int pi, int vi, fpreal t) const
virtual OP_ERROR cookMySop(OP_Context &context)=0
constexpr SYS_FORCE_INLINE T & y() noexcept
constexpr SYS_FORCE_INLINE T & x() noexcept