23 namespace SOP_PolyExpand2DEnums
34 using namespace UT::Literal;
51 using namespace UT::Literal;
70 using namespace UT::Literal;
89 using namespace UT::Literal;
115 mySidedetermination = 1;
116 myOutputinside =
true;
117 myOutputoutside =
true;
119 myOmitendcaps =
false;
120 myUselocalinsidescale =
false;
121 myLocalinsidescale =
"offsetscale"_UTsh;
122 myUselocaloutsidescale =
false;
123 myLocaloutsidescale =
"offsetscale"_UTsh;
125 myInsidegroup =
"inside"_UTsh;
126 myOutsidegroup =
"outside"_UTsh;
127 myDoedgedistattrib =
false;
128 myEdgedistattrib =
"edgedist"_UTsh;
129 myDoedgespeedattrib =
false;
130 myEdgespeedattrib =
"edgespeed"_UTsh;
131 myCoincidencetol = 0.003;
132 myParallelismtol = 0.01;
133 mySkeletonfailure = 0;
134 myCacheskeleton =
true;
148 if (myGroup != src.myGroup)
return false;
149 if (myPlanepossrc != src.myPlanepossrc)
return false;
150 if (myPlaneorigin != src.myPlaneorigin)
return false;
151 if (myPlanedist != src.myPlanedist)
return false;
152 if (myPlanenormal != src.myPlanenormal)
return false;
153 if (myOutput != src.myOutput)
return false;
154 if (myOffset != src.myOffset)
return false;
155 if (myDivs != src.myDivs)
return false;
156 if (mySidedetermination != src.mySidedetermination)
return false;
157 if (myOutputinside != src.myOutputinside)
return false;
158 if (myOutputoutside != src.myOutputoutside)
return false;
159 if (myKeepinput != src.myKeepinput)
return false;
160 if (myOmitendcaps != src.myOmitendcaps)
return false;
161 if (myUselocalinsidescale != src.myUselocalinsidescale)
return false;
162 if (myLocalinsidescale != src.myLocalinsidescale)
return false;
163 if (myUselocaloutsidescale != src.myUselocaloutsidescale)
return false;
164 if (myLocaloutsidescale != src.myLocaloutsidescale)
return false;
165 if (myNewg != src.myNewg)
return false;
166 if (myInsidegroup != src.myInsidegroup)
return false;
167 if (myOutsidegroup != src.myOutsidegroup)
return false;
168 if (myDoedgedistattrib != src.myDoedgedistattrib)
return false;
169 if (myEdgedistattrib != src.myEdgedistattrib)
return false;
170 if (myDoedgespeedattrib != src.myDoedgespeedattrib)
return false;
171 if (myEdgespeedattrib != src.myEdgespeedattrib)
return false;
172 if (myCoincidencetol != src.myCoincidencetol)
return false;
173 if (myParallelismtol != src.myParallelismtol)
return false;
174 if (mySkeletonfailure != src.mySkeletonfailure)
return false;
175 if (myCacheskeleton != src.myCacheskeleton)
return false;
176 if (myUpdatenmls != src.myUpdatenmls)
return false;
195 graph->
evalOpParm(myGroup, nodeidx,
"group", time, 0);
198 graph->
evalOpParm(myPlanepossrc, nodeidx,
"planepossrc", time, 0);
200 if (
true && ( (
true&&!(((
int64(getPlanepossrc())==0)))) ) )
201 graph->
evalOpParm(myPlaneorigin, nodeidx,
"planeorigin", time, 0);
203 if (
true && ( (
true&&!(((
int64(getPlanepossrc())==0)))) ) )
204 graph->
evalOpParm(myPlanedist, nodeidx,
"planedist", time, 0);
206 if (
true && ( (
true&&!(((
int64(getPlanepossrc())==0)))) ) )
207 graph->
evalOpParm(myPlanenormal, nodeidx,
"planenormal", time, 0);
210 graph->
evalOpParm(myOutput, nodeidx,
"output", time, 0);
213 graph->
evalOpParm(myOffset, nodeidx,
"offset", time, 0);
216 graph->
evalOpParm(myDivs, nodeidx,
"divs", time, 0);
217 mySidedetermination = 1;
219 graph->
evalOpParm(mySidedetermination, nodeidx,
"sidedetermination", time, 0);
220 myOutputinside =
true;
222 graph->
evalOpParm(myOutputinside, nodeidx,
"outputinside", time, 0);
223 myOutputoutside =
true;
225 graph->
evalOpParm(myOutputoutside, nodeidx,
"outputoutside", time, 0);
228 graph->
evalOpParm(myKeepinput, nodeidx,
"keepinput", time, 0);
229 myOmitendcaps =
false;
230 if (
true && ( (
true&&!(((
int64(getOutput())==1)))) ) )
231 graph->
evalOpParm(myOmitendcaps, nodeidx,
"omitendcaps", time, 0);
232 myUselocalinsidescale =
false;
234 graph->
evalOpParm(myUselocalinsidescale, nodeidx,
"uselocalinsidescale", time, 0);
235 myLocalinsidescale =
"offsetscale"_UTsh;
236 if (
true && ( (
true&&!(((getUselocalinsidescale()==0)))) ) )
237 graph->
evalOpParm(myLocalinsidescale, nodeidx,
"localinsidescale", time, 0);
238 myUselocaloutsidescale =
false;
240 graph->
evalOpParm(myUselocaloutsidescale, nodeidx,
"uselocaloutsidescale", time, 0);
241 myLocaloutsidescale =
"offsetscale"_UTsh;
242 if (
true && ( (
true&&!(((getUselocaloutsidescale()==0)))) ) )
243 graph->
evalOpParm(myLocaloutsidescale, nodeidx,
"localoutsidescale", time, 0);
246 graph->
evalOpParm(myNewg, nodeidx,
"newg", time, 0);
247 myInsidegroup =
"inside"_UTsh;
248 if (
true && ( (
true&&!(((getNewg()==0))||((getOutputinside()==0)))) ) )
249 graph->
evalOpParm(myInsidegroup, nodeidx,
"insidegroup", time, 0);
250 myOutsidegroup =
"outside"_UTsh;
251 if (
true && ( (
true&&!(((getNewg()==0))||((getOutputoutside()==0)))) ) )
252 graph->
evalOpParm(myOutsidegroup, nodeidx,
"outsidegroup", time, 0);
253 myDoedgedistattrib =
false;
254 if (
true && ( (
true&&!(((
int64(getOutput())==0)))) ) )
255 graph->
evalOpParm(myDoedgedistattrib, nodeidx,
"doedgedistattrib", time, 0);
256 myEdgedistattrib =
"edgedist"_UTsh;
257 if (
true && ( (
true&&!(((
int64(getOutput())==0))||((getDoedgedistattrib()==0)))) ) )
258 graph->
evalOpParm(myEdgedistattrib, nodeidx,
"edgedistattrib", time, 0);
259 myDoedgespeedattrib =
false;
260 if (
true && ( (
true&&!(((
int64(getOutput())==0)))) ) )
261 graph->
evalOpParm(myDoedgespeedattrib, nodeidx,
"doedgespeedattrib", time, 0);
262 myEdgespeedattrib =
"edgespeed"_UTsh;
263 if (
true && ( (
true&&!(((
int64(getOutput())==0))||((getDoedgedistattrib()==0)))) ) )
264 graph->
evalOpParm(myEdgespeedattrib, nodeidx,
"edgespeedattrib", time, 0);
265 myCoincidencetol = 0.003;
267 graph->
evalOpParm(myCoincidencetol, nodeidx,
"coincidencetol", time, 0);
268 myParallelismtol = 0.01;
270 graph->
evalOpParm(myParallelismtol, nodeidx,
"parallelismtol", time, 0);
271 mySkeletonfailure = 0;
273 graph->
evalOpParm(mySkeletonfailure, nodeidx,
"skeletonfailure", time, 0);
274 myCacheskeleton =
true;
276 graph->
evalOpParm(myCacheskeleton, nodeidx,
"cacheskeleton", time, 0);
279 graph->
evalOpParm(myUpdatenmls, nodeidx,
"updatenmls", time, 0);
295 template <
typename T>
302 if (idx.
size() != instance.
size()+1)
307 coerceValue(value, myGroup);
310 coerceValue(value, myPlanepossrc);
313 coerceValue(value, myPlaneorigin);
316 coerceValue(value, myPlanedist);
319 coerceValue(value, myPlanenormal);
322 coerceValue(value, myOutput);
325 coerceValue(value, myOffset);
328 coerceValue(value, myDivs);
331 coerceValue(value, mySidedetermination);
334 coerceValue(value, myOutputinside);
337 coerceValue(value, myOutputoutside);
340 coerceValue(value, myKeepinput);
343 coerceValue(value, myOmitendcaps);
346 coerceValue(value, myUselocalinsidescale);
349 coerceValue(value, myLocalinsidescale);
352 coerceValue(value, myUselocaloutsidescale);
355 coerceValue(value, myLocaloutsidescale);
358 coerceValue(value, myNewg);
361 coerceValue(value, myInsidegroup);
364 coerceValue(value, myOutsidegroup);
367 coerceValue(value, myDoedgedistattrib);
370 coerceValue(value, myEdgedistattrib);
373 coerceValue(value, myDoedgespeedattrib);
376 coerceValue(value, myEdgespeedattrib);
379 coerceValue(value, myCoincidencetol);
382 coerceValue(value, myParallelismtol);
385 coerceValue(value, mySkeletonfailure);
388 coerceValue(value, myCacheskeleton);
391 coerceValue(value, myUpdatenmls);
407 { doGetParmValue(idx, instance, value); }
409 { doGetParmValue(idx, instance, value); }
411 { doGetParmValue(idx, instance, value); }
413 { doGetParmValue(idx, instance, value); }
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 template <
typename T>
436 if (idx.
size() != instance.
size()+1)
441 coerceValue(myGroup, ( ( value ) ));
444 coerceValue(myPlanepossrc, clampMinValue(0, clampMaxValue(1, value ) ));
447 coerceValue(myPlaneorigin, ( ( value ) ));
450 coerceValue(myPlanedist, ( ( value ) ));
453 coerceValue(myPlanenormal, ( ( value ) ));
456 coerceValue(myOutput, clampMinValue(0, clampMaxValue(1, value ) ));
459 coerceValue(myOffset, clampMinValue(0.0001, ( value ) ));
462 coerceValue(myDivs, clampMinValue(1, ( value ) ));
465 coerceValue(mySidedetermination, clampMinValue(0, clampMaxValue(3, value ) ));
468 coerceValue(myOutputinside, ( ( value ) ));
471 coerceValue(myOutputoutside, ( ( value ) ));
474 coerceValue(myKeepinput, ( ( value ) ));
477 coerceValue(myOmitendcaps, ( ( value ) ));
480 coerceValue(myUselocalinsidescale, ( ( value ) ));
483 coerceValue(myLocalinsidescale, ( ( value ) ));
486 coerceValue(myUselocaloutsidescale, ( ( value ) ));
489 coerceValue(myLocaloutsidescale, ( ( value ) ));
492 coerceValue(myNewg, ( ( value ) ));
495 coerceValue(myInsidegroup, ( ( value ) ));
498 coerceValue(myOutsidegroup, ( ( value ) ));
501 coerceValue(myDoedgedistattrib, ( ( value ) ));
504 coerceValue(myEdgedistattrib, ( ( value ) ));
507 coerceValue(myDoedgespeedattrib, ( ( value ) ));
510 coerceValue(myEdgespeedattrib, ( ( value ) ));
513 coerceValue(myCoincidencetol, clampMinValue(0, clampMaxValue(1, value ) ));
516 coerceValue(myParallelismtol, clampMinValue(0, clampMaxValue(1, value ) ));
519 coerceValue(mySkeletonfailure, clampMinValue(0, clampMaxValue(1, value ) ));
522 coerceValue(myCacheskeleton, ( ( value ) ));
525 coerceValue(myUpdatenmls, ( ( value ) ));
532 { doSetParmValue(idx, instance, value); }
534 { doSetParmValue(idx, instance, value); }
536 { doSetParmValue(idx, instance, value); }
538 { doSetParmValue(idx, instance, value); }
540 { doSetParmValue(idx, instance, value); }
542 { doSetParmValue(idx, instance, value); }
544 { doSetParmValue(idx, instance, value); }
546 { doSetParmValue(idx, instance, value); }
548 { doSetParmValue(idx, instance, value); }
550 { doSetParmValue(idx, instance, value); }
552 { doSetParmValue(idx, instance, value); }
568 if (fieldnum.
size() < 1)
575 return "planepossrc";
577 return "planeorigin";
581 return "planenormal";
589 return "sidedetermination";
591 return "outputinside";
593 return "outputoutside";
597 return "omitendcaps";
599 return "uselocalinsidescale";
601 return "localinsidescale";
603 return "uselocaloutsidescale";
605 return "localoutsidescale";
609 return "insidegroup";
611 return "outsidegroup";
613 return "doedgedistattrib";
615 return "edgedistattrib";
617 return "doedgespeedattrib";
619 return "edgespeedattrib";
621 return "coincidencetol";
623 return "parallelismtol";
625 return "skeletonfailure";
627 return "cacheskeleton";
637 if (fieldnum.
size() < 1)
638 return PARM_UNSUPPORTED;
701 return PARM_UNSUPPORTED;
737 loadData(is, rampdata);
755 int typelen = colon - data.
buffer();
769 {
int64 iv =
v; UTwrite(os, &iv); }
771 { UTwrite<fpreal64>(os, &
v); }
773 { UTwrite<fpreal64>(os, &v.
x()); UTwrite<fpreal64>(os, &v.
y()); }
775 { UTwrite<fpreal64>(os, &v.
x()); UTwrite<fpreal64>(os, &v.
y());
776 UTwrite<fpreal64>(os, &v.
z()); }
778 { UTwrite<fpreal64>(os, &v.
x()); UTwrite<fpreal64>(os, &v.
y());
779 UTwrite<fpreal64>(os, &v.
z()); UTwrite<fpreal64>(os, &v.
w()); }
791 if (s) s->save(ostr);
793 saveData(os, result);
800 ostr << s->getDataTypeToken();
805 saveData(os, result);
809 void save(std::ostream &os)
const
813 saveData(os, myGroup);
814 saveData(os, myPlanepossrc);
815 saveData(os, myPlaneorigin);
816 saveData(os, myPlanedist);
817 saveData(os, myPlanenormal);
818 saveData(os, myOutput);
819 saveData(os, myOffset);
820 saveData(os, myDivs);
821 saveData(os, mySidedetermination);
822 saveData(os, myOutputinside);
823 saveData(os, myOutputoutside);
824 saveData(os, myKeepinput);
825 saveData(os, myOmitendcaps);
826 saveData(os, myUselocalinsidescale);
827 saveData(os, myLocalinsidescale);
828 saveData(os, myUselocaloutsidescale);
829 saveData(os, myLocaloutsidescale);
830 saveData(os, myNewg);
831 saveData(os, myInsidegroup);
832 saveData(os, myOutsidegroup);
833 saveData(os, myDoedgedistattrib);
834 saveData(os, myEdgedistattrib);
835 saveData(os, myDoedgespeedattrib);
836 saveData(os, myEdgespeedattrib);
837 saveData(os, myCoincidencetol);
838 saveData(os, myParallelismtol);
839 saveData(os, mySkeletonfailure);
840 saveData(os, myCacheskeleton);
841 saveData(os, myUpdatenmls);
854 loadData(is, myGroup);
855 loadData(is, myPlanepossrc);
856 loadData(is, myPlaneorigin);
857 loadData(is, myPlanedist);
858 loadData(is, myPlanenormal);
859 loadData(is, myOutput);
860 loadData(is, myOffset);
861 loadData(is, myDivs);
862 loadData(is, mySidedetermination);
863 loadData(is, myOutputinside);
864 loadData(is, myOutputoutside);
865 loadData(is, myKeepinput);
866 loadData(is, myOmitendcaps);
867 loadData(is, myUselocalinsidescale);
868 loadData(is, myLocalinsidescale);
869 loadData(is, myUselocaloutsidescale);
870 loadData(is, myLocaloutsidescale);
871 loadData(is, myNewg);
872 loadData(is, myInsidegroup);
873 loadData(is, myOutsidegroup);
874 loadData(is, myDoedgedistattrib);
875 loadData(is, myEdgedistattrib);
876 loadData(is, myDoedgespeedattrib);
877 loadData(is, myEdgespeedattrib);
878 loadData(is, myCoincidencetol);
879 loadData(is, myParallelismtol);
880 loadData(is, mySkeletonfailure);
881 loadData(is, myCacheskeleton);
882 loadData(is, myUpdatenmls);
892 if (!thissop)
return getGroup();
894 OP_Utils::evalOpParm(result, thissop,
"group", cookparms.
getCookTime(), 0);
902 if (!thissop)
return getPlanepossrc();
904 OP_Utils::evalOpParm(result, thissop,
"planepossrc", cookparms.
getCookTime(), 0);
912 if (!thissop)
return getPlaneorigin();
914 OP_Utils::evalOpParm(result, thissop,
"planeorigin", cookparms.
getCookTime(), 0);
922 if (!thissop)
return getPlanedist();
924 OP_Utils::evalOpParm(result, thissop,
"planedist", cookparms.
getCookTime(), 0);
932 if (!thissop)
return getPlanenormal();
934 OP_Utils::evalOpParm(result, thissop,
"planenormal", cookparms.
getCookTime(), 0);
942 if (!thissop)
return getOutput();
944 OP_Utils::evalOpParm(result, thissop,
"output", cookparms.
getCookTime(), 0);
952 if (!thissop)
return getOffset();
954 OP_Utils::evalOpParm(result, thissop,
"offset", cookparms.
getCookTime(), 0);
962 if (!thissop)
return getDivs();
964 OP_Utils::evalOpParm(result, thissop,
"divs", cookparms.
getCookTime(), 0);
972 if (!thissop)
return getSidedetermination();
974 OP_Utils::evalOpParm(result, thissop,
"sidedetermination", cookparms.
getCookTime(), 0);
982 if (!thissop)
return getOutputinside();
984 OP_Utils::evalOpParm(result, thissop,
"outputinside", cookparms.
getCookTime(), 0);
992 if (!thissop)
return getOutputoutside();
994 OP_Utils::evalOpParm(result, thissop,
"outputoutside", cookparms.
getCookTime(), 0);
1002 if (!thissop)
return getKeepinput();
1004 OP_Utils::evalOpParm(result, thissop,
"keepinput", cookparms.
getCookTime(), 0);
1012 if (!thissop)
return getOmitendcaps();
1014 OP_Utils::evalOpParm(result, thissop,
"omitendcaps", cookparms.
getCookTime(), 0);
1022 if (!thissop)
return getUselocalinsidescale();
1024 OP_Utils::evalOpParm(result, thissop,
"uselocalinsidescale", cookparms.
getCookTime(), 0);
1032 if (!thissop)
return getLocalinsidescale();
1034 OP_Utils::evalOpParm(result, thissop,
"localinsidescale", cookparms.
getCookTime(), 0);
1042 if (!thissop)
return getUselocaloutsidescale();
1044 OP_Utils::evalOpParm(result, thissop,
"uselocaloutsidescale", cookparms.
getCookTime(), 0);
1052 if (!thissop)
return getLocaloutsidescale();
1054 OP_Utils::evalOpParm(result, thissop,
"localoutsidescale", cookparms.
getCookTime(), 0);
1062 if (!thissop)
return getNewg();
1064 OP_Utils::evalOpParm(result, thissop,
"newg", cookparms.
getCookTime(), 0);
1072 if (!thissop)
return getInsidegroup();
1074 OP_Utils::evalOpParm(result, thissop,
"insidegroup", cookparms.
getCookTime(), 0);
1082 if (!thissop)
return getOutsidegroup();
1084 OP_Utils::evalOpParm(result, thissop,
"outsidegroup", cookparms.
getCookTime(), 0);
1092 if (!thissop)
return getDoedgedistattrib();
1094 OP_Utils::evalOpParm(result, thissop,
"doedgedistattrib", cookparms.
getCookTime(), 0);
1102 if (!thissop)
return getEdgedistattrib();
1104 OP_Utils::evalOpParm(result, thissop,
"edgedistattrib", cookparms.
getCookTime(), 0);
1112 if (!thissop)
return getDoedgespeedattrib();
1114 OP_Utils::evalOpParm(result, thissop,
"doedgespeedattrib", cookparms.
getCookTime(), 0);
1122 if (!thissop)
return getEdgespeedattrib();
1124 OP_Utils::evalOpParm(result, thissop,
"edgespeedattrib", cookparms.
getCookTime(), 0);
1132 if (!thissop)
return getCoincidencetol();
1134 OP_Utils::evalOpParm(result, thissop,
"coincidencetol", cookparms.
getCookTime(), 0);
1142 if (!thissop)
return getParallelismtol();
1144 OP_Utils::evalOpParm(result, thissop,
"parallelismtol", cookparms.
getCookTime(), 0);
1152 if (!thissop)
return getSkeletonfailure();
1154 OP_Utils::evalOpParm(result, thissop,
"skeletonfailure", cookparms.
getCookTime(), 0);
1162 if (!thissop)
return getCacheskeleton();
1164 OP_Utils::evalOpParm(result, thissop,
"cacheskeleton", cookparms.
getCookTime(), 0);
1172 if (!thissop)
return getUpdatenmls();
1174 OP_Utils::evalOpParm(result, thissop,
"updatenmls", cookparms.
getCookTime(), 0);
1180 int64 myPlanepossrc;
1187 int64 mySidedetermination;
1188 bool myOutputinside;
1189 bool myOutputoutside;
1192 bool myUselocalinsidescale;
1194 bool myUselocaloutsidescale;
1199 bool myDoedgedistattrib;
1201 bool myDoedgespeedattrib;
1205 int64 mySkeletonfailure;
1206 bool myCacheskeleton;
bool opOutputinside(const SOP_NodeVerb::CookParms &cookparms) const
static void loadData(UT_IStream &is, UT_Vector3I &v)
const UT_StringHolder & getInsidegroup() const
Planepossrc getPlanepossrc() const
exint getNestNumParms(TempIndex idx) const override
bool opCacheskeleton(const SOP_NodeVerb::CookParms &cookparms) const
void setEdgespeedattrib(const UT_StringHolder &val)
bool load(UT_IStream &is)
void setCoincidencetol(fpreal64 val)
SOP_Node * getNode() const
void save(std::ostream &os) const
static void saveData(std::ostream &os, UT_SharedPtr< UT_Ramp > s)
bool opNewg(const SOP_NodeVerb::CookParms &cookparms) const
static void saveData(std::ostream &os, UT_StringHolder s)
void setPlanedist(fpreal64 val)
void doSetParmValue(TempIndex idx, TempIndex instance, const T &value)
Skeletonfailure getSkeletonfailure() const
bool getDoedgespeedattrib() const
exint bread(int32 *buffer, exint asize=1)
GT_API const UT_StringHolder time
constexpr SYS_FORCE_INLINE T & y() noexcept
void setUselocaloutsidescale(bool val)
fpreal64 opPlanedist(const SOP_NodeVerb::CookParms &cookparms) const
void setKeepinput(bool val)
const UT_StringHolder & getOutsidegroup() const
void setDoedgespeedattrib(bool val)
static void saveData(std::ostream &os, UT_Vector2D v)
const UT_StringHolder & getLocalinsidescale() const
const UT_StringHolder & getEdgedistattrib() const
const OP_Context & context() const
UT_StringHolder opEdgespeedattrib(const SOP_NodeVerb::CookParms &cookparms) const
bool isParmColorRamp(exint idx) const override
fpreal64 opCoincidencetol(const SOP_NodeVerb::CookParms &cookparms) const
constexpr SYS_FORCE_INLINE T & z() noexcept
const char * getNestParmName(TempIndex fieldnum) const override
SYS_FORCE_INLINE const char * buffer() const
static void loadData(UT_IStream &is, PRM_DataItemHandle &v)
static void saveData(std::ostream &os, UT_Matrix2D v)
ParmType getNestParmType(TempIndex fieldnum) const override
An output stream object that owns its own string buffer storage.
bool getCacheskeleton() const
UT_Vector3D opPlanenormal(const SOP_NodeVerb::CookParms &cookparms) const
**But if you need a result
fpreal64 getParallelismtol() const
bool opKeepinput(const SOP_NodeVerb::CookParms &cookparms) const
bool getKeepinput() const
static void saveData(std::ostream &os, UT_Matrix3D v)
Sidedetermination opSidedetermination(const SOP_NodeVerb::CookParms &cookparms) const
static void saveData(std::ostream &os, PRM_DataItemHandle s)
static void loadData(UT_IStream &is, UT_Vector3D &v)
static PRM_DataItemHandle parseBinary(const char *type, UT_IStream &is)
const UT_WorkBuffer & str()
Returns a read-only reference to the underlying UT_WorkBuffer.
void getNestParmValue(TempIndex idx, TempIndex instance, UT_SharedPtr< UT_Ramp > &value) const override
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector2D &value) const override
constexpr SYS_FORCE_INLINE T & x() noexcept
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_StringHolder &value) override
void buildFromOp(const OP_GraphProxy *graph, exint nodeidx, fpreal time, DEP_MicroNode *depnode)
static void loadData(UT_IStream &is, UT_Matrix3D &v)
constexpr SYS_FORCE_INLINE T & x() noexcept
bool operator==(const BaseDimensions< T > &a, const BaseDimensions< Y > &b)
fpreal64 getCoincidencetol() const
static void loadData(UT_IStream &is, UT_Matrix2D &v)
void getNestParmValue(TempIndex idx, TempIndex instance, exint &value) const override
bool operator==(const SOP_PolyExpand2DParms &src) const
void setNestParmValue(TempIndex idx, TempIndex instance, const fpreal &value) override
void setOutsidegroup(const UT_StringHolder &val)
const UT_StringHolder & getGroup() const
bool opDoedgespeedattrib(const SOP_NodeVerb::CookParms &cookparms) const
static void loadData(UT_IStream &is, UT_StringHolder &v)
void setOutputinside(bool val)
void loadFromOpSubclass(const LoadParms &loadparms) override
SYS_FORCE_INLINE const char * buffer() const
std::shared_ptr< T > UT_SharedPtr
Wrapper around std::shared_ptr.
bool getOutputoutside() const
constexpr SYS_FORCE_INLINE T & z() noexcept
static void loadData(UT_IStream &is, UT_Vector2I &v)
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix2D &value) override
UT_StringHolder opOutsidegroup(const SOP_NodeVerb::CookParms &cookparms) const
void setNestParmValue(TempIndex idx, TempIndex instance, const exint &value) override
bool opDoedgedistattrib(const SOP_NodeVerb::CookParms &cookparms) const
void setGroup(const UT_StringHolder &val)
UT_StringHolder opEdgedistattrib(const SOP_NodeVerb::CookParms &cookparms) const
fpreal64 getPlanedist() const
int64 opDivs(const SOP_NodeVerb::CookParms &cookparms) const
Sidedetermination getSidedetermination() const
bool getUselocaloutsidescale() const
static void loadData(UT_IStream &is, fpreal64 &v)
const OP_GraphProxy * graph() const
const UT_StringHolder & getLocaloutsidescale() const
void setCacheskeleton(bool val)
void setUpdatenmls(bool val)
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector3D &value) const override
static void loadData(UT_IStream &is, UT_SharedPtr< UT_Ramp > &v)
bool getOutputinside() const
bool opUpdatenmls(const SOP_NodeVerb::CookParms &cookparms) const
fpreal64 opOffset(const SOP_NodeVerb::CookParms &cookparms) const
bool opOutputoutside(const SOP_NodeVerb::CookParms &cookparms) const
void setUselocalinsidescale(bool val)
fpreal64 getOffset() const
void setDoedgedistattrib(bool val)
void setSkeletonfailure(Skeletonfailure val)
Planepossrc opPlanepossrc(const SOP_NodeVerb::CookParms &cookparms) const
UT_Vector3T< fpreal64 > UT_Vector3D
static void loadData(UT_IStream &is, UT_Vector4D &v)
bool getUselocalinsidescale() const
void setOmitendcaps(bool val)
UT_StringHolder opLocaloutsidescale(const SOP_NodeVerb::CookParms &cookparms) const
bool getOmitendcaps() const
void setPlanenormal(UT_Vector3D val)
static void saveData(std::ostream &os, bool v)
virtual void evalOpParm(int64 &v, NodeIdx node, const char *parmname, fpreal time, DEP_MicroNode *depnode) const =0
void doGetParmValue(TempIndex idx, TempIndex instance, T &value) const
fpreal64 opParallelismtol(const SOP_NodeVerb::CookParms &cookparms) const
static void loadData(UT_IStream &is, UT_Vector4I &v)
void setNestParmValue(TempIndex idx, TempIndex instance, const PRM_DataItemHandle &value) override
UT_StringHolder opLocalinsidescale(const SOP_NodeVerb::CookParms &cookparms) const
UT_StringHolder opInsidegroup(const SOP_NodeVerb::CookParms &cookparms) const
bool getUpdatenmls() const
void saveBinary(std::ostream &os) const
Save string to binary stream.
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector4D &value) const override
void setOutput(Output val)
GT_API const UT_StringHolder version
void setEdgedistattrib(const UT_StringHolder &val)
void setLocalinsidescale(const UT_StringHolder &val)
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix4D &value) override
Output opOutput(const SOP_NodeVerb::CookParms &cookparms) const
void setSidedetermination(Sidedetermination val)
void getNestParmValue(TempIndex idx, TempIndex instance, fpreal &value) const override
static void loadData(UT_IStream &is, UT_Matrix4D &v)
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix2D &value) const override
static void loadData(UT_IStream &is, UT_Vector2D &v)
Skeletonfailure opSkeletonfailure(const SOP_NodeVerb::CookParms &cookparms) const
static void saveData(std::ostream &os, UT_Vector3D v)
DEP_MicroNode * depnode() const
LeafData & operator=(const LeafData &)=delete
Utility class for containing a color ramp.
void setParallelismtol(fpreal64 val)
constexpr SYS_FORCE_INLINE T & w() noexcept
UT_Vector3D opPlaneorigin(const SOP_NodeVerb::CookParms &cookparms) const
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector4D &value) override
void setLocaloutsidescale(const UT_StringHolder &val)
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix3D &value) override
static void loadData(UT_IStream &is, int64 &v)
static void saveData(std::ostream &os, UT_Vector4D v)
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix3D &value) const override
fpreal getCookTime() const
UT_Vector3D getPlanenormal() const
const char * findChar(int c) const
void setOutputoutside(bool val)
void setInsidegroup(const UT_StringHolder &val)
void getNestParmValue(TempIndex idx, TempIndex instance, PRM_DataItemHandle &value) const override
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_SharedPtr< UT_Ramp > &value) override
bool opUselocalinsidescale(const SOP_NodeVerb::CookParms &cookparms) const
constexpr SYS_FORCE_INLINE T & y() noexcept
void copyFrom(const OP_NodeParms *src) override
bool opOmitendcaps(const SOP_NodeVerb::CookParms &cookparms) const
bool opUselocaloutsidescale(const SOP_NodeVerb::CookParms &cookparms) const
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector3D &value) override
static void saveData(std::ostream &os, fpreal64 v)
UT_SharedPtr< const PRM_DataItem > PRM_DataItemHandle
void setPlaneorigin(UT_Vector3D val)
static void saveData(std::ostream &os, int64 v)
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector2D &value) override
constexpr SYS_FORCE_INLINE T & y() noexcept
SYS_FORCE_INLINE bool isstring() const
static void loadData(UT_IStream &is, bool &v)
void getNestParmValue(TempIndex idx, TempIndex instance, UT_StringHolder &value) const override
void setPlanepossrc(Planepossrc val)
SYS_FORCE_INLINE UT_StringHolder getToken(Planepossrc enum_value)
bool getDoedgedistattrib() const
UT_StringHolder opGroup(const SOP_NodeVerb::CookParms &cookparms) const
SYS_FORCE_INLINE void strncpy(const char *src, exint maxlen)
void setOffset(fpreal64 val)
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix4D &value) const override
static void saveData(std::ostream &os, UT_Matrix4D v)
bool operator!=(const SOP_PolyExpand2DParms &src) const
UT_Vector3D getPlaneorigin() const
constexpr SYS_FORCE_INLINE T & x() noexcept
const UT_StringHolder & getEdgespeedattrib() const