23 namespace SOP_Triangulate2D_2_0Enums
35 using namespace UT::Literal;
59 myPos2attrib =
""_UTsh;
63 myRemoveunusedpoints =
true;
64 myRemoveduplicatepoints =
true;
68 myRemoveconvhull =
false;
69 myRemoveoutcons =
true;
70 myDontremoveincons =
true;
74 myMinedgelength = 0.001;
76 myNonewconpts =
false;
77 myMakenewconptgrp =
false;
78 myNewconptgrp =
"newconpoints"_UTsh;
79 myMakenewconedgegrp =
false;
80 myOutconedgegrp =
"outconedges"_UTsh;
93 if (myPoints != src.myPoints)
return false;
94 if (myPlanepossrc != src.myPlanepossrc)
return false;
95 if (myOrigin != src.myOrigin)
return false;
96 if (myDist != src.myDist)
return false;
97 if (myDir != src.myDir)
return false;
98 if (myPos2attrib != src.myPos2attrib)
return false;
99 if (myRestorepos != src.myRestorepos)
return false;
100 if (myKeepprims != src.myKeepprims)
return false;
101 if (myUpdatenmls != src.myUpdatenmls)
return false;
102 if (myRemoveunusedpoints != src.myRemoveunusedpoints)
return false;
103 if (myRemoveduplicatepoints != src.myRemoveduplicatepoints)
return false;
104 if (myRandseed != src.myRandseed)
return false;
105 if (myConprims != src.myConprims)
return false;
106 if (myConedges != src.myConedges)
return false;
107 if (myRemoveconvhull != src.myRemoveconvhull)
return false;
108 if (myRemoveoutcons != src.myRemoveoutcons)
return false;
109 if (myDontremoveincons != src.myDontremoveincons)
return false;
110 if (myRefine != src.myRefine)
return false;
111 if (myMaxarea != src.myMaxarea)
return false;
112 if (myMinangle != src.myMinangle)
return false;
113 if (myMinedgelength != src.myMinedgelength)
return false;
114 if (myMaxnewpts != src.myMaxnewpts)
return false;
115 if (myNonewconpts != src.myNonewconpts)
return false;
116 if (myMakenewconptgrp != src.myMakenewconptgrp)
return false;
117 if (myNewconptgrp != src.myNewconptgrp)
return false;
118 if (myMakenewconedgegrp != src.myMakenewconedgegrp)
return false;
119 if (myOutconedgegrp != src.myOutconedgegrp)
return false;
135 graph->
evalOpParm(myPoints, nodeidx,
"points", time, 0);
138 graph->
evalOpParm(myPlanepossrc, nodeidx,
"planepossrc", time, 0);
140 if (
true && ( (
true&&!(((
int64(getPlanepossrc())!=1)))) ) )
141 graph->
evalOpParm(myOrigin, nodeidx,
"origin", time, 0);
143 if (
true && ( (
true&&!(((
int64(getPlanepossrc())!=1)))) ) )
144 graph->
evalOpParm(myDist, nodeidx,
"dist", time, 0);
146 if (
true && ( (
true&&!(((
int64(getPlanepossrc())!=1)))) ) )
147 graph->
evalOpParm(myDir, nodeidx,
"dir", time, 0);
148 myPos2attrib =
""_UTsh;
149 if (
true && ( (
true&&!(((
int64(getPlanepossrc())!=2)))) ) )
150 graph->
evalOpParm(myPos2attrib, nodeidx,
"pos2attrib", time, 0);
151 myRestorepos =
false;
153 graph->
evalOpParm(myRestorepos, nodeidx,
"restorepos", time, 0);
156 graph->
evalOpParm(myKeepprims, nodeidx,
"keepprims", time, 0);
159 graph->
evalOpParm(myUpdatenmls, nodeidx,
"updatenmls", time, 0);
160 myRemoveunusedpoints =
true;
162 graph->
evalOpParm(myRemoveunusedpoints, nodeidx,
"removeunusedpoints", time, 0);
163 myRemoveduplicatepoints =
true;
165 graph->
evalOpParm(myRemoveduplicatepoints, nodeidx,
"removeduplicatepoints", time, 0);
168 graph->
evalOpParm(myRandseed, nodeidx,
"randseed", time, 0);
169 myConprims =
""_UTsh;
171 graph->
evalOpParm(myConprims, nodeidx,
"conprims", time, 0);
172 myConedges =
""_UTsh;
174 graph->
evalOpParm(myConedges, nodeidx,
"conedges", time, 0);
175 myRemoveconvhull =
false;
177 graph->
evalOpParm(myRemoveconvhull, nodeidx,
"removeconvhull", time, 0);
178 myRemoveoutcons =
true;
180 graph->
evalOpParm(myRemoveoutcons, nodeidx,
"removeoutcons", time, 0);
181 myDontremoveincons =
true;
182 if (
true && ( (
true&&!(((getRemoveoutcons()==0)))) ) )
183 graph->
evalOpParm(myDontremoveincons, nodeidx,
"dontremoveincons", time, 0);
186 graph->
evalOpParm(myRefine, nodeidx,
"refine", time, 0);
188 if (
true && ( (
true&&!(((getRefine()==0)))) ) )
189 graph->
evalOpParm(myMaxarea, nodeidx,
"maxarea", time, 0);
191 if (
true && ( (
true&&!(((getRefine()==0)))) ) )
192 graph->
evalOpParm(myMinangle, nodeidx,
"minangle", time, 0);
193 myMinedgelength = 0.001;
195 graph->
evalOpParm(myMinedgelength, nodeidx,
"minedgelength", time, 0);
198 graph->
evalOpParm(myMaxnewpts, nodeidx,
"maxnewpts", time, 0);
199 myNonewconpts =
false;
200 if (
true && ( (
true&&!(((getRefine()==1)))) ) )
201 graph->
evalOpParm(myNonewconpts, nodeidx,
"nonewconpts", time, 0);
202 myMakenewconptgrp =
false;
203 if (
true && ( (
true&&!(((getNonewconpts()==1)&&(getRefine()==0)))) ) )
204 graph->
evalOpParm(myMakenewconptgrp, nodeidx,
"makenewconptgrp", time, 0);
205 myNewconptgrp =
"newconpoints"_UTsh;
206 if (
true && ( (
true&&!(((getNonewconpts()==1)&&(getRefine()==0))||((getMakenewconptgrp()==0)))) ) )
207 graph->
evalOpParm(myNewconptgrp, nodeidx,
"newconptgrp", time, 0);
208 myMakenewconedgegrp =
false;
209 if (
true && ( (
true&&!(((getNonewconpts()==1)&&(getRefine()==0)))) ) )
210 graph->
evalOpParm(myMakenewconedgegrp, nodeidx,
"makenewconedgegrp", time, 0);
211 myOutconedgegrp =
"outconedges"_UTsh;
212 if (
true && ( (
true&&!(((getNonewconpts()==1)&&(getRefine()==0))||((getMakenewconedgegrp()==0)))) ) )
213 graph->
evalOpParm(myOutconedgegrp, nodeidx,
"outconedgegrp", time, 0);
229 template <
typename T>
236 if (idx.
size() != instance.
size()+1)
241 coerceValue(value, myPoints);
244 coerceValue(value, myPlanepossrc);
247 coerceValue(value, myOrigin);
250 coerceValue(value, myDist);
253 coerceValue(value, myDir);
256 coerceValue(value, myPos2attrib);
259 coerceValue(value, myRestorepos);
262 coerceValue(value, myKeepprims);
265 coerceValue(value, myUpdatenmls);
268 coerceValue(value, myRemoveunusedpoints);
271 coerceValue(value, myRemoveduplicatepoints);
274 coerceValue(value, myRandseed);
277 coerceValue(value, myConprims);
280 coerceValue(value, myConedges);
283 coerceValue(value, myRemoveconvhull);
286 coerceValue(value, myRemoveoutcons);
289 coerceValue(value, myDontremoveincons);
292 coerceValue(value, myRefine);
295 coerceValue(value, myMaxarea);
298 coerceValue(value, myMinangle);
301 coerceValue(value, myMinedgelength);
304 coerceValue(value, myMaxnewpts);
307 coerceValue(value, myNonewconpts);
310 coerceValue(value, myMakenewconptgrp);
313 coerceValue(value, myNewconptgrp);
316 coerceValue(value, myMakenewconedgegrp);
319 coerceValue(value, myOutconedgegrp);
335 { doGetParmValue(idx, instance, value); }
337 { doGetParmValue(idx, instance, value); }
339 { doGetParmValue(idx, instance, value); }
341 { doGetParmValue(idx, instance, value); }
343 { doGetParmValue(idx, instance, value); }
345 { doGetParmValue(idx, instance, value); }
347 { doGetParmValue(idx, instance, value); }
349 { doGetParmValue(idx, instance, value); }
351 { doGetParmValue(idx, instance, value); }
353 { doGetParmValue(idx, instance, value); }
355 { doGetParmValue(idx, instance, value); }
357 template <
typename T>
364 if (idx.
size() != instance.
size()+1)
369 coerceValue(myPoints, ( ( value ) ));
372 coerceValue(myPlanepossrc, clampMinValue(0, clampMaxValue(2, value ) ));
375 coerceValue(myOrigin, ( ( value ) ));
378 coerceValue(myDist, ( ( value ) ));
381 coerceValue(myDir, ( ( value ) ));
384 coerceValue(myPos2attrib, ( ( value ) ));
387 coerceValue(myRestorepos, ( ( value ) ));
390 coerceValue(myKeepprims, ( ( value ) ));
393 coerceValue(myUpdatenmls, ( ( value ) ));
396 coerceValue(myRemoveunusedpoints, ( ( value ) ));
399 coerceValue(myRemoveduplicatepoints, ( ( value ) ));
402 coerceValue(myRandseed, ( ( value ) ));
405 coerceValue(myConprims, ( ( value ) ));
408 coerceValue(myConedges, ( ( value ) ));
411 coerceValue(myRemoveconvhull, ( ( value ) ));
414 coerceValue(myRemoveoutcons, ( ( value ) ));
417 coerceValue(myDontremoveincons, ( ( value ) ));
420 coerceValue(myRefine, ( ( value ) ));
423 coerceValue(myMaxarea, clampMinValue(0.0001, ( value ) ));
426 coerceValue(myMinangle, clampMinValue(0, ( value ) ));
429 coerceValue(myMinedgelength, ( ( value ) ));
432 coerceValue(myMaxnewpts, ( ( value ) ));
435 coerceValue(myNonewconpts, ( ( value ) ));
438 coerceValue(myMakenewconptgrp, ( ( value ) ));
441 coerceValue(myNewconptgrp, ( ( value ) ));
444 coerceValue(myMakenewconedgegrp, ( ( value ) ));
447 coerceValue(myOutconedgegrp, ( ( value ) ));
454 { doSetParmValue(idx, instance, value); }
456 { doSetParmValue(idx, instance, value); }
458 { doSetParmValue(idx, instance, value); }
460 { doSetParmValue(idx, instance, value); }
462 { doSetParmValue(idx, instance, value); }
464 { doSetParmValue(idx, instance, value); }
466 { doSetParmValue(idx, instance, value); }
468 { doSetParmValue(idx, instance, value); }
470 { doSetParmValue(idx, instance, value); }
472 { doSetParmValue(idx, instance, value); }
474 { doSetParmValue(idx, instance, value); }
490 if (fieldnum.
size() < 1)
497 return "planepossrc";
513 return "removeunusedpoints";
515 return "removeduplicatepoints";
523 return "removeconvhull";
525 return "removeoutcons";
527 return "dontremoveincons";
535 return "minedgelength";
539 return "nonewconpts";
541 return "makenewconptgrp";
543 return "newconptgrp";
545 return "makenewconedgegrp";
547 return "outconedgegrp";
555 if (fieldnum.
size() < 1)
556 return PARM_UNSUPPORTED;
615 return PARM_UNSUPPORTED;
651 loadData(is, rampdata);
669 int typelen = colon - data.
buffer();
683 {
int64 iv =
v; UTwrite(os, &iv); }
685 { UTwrite<fpreal64>(os, &
v); }
687 { UTwrite<fpreal64>(os, &v.
x()); UTwrite<fpreal64>(os, &v.
y()); }
689 { UTwrite<fpreal64>(os, &v.
x()); UTwrite<fpreal64>(os, &v.
y());
690 UTwrite<fpreal64>(os, &v.
z()); }
692 { UTwrite<fpreal64>(os, &v.
x()); UTwrite<fpreal64>(os, &v.
y());
693 UTwrite<fpreal64>(os, &v.
z()); UTwrite<fpreal64>(os, &v.
w()); }
705 if (s) s->save(ostr);
707 saveData(os, result);
714 ostr << s->getDataTypeToken();
719 saveData(os, result);
723 void save(std::ostream &os)
const
727 saveData(os, myPoints);
728 saveData(os, myPlanepossrc);
729 saveData(os, myOrigin);
730 saveData(os, myDist);
732 saveData(os, myPos2attrib);
733 saveData(os, myRestorepos);
734 saveData(os, myKeepprims);
735 saveData(os, myUpdatenmls);
736 saveData(os, myRemoveunusedpoints);
737 saveData(os, myRemoveduplicatepoints);
738 saveData(os, myRandseed);
739 saveData(os, myConprims);
740 saveData(os, myConedges);
741 saveData(os, myRemoveconvhull);
742 saveData(os, myRemoveoutcons);
743 saveData(os, myDontremoveincons);
744 saveData(os, myRefine);
745 saveData(os, myMaxarea);
746 saveData(os, myMinangle);
747 saveData(os, myMinedgelength);
748 saveData(os, myMaxnewpts);
749 saveData(os, myNonewconpts);
750 saveData(os, myMakenewconptgrp);
751 saveData(os, myNewconptgrp);
752 saveData(os, myMakenewconedgegrp);
753 saveData(os, myOutconedgegrp);
766 loadData(is, myPoints);
767 loadData(is, myPlanepossrc);
768 loadData(is, myOrigin);
769 loadData(is, myDist);
771 loadData(is, myPos2attrib);
772 loadData(is, myRestorepos);
773 loadData(is, myKeepprims);
774 loadData(is, myUpdatenmls);
775 loadData(is, myRemoveunusedpoints);
776 loadData(is, myRemoveduplicatepoints);
777 loadData(is, myRandseed);
778 loadData(is, myConprims);
779 loadData(is, myConedges);
780 loadData(is, myRemoveconvhull);
781 loadData(is, myRemoveoutcons);
782 loadData(is, myDontremoveincons);
783 loadData(is, myRefine);
784 loadData(is, myMaxarea);
785 loadData(is, myMinangle);
786 loadData(is, myMinedgelength);
787 loadData(is, myMaxnewpts);
788 loadData(is, myNonewconpts);
789 loadData(is, myMakenewconptgrp);
790 loadData(is, myNewconptgrp);
791 loadData(is, myMakenewconedgegrp);
792 loadData(is, myOutconedgegrp);
802 if (!thissop)
return getPoints();
804 OP_Utils::evalOpParm(result, thissop,
"points", cookparms.
getCookTime(), 0);
812 if (!thissop)
return getPlanepossrc();
814 OP_Utils::evalOpParm(result, thissop,
"planepossrc", cookparms.
getCookTime(), 0);
822 if (!thissop)
return getOrigin();
824 OP_Utils::evalOpParm(result, thissop,
"origin", cookparms.
getCookTime(), 0);
832 if (!thissop)
return getDist();
834 OP_Utils::evalOpParm(result, thissop,
"dist", cookparms.
getCookTime(), 0);
842 if (!thissop)
return getDir();
844 OP_Utils::evalOpParm(result, thissop,
"dir", cookparms.
getCookTime(), 0);
852 if (!thissop)
return getPos2attrib();
854 OP_Utils::evalOpParm(result, thissop,
"pos2attrib", cookparms.
getCookTime(), 0);
862 if (!thissop)
return getRestorepos();
864 OP_Utils::evalOpParm(result, thissop,
"restorepos", cookparms.
getCookTime(), 0);
872 if (!thissop)
return getKeepprims();
874 OP_Utils::evalOpParm(result, thissop,
"keepprims", cookparms.
getCookTime(), 0);
882 if (!thissop)
return getUpdatenmls();
884 OP_Utils::evalOpParm(result, thissop,
"updatenmls", cookparms.
getCookTime(), 0);
892 if (!thissop)
return getRemoveunusedpoints();
894 OP_Utils::evalOpParm(result, thissop,
"removeunusedpoints", cookparms.
getCookTime(), 0);
902 if (!thissop)
return getRemoveduplicatepoints();
904 OP_Utils::evalOpParm(result, thissop,
"removeduplicatepoints", cookparms.
getCookTime(), 0);
912 if (!thissop)
return getRandseed();
914 OP_Utils::evalOpParm(result, thissop,
"randseed", cookparms.
getCookTime(), 0);
922 if (!thissop)
return getConprims();
924 OP_Utils::evalOpParm(result, thissop,
"conprims", cookparms.
getCookTime(), 0);
932 if (!thissop)
return getConedges();
934 OP_Utils::evalOpParm(result, thissop,
"conedges", cookparms.
getCookTime(), 0);
942 if (!thissop)
return getRemoveconvhull();
944 OP_Utils::evalOpParm(result, thissop,
"removeconvhull", cookparms.
getCookTime(), 0);
952 if (!thissop)
return getRemoveoutcons();
954 OP_Utils::evalOpParm(result, thissop,
"removeoutcons", cookparms.
getCookTime(), 0);
962 if (!thissop)
return getDontremoveincons();
964 OP_Utils::evalOpParm(result, thissop,
"dontremoveincons", cookparms.
getCookTime(), 0);
972 if (!thissop)
return getRefine();
974 OP_Utils::evalOpParm(result, thissop,
"refine", cookparms.
getCookTime(), 0);
982 if (!thissop)
return getMaxarea();
984 OP_Utils::evalOpParm(result, thissop,
"maxarea", cookparms.
getCookTime(), 0);
992 if (!thissop)
return getMinangle();
994 OP_Utils::evalOpParm(result, thissop,
"minangle", cookparms.
getCookTime(), 0);
1002 if (!thissop)
return getMinedgelength();
1004 OP_Utils::evalOpParm(result, thissop,
"minedgelength", cookparms.
getCookTime(), 0);
1012 if (!thissop)
return getMaxnewpts();
1014 OP_Utils::evalOpParm(result, thissop,
"maxnewpts", cookparms.
getCookTime(), 0);
1022 if (!thissop)
return getNonewconpts();
1024 OP_Utils::evalOpParm(result, thissop,
"nonewconpts", cookparms.
getCookTime(), 0);
1032 if (!thissop)
return getMakenewconptgrp();
1034 OP_Utils::evalOpParm(result, thissop,
"makenewconptgrp", cookparms.
getCookTime(), 0);
1042 if (!thissop)
return getNewconptgrp();
1044 OP_Utils::evalOpParm(result, thissop,
"newconptgrp", cookparms.
getCookTime(), 0);
1052 if (!thissop)
return getMakenewconedgegrp();
1054 OP_Utils::evalOpParm(result, thissop,
"makenewconedgegrp", cookparms.
getCookTime(), 0);
1062 if (!thissop)
return getOutconedgegrp();
1064 OP_Utils::evalOpParm(result, thissop,
"outconedgegrp", cookparms.
getCookTime(), 0);
1070 int64 myPlanepossrc;
1078 bool myRemoveunusedpoints;
1079 bool myRemoveduplicatepoints;
1083 bool myRemoveconvhull;
1084 bool myRemoveoutcons;
1085 bool myDontremoveincons;
1092 bool myMakenewconptgrp;
1094 bool myMakenewconedgegrp;
ParmType getNestParmType(TempIndex fieldnum) const override
static void saveData(std::ostream &os, UT_Matrix2D v)
static void saveData(std::ostream &os, UT_Vector3D v)
const UT_StringHolder & getOutconedgegrp() const
static void loadData(UT_IStream &is, bool &v)
void setMakenewconedgegrp(bool val)
bool getRestorepos() const
const UT_StringHolder & getPoints() const
void setDir(UT_Vector3D val)
SOP_Node * getNode() const
void setConedges(const UT_StringHolder &val)
bool isParmColorRamp(exint idx) const override
void setMinangle(fpreal64 val)
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix2D &value) override
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_StringHolder &value) override
bool operator!=(const SOP_Triangulate2D_2_0Parms &src) const
static void loadData(UT_IStream &is, UT_Vector4D &v)
bool opRestorepos(const SOP_NodeVerb::CookParms &cookparms) const
void setRemoveconvhull(bool val)
void getNestParmValue(TempIndex idx, TempIndex instance, PRM_DataItemHandle &value) const override
UT_Vector3D getOrigin() const
void setRemoveoutcons(bool val)
exint bread(int32 *buffer, exint asize=1)
GT_API const UT_StringHolder time
constexpr SYS_FORCE_INLINE T & y() noexcept
bool getRemoveduplicatepoints() const
void setPlanepossrc(Planepossrc val)
void copyFrom(const OP_NodeParms *src) override
fpreal64 opMaxarea(const SOP_NodeVerb::CookParms &cookparms) const
SYS_FORCE_INLINE UT_StringHolder getToken(Planepossrc enum_value)
void setRandseed(int64 val)
const UT_StringHolder & getConprims() const
const OP_Context & context() const
bool getMakenewconptgrp() const
constexpr SYS_FORCE_INLINE T & z() noexcept
int64 getMaxnewpts() const
bool getNonewconpts() const
SYS_FORCE_INLINE const char * buffer() const
void setMinedgelength(fpreal64 val)
int64 opRandseed(const SOP_NodeVerb::CookParms &cookparms) const
static void saveData(std::ostream &os, UT_StringHolder s)
An output stream object that owns its own string buffer storage.
static void saveData(std::ostream &os, UT_Matrix3D v)
UT_StringHolder opConedges(const SOP_NodeVerb::CookParms &cookparms) const
bool getRemoveconvhull() const
UT_Vector3D opDir(const SOP_NodeVerb::CookParms &cookparms) const
**But if you need a result
UT_Vector3D opOrigin(const SOP_NodeVerb::CookParms &cookparms) const
static void saveData(std::ostream &os, fpreal64 v)
static PRM_DataItemHandle parseBinary(const char *type, UT_IStream &is)
UT_StringHolder opPoints(const SOP_NodeVerb::CookParms &cookparms) const
const UT_WorkBuffer & str()
Returns a read-only reference to the underlying UT_WorkBuffer.
bool opKeepprims(const SOP_NodeVerb::CookParms &cookparms) const
void setMakenewconptgrp(bool val)
static void loadData(UT_IStream &is, UT_Vector2D &v)
constexpr SYS_FORCE_INLINE T & x() noexcept
bool getKeepprims() const
static void loadData(UT_IStream &is, UT_SharedPtr< UT_Ramp > &v)
const char * getNestParmName(TempIndex fieldnum) const override
const UT_StringHolder & getPos2attrib() const
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix4D &value) const override
void loadFromOpSubclass(const LoadParms &loadparms) override
constexpr SYS_FORCE_INLINE T & x() noexcept
static void loadData(UT_IStream &is, int64 &v)
bool operator==(const BaseDimensions< T > &a, const BaseDimensions< Y > &b)
static void saveData(std::ostream &os, UT_Matrix4D v)
void setNonewconpts(bool val)
static void loadData(UT_IStream &is, UT_Matrix4D &v)
UT_StringHolder opConprims(const SOP_NodeVerb::CookParms &cookparms) const
bool opMakenewconedgegrp(const SOP_NodeVerb::CookParms &cookparms) const
bool getRemoveunusedpoints() const
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector2D &value) const override
static void saveData(std::ostream &os, UT_SharedPtr< UT_Ramp > s)
void setNestParmValue(TempIndex idx, TempIndex instance, const exint &value) override
void setOrigin(UT_Vector3D val)
static void loadData(UT_IStream &is, UT_Vector4I &v)
static void saveData(std::ostream &os, bool v)
const UT_StringHolder & getNewconptgrp() const
SYS_FORCE_INLINE const char * buffer() const
std::shared_ptr< T > UT_SharedPtr
Wrapper around std::shared_ptr.
fpreal64 getMaxarea() const
constexpr SYS_FORCE_INLINE T & z() noexcept
Planepossrc getPlanepossrc() const
bool getDontremoveincons() const
UT_StringHolder opNewconptgrp(const SOP_NodeVerb::CookParms &cookparms) const
void setPoints(const UT_StringHolder &val)
void setNestParmValue(TempIndex idx, TempIndex instance, const fpreal &value) override
bool opRemoveconvhull(const SOP_NodeVerb::CookParms &cookparms) const
Planepossrc opPlanepossrc(const SOP_NodeVerb::CookParms &cookparms) const
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix3D &value) const override
int64 getRandseed() const
const OP_GraphProxy * graph() const
void getNestParmValue(TempIndex idx, TempIndex instance, fpreal &value) const override
void getNestParmValue(TempIndex idx, TempIndex instance, UT_SharedPtr< UT_Ramp > &value) const override
void setNestParmValue(TempIndex idx, TempIndex instance, const PRM_DataItemHandle &value) override
bool opNonewconpts(const SOP_NodeVerb::CookParms &cookparms) const
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix2D &value) const override
static void loadData(UT_IStream &is, fpreal64 &v)
SOP_Triangulate2D_2_0Parms()
static void loadData(UT_IStream &is, UT_Vector3D &v)
UT_Vector3T< fpreal64 > UT_Vector3D
void setConprims(const UT_StringHolder &val)
void doSetParmValue(TempIndex idx, TempIndex instance, const T &value)
bool getMakenewconedgegrp() const
UT_StringHolder opPos2attrib(const SOP_NodeVerb::CookParms &cookparms) const
static void loadData(UT_IStream &is, PRM_DataItemHandle &v)
bool opRemoveduplicatepoints(const SOP_NodeVerb::CookParms &cookparms) const
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector3D &value) override
const UT_StringHolder & getConedges() const
void setMaxarea(fpreal64 val)
virtual void evalOpParm(int64 &v, NodeIdx node, const char *parmname, fpreal time, DEP_MicroNode *depnode) const =0
bool opMakenewconptgrp(const SOP_NodeVerb::CookParms &cookparms) const
fpreal64 opMinedgelength(const SOP_NodeVerb::CookParms &cookparms) const
static void loadData(UT_IStream &is, UT_Matrix2D &v)
void setRemoveunusedpoints(bool val)
void saveBinary(std::ostream &os) const
Save string to binary stream.
int64 opMaxnewpts(const SOP_NodeVerb::CookParms &cookparms) const
fpreal64 getMinangle() const
bool load(UT_IStream &is)
GT_API const UT_StringHolder version
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector3D &value) const override
void setRestorepos(bool val)
bool getUpdatenmls() const
static void loadData(UT_IStream &is, UT_Vector3I &v)
void getNestParmValue(TempIndex idx, TempIndex instance, exint &value) const override
void save(std::ostream &os) const
exint getNestNumParms(TempIndex idx) const override
void setNewconptgrp(const UT_StringHolder &val)
void getNestParmValue(TempIndex idx, TempIndex instance, UT_StringHolder &value) const override
static void saveData(std::ostream &os, PRM_DataItemHandle s)
void setDist(fpreal64 val)
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_SharedPtr< UT_Ramp > &value) override
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector4D &value) override
fpreal64 opDist(const SOP_NodeVerb::CookParms &cookparms) const
bool opDontremoveincons(const SOP_NodeVerb::CookParms &cookparms) const
DEP_MicroNode * depnode() const
bool getRemoveoutcons() const
bool opRemoveoutcons(const SOP_NodeVerb::CookParms &cookparms) const
LeafData & operator=(const LeafData &)=delete
static void loadData(UT_IStream &is, UT_Vector2I &v)
Utility class for containing a color ramp.
bool operator==(const SOP_Triangulate2D_2_0Parms &src) const
constexpr SYS_FORCE_INLINE T & w() noexcept
void setOutconedgegrp(const UT_StringHolder &val)
UT_StringHolder opOutconedgegrp(const SOP_NodeVerb::CookParms &cookparms) const
void setUpdatenmls(bool val)
void setPos2attrib(const UT_StringHolder &val)
static void saveData(std::ostream &os, int64 v)
fpreal64 opMinangle(const SOP_NodeVerb::CookParms &cookparms) const
static void loadData(UT_IStream &is, UT_Matrix3D &v)
fpreal getCookTime() const
static void saveData(std::ostream &os, UT_Vector2D v)
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix4D &value) override
void doGetParmValue(TempIndex idx, TempIndex instance, T &value) const
void buildFromOp(const OP_GraphProxy *graph, exint nodeidx, fpreal time, DEP_MicroNode *depnode)
static void loadData(UT_IStream &is, UT_StringHolder &v)
void setRemoveduplicatepoints(bool val)
bool opRefine(const SOP_NodeVerb::CookParms &cookparms) const
const char * findChar(int c) const
static void saveData(std::ostream &os, UT_Vector4D v)
bool opRemoveunusedpoints(const SOP_NodeVerb::CookParms &cookparms) const
UT_Vector3D getDir() const
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector4D &value) const override
constexpr SYS_FORCE_INLINE T & y() noexcept
void setMaxnewpts(int64 val)
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix3D &value) override
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector2D &value) override
bool opUpdatenmls(const SOP_NodeVerb::CookParms &cookparms) const
UT_SharedPtr< const PRM_DataItem > PRM_DataItemHandle
void setKeepprims(bool val)
constexpr SYS_FORCE_INLINE T & y() noexcept
fpreal64 getMinedgelength() const
SYS_FORCE_INLINE bool isstring() const
SYS_FORCE_INLINE void strncpy(const char *src, exint maxlen)
constexpr SYS_FORCE_INLINE T & x() noexcept
void setDontremoveincons(bool val)