15 #ifndef __SOP_UVEdit_h__
16 #define __SOP_UVEdit_h__
43 #define SOP_UVEDIT_NUM_SOFT_PARMS (8)
60 friend class MSS_UVEditState;
90 int alone = 0)
override;
113 const char *
inputLabel(
unsigned idx)
const override;
122 #ifdef INTEL_COMPILER
128 int GRPTYPE()
const {
return evalInt(I_GROUPTYPE, 0, 0); }
131 int TRS()
const {
return evalInt(I_TRS, 0, 0); }
132 int XYZ()
const {
return evalInt(I_XYZ, 0, 0); }
155 int SOFTTYPE()
const {
return evalInt(
164 int METRIC()
const {
return evalInt(
168 int UVGLOBAL()
const {
return evalInt(
170 int VISUALIZE_FALLOFF(
fpreal t)
const
172 bool falloffAttributeRequested(
fpreal t)
const;
175 int UVSEW()
const {
return evalInt(
186 bool isSoft()
const {
return RADIUS() != 0.0; }
194 bool mySoftCacheDirty;
196 bool myVisualizationFlag;
197 bool mySetFalloffOnLastCook;
198 bool myOverwroteInputFalloff;
virtual void applyAndClearCurrentDelta()
virtual void setVisualization(bool)
virtual bool updateParmsFlags()
const char * inputLabel(unsigned idx) const override
virtual void getXformOrder(UT_XformOrder &xord, const CH_Channel *chp) const
fpreal evalFloat(int pi, int vi, fpreal t) const
void getDescriptiveParmName(UT_String &name) const override
void evalString(UT_String &val, int pi, int vi, fpreal t) const
GLuint const GLchar * name
virtual bool getGroupCentroid(OP_Context &, UT_Vector3 &)
virtual OP_ERROR cookInputGroups(OP_Context &context, int alone=0)
void setFloat(int parmi, int vectori, fpreal t, fpreal value, PRM_AddKeyType add_key=PRM_AK_MARK_PENDING)
exint evalInt(int pi, int vi, fpreal t) const
virtual OP_ERROR cookMySop(OP_Context &context)=0