23 namespace SOP_DeleteEnums
34 using namespace UT::Literal;
52 using namespace UT::Literal;
71 using namespace UT::Literal;
89 using namespace UT::Literal;
110 myAffectnumber =
true;
113 myPattern =
"!*"_UTsh;
116 myAffectvolume =
false;
120 myAffectnormal =
false;
121 myCamerapath =
""_UTsh;
122 myAffectdegenerate =
false;
123 myDegenerate =
false;
129 myUseseedattrib =
false;
130 mySeedattrib =
"id"_UTsh;
133 myKeeppoints =
false;
149 if (myGroup != src.myGroup)
return false;
150 if (myNegate != src.myNegate)
return false;
151 if (myEntity != src.myEntity)
return false;
152 if (myAffectnumber != src.myAffectnumber)
return false;
153 if (myGroupop != src.myGroupop)
return false;
154 if (myFilter != src.myFilter)
return false;
155 if (myPattern != src.myPattern)
return false;
156 if (myRange != src.myRange)
return false;
157 if (mySelect != src.mySelect)
return false;
158 if (myAffectvolume != src.myAffectvolume)
return false;
159 if (myBoundtype != src.myBoundtype)
return false;
160 if (mySize != src.mySize)
return false;
161 if (myT != src.myT)
return false;
162 if (myAffectnormal != src.myAffectnormal)
return false;
163 if (myCamerapath != src.myCamerapath)
return false;
164 if (myAffectdegenerate != src.myAffectdegenerate)
return false;
165 if (myDegenerate != src.myDegenerate)
return false;
166 if (myZaf != src.myZaf)
return false;
167 if (myDoopen != src.myDoopen)
return false;
168 if (myTol != src.myTol)
return false;
169 if (myUserandom != src.myUserandom)
return false;
170 if (myGlobalseed != src.myGlobalseed)
return false;
171 if (myUseseedattrib != src.myUseseedattrib)
return false;
172 if (mySeedattrib != src.mySeedattrib)
return false;
173 if (myPercent != src.myPercent)
return false;
174 if (myRemovegrp != src.myRemovegrp)
return false;
175 if (myKeeppoints != src.myKeeppoints)
return false;
176 if (myGeotype != src.myGeotype)
return false;
177 if (myDir != src.myDir)
return false;
178 if (myAngle != src.myAngle)
return false;
197 graph->
evalOpParm(myGroup, nodeidx,
"group", time, 0);
200 graph->
evalOpParm(myNegate, nodeidx,
"negate", time, 0);
203 graph->
evalOpParm(myEntity, nodeidx,
"entity", time, 0);
204 myAffectnumber =
true;
206 graph->
evalOpParm(myAffectnumber, nodeidx,
"affectnumber", time, 0);
208 if (
true && ( (
true&&!(((getAffectnumber()==0)))) ) )
209 graph->
evalOpParm(myGroupop, nodeidx,
"groupop", time, 0);
211 if (
true && ( (
true&&!(((getAffectnumber()==0))||((
int64(getGroupop())!=2)))) ) )
212 graph->
evalOpParm(myFilter, nodeidx,
"filter", time, 0);
213 myPattern =
"!*"_UTsh;
214 if (
true && ( (
true&&!(((getAffectnumber()==0))||((
int64(getGroupop())!=0)))) ) )
215 graph->
evalOpParm(myPattern, nodeidx,
"pattern", time, 0);
217 if (
true && ( (
true&&!(((getAffectnumber()==0))||((
int64(getGroupop())!=1)))) ) )
218 graph->
evalOpParm(myRange, nodeidx,
"range", time, 0);
220 if (
true && ( (
true&&!(((getAffectnumber()==0))||((
int64(getGroupop())!=1)))) ) )
221 graph->
evalOpParm(mySelect, nodeidx,
"select", time, 0);
222 myAffectvolume =
false;
224 graph->
evalOpParm(myAffectvolume, nodeidx,
"affectvolume", time, 0);
226 if (
true && ( (
true&&!(((getAffectvolume()==0)))) ) )
227 graph->
evalOpParm(myBoundtype, nodeidx,
"boundtype", time, 0);
229 if (
true && ( (
true&&!(((getAffectvolume()==0)))) ) )
230 graph->
evalOpParm(mySize, nodeidx,
"size", time, 0);
232 if (
true && ( (
true&&!(((getAffectvolume()==0)))) ) )
233 graph->
evalOpParm(myT, nodeidx,
"t", time, 0);
234 myAffectnormal =
false;
236 graph->
evalOpParm(myAffectnormal, nodeidx,
"affectnormal", time, 0);
237 myCamerapath =
""_UTsh;
238 if (
true && ( (
true&&!(((getAffectnormal()==0)))) ) )
239 graph->
evalOpParm(myCamerapath, nodeidx,
"camerapath", time, 0);
240 myAffectdegenerate =
false;
242 graph->
evalOpParm(myAffectdegenerate, nodeidx,
"affectdegenerate", time, 0);
243 myDegenerate =
false;
244 if (
true && ( (
true&&!(((getAffectdegenerate()==0)))) ) )
245 graph->
evalOpParm(myDegenerate, nodeidx,
"degenerate", time, 0);
247 if (
true && ( (
true&&!(((getAffectdegenerate()==0))||((
int64(getEntity())!=0)))) ) )
248 graph->
evalOpParm(myZaf, nodeidx,
"zaf", time, 0);
250 if (
true && ( (
true&&!(((getAffectdegenerate()==0))||((
int64(getEntity())!=0))||((getZaf()==0)))) ) )
251 graph->
evalOpParm(myDoopen, nodeidx,
"doopen", time, 0);
253 if (
true && ( (
true&&!(((getAffectdegenerate()==0))||((getZaf()==0)&&(getDegenerate()==0)))) ) )
254 graph->
evalOpParm(myTol, nodeidx,
"tol", time, 0);
257 graph->
evalOpParm(myUserandom, nodeidx,
"userandom", time, 0);
259 if (
true && ( (
true&&!(((getUserandom()==0)))) ) )
260 graph->
evalOpParm(myGlobalseed, nodeidx,
"globalseed", time, 0);
261 myUseseedattrib =
false;
262 if (
true && ( (
true&&!(((getUserandom()==0)))) ) )
263 graph->
evalOpParm(myUseseedattrib, nodeidx,
"useseedattrib", time, 0);
264 mySeedattrib =
"id"_UTsh;
265 if (
true && ( (
true&&!(((getUserandom()==0))||((getUseseedattrib()==0)))) ) )
266 graph->
evalOpParm(mySeedattrib, nodeidx,
"seedattrib", time, 0);
268 if (
true && ( (
true&&!(((getUserandom()==0)))) ) )
269 graph->
evalOpParm(myPercent, nodeidx,
"percent", time, 0);
272 graph->
evalOpParm(myRemovegrp, nodeidx,
"removegrp", time, 0);
273 myKeeppoints =
false;
274 if (
true && ( (
true&&!(((
int64(getEntity())!=0)))) ) )
275 graph->
evalOpParm(myKeeppoints, nodeidx,
"keeppoints", time, 0);
277 if (
true && ( (
true&&!(((getAffectnumber()==0)&&(getAffectvolume()==0)&&(getAffectnormal()==0)&&(getAffectdegenerate()==0)))) ) )
278 graph->
evalOpParm(myGeotype, nodeidx,
"geotype", time, 0);
280 if (
true && ( (
true&&!(((getAffectnormal()==0))||((getCamerapath()!=
"")))) ) )
281 graph->
evalOpParm(myDir, nodeidx,
"dir", time, 0);
283 if (
true && ( (
true&&!(((getAffectnormal()==0))||((getCamerapath()!=
"")))) ) )
284 graph->
evalOpParm(myAngle, nodeidx,
"angle", time, 0);
300 template <
typename T>
307 if (idx.
size() != instance.
size()+1)
312 coerceValue(value, myGroup);
315 coerceValue(value, myNegate);
318 coerceValue(value, myEntity);
321 coerceValue(value, myAffectnumber);
324 coerceValue(value, myGroupop);
327 coerceValue(value, myFilter);
330 coerceValue(value, myPattern);
333 coerceValue(value, myRange);
336 coerceValue(value, mySelect);
339 coerceValue(value, myAffectvolume);
342 coerceValue(value, myBoundtype);
345 coerceValue(value, mySize);
348 coerceValue(value, myT);
351 coerceValue(value, myAffectnormal);
354 coerceValue(value, myCamerapath);
357 coerceValue(value, myAffectdegenerate);
360 coerceValue(value, myDegenerate);
363 coerceValue(value, myZaf);
366 coerceValue(value, myDoopen);
369 coerceValue(value, myTol);
372 coerceValue(value, myUserandom);
375 coerceValue(value, myGlobalseed);
378 coerceValue(value, myUseseedattrib);
381 coerceValue(value, mySeedattrib);
384 coerceValue(value, myPercent);
387 coerceValue(value, myRemovegrp);
390 coerceValue(value, myKeeppoints);
393 coerceValue(value, myGeotype);
396 coerceValue(value, myDir);
399 coerceValue(value, myAngle);
415 { doGetParmValue(idx, instance, value); }
417 { doGetParmValue(idx, instance, value); }
419 { doGetParmValue(idx, instance, value); }
421 { doGetParmValue(idx, instance, value); }
423 { doGetParmValue(idx, instance, value); }
425 { doGetParmValue(idx, instance, value); }
427 { doGetParmValue(idx, instance, value); }
429 { doGetParmValue(idx, instance, value); }
431 { doGetParmValue(idx, instance, value); }
433 { doGetParmValue(idx, instance, value); }
435 { doGetParmValue(idx, instance, value); }
437 template <
typename T>
444 if (idx.
size() != instance.
size()+1)
449 coerceValue(myGroup, ( ( value ) ));
452 coerceValue(myNegate, clampMinValue(0, clampMaxValue(1, value ) ));
455 coerceValue(myEntity, clampMinValue(0, clampMaxValue(2, value ) ));
458 coerceValue(myAffectnumber, ( ( value ) ));
461 coerceValue(myGroupop, clampMinValue(0, clampMaxValue(2, value ) ));
464 coerceValue(myFilter, ( ( value ) ));
467 coerceValue(myPattern, ( ( value ) ));
470 coerceValue(myRange, clampMinValue(0, ( value ) ));
473 coerceValue(mySelect, clampMinValue(0, ( value ) ));
476 coerceValue(myAffectvolume, ( ( value ) ));
479 coerceValue(myBoundtype, clampMinValue(0, clampMaxValue(1, value ) ));
482 coerceValue(mySize, ( ( value ) ));
485 coerceValue(myT, ( ( value ) ));
488 coerceValue(myAffectnormal, ( ( value ) ));
491 coerceValue(myCamerapath, ( ( value ) ));
494 coerceValue(myAffectdegenerate, ( ( value ) ));
497 coerceValue(myDegenerate, ( ( value ) ));
500 coerceValue(myZaf, ( ( value ) ));
503 coerceValue(myDoopen, ( ( value ) ));
506 coerceValue(myTol, clampMinValue(0, ( value ) ));
509 coerceValue(myUserandom, ( ( value ) ));
512 coerceValue(myGlobalseed, ( ( value ) ));
515 coerceValue(myUseseedattrib, ( ( value ) ));
518 coerceValue(mySeedattrib, ( ( value ) ));
521 coerceValue(myPercent, clampMinValue(0, clampMaxValue(100, value ) ));
524 coerceValue(myRemovegrp, ( ( value ) ));
527 coerceValue(myKeeppoints, ( ( value ) ));
530 coerceValue(myGeotype, ( ( value ) ));
533 coerceValue(myDir, ( ( value ) ));
536 coerceValue(myAngle, clampMinValue(0, clampMaxValue(180, value ) ));
543 { doSetParmValue(idx, instance, value); }
545 { doSetParmValue(idx, instance, value); }
547 { doSetParmValue(idx, instance, value); }
549 { doSetParmValue(idx, instance, value); }
551 { doSetParmValue(idx, instance, value); }
553 { doSetParmValue(idx, instance, value); }
555 { doSetParmValue(idx, instance, value); }
557 { doSetParmValue(idx, instance, value); }
559 { doSetParmValue(idx, instance, value); }
561 { doSetParmValue(idx, instance, value); }
563 { doSetParmValue(idx, instance, value); }
579 if (fieldnum.
size() < 1)
590 return "affectnumber";
602 return "affectvolume";
610 return "affectnormal";
614 return "affectdegenerate";
628 return "useseedattrib";
650 if (fieldnum.
size() < 1)
651 return PARM_UNSUPPORTED;
716 return PARM_UNSUPPORTED;
752 loadData(is, rampdata);
770 int typelen = colon - data.
buffer();
784 {
int64 iv =
v; UTwrite(os, &iv); }
786 { UTwrite<fpreal64>(os, &
v); }
788 { UTwrite<fpreal64>(os, &v.
x()); UTwrite<fpreal64>(os, &v.
y()); }
790 { UTwrite<fpreal64>(os, &v.
x()); UTwrite<fpreal64>(os, &v.
y());
791 UTwrite<fpreal64>(os, &v.
z()); }
793 { UTwrite<fpreal64>(os, &v.
x()); UTwrite<fpreal64>(os, &v.
y());
794 UTwrite<fpreal64>(os, &v.
z()); UTwrite<fpreal64>(os, &v.
w()); }
806 if (s) s->save(ostr);
808 saveData(os, result);
815 ostr << s->getDataTypeToken();
820 saveData(os, result);
824 void save(std::ostream &os)
const
828 saveData(os, myGroup);
829 saveData(os, myNegate);
830 saveData(os, myEntity);
831 saveData(os, myAffectnumber);
832 saveData(os, myGroupop);
833 saveData(os, myFilter);
834 saveData(os, myPattern);
835 saveData(os, myRange);
836 saveData(os, mySelect);
837 saveData(os, myAffectvolume);
838 saveData(os, myBoundtype);
839 saveData(os, mySize);
841 saveData(os, myAffectnormal);
842 saveData(os, myCamerapath);
843 saveData(os, myAffectdegenerate);
844 saveData(os, myDegenerate);
846 saveData(os, myDoopen);
848 saveData(os, myUserandom);
849 saveData(os, myGlobalseed);
850 saveData(os, myUseseedattrib);
851 saveData(os, mySeedattrib);
852 saveData(os, myPercent);
853 saveData(os, myRemovegrp);
854 saveData(os, myKeeppoints);
855 saveData(os, myGeotype);
857 saveData(os, myAngle);
870 loadData(is, myGroup);
871 loadData(is, myNegate);
872 loadData(is, myEntity);
873 loadData(is, myAffectnumber);
874 loadData(is, myGroupop);
875 loadData(is, myFilter);
876 loadData(is, myPattern);
877 loadData(is, myRange);
878 loadData(is, mySelect);
879 loadData(is, myAffectvolume);
880 loadData(is, myBoundtype);
881 loadData(is, mySize);
883 loadData(is, myAffectnormal);
884 loadData(is, myCamerapath);
885 loadData(is, myAffectdegenerate);
886 loadData(is, myDegenerate);
888 loadData(is, myDoopen);
890 loadData(is, myUserandom);
891 loadData(is, myGlobalseed);
892 loadData(is, myUseseedattrib);
893 loadData(is, mySeedattrib);
894 loadData(is, myPercent);
895 loadData(is, myRemovegrp);
896 loadData(is, myKeeppoints);
897 loadData(is, myGeotype);
899 loadData(is, myAngle);
909 if (!thissop)
return getGroup();
911 OP_Utils::evalOpParm(result, thissop,
"group", cookparms.
getCookTime(), 0);
919 if (!thissop)
return getNegate();
921 OP_Utils::evalOpParm(result, thissop,
"negate", cookparms.
getCookTime(), 0);
929 if (!thissop)
return getEntity();
931 OP_Utils::evalOpParm(result, thissop,
"entity", cookparms.
getCookTime(), 0);
939 if (!thissop)
return getAffectnumber();
941 OP_Utils::evalOpParm(result, thissop,
"affectnumber", cookparms.
getCookTime(), 0);
949 if (!thissop)
return getGroupop();
951 OP_Utils::evalOpParm(result, thissop,
"groupop", cookparms.
getCookTime(), 0);
959 if (!thissop)
return getFilter();
961 OP_Utils::evalOpParm(result, thissop,
"filter", cookparms.
getCookTime(), 0);
969 if (!thissop)
return getPattern();
971 OP_Utils::evalOpParm(result, thissop,
"pattern", cookparms.
getCookTime(), 0);
979 if (!thissop)
return getRange();
981 OP_Utils::evalOpParm(result, thissop,
"range", cookparms.
getCookTime(), 0);
989 if (!thissop)
return getSelect();
991 OP_Utils::evalOpParm(result, thissop,
"select", cookparms.
getCookTime(), 0);
999 if (!thissop)
return getAffectvolume();
1001 OP_Utils::evalOpParm(result, thissop,
"affectvolume", cookparms.
getCookTime(), 0);
1009 if (!thissop)
return getBoundtype();
1011 OP_Utils::evalOpParm(result, thissop,
"boundtype", cookparms.
getCookTime(), 0);
1019 if (!thissop)
return getSize();
1021 OP_Utils::evalOpParm(result, thissop,
"size", cookparms.
getCookTime(), 0);
1029 if (!thissop)
return getT();
1031 OP_Utils::evalOpParm(result, thissop,
"t", cookparms.
getCookTime(), 0);
1039 if (!thissop)
return getAffectnormal();
1041 OP_Utils::evalOpParm(result, thissop,
"affectnormal", cookparms.
getCookTime(), 0);
1049 if (!thissop)
return getCamerapath();
1051 OP_Utils::evalOpParm(result, thissop,
"camerapath", cookparms.
getCookTime(), 0);
1059 if (!thissop)
return getAffectdegenerate();
1061 OP_Utils::evalOpParm(result, thissop,
"affectdegenerate", cookparms.
getCookTime(), 0);
1069 if (!thissop)
return getDegenerate();
1071 OP_Utils::evalOpParm(result, thissop,
"degenerate", cookparms.
getCookTime(), 0);
1079 if (!thissop)
return getZaf();
1081 OP_Utils::evalOpParm(result, thissop,
"zaf", cookparms.
getCookTime(), 0);
1089 if (!thissop)
return getDoopen();
1091 OP_Utils::evalOpParm(result, thissop,
"doopen", cookparms.
getCookTime(), 0);
1099 if (!thissop)
return getTol();
1101 OP_Utils::evalOpParm(result, thissop,
"tol", cookparms.
getCookTime(), 0);
1109 if (!thissop)
return getUserandom();
1111 OP_Utils::evalOpParm(result, thissop,
"userandom", cookparms.
getCookTime(), 0);
1119 if (!thissop)
return getGlobalseed();
1121 OP_Utils::evalOpParm(result, thissop,
"globalseed", cookparms.
getCookTime(), 0);
1129 if (!thissop)
return getUseseedattrib();
1131 OP_Utils::evalOpParm(result, thissop,
"useseedattrib", cookparms.
getCookTime(), 0);
1139 if (!thissop)
return getSeedattrib();
1141 OP_Utils::evalOpParm(result, thissop,
"seedattrib", cookparms.
getCookTime(), 0);
1149 if (!thissop)
return getPercent();
1151 OP_Utils::evalOpParm(result, thissop,
"percent", cookparms.
getCookTime(), 0);
1159 if (!thissop)
return getRemovegrp();
1161 OP_Utils::evalOpParm(result, thissop,
"removegrp", cookparms.
getCookTime(), 0);
1169 if (!thissop)
return getKeeppoints();
1171 OP_Utils::evalOpParm(result, thissop,
"keeppoints", cookparms.
getCookTime(), 0);
1179 if (!thissop)
return getGeotype();
1181 OP_Utils::evalOpParm(result, thissop,
"geotype", cookparms.
getCookTime(), 0);
1189 if (!thissop)
return getDir();
1191 OP_Utils::evalOpParm(result, thissop,
"dir", cookparms.
getCookTime(), 0);
1199 if (!thissop)
return getAngle();
1201 OP_Utils::evalOpParm(result, thissop,
"angle", cookparms.
getCookTime(), 0);
1209 bool myAffectnumber;
1215 bool myAffectvolume;
1219 bool myAffectnormal;
1221 bool myAffectdegenerate;
1228 bool myUseseedattrib;
static void loadData(UT_IStream &is, UT_SharedPtr< UT_Ramp > &v)
UT_Vector2T< int64 > UT_Vector2I
bool getUserandom() const
int64 opGeotype(const SOP_NodeVerb::CookParms &cookparms) const
static void saveData(std::ostream &os, UT_SharedPtr< UT_Ramp > s)
void setGroup(const UT_StringHolder &val)
bool opAffectdegenerate(const SOP_NodeVerb::CookParms &cookparms) const
SOP_Node * getNode() const
void save(std::ostream &os) const
const char * getNestParmName(TempIndex fieldnum) const override
static void loadData(UT_IStream &is, UT_Matrix2D &v)
static void saveData(std::ostream &os, fpreal64 v)
static void loadData(UT_IStream &is, UT_Matrix3D &v)
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector3D &value) const override
void setAffectvolume(bool val)
static void loadData(UT_IStream &is, UT_Vector4I &v)
exint bread(int32 *buffer, exint asize=1)
bool opUseseedattrib(const SOP_NodeVerb::CookParms &cookparms) const
GT_API const UT_StringHolder time
constexpr SYS_FORCE_INLINE T & y() noexcept
static void saveData(std::ostream &os, PRM_DataItemHandle s)
void setKeeppoints(bool val)
static void loadData(UT_IStream &is, UT_Vector3D &v)
const UT_StringHolder & getSeedattrib() const
UT_StringHolder opGroup(const SOP_NodeVerb::CookParms &cookparms) const
void setAffectnumber(bool val)
bool load(UT_IStream &is)
void setCamerapath(const UT_StringHolder &val)
UT_Vector2I getSelect() const
static void loadData(UT_IStream &is, fpreal64 &v)
void setDir(UT_Vector3D val)
SYS_FORCE_INLINE UT_StringHolder getToken(Negate enum_value)
UT_Vector2I opRange(const SOP_NodeVerb::CookParms &cookparms) const
const OP_Context & context() const
void setTol(fpreal64 val)
static void loadData(UT_IStream &is, UT_Vector4D &v)
constexpr SYS_FORCE_INLINE T & z() noexcept
static void saveData(std::ostream &os, int64 v)
void loadFromOpSubclass(const LoadParms &loadparms) override
SYS_FORCE_INLINE const char * buffer() const
void setAffectdegenerate(bool val)
const UT_StringHolder & getCamerapath() const
fpreal64 opAngle(const SOP_NodeVerb::CookParms &cookparms) const
void setNestParmValue(TempIndex idx, TempIndex instance, const fpreal &value) override
bool getDegenerate() const
void setPercent(fpreal64 val)
void setEntity(Entity val)
An output stream object that owns its own string buffer storage.
bool opDoopen(const SOP_NodeVerb::CookParms &cookparms) const
**But if you need a result
void getNestParmValue(TempIndex idx, TempIndex instance, fpreal &value) const override
bool opDegenerate(const SOP_NodeVerb::CookParms &cookparms) const
void setPattern(const UT_StringHolder &val)
fpreal64 getAngle() const
static PRM_DataItemHandle parseBinary(const char *type, UT_IStream &is)
Entity opEntity(const SOP_NodeVerb::CookParms &cookparms) const
const UT_WorkBuffer & str()
Returns a read-only reference to the underlying UT_WorkBuffer.
void doSetParmValue(TempIndex idx, TempIndex instance, const T &value)
constexpr SYS_FORCE_INLINE T & x() noexcept
UT_Vector3D opSize(const SOP_NodeVerb::CookParms &cookparms) const
void setNegate(Negate val)
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix2D &value) const override
bool getUseseedattrib() const
static void saveData(std::ostream &os, UT_Vector2D v)
UT_Vector2I opSelect(const SOP_NodeVerb::CookParms &cookparms) const
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector3D &value) override
static void loadData(UT_IStream &is, bool &v)
void setUseseedattrib(bool val)
void getNestParmValue(TempIndex idx, TempIndex instance, exint &value) const override
void setRemovegrp(bool val)
constexpr SYS_FORCE_INLINE T & x() noexcept
bool operator==(const BaseDimensions< T > &a, const BaseDimensions< Y > &b)
void setRange(UT_Vector2I val)
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix2D &value) override
static void loadData(UT_IStream &is, UT_Matrix4D &v)
static void loadData(UT_IStream &is, UT_Vector2D &v)
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix3D &value) override
UT_StringHolder opCamerapath(const SOP_NodeVerb::CookParms &cookparms) const
static void saveData(std::ostream &os, UT_StringHolder s)
bool opKeeppoints(const SOP_NodeVerb::CookParms &cookparms) const
const UT_StringHolder & getGroup() const
bool opAffectnumber(const SOP_NodeVerb::CookParms &cookparms) const
SYS_FORCE_INLINE const char * buffer() const
std::shared_ptr< T > UT_SharedPtr
Wrapper around std::shared_ptr.
constexpr SYS_FORCE_INLINE T & z() noexcept
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix4D &value) override
static void loadData(UT_IStream &is, UT_Vector2I &v)
bool getKeeppoints() const
void setGlobalseed(fpreal64 val)
UT_Vector3D getSize() const
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_StringHolder &value) override
const OP_GraphProxy * graph() const
void getNestParmValue(TempIndex idx, TempIndex instance, UT_StringHolder &value) const override
void setBoundtype(Boundtype val)
static void saveData(std::ostream &os, UT_Matrix2D v)
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix3D &value) const override
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector2D &value) override
UT_Vector3T< fpreal64 > UT_Vector3D
bool opRemovegrp(const SOP_NodeVerb::CookParms &cookparms) const
Groupop opGroupop(const SOP_NodeVerb::CookParms &cookparms) const
bool getRemovegrp() const
ParmType getNestParmType(TempIndex fieldnum) const override
virtual void evalOpParm(int64 &v, NodeIdx node, const char *parmname, fpreal time, DEP_MicroNode *depnode) const =0
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector4D &value) const override
bool getAffectnormal() const
void saveBinary(std::ostream &os) const
Save string to binary stream.
fpreal64 opGlobalseed(const SOP_NodeVerb::CookParms &cookparms) const
bool getAffectnumber() const
GT_API const UT_StringHolder version
bool getAffectdegenerate() const
bool opAffectvolume(const SOP_NodeVerb::CookParms &cookparms) const
static void saveData(std::ostream &os, bool v)
Boundtype opBoundtype(const SOP_NodeVerb::CookParms &cookparms) const
void setUserandom(bool val)
Negate opNegate(const SOP_NodeVerb::CookParms &cookparms) const
UT_Vector3D opT(const SOP_NodeVerb::CookParms &cookparms) const
static void loadData(UT_IStream &is, PRM_DataItemHandle &v)
UT_StringHolder opSeedattrib(const SOP_NodeVerb::CookParms &cookparms) const
void setSize(UT_Vector3D val)
void setDegenerate(bool val)
void setSeedattrib(const UT_StringHolder &val)
static void loadData(UT_IStream &is, UT_StringHolder &v)
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector4D &value) override
UT_Vector3D opDir(const SOP_NodeVerb::CookParms &cookparms) const
DEP_MicroNode * depnode() const
bool operator==(const SOP_DeleteParms &src) const
int64 opFilter(const SOP_NodeVerb::CookParms &cookparms) const
LeafData & operator=(const LeafData &)=delete
Utility class for containing a color ramp.
bool isParmColorRamp(exint idx) const override
constexpr SYS_FORCE_INLINE T & w() noexcept
bool opAffectnormal(const SOP_NodeVerb::CookParms &cookparms) const
void setGeotype(int64 val)
void setNestParmValue(TempIndex idx, TempIndex instance, const exint &value) override
void copyFrom(const OP_NodeParms *src) override
void doGetParmValue(TempIndex idx, TempIndex instance, T &value) const
bool operator!=(const SOP_DeleteParms &src) const
static void loadData(UT_IStream &is, UT_Vector3I &v)
fpreal getCookTime() const
void setGroupop(Groupop val)
exint getNestNumParms(TempIndex idx) const override
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix4D &value) const override
void setSelect(UT_Vector2I val)
const char * findChar(int c) const
static void saveData(std::ostream &os, UT_Matrix4D v)
void setT(UT_Vector3D val)
void setAffectnormal(bool val)
void getNestParmValue(TempIndex idx, TempIndex instance, UT_SharedPtr< UT_Ramp > &value) const override
void setAngle(fpreal64 val)
constexpr SYS_FORCE_INLINE T & y() noexcept
static void saveData(std::ostream &os, UT_Matrix3D v)
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector2D &value) const override
bool opZaf(const SOP_NodeVerb::CookParms &cookparms) const
fpreal64 getGlobalseed() const
static void loadData(UT_IStream &is, int64 &v)
UT_Vector3D getDir() const
static void saveData(std::ostream &os, UT_Vector4D v)
const UT_StringHolder & getPattern() const
bool getAffectvolume() const
void setNestParmValue(TempIndex idx, TempIndex instance, const PRM_DataItemHandle &value) override
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_SharedPtr< UT_Ramp > &value) override
Groupop getGroupop() const
bool opUserandom(const SOP_NodeVerb::CookParms &cookparms) const
UT_SharedPtr< const PRM_DataItem > PRM_DataItemHandle
static void saveData(std::ostream &os, UT_Vector3D v)
void getNestParmValue(TempIndex idx, TempIndex instance, PRM_DataItemHandle &value) const override
fpreal64 getPercent() const
constexpr SYS_FORCE_INLINE T & y() noexcept
SYS_FORCE_INLINE bool isstring() const
UT_Vector2I getRange() const
void buildFromOp(const OP_GraphProxy *graph, exint nodeidx, fpreal time, DEP_MicroNode *depnode)
fpreal64 opTol(const SOP_NodeVerb::CookParms &cookparms) const
void setFilter(int64 val)
SYS_FORCE_INLINE void strncpy(const char *src, exint maxlen)
Boundtype getBoundtype() const
fpreal64 opPercent(const SOP_NodeVerb::CookParms &cookparms) const
constexpr SYS_FORCE_INLINE T & x() noexcept
UT_StringHolder opPattern(const SOP_NodeVerb::CookParms &cookparms) const