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;
138 graph->
evalOpParm(myPoints, nodeidx,
"points", time, graph->
isDirect()?
nullptr:depnode);
141 graph->
evalOpParm(myPlanepossrc, nodeidx,
"planepossrc", time, graph->
isDirect()?
nullptr:depnode);
143 if (
true && ( (
true&&!(((
int64(getPlanepossrc())!=1)))) ) )
144 graph->
evalOpParm(myOrigin, nodeidx,
"origin", time, graph->
isDirect()?
nullptr:depnode);
146 if (
true && ( (
true&&!(((
int64(getPlanepossrc())!=1)))) ) )
149 if (
true && ( (
true&&!(((
int64(getPlanepossrc())!=1)))) ) )
151 myPos2attrib =
""_UTsh;
152 if (
true && ( (
true&&!(((
int64(getPlanepossrc())!=2)))) ) )
153 graph->
evalOpParm(myPos2attrib, nodeidx,
"pos2attrib", time, graph->
isDirect()?
nullptr:depnode);
154 myRestorepos =
false;
156 graph->
evalOpParm(myRestorepos, nodeidx,
"restorepos", time, graph->
isDirect()?
nullptr:depnode);
159 graph->
evalOpParm(myKeepprims, nodeidx,
"keepprims", time, graph->
isDirect()?
nullptr:depnode);
162 graph->
evalOpParm(myUpdatenmls, nodeidx,
"updatenmls", time, graph->
isDirect()?
nullptr:depnode);
163 myRemoveunusedpoints =
true;
165 graph->
evalOpParm(myRemoveunusedpoints, nodeidx,
"removeunusedpoints", time, graph->
isDirect()?
nullptr:depnode);
166 myRemoveduplicatepoints =
true;
168 graph->
evalOpParm(myRemoveduplicatepoints, nodeidx,
"removeduplicatepoints", time, graph->
isDirect()?
nullptr:depnode);
171 graph->
evalOpParm(myRandseed, nodeidx,
"randseed", time, graph->
isDirect()?
nullptr:depnode);
172 myConprims =
""_UTsh;
174 graph->
evalOpParm(myConprims, nodeidx,
"conprims", time, graph->
isDirect()?
nullptr:depnode);
175 myConedges =
""_UTsh;
177 graph->
evalOpParm(myConedges, nodeidx,
"conedges", time, graph->
isDirect()?
nullptr:depnode);
178 myRemoveconvhull =
false;
180 graph->
evalOpParm(myRemoveconvhull, nodeidx,
"removeconvhull", time, graph->
isDirect()?
nullptr:depnode);
181 myRemoveoutcons =
true;
183 graph->
evalOpParm(myRemoveoutcons, nodeidx,
"removeoutcons", time, graph->
isDirect()?
nullptr:depnode);
184 myDontremoveincons =
true;
185 if (
true && ( (
true&&!(((getRemoveoutcons()==0)))) ) )
186 graph->
evalOpParm(myDontremoveincons, nodeidx,
"dontremoveincons", time, graph->
isDirect()?
nullptr:depnode);
189 graph->
evalOpParm(myRefine, nodeidx,
"refine", time, graph->
isDirect()?
nullptr:depnode);
191 if (
true && ( (
true&&!(((getRefine()==0)))) ) )
192 graph->
evalOpParm(myMaxarea, nodeidx,
"maxarea", time, graph->
isDirect()?
nullptr:depnode);
194 if (
true && ( (
true&&!(((getRefine()==0)))) ) )
195 graph->
evalOpParm(myMinangle, nodeidx,
"minangle", time, graph->
isDirect()?
nullptr:depnode);
196 myMinedgelength = 0.001;
198 graph->
evalOpParm(myMinedgelength, nodeidx,
"minedgelength", time, graph->
isDirect()?
nullptr:depnode);
201 graph->
evalOpParm(myMaxnewpts, nodeidx,
"maxnewpts", time, graph->
isDirect()?
nullptr:depnode);
202 myNonewconpts =
false;
203 if (
true && ( (
true&&!(((getRefine()==1)))) ) )
204 graph->
evalOpParm(myNonewconpts, nodeidx,
"nonewconpts", time, graph->
isDirect()?
nullptr:depnode);
205 myMakenewconptgrp =
false;
206 if (
true && ( (
true&&!(((getNonewconpts()==1)&&(getRefine()==0)))) ) )
207 graph->
evalOpParm(myMakenewconptgrp, nodeidx,
"makenewconptgrp", time, graph->
isDirect()?
nullptr:depnode);
208 myNewconptgrp =
"newconpoints"_UTsh;
209 if (
true && ( (
true&&!(((getNonewconpts()==1)&&(getRefine()==0))||((getMakenewconptgrp()==0)))) ) )
210 graph->
evalOpParm(myNewconptgrp, nodeidx,
"newconptgrp", time, graph->
isDirect()?
nullptr:depnode);
211 myMakenewconedgegrp =
false;
212 if (
true && ( (
true&&!(((getNonewconpts()==1)&&(getRefine()==0)))) ) )
213 graph->
evalOpParm(myMakenewconedgegrp, nodeidx,
"makenewconedgegrp", time, graph->
isDirect()?
nullptr:depnode);
214 myOutconedgegrp =
"outconedges"_UTsh;
215 if (
true && ( (
true&&!(((getNonewconpts()==1)&&(getRefine()==0))||((getMakenewconedgegrp()==0)))) ) )
216 graph->
evalOpParm(myOutconedgegrp, nodeidx,
"outconedgegrp", time, graph->
isDirect()?
nullptr:depnode);
232 template <
typename T>
239 if (idx.
size() != instance.
size()+1)
244 coerceValue(value, myPoints);
247 coerceValue(value, myPlanepossrc);
250 coerceValue(value, myOrigin);
253 coerceValue(value, myDist);
256 coerceValue(value, myDir);
259 coerceValue(value, myPos2attrib);
262 coerceValue(value, myRestorepos);
265 coerceValue(value, myKeepprims);
268 coerceValue(value, myUpdatenmls);
271 coerceValue(value, myRemoveunusedpoints);
274 coerceValue(value, myRemoveduplicatepoints);
277 coerceValue(value, myRandseed);
280 coerceValue(value, myConprims);
283 coerceValue(value, myConedges);
286 coerceValue(value, myRemoveconvhull);
289 coerceValue(value, myRemoveoutcons);
292 coerceValue(value, myDontremoveincons);
295 coerceValue(value, myRefine);
298 coerceValue(value, myMaxarea);
301 coerceValue(value, myMinangle);
304 coerceValue(value, myMinedgelength);
307 coerceValue(value, myMaxnewpts);
310 coerceValue(value, myNonewconpts);
313 coerceValue(value, myMakenewconptgrp);
316 coerceValue(value, myNewconptgrp);
319 coerceValue(value, myMakenewconedgegrp);
322 coerceValue(value, myOutconedgegrp);
338 { doGetParmValue(idx, instance, value); }
340 { doGetParmValue(idx, instance, value); }
342 { doGetParmValue(idx, instance, value); }
344 { doGetParmValue(idx, instance, value); }
346 { doGetParmValue(idx, instance, value); }
348 { doGetParmValue(idx, instance, value); }
350 { doGetParmValue(idx, instance, value); }
352 { doGetParmValue(idx, instance, value); }
354 { doGetParmValue(idx, instance, value); }
356 { doGetParmValue(idx, instance, value); }
358 { doGetParmValue(idx, instance, value); }
360 template <
typename T>
367 if (idx.
size() != instance.
size()+1)
372 coerceValue(myPoints, ( ( value ) ));
375 coerceValue(myPlanepossrc, clampMinValue(0, clampMaxValue(2, value ) ));
378 coerceValue(myOrigin, ( ( value ) ));
381 coerceValue(myDist, ( ( value ) ));
384 coerceValue(myDir, ( ( value ) ));
387 coerceValue(myPos2attrib, ( ( value ) ));
390 coerceValue(myRestorepos, ( ( value ) ));
393 coerceValue(myKeepprims, ( ( value ) ));
396 coerceValue(myUpdatenmls, ( ( value ) ));
399 coerceValue(myRemoveunusedpoints, ( ( value ) ));
402 coerceValue(myRemoveduplicatepoints, ( ( value ) ));
405 coerceValue(myRandseed, ( ( value ) ));
408 coerceValue(myConprims, ( ( value ) ));
411 coerceValue(myConedges, ( ( value ) ));
414 coerceValue(myRemoveconvhull, ( ( value ) ));
417 coerceValue(myRemoveoutcons, ( ( value ) ));
420 coerceValue(myDontremoveincons, ( ( value ) ));
423 coerceValue(myRefine, ( ( value ) ));
426 coerceValue(myMaxarea, clampMinValue(0.0001, ( value ) ));
429 coerceValue(myMinangle, clampMinValue(0, ( value ) ));
432 coerceValue(myMinedgelength, ( ( value ) ));
435 coerceValue(myMaxnewpts, ( ( value ) ));
438 coerceValue(myNonewconpts, ( ( value ) ));
441 coerceValue(myMakenewconptgrp, ( ( value ) ));
444 coerceValue(myNewconptgrp, ( ( value ) ));
447 coerceValue(myMakenewconedgegrp, ( ( value ) ));
450 coerceValue(myOutconedgegrp, ( ( value ) ));
457 { doSetParmValue(idx, instance, value); }
459 { doSetParmValue(idx, instance, value); }
461 { doSetParmValue(idx, instance, value); }
463 { doSetParmValue(idx, instance, value); }
465 { doSetParmValue(idx, instance, value); }
467 { doSetParmValue(idx, instance, value); }
469 { doSetParmValue(idx, instance, value); }
471 { doSetParmValue(idx, instance, value); }
473 { doSetParmValue(idx, instance, value); }
475 { doSetParmValue(idx, instance, value); }
477 { doSetParmValue(idx, instance, value); }
493 if (fieldnum.
size() < 1)
500 return "planepossrc";
516 return "removeunusedpoints";
518 return "removeduplicatepoints";
526 return "removeconvhull";
528 return "removeoutcons";
530 return "dontremoveincons";
538 return "minedgelength";
542 return "nonewconpts";
544 return "makenewconptgrp";
546 return "newconptgrp";
548 return "makenewconedgegrp";
550 return "outconedgegrp";
558 if (fieldnum.
size() < 1)
559 return PARM_UNSUPPORTED;
618 return PARM_UNSUPPORTED;
654 loadData(is, rampdata);
672 int typelen = colon - data.
buffer();
686 {
int64 iv =
v; UTwrite(os, &iv); }
688 { UTwrite<fpreal64>(os, &
v); }
690 { UTwrite<fpreal64>(os, &v.
x()); UTwrite<fpreal64>(os, &v.
y()); }
692 { UTwrite<fpreal64>(os, &v.
x()); UTwrite<fpreal64>(os, &v.
y());
693 UTwrite<fpreal64>(os, &v.
z()); }
695 { UTwrite<fpreal64>(os, &v.
x()); UTwrite<fpreal64>(os, &v.
y());
696 UTwrite<fpreal64>(os, &v.
z()); UTwrite<fpreal64>(os, &v.
w()); }
708 if (s) s->save(ostr);
710 saveData(os, result);
717 ostr << s->getDataTypeToken();
722 saveData(os, result);
726 void save(std::ostream &os)
const
730 saveData(os, myPoints);
731 saveData(os, myPlanepossrc);
732 saveData(os, myOrigin);
733 saveData(os, myDist);
735 saveData(os, myPos2attrib);
736 saveData(os, myRestorepos);
737 saveData(os, myKeepprims);
738 saveData(os, myUpdatenmls);
739 saveData(os, myRemoveunusedpoints);
740 saveData(os, myRemoveduplicatepoints);
741 saveData(os, myRandseed);
742 saveData(os, myConprims);
743 saveData(os, myConedges);
744 saveData(os, myRemoveconvhull);
745 saveData(os, myRemoveoutcons);
746 saveData(os, myDontremoveincons);
747 saveData(os, myRefine);
748 saveData(os, myMaxarea);
749 saveData(os, myMinangle);
750 saveData(os, myMinedgelength);
751 saveData(os, myMaxnewpts);
752 saveData(os, myNonewconpts);
753 saveData(os, myMakenewconptgrp);
754 saveData(os, myNewconptgrp);
755 saveData(os, myMakenewconedgegrp);
756 saveData(os, myOutconedgegrp);
769 loadData(is, myPoints);
770 loadData(is, myPlanepossrc);
771 loadData(is, myOrigin);
772 loadData(is, myDist);
774 loadData(is, myPos2attrib);
775 loadData(is, myRestorepos);
776 loadData(is, myKeepprims);
777 loadData(is, myUpdatenmls);
778 loadData(is, myRemoveunusedpoints);
779 loadData(is, myRemoveduplicatepoints);
780 loadData(is, myRandseed);
781 loadData(is, myConprims);
782 loadData(is, myConedges);
783 loadData(is, myRemoveconvhull);
784 loadData(is, myRemoveoutcons);
785 loadData(is, myDontremoveincons);
786 loadData(is, myRefine);
787 loadData(is, myMaxarea);
788 loadData(is, myMinangle);
789 loadData(is, myMinedgelength);
790 loadData(is, myMaxnewpts);
791 loadData(is, myNonewconpts);
792 loadData(is, myMakenewconptgrp);
793 loadData(is, myNewconptgrp);
794 loadData(is, myMakenewconedgegrp);
795 loadData(is, myOutconedgegrp);
805 if (!thissop)
return getPoints();
807 OP_Utils::evalOpParm(result, thissop,
"points", cookparms.
getCookTime(), 0);
815 if (!thissop)
return getPlanepossrc();
817 OP_Utils::evalOpParm(result, thissop,
"planepossrc", cookparms.
getCookTime(), 0);
825 if (!thissop)
return getOrigin();
827 OP_Utils::evalOpParm(result, thissop,
"origin", cookparms.
getCookTime(), 0);
835 if (!thissop)
return getDist();
837 OP_Utils::evalOpParm(result, thissop,
"dist", cookparms.
getCookTime(), 0);
845 if (!thissop)
return getDir();
847 OP_Utils::evalOpParm(result, thissop,
"dir", cookparms.
getCookTime(), 0);
855 if (!thissop)
return getPos2attrib();
857 OP_Utils::evalOpParm(result, thissop,
"pos2attrib", cookparms.
getCookTime(), 0);
865 if (!thissop)
return getRestorepos();
867 OP_Utils::evalOpParm(result, thissop,
"restorepos", cookparms.
getCookTime(), 0);
875 if (!thissop)
return getKeepprims();
877 OP_Utils::evalOpParm(result, thissop,
"keepprims", cookparms.
getCookTime(), 0);
885 if (!thissop)
return getUpdatenmls();
887 OP_Utils::evalOpParm(result, thissop,
"updatenmls", cookparms.
getCookTime(), 0);
895 if (!thissop)
return getRemoveunusedpoints();
897 OP_Utils::evalOpParm(result, thissop,
"removeunusedpoints", cookparms.
getCookTime(), 0);
905 if (!thissop)
return getRemoveduplicatepoints();
907 OP_Utils::evalOpParm(result, thissop,
"removeduplicatepoints", cookparms.
getCookTime(), 0);
915 if (!thissop)
return getRandseed();
917 OP_Utils::evalOpParm(result, thissop,
"randseed", cookparms.
getCookTime(), 0);
925 if (!thissop)
return getConprims();
927 OP_Utils::evalOpParm(result, thissop,
"conprims", cookparms.
getCookTime(), 0);
935 if (!thissop)
return getConedges();
937 OP_Utils::evalOpParm(result, thissop,
"conedges", cookparms.
getCookTime(), 0);
945 if (!thissop)
return getRemoveconvhull();
947 OP_Utils::evalOpParm(result, thissop,
"removeconvhull", cookparms.
getCookTime(), 0);
955 if (!thissop)
return getRemoveoutcons();
957 OP_Utils::evalOpParm(result, thissop,
"removeoutcons", cookparms.
getCookTime(), 0);
965 if (!thissop)
return getDontremoveincons();
967 OP_Utils::evalOpParm(result, thissop,
"dontremoveincons", cookparms.
getCookTime(), 0);
975 if (!thissop)
return getRefine();
977 OP_Utils::evalOpParm(result, thissop,
"refine", cookparms.
getCookTime(), 0);
985 if (!thissop)
return getMaxarea();
987 OP_Utils::evalOpParm(result, thissop,
"maxarea", cookparms.
getCookTime(), 0);
995 if (!thissop)
return getMinangle();
997 OP_Utils::evalOpParm(result, thissop,
"minangle", cookparms.
getCookTime(), 0);
1005 if (!thissop)
return getMinedgelength();
1007 OP_Utils::evalOpParm(result, thissop,
"minedgelength", cookparms.
getCookTime(), 0);
1015 if (!thissop)
return getMaxnewpts();
1017 OP_Utils::evalOpParm(result, thissop,
"maxnewpts", cookparms.
getCookTime(), 0);
1025 if (!thissop)
return getNonewconpts();
1027 OP_Utils::evalOpParm(result, thissop,
"nonewconpts", cookparms.
getCookTime(), 0);
1035 if (!thissop)
return getMakenewconptgrp();
1037 OP_Utils::evalOpParm(result, thissop,
"makenewconptgrp", cookparms.
getCookTime(), 0);
1045 if (!thissop)
return getNewconptgrp();
1047 OP_Utils::evalOpParm(result, thissop,
"newconptgrp", cookparms.
getCookTime(), 0);
1055 if (!thissop)
return getMakenewconedgegrp();
1057 OP_Utils::evalOpParm(result, thissop,
"makenewconedgegrp", cookparms.
getCookTime(), 0);
1065 if (!thissop)
return getOutconedgegrp();
1067 OP_Utils::evalOpParm(result, thissop,
"outconedgegrp", cookparms.
getCookTime(), 0);
1073 int64 myPlanepossrc;
1081 bool myRemoveunusedpoints;
1082 bool myRemoveduplicatepoints;
1086 bool myRemoveconvhull;
1087 bool myRemoveoutcons;
1088 bool myDontremoveincons;
1095 bool myMakenewconptgrp;
1097 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
GLsizei const GLfloat * value
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
UT_SharedPtr< const PRM_DataItem > PRM_DataItemHandle
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
virtual UT_StringHolder baseGetSignature() const
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
virtual bool isDirect() const =0
Direct proxies mirror actual nodes:
bool opUpdatenmls(const SOP_NodeVerb::CookParms &cookparms) const
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)