23 namespace SOP_Remesh_2_0Enums
34 using namespace UT::Literal;
53 myHardEdges =
""_UTsh;
54 myHardPoints =
""_UTsh;
55 myHardenUVSeams =
false;
56 myUVAttrib =
"uv"_UTsh;
59 myInputPtsOnly =
false;
60 myDetachFromNonGroup =
false;
61 myRecomputeNormals =
true;
70 myUseMeshSizeAttrib =
false;
71 myMeshSizeAttrib =
"targetmeshsize"_UTsh;
72 myUseMinSizeAttrib =
false;
73 myMinSizeAttrib =
"minmeshsize"_UTsh;
74 myUseMaxSizeAttrib =
false;
75 myMaxSizeAttrib =
"maxmeshsize"_UTsh;
76 myUseOutHardEdgesGroup =
false;
77 myOutHardEdgesGroup =
"hardedges"_UTsh;
78 myUseOutMeshSizeAttrib =
false;
79 myOutMeshSizeAttrib =
"meshsize"_UTsh;
80 myUseOutMeshQualityAttrib =
false;
81 myOutMeshQualityAttrib =
"meshquality"_UTsh;
94 if (myGroup != src.myGroup)
return false;
95 if (myHardEdges != src.myHardEdges)
return false;
96 if (myHardPoints != src.myHardPoints)
return false;
97 if (myHardenUVSeams != src.myHardenUVSeams)
return false;
98 if (myUVAttrib != src.myUVAttrib)
return false;
99 if (myIterations != src.myIterations)
return false;
100 if (mySmoothing != src.mySmoothing)
return false;
101 if (myInputPtsOnly != src.myInputPtsOnly)
return false;
102 if (myDetachFromNonGroup != src.myDetachFromNonGroup)
return false;
103 if (myRecomputeNormals != src.myRecomputeNormals)
return false;
104 if (mySizing != src.mySizing)
return false;
105 if (myTargetSize != src.myTargetSize)
return false;
106 if (myUseMaxSize != src.myUseMaxSize)
return false;
107 if (myMaxSize != src.myMaxSize)
return false;
108 if (myUseMinSize != src.myUseMinSize)
return false;
109 if (myMinSize != src.myMinSize)
return false;
110 if (myDensity != src.myDensity)
return false;
111 if (myGradation != src.myGradation)
return false;
112 if (myUseMeshSizeAttrib != src.myUseMeshSizeAttrib)
return false;
113 if (myMeshSizeAttrib != src.myMeshSizeAttrib)
return false;
114 if (myUseMinSizeAttrib != src.myUseMinSizeAttrib)
return false;
115 if (myMinSizeAttrib != src.myMinSizeAttrib)
return false;
116 if (myUseMaxSizeAttrib != src.myUseMaxSizeAttrib)
return false;
117 if (myMaxSizeAttrib != src.myMaxSizeAttrib)
return false;
118 if (myUseOutHardEdgesGroup != src.myUseOutHardEdgesGroup)
return false;
119 if (myOutHardEdgesGroup != src.myOutHardEdgesGroup)
return false;
120 if (myUseOutMeshSizeAttrib != src.myUseOutMeshSizeAttrib)
return false;
121 if (myOutMeshSizeAttrib != src.myOutMeshSizeAttrib)
return false;
122 if (myUseOutMeshQualityAttrib != src.myUseOutMeshQualityAttrib)
return false;
123 if (myOutMeshQualityAttrib != src.myOutMeshQualityAttrib)
return false;
139 graph->
evalOpParm(myGroup, nodeidx,
"group", time, 0);
140 myHardEdges =
""_UTsh;
142 graph->
evalOpParm(myHardEdges, nodeidx,
"hard_edges", time, 0);
143 myHardPoints =
""_UTsh;
145 graph->
evalOpParm(myHardPoints, nodeidx,
"hard_points", time, 0);
146 myHardenUVSeams =
false;
148 graph->
evalOpParm(myHardenUVSeams, nodeidx,
"hardenuvseams", time, 0);
149 myUVAttrib =
"uv"_UTsh;
150 if (
true && ( (
true&&!(((getHardenUVSeams()==0)))) ) )
151 graph->
evalOpParm(myUVAttrib, nodeidx,
"uvattriv", time, 0);
154 graph->
evalOpParm(myIterations, nodeidx,
"iterations", time, 0);
157 graph->
evalOpParm(mySmoothing, nodeidx,
"smoothing", time, 0);
158 myInputPtsOnly =
false;
160 graph->
evalOpParm(myInputPtsOnly, nodeidx,
"inputptsonly", time, 0);
161 myDetachFromNonGroup =
false;
163 graph->
evalOpParm(myDetachFromNonGroup, nodeidx,
"detachfromnongroup", time, 0);
164 myRecomputeNormals =
true;
166 graph->
evalOpParm(myRecomputeNormals, nodeidx,
"recomputenormals", time, 0);
169 graph->
evalOpParm(mySizing, nodeidx,
"sizing", time, 0);
171 if (
true && ( (
true&&!(((
int64(getSizing())==1)))) ) )
172 graph->
evalOpParm(myTargetSize, nodeidx,
"targetsize", time, 0);
173 myUseMaxSize =
false;
174 if (
true && ( (
true&&!(((
int64(getSizing())==0)))) ) )
175 graph->
evalOpParm(myUseMaxSize, nodeidx,
"usemaxsize", time, 0);
177 if (
true && ( (
true&&!(((getUseMaxSize()==0))||((
int64(getSizing())==0)))) ) )
178 graph->
evalOpParm(myMaxSize, nodeidx,
"maxsize", time, 0);
179 myUseMinSize =
false;
180 if (
true && ( (
true&&!(((
int64(getSizing())==0)))) ) )
181 graph->
evalOpParm(myUseMinSize, nodeidx,
"useminsize", time, 0);
183 if (
true && ( (
true&&!(((getUseMinSize()==0))||((
int64(getSizing())==0)))) ) )
184 graph->
evalOpParm(myMinSize, nodeidx,
"minsize", time, 0);
186 if (
true && ( (
true&&!(((
int64(getSizing())==0)))) ) )
187 graph->
evalOpParm(myDensity, nodeidx,
"density", time, 0);
189 if (
true && ( (
true&&!(((
int64(getSizing())==0)))) ) )
190 graph->
evalOpParm(myGradation, nodeidx,
"gradation", time, 0);
191 myUseMeshSizeAttrib =
false;
192 if (
true && ( (
true&&!(((
int64(getSizing())==0))||((
int64(getSizing())==0)))) ) )
193 graph->
evalOpParm(myUseMeshSizeAttrib, nodeidx,
"usemeshsizeattrib", time, 0);
194 myMeshSizeAttrib =
"targetmeshsize"_UTsh;
195 if (
true && ( (
true&&!(((
int64(getSizing())==0))||((getUseMeshSizeAttrib()==0))||((
int64(getSizing())==0)))) ) )
196 graph->
evalOpParm(myMeshSizeAttrib, nodeidx,
"meshsizeattrib", time, 0);
197 myUseMinSizeAttrib =
false;
198 if (
true && ( (
true&&!(((
int64(getSizing())==0)))) ) )
199 graph->
evalOpParm(myUseMinSizeAttrib, nodeidx,
"useminsizeattrib", time, 0);
200 myMinSizeAttrib =
"minmeshsize"_UTsh;
201 if (
true && ( (
true&&!(((
int64(getSizing())==0))||((getUseMinSizeAttrib()==0))||((
int64(getSizing())==0)))) ) )
202 graph->
evalOpParm(myMinSizeAttrib, nodeidx,
"minsizeattrib", time, 0);
203 myUseMaxSizeAttrib =
false;
204 if (
true && ( (
true&&!(((
int64(getSizing())==0))||((
int64(getSizing())==0)))) ) )
205 graph->
evalOpParm(myUseMaxSizeAttrib, nodeidx,
"usemaxsizeattrib", time, 0);
206 myMaxSizeAttrib =
"maxmeshsize"_UTsh;
207 if (
true && ( (
true&&!(((
int64(getSizing())==0))||((getUseMaxSizeAttrib()==0))||((
int64(getSizing())==0)))) ) )
208 graph->
evalOpParm(myMaxSizeAttrib, nodeidx,
"maxsizeattrib", time, 0);
209 myUseOutHardEdgesGroup =
false;
211 graph->
evalOpParm(myUseOutHardEdgesGroup, nodeidx,
"useouthardedgesgroup", time, 0);
212 myOutHardEdgesGroup =
"hardedges"_UTsh;
213 if (
true && ( (
true&&!(((getUseOutHardEdgesGroup()==0)))) ) )
214 graph->
evalOpParm(myOutHardEdgesGroup, nodeidx,
"outhardedgesgroup", time, 0);
215 myUseOutMeshSizeAttrib =
false;
217 graph->
evalOpParm(myUseOutMeshSizeAttrib, nodeidx,
"useoutmeshsizeattrib", time, 0);
218 myOutMeshSizeAttrib =
"meshsize"_UTsh;
219 if (
true && ( (
true&&!(((getUseOutMeshSizeAttrib()==0)))) ) )
220 graph->
evalOpParm(myOutMeshSizeAttrib, nodeidx,
"outmeshsizeattrib", time, 0);
221 myUseOutMeshQualityAttrib =
false;
223 graph->
evalOpParm(myUseOutMeshQualityAttrib, nodeidx,
"useoutmeshqualityattrib", time, 0);
224 myOutMeshQualityAttrib =
"meshquality"_UTsh;
225 if (
true && ( (
true&&!(((getUseOutMeshQualityAttrib()==0)))) ) )
226 graph->
evalOpParm(myOutMeshQualityAttrib, nodeidx,
"outmeshqualityattrib", time, 0);
242 template <
typename T>
249 if (idx.
size() != instance.
size()+1)
254 coerceValue(value, myGroup);
257 coerceValue(value, myHardEdges);
260 coerceValue(value, myHardPoints);
263 coerceValue(value, myHardenUVSeams);
266 coerceValue(value, myUVAttrib);
269 coerceValue(value, myIterations);
272 coerceValue(value, mySmoothing);
275 coerceValue(value, myInputPtsOnly);
278 coerceValue(value, myDetachFromNonGroup);
281 coerceValue(value, myRecomputeNormals);
284 coerceValue(value, mySizing);
287 coerceValue(value, myTargetSize);
290 coerceValue(value, myUseMaxSize);
293 coerceValue(value, myMaxSize);
296 coerceValue(value, myUseMinSize);
299 coerceValue(value, myMinSize);
302 coerceValue(value, myDensity);
305 coerceValue(value, myGradation);
308 coerceValue(value, myUseMeshSizeAttrib);
311 coerceValue(value, myMeshSizeAttrib);
314 coerceValue(value, myUseMinSizeAttrib);
317 coerceValue(value, myMinSizeAttrib);
320 coerceValue(value, myUseMaxSizeAttrib);
323 coerceValue(value, myMaxSizeAttrib);
326 coerceValue(value, myUseOutHardEdgesGroup);
329 coerceValue(value, myOutHardEdgesGroup);
332 coerceValue(value, myUseOutMeshSizeAttrib);
335 coerceValue(value, myOutMeshSizeAttrib);
338 coerceValue(value, myUseOutMeshQualityAttrib);
341 coerceValue(value, myOutMeshQualityAttrib);
357 { doGetParmValue(idx, instance, value); }
359 { doGetParmValue(idx, instance, value); }
361 { doGetParmValue(idx, instance, value); }
363 { doGetParmValue(idx, instance, value); }
365 { doGetParmValue(idx, instance, value); }
367 { doGetParmValue(idx, instance, value); }
369 { doGetParmValue(idx, instance, value); }
371 { doGetParmValue(idx, instance, value); }
373 { doGetParmValue(idx, instance, value); }
375 { doGetParmValue(idx, instance, value); }
377 { doGetParmValue(idx, instance, value); }
379 template <
typename T>
386 if (idx.
size() != instance.
size()+1)
391 coerceValue(myGroup, ( ( value ) ));
394 coerceValue(myHardEdges, ( ( value ) ));
397 coerceValue(myHardPoints, ( ( value ) ));
400 coerceValue(myHardenUVSeams, ( ( value ) ));
403 coerceValue(myUVAttrib, ( ( value ) ));
406 coerceValue(myIterations, clampMinValue(0, ( value ) ));
409 coerceValue(mySmoothing, clampMinValue(0, ( value ) ));
412 coerceValue(myInputPtsOnly, ( ( value ) ));
415 coerceValue(myDetachFromNonGroup, ( ( value ) ));
418 coerceValue(myRecomputeNormals, ( ( value ) ));
421 coerceValue(mySizing, clampMinValue(0, clampMaxValue(1, value ) ));
424 coerceValue(myTargetSize, clampMinValue(0, ( value ) ));
427 coerceValue(myUseMaxSize, ( ( value ) ));
430 coerceValue(myMaxSize, clampMinValue(0, ( value ) ));
433 coerceValue(myUseMinSize, ( ( value ) ));
436 coerceValue(myMinSize, clampMinValue(0, ( value ) ));
439 coerceValue(myDensity, clampMinValue(1.0, ( value ) ));
442 coerceValue(myGradation, clampMinValue(0, clampMaxValue(1, value ) ));
445 coerceValue(myUseMeshSizeAttrib, ( ( value ) ));
448 coerceValue(myMeshSizeAttrib, ( ( value ) ));
451 coerceValue(myUseMinSizeAttrib, ( ( value ) ));
454 coerceValue(myMinSizeAttrib, ( ( value ) ));
457 coerceValue(myUseMaxSizeAttrib, ( ( value ) ));
460 coerceValue(myMaxSizeAttrib, ( ( value ) ));
463 coerceValue(myUseOutHardEdgesGroup, ( ( value ) ));
466 coerceValue(myOutHardEdgesGroup, ( ( value ) ));
469 coerceValue(myUseOutMeshSizeAttrib, ( ( value ) ));
472 coerceValue(myOutMeshSizeAttrib, ( ( value ) ));
475 coerceValue(myUseOutMeshQualityAttrib, ( ( value ) ));
478 coerceValue(myOutMeshQualityAttrib, ( ( value ) ));
485 { doSetParmValue(idx, instance, value); }
487 { doSetParmValue(idx, instance, value); }
489 { doSetParmValue(idx, instance, value); }
491 { doSetParmValue(idx, instance, value); }
493 { doSetParmValue(idx, instance, value); }
495 { doSetParmValue(idx, instance, value); }
497 { doSetParmValue(idx, instance, value); }
499 { doSetParmValue(idx, instance, value); }
501 { doSetParmValue(idx, instance, value); }
503 { doSetParmValue(idx, instance, value); }
505 { doSetParmValue(idx, instance, value); }
521 if (fieldnum.
size() < 1)
530 return "hard_points";
532 return "hardenuvseams";
540 return "inputptsonly";
542 return "detachfromnongroup";
544 return "recomputenormals";
562 return "usemeshsizeattrib";
564 return "meshsizeattrib";
566 return "useminsizeattrib";
568 return "minsizeattrib";
570 return "usemaxsizeattrib";
572 return "maxsizeattrib";
574 return "useouthardedgesgroup";
576 return "outhardedgesgroup";
578 return "useoutmeshsizeattrib";
580 return "outmeshsizeattrib";
582 return "useoutmeshqualityattrib";
584 return "outmeshqualityattrib";
592 if (fieldnum.
size() < 1)
593 return PARM_UNSUPPORTED;
658 return PARM_UNSUPPORTED;
694 loadData(is, rampdata);
712 int typelen = colon - data.
buffer();
726 {
int64 iv =
v; UTwrite(os, &iv); }
728 { UTwrite<fpreal64>(os, &
v); }
730 { UTwrite<fpreal64>(os, &v.
x()); UTwrite<fpreal64>(os, &v.
y()); }
732 { UTwrite<fpreal64>(os, &v.
x()); UTwrite<fpreal64>(os, &v.
y());
733 UTwrite<fpreal64>(os, &v.
z()); }
735 { UTwrite<fpreal64>(os, &v.
x()); UTwrite<fpreal64>(os, &v.
y());
736 UTwrite<fpreal64>(os, &v.
z()); UTwrite<fpreal64>(os, &v.
w()); }
748 if (s) s->save(ostr);
750 saveData(os, result);
757 ostr << s->getDataTypeToken();
762 saveData(os, result);
766 void save(std::ostream &os)
const
770 saveData(os, myGroup);
771 saveData(os, myHardEdges);
772 saveData(os, myHardPoints);
773 saveData(os, myHardenUVSeams);
774 saveData(os, myUVAttrib);
775 saveData(os, myIterations);
776 saveData(os, mySmoothing);
777 saveData(os, myInputPtsOnly);
778 saveData(os, myDetachFromNonGroup);
779 saveData(os, myRecomputeNormals);
780 saveData(os, mySizing);
781 saveData(os, myTargetSize);
782 saveData(os, myUseMaxSize);
783 saveData(os, myMaxSize);
784 saveData(os, myUseMinSize);
785 saveData(os, myMinSize);
786 saveData(os, myDensity);
787 saveData(os, myGradation);
788 saveData(os, myUseMeshSizeAttrib);
789 saveData(os, myMeshSizeAttrib);
790 saveData(os, myUseMinSizeAttrib);
791 saveData(os, myMinSizeAttrib);
792 saveData(os, myUseMaxSizeAttrib);
793 saveData(os, myMaxSizeAttrib);
794 saveData(os, myUseOutHardEdgesGroup);
795 saveData(os, myOutHardEdgesGroup);
796 saveData(os, myUseOutMeshSizeAttrib);
797 saveData(os, myOutMeshSizeAttrib);
798 saveData(os, myUseOutMeshQualityAttrib);
799 saveData(os, myOutMeshQualityAttrib);
812 loadData(is, myGroup);
813 loadData(is, myHardEdges);
814 loadData(is, myHardPoints);
815 loadData(is, myHardenUVSeams);
816 loadData(is, myUVAttrib);
817 loadData(is, myIterations);
818 loadData(is, mySmoothing);
819 loadData(is, myInputPtsOnly);
820 loadData(is, myDetachFromNonGroup);
821 loadData(is, myRecomputeNormals);
822 loadData(is, mySizing);
823 loadData(is, myTargetSize);
824 loadData(is, myUseMaxSize);
825 loadData(is, myMaxSize);
826 loadData(is, myUseMinSize);
827 loadData(is, myMinSize);
828 loadData(is, myDensity);
829 loadData(is, myGradation);
830 loadData(is, myUseMeshSizeAttrib);
831 loadData(is, myMeshSizeAttrib);
832 loadData(is, myUseMinSizeAttrib);
833 loadData(is, myMinSizeAttrib);
834 loadData(is, myUseMaxSizeAttrib);
835 loadData(is, myMaxSizeAttrib);
836 loadData(is, myUseOutHardEdgesGroup);
837 loadData(is, myOutHardEdgesGroup);
838 loadData(is, myUseOutMeshSizeAttrib);
839 loadData(is, myOutMeshSizeAttrib);
840 loadData(is, myUseOutMeshQualityAttrib);
841 loadData(is, myOutMeshQualityAttrib);
851 if (!thissop)
return getGroup();
853 OP_Utils::evalOpParm(result, thissop,
"group", cookparms.
getCookTime(), 0);
861 if (!thissop)
return getHardEdges();
863 OP_Utils::evalOpParm(result, thissop,
"hard_edges", cookparms.
getCookTime(), 0);
871 if (!thissop)
return getHardPoints();
873 OP_Utils::evalOpParm(result, thissop,
"hard_points", cookparms.
getCookTime(), 0);
881 if (!thissop)
return getHardenUVSeams();
883 OP_Utils::evalOpParm(result, thissop,
"hardenuvseams", cookparms.
getCookTime(), 0);
891 if (!thissop)
return getUVAttrib();
893 OP_Utils::evalOpParm(result, thissop,
"uvattriv", cookparms.
getCookTime(), 0);
901 if (!thissop)
return getIterations();
903 OP_Utils::evalOpParm(result, thissop,
"iterations", cookparms.
getCookTime(), 0);
911 if (!thissop)
return getSmoothing();
913 OP_Utils::evalOpParm(result, thissop,
"smoothing", cookparms.
getCookTime(), 0);
921 if (!thissop)
return getInputPtsOnly();
923 OP_Utils::evalOpParm(result, thissop,
"inputptsonly", cookparms.
getCookTime(), 0);
931 if (!thissop)
return getDetachFromNonGroup();
933 OP_Utils::evalOpParm(result, thissop,
"detachfromnongroup", cookparms.
getCookTime(), 0);
941 if (!thissop)
return getRecomputeNormals();
943 OP_Utils::evalOpParm(result, thissop,
"recomputenormals", cookparms.
getCookTime(), 0);
951 if (!thissop)
return getSizing();
953 OP_Utils::evalOpParm(result, thissop,
"sizing", cookparms.
getCookTime(), 0);
961 if (!thissop)
return getTargetSize();
963 OP_Utils::evalOpParm(result, thissop,
"targetsize", cookparms.
getCookTime(), 0);
971 if (!thissop)
return getUseMaxSize();
973 OP_Utils::evalOpParm(result, thissop,
"usemaxsize", cookparms.
getCookTime(), 0);
981 if (!thissop)
return getMaxSize();
983 OP_Utils::evalOpParm(result, thissop,
"maxsize", cookparms.
getCookTime(), 0);
991 if (!thissop)
return getUseMinSize();
993 OP_Utils::evalOpParm(result, thissop,
"useminsize", cookparms.
getCookTime(), 0);
1001 if (!thissop)
return getMinSize();
1003 OP_Utils::evalOpParm(result, thissop,
"minsize", cookparms.
getCookTime(), 0);
1011 if (!thissop)
return getDensity();
1013 OP_Utils::evalOpParm(result, thissop,
"density", cookparms.
getCookTime(), 0);
1021 if (!thissop)
return getGradation();
1023 OP_Utils::evalOpParm(result, thissop,
"gradation", cookparms.
getCookTime(), 0);
1031 if (!thissop)
return getUseMeshSizeAttrib();
1033 OP_Utils::evalOpParm(result, thissop,
"usemeshsizeattrib", cookparms.
getCookTime(), 0);
1041 if (!thissop)
return getMeshSizeAttrib();
1043 OP_Utils::evalOpParm(result, thissop,
"meshsizeattrib", cookparms.
getCookTime(), 0);
1051 if (!thissop)
return getUseMinSizeAttrib();
1053 OP_Utils::evalOpParm(result, thissop,
"useminsizeattrib", cookparms.
getCookTime(), 0);
1061 if (!thissop)
return getMinSizeAttrib();
1063 OP_Utils::evalOpParm(result, thissop,
"minsizeattrib", cookparms.
getCookTime(), 0);
1071 if (!thissop)
return getUseMaxSizeAttrib();
1073 OP_Utils::evalOpParm(result, thissop,
"usemaxsizeattrib", cookparms.
getCookTime(), 0);
1081 if (!thissop)
return getMaxSizeAttrib();
1083 OP_Utils::evalOpParm(result, thissop,
"maxsizeattrib", cookparms.
getCookTime(), 0);
1091 if (!thissop)
return getUseOutHardEdgesGroup();
1093 OP_Utils::evalOpParm(result, thissop,
"useouthardedgesgroup", cookparms.
getCookTime(), 0);
1101 if (!thissop)
return getOutHardEdgesGroup();
1103 OP_Utils::evalOpParm(result, thissop,
"outhardedgesgroup", cookparms.
getCookTime(), 0);
1111 if (!thissop)
return getUseOutMeshSizeAttrib();
1113 OP_Utils::evalOpParm(result, thissop,
"useoutmeshsizeattrib", cookparms.
getCookTime(), 0);
1121 if (!thissop)
return getOutMeshSizeAttrib();
1123 OP_Utils::evalOpParm(result, thissop,
"outmeshsizeattrib", cookparms.
getCookTime(), 0);
1131 if (!thissop)
return getUseOutMeshQualityAttrib();
1133 OP_Utils::evalOpParm(result, thissop,
"useoutmeshqualityattrib", cookparms.
getCookTime(), 0);
1141 if (!thissop)
return getOutMeshQualityAttrib();
1143 OP_Utils::evalOpParm(result, thissop,
"outmeshqualityattrib", cookparms.
getCookTime(), 0);
1151 bool myHardenUVSeams;
1155 bool myInputPtsOnly;
1156 bool myDetachFromNonGroup;
1157 bool myRecomputeNormals;
1166 bool myUseMeshSizeAttrib;
1168 bool myUseMinSizeAttrib;
1170 bool myUseMaxSizeAttrib;
1172 bool myUseOutHardEdgesGroup;
1174 bool myUseOutMeshSizeAttrib;
1176 bool myUseOutMeshQualityAttrib;
void getNestParmValue(TempIndex idx, TempIndex instance, exint &value) const override
int64 getIterations() const
void setOutMeshSizeAttrib(const UT_StringHolder &val)
Sizing opSizing(const SOP_NodeVerb::CookParms &cookparms) const
bool opUseMinSize(const SOP_NodeVerb::CookParms &cookparms) const
bool load(UT_IStream &is)
bool getHardenUVSeams() const
SOP_Node * getNode() const
void doSetParmValue(TempIndex idx, TempIndex instance, const T &value)
UT_StringHolder opOutMeshQualityAttrib(const SOP_NodeVerb::CookParms &cookparms) const
static void saveData(std::ostream &os, PRM_DataItemHandle s)
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector4D &value) override
static void saveData(std::ostream &os, fpreal64 v)
const char * getNestParmName(TempIndex fieldnum) const override
bool getUseMeshSizeAttrib() const
void setUseMaxSizeAttrib(bool val)
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_StringHolder &value) override
fpreal64 opDensity(const SOP_NodeVerb::CookParms &cookparms) const
exint getNestNumParms(TempIndex idx) const override
bool getUseOutMeshQualityAttrib() const
bool getDetachFromNonGroup() const
exint bread(int32 *buffer, exint asize=1)
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_SharedPtr< UT_Ramp > &value) override
GT_API const UT_StringHolder time
constexpr SYS_FORCE_INLINE T & y() noexcept
fpreal64 getSmoothing() const
static void saveData(std::ostream &os, UT_StringHolder s)
static void loadData(UT_IStream &is, UT_Matrix4D &v)
void setHardEdges(const UT_StringHolder &val)
bool opDetachFromNonGroup(const SOP_NodeVerb::CookParms &cookparms) const
void setDensity(fpreal64 val)
bool opUseOutHardEdgesGroup(const SOP_NodeVerb::CookParms &cookparms) const
void setMinSizeAttrib(const UT_StringHolder &val)
static void loadData(UT_IStream &is, UT_Vector3D &v)
const UT_StringHolder & getMinSizeAttrib() const
static void loadData(UT_IStream &is, int64 &v)
const OP_Context & context() const
constexpr SYS_FORCE_INLINE T & z() noexcept
void copyFrom(const OP_NodeParms *src) override
SYS_FORCE_INLINE const char * buffer() const
bool operator!=(const SOP_Remesh_2_0Parms &src) const
void setOutMeshQualityAttrib(const UT_StringHolder &val)
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector2D &value) const override
static void loadData(UT_IStream &is, bool &v)
An output stream object that owns its own string buffer storage.
static void loadData(UT_IStream &is, UT_Vector3I &v)
fpreal64 getMinSize() const
const UT_StringHolder & getOutMeshSizeAttrib() const
void setMaxSizeAttrib(const UT_StringHolder &val)
UT_StringHolder opHardEdges(const SOP_NodeVerb::CookParms &cookparms) const
**But if you need a result
void setHardenUVSeams(bool val)
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix3D &value) const override
UT_StringHolder opMinSizeAttrib(const SOP_NodeVerb::CookParms &cookparms) const
static PRM_DataItemHandle parseBinary(const char *type, UT_IStream &is)
static void loadData(UT_IStream &is, UT_Matrix2D &v)
const UT_WorkBuffer & str()
Returns a read-only reference to the underlying UT_WorkBuffer.
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector3D &value) const override
bool getUseMaxSize() const
void setUseMinSize(bool val)
void setDetachFromNonGroup(bool val)
static void loadData(UT_IStream &is, UT_Vector4D &v)
int64 opIterations(const SOP_NodeVerb::CookParms &cookparms) const
constexpr SYS_FORCE_INLINE T & x() noexcept
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix4D &value) override
const UT_StringHolder & getHardPoints() const
void setNestParmValue(TempIndex idx, TempIndex instance, const fpreal &value) override
constexpr SYS_FORCE_INLINE T & x() noexcept
void getNestParmValue(TempIndex idx, TempIndex instance, PRM_DataItemHandle &value) const override
bool operator==(const BaseDimensions< T > &a, const BaseDimensions< Y > &b)
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector4D &value) const override
const UT_StringHolder & getOutMeshQualityAttrib() const
bool operator==(const SOP_Remesh_2_0Parms &src) const
static void loadData(UT_IStream &is, fpreal64 &v)
void setIterations(int64 val)
void getNestParmValue(TempIndex idx, TempIndex instance, UT_StringHolder &value) const override
static void saveData(std::ostream &os, UT_Vector2D v)
fpreal64 opSmoothing(const SOP_NodeVerb::CookParms &cookparms) const
void setNestParmValue(TempIndex idx, TempIndex instance, const PRM_DataItemHandle &value) override
bool opUseMaxSizeAttrib(const SOP_NodeVerb::CookParms &cookparms) const
static void loadData(UT_IStream &is, UT_Matrix3D &v)
void setUseOutMeshSizeAttrib(bool val)
void setGroup(const UT_StringHolder &val)
void setUseMinSizeAttrib(bool val)
bool getUseOutHardEdgesGroup() const
static void saveData(std::ostream &os, UT_Vector4D v)
SYS_FORCE_INLINE const char * buffer() const
std::shared_ptr< T > UT_SharedPtr
Wrapper around std::shared_ptr.
const UT_StringHolder & getGroup() const
bool getUseOutMeshSizeAttrib() const
constexpr SYS_FORCE_INLINE T & z() noexcept
void setUVAttrib(const UT_StringHolder &val)
static void saveData(std::ostream &os, UT_Vector3D v)
UT_StringHolder opOutHardEdgesGroup(const SOP_NodeVerb::CookParms &cookparms) const
const UT_StringHolder & getMaxSizeAttrib() const
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix4D &value) const override
const OP_GraphProxy * graph() const
fpreal64 opTargetSize(const SOP_NodeVerb::CookParms &cookparms) const
void setSmoothing(fpreal64 val)
fpreal64 getTargetSize() const
bool opUseOutMeshSizeAttrib(const SOP_NodeVerb::CookParms &cookparms) const
void setNestParmValue(TempIndex idx, TempIndex instance, const exint &value) override
fpreal64 opGradation(const SOP_NodeVerb::CookParms &cookparms) const
bool opInputPtsOnly(const SOP_NodeVerb::CookParms &cookparms) const
bool getInputPtsOnly() const
void setMeshSizeAttrib(const UT_StringHolder &val)
bool opUseMinSizeAttrib(const SOP_NodeVerb::CookParms &cookparms) const
void setUseOutMeshQualityAttrib(bool val)
bool opUseOutMeshQualityAttrib(const SOP_NodeVerb::CookParms &cookparms) const
void save(std::ostream &os) const
void setUseMaxSize(bool val)
static void saveData(std::ostream &os, bool v)
bool getUseMaxSizeAttrib() const
virtual void evalOpParm(int64 &v, NodeIdx node, const char *parmname, fpreal time, DEP_MicroNode *depnode) const =0
static void loadData(UT_IStream &is, UT_StringHolder &v)
const UT_StringHolder & getUVAttrib() const
void setUseMeshSizeAttrib(bool val)
void saveBinary(std::ostream &os) const
Save string to binary stream.
static void saveData(std::ostream &os, int64 v)
static void loadData(UT_IStream &is, UT_SharedPtr< UT_Ramp > &v)
const UT_StringHolder & getHardEdges() const
GT_API const UT_StringHolder version
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix2D &value) override
void getNestParmValue(TempIndex idx, TempIndex instance, fpreal &value) const override
bool getRecomputeNormals() const
void loadFromOpSubclass(const LoadParms &loadparms) override
fpreal64 getGradation() const
void doGetParmValue(TempIndex idx, TempIndex instance, T &value) const
bool opUseMeshSizeAttrib(const SOP_NodeVerb::CookParms &cookparms) const
bool getUseMinSize() const
void setInputPtsOnly(bool val)
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix2D &value) const override
void setGradation(fpreal64 val)
void buildFromOp(const OP_GraphProxy *graph, exint nodeidx, fpreal time, DEP_MicroNode *depnode)
SYS_FORCE_INLINE UT_StringHolder getToken(Sizing enum_value)
DEP_MicroNode * depnode() const
bool getUseMinSizeAttrib() const
LeafData & operator=(const LeafData &)=delete
Utility class for containing a color ramp.
static void loadData(UT_IStream &is, UT_Vector2D &v)
ParmType getNestParmType(TempIndex fieldnum) const override
const UT_StringHolder & getOutHardEdgesGroup() const
const UT_StringHolder & getMeshSizeAttrib() const
constexpr SYS_FORCE_INLINE T & w() noexcept
static void loadData(UT_IStream &is, UT_Vector2I &v)
void getNestParmValue(TempIndex idx, TempIndex instance, UT_SharedPtr< UT_Ramp > &value) const override
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix3D &value) override
bool opRecomputeNormals(const SOP_NodeVerb::CookParms &cookparms) const
void setUseOutHardEdgesGroup(bool val)
static void loadData(UT_IStream &is, UT_Vector4I &v)
void setMaxSize(fpreal64 val)
void setTargetSize(fpreal64 val)
fpreal getCookTime() const
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector3D &value) override
fpreal64 opMaxSize(const SOP_NodeVerb::CookParms &cookparms) const
static void saveData(std::ostream &os, UT_Matrix4D v)
const char * findChar(int c) const
void setOutHardEdgesGroup(const UT_StringHolder &val)
UT_StringHolder opUVAttrib(const SOP_NodeVerb::CookParms &cookparms) const
void setHardPoints(const UT_StringHolder &val)
bool opHardenUVSeams(const SOP_NodeVerb::CookParms &cookparms) const
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector2D &value) override
constexpr SYS_FORCE_INLINE T & y() noexcept
UT_StringHolder opMaxSizeAttrib(const SOP_NodeVerb::CookParms &cookparms) const
UT_StringHolder opGroup(const SOP_NodeVerb::CookParms &cookparms) const
UT_StringHolder opOutMeshSizeAttrib(const SOP_NodeVerb::CookParms &cookparms) const
fpreal64 opMinSize(const SOP_NodeVerb::CookParms &cookparms) const
static void loadData(UT_IStream &is, PRM_DataItemHandle &v)
UT_StringHolder opHardPoints(const SOP_NodeVerb::CookParms &cookparms) const
UT_SharedPtr< const PRM_DataItem > PRM_DataItemHandle
bool opUseMaxSize(const SOP_NodeVerb::CookParms &cookparms) const
void setSizing(Sizing val)
constexpr SYS_FORCE_INLINE T & y() noexcept
SYS_FORCE_INLINE bool isstring() const
void setMinSize(fpreal64 val)
void setRecomputeNormals(bool val)
SYS_FORCE_INLINE void strncpy(const char *src, exint maxlen)
bool isParmColorRamp(exint idx) const override
static void saveData(std::ostream &os, UT_Matrix2D v)
UT_StringHolder opMeshSizeAttrib(const SOP_NodeVerb::CookParms &cookparms) const
fpreal64 getDensity() const
constexpr SYS_FORCE_INLINE T & x() noexcept
fpreal64 getMaxSize() const
static void saveData(std::ostream &os, UT_SharedPtr< UT_Ramp > s)
static void saveData(std::ostream &os, UT_Matrix3D v)