23 namespace SOP_GuideDeformCoreEnums
37 using namespace UT::Literal;
58 using namespace UT::Literal;
78 myDeformEnable =
true;
80 myTreatskinassubd =
false;
81 myUseOrientAttrib =
false;
86 myPreserveShapeEnable =
false;
87 myPreserveShapeIterations = 100;
88 myStretchStiffness = 1.0;
89 myBendStiffness = 0.001;
90 myRefPosStrength = 0.0;
91 myClumpStiffness = 0.0;
93 myClumpEnable =
false;
94 myClumpMaxNeighbors = 50;
95 myClumpMaxConstraints = 3;
96 myGwDeleteCaptAttrs =
false;
98 myGsiMaxCandidates = 32;
99 myGsiSearchRadius = 0.2;
103 myGsiBlurWidth = 0.1;
104 myGsiWeightThreshold = 0.1;
105 myGsiLengthPenaltyScale = 0.0;
106 myGsiDeleteCaptAttrs =
false;
119 if (myGroup != src.myGroup)
return false;
120 if (myDeformEnable != src.myDeformEnable)
return false;
121 if (myDeformMethod != src.myDeformMethod)
return false;
122 if (myTreatskinassubd != src.myTreatskinassubd)
return false;
123 if (myUseOrientAttrib != src.myUseOrientAttrib)
return false;
124 if (myOrientBlend != src.myOrientBlend)
return false;
125 if (myRecompile != src.myRecompile)
return false;
126 if (myLeaveOnGPU != src.myLeaveOnGPU)
return false;
127 if (myLockRoots != src.myLockRoots)
return false;
128 if (myPreserveShapeEnable != src.myPreserveShapeEnable)
return false;
129 if (myPreserveShapeIterations != src.myPreserveShapeIterations)
return false;
130 if (myStretchStiffness != src.myStretchStiffness)
return false;
131 if (myBendStiffness != src.myBendStiffness)
return false;
132 if (myRefPosStrength != src.myRefPosStrength)
return false;
133 if (myClumpStiffness != src.myClumpStiffness)
return false;
134 if (myClumpDamping != src.myClumpDamping)
return false;
135 if (myClumpEnable != src.myClumpEnable)
return false;
136 if (myClumpMaxNeighbors != src.myClumpMaxNeighbors)
return false;
137 if (myClumpMaxConstraints != src.myClumpMaxConstraints)
return false;
138 if (myGwDeleteCaptAttrs != src.myGwDeleteCaptAttrs)
return false;
139 if (myGsiMode != src.myGsiMode)
return false;
140 if (myGsiMaxCandidates != src.myGsiMaxCandidates)
return false;
141 if (myGsiSearchRadius != src.myGsiSearchRadius)
return false;
142 if (myGsiNSamples != src.myGsiNSamples)
return false;
143 if (myGsiMinGuides != src.myGsiMinGuides)
return false;
144 if (myGsiMaxGuides != src.myGsiMaxGuides)
return false;
145 if (myGsiBlurWidth != src.myGsiBlurWidth)
return false;
146 if (myGsiWeightThreshold != src.myGsiWeightThreshold)
return false;
147 if (myGsiLengthPenaltyScale != src.myGsiLengthPenaltyScale)
return false;
148 if (myGsiDeleteCaptAttrs != src.myGsiDeleteCaptAttrs)
return false;
168 graph->
evalOpParm(myGroup, nodeidx,
"group", time, graph->
isDirect()?
nullptr:depnode);
169 myDeformEnable =
true;
171 graph->
evalOpParm(myDeformEnable, nodeidx,
"deformenable", time, graph->
isDirect()?
nullptr:depnode);
174 graph->
evalOpParm(myDeformMethod, nodeidx,
"deformmethod", time, graph->
isDirect()?
nullptr:depnode);
175 myTreatskinassubd =
false;
176 if (
true && ( (
true&&!(((
int64(getDeformMethod())==3)))) ) )
177 graph->
evalOpParm(myTreatskinassubd, nodeidx,
"treatskinassubd", time, graph->
isDirect()?
nullptr:depnode);
178 myUseOrientAttrib =
false;
180 graph->
evalOpParm(myUseOrientAttrib, nodeidx,
"useorientattrib", time, graph->
isDirect()?
nullptr:depnode);
182 if (
true && ( (
true&&!(((
int64(getDeformMethod())==3))||((
int64(getDeformMethod())==2))||((getUseOrientAttrib()==0)))) ) )
183 graph->
evalOpParm(myOrientBlend, nodeidx,
"orientblend", time, graph->
isDirect()?
nullptr:depnode);
186 graph->
evalOpParm(myRecompile, nodeidx,
"recompile", time, graph->
isDirect()?
nullptr:depnode);
187 myLeaveOnGPU =
false;
189 graph->
evalOpParm(myLeaveOnGPU, nodeidx,
"leaveongpu", time, graph->
isDirect()?
nullptr:depnode);
192 graph->
evalOpParm(myLockRoots, nodeidx,
"lockroots", time, graph->
isDirect()?
nullptr:depnode);
193 myPreserveShapeEnable =
false;
195 graph->
evalOpParm(myPreserveShapeEnable, nodeidx,
"preserveshape_enable", time, graph->
isDirect()?
nullptr:depnode);
196 myPreserveShapeIterations = 100;
197 if (
true && ( (
true&&!(((getPreserveShapeEnable()==0)))) ) )
198 graph->
evalOpParm(myPreserveShapeIterations, nodeidx,
"preserveshape_iterations", time, graph->
isDirect()?
nullptr:depnode);
199 myStretchStiffness = 1.0;
200 if (
true && ( (
true&&!(((getPreserveShapeEnable()==0)))) ) )
201 graph->
evalOpParm(myStretchStiffness, nodeidx,
"preserveshape_kstretch", time, graph->
isDirect()?
nullptr:depnode);
202 myBendStiffness = 0.001;
203 if (
true && ( (
true&&!(((getPreserveShapeEnable()==0)))) ) )
204 graph->
evalOpParm(myBendStiffness, nodeidx,
"preserveshape_kbend", time, graph->
isDirect()?
nullptr:depnode);
205 myRefPosStrength = 0.0;
206 if (
true && ( (
true&&!(((getPreserveShapeEnable()==0)))) ) )
207 graph->
evalOpParm(myRefPosStrength, nodeidx,
"preserveshape_refposstrength", time, graph->
isDirect()?
nullptr:depnode);
208 myClumpStiffness = 0.0;
209 if (
true && ( (
true&&!(((getPreserveShapeEnable()==0)))) ) )
210 graph->
evalOpParm(myClumpStiffness, nodeidx,
"preserveclumps_stiffness", time, graph->
isDirect()?
nullptr:depnode);
211 myClumpDamping = 1.0;
212 if (
true && ( (
true&&!(((getPreserveShapeEnable()==0)))) ) )
213 graph->
evalOpParm(myClumpDamping, nodeidx,
"preserveclumps_damping", time, graph->
isDirect()?
nullptr:depnode);
214 myClumpEnable =
false;
215 if (
true && ( (
true&&!(((getPreserveShapeEnable()==0)))) ) )
216 graph->
evalOpParm(myClumpEnable, nodeidx,
"preserveclumps_enable", time, graph->
isDirect()?
nullptr:depnode);
217 myClumpMaxNeighbors = 50;
218 if (
true && ( (
true&&!(((getPreserveShapeEnable()==0))||((getClumpEnable()==0)))) ) )
219 graph->
evalOpParm(myClumpMaxNeighbors, nodeidx,
"preserveclumps_maxneighbors", time, graph->
isDirect()?
nullptr:depnode);
220 myClumpMaxConstraints = 3;
221 if (
true && ( (
true&&!(((getPreserveShapeEnable()==0))||((getClumpEnable()==0)))) ) )
222 graph->
evalOpParm(myClumpMaxConstraints, nodeidx,
"preserveclumps_maxconstraints", time, graph->
isDirect()?
nullptr:depnode);
223 myGwDeleteCaptAttrs =
false;
224 if (
true && ( (
true&&!(((
int64(getDeformMethod())!=0)))) ) )
225 graph->
evalOpParm(myGwDeleteCaptAttrs, nodeidx,
"gw_delcaptatr", time, graph->
isDirect()?
nullptr:depnode);
227 if (
true && ( (
true&&!(((
int64(getDeformMethod())!=4)))) ) )
228 graph->
evalOpParm(myGsiMode, nodeidx,
"gsi_mode", time, graph->
isDirect()?
nullptr:depnode);
229 myGsiMaxCandidates = 32;
230 if (
true && ( (
true&&!(((
int64(getDeformMethod())!=4)))) ) )
231 graph->
evalOpParm(myGsiMaxCandidates, nodeidx,
"gsi_maxcandidates", time, graph->
isDirect()?
nullptr:depnode);
232 myGsiSearchRadius = 0.2;
233 if (
true && ( (
true&&!(((
int64(getDeformMethod())!=4)))) ) )
234 graph->
evalOpParm(myGsiSearchRadius, nodeidx,
"gsi_searchradius", time, graph->
isDirect()?
nullptr:depnode);
236 if (
true && ( (
true&&!(((
int64(getDeformMethod())!=4)))) ) )
237 graph->
evalOpParm(myGsiNSamples, nodeidx,
"gsi_nsamples", time, graph->
isDirect()?
nullptr:depnode);
239 if (
true && ( (
true&&!(((
int64(getDeformMethod())!=4)))) ) )
240 graph->
evalOpParm(myGsiMinGuides, nodeidx,
"gsi_minguides", time, graph->
isDirect()?
nullptr:depnode);
242 if (
true && ( (
true&&!(((
int64(getDeformMethod())!=4)))) ) )
243 graph->
evalOpParm(myGsiMaxGuides, nodeidx,
"gsi_maxguides", time, graph->
isDirect()?
nullptr:depnode);
244 myGsiBlurWidth = 0.1;
245 if (
true && ( (
true&&!(((
int64(getDeformMethod())!=4)))) ) )
246 graph->
evalOpParm(myGsiBlurWidth, nodeidx,
"gsi_blurwidth", time, graph->
isDirect()?
nullptr:depnode);
247 myGsiWeightThreshold = 0.1;
248 if (
true && ( (
true&&!(((
int64(getDeformMethod())!=4)))) ) )
249 graph->
evalOpParm(myGsiWeightThreshold, nodeidx,
"gsi_weightthreshold", time, graph->
isDirect()?
nullptr:depnode);
250 myGsiLengthPenaltyScale = 0.0;
251 if (
true && ( (
true&&!(((
int64(getDeformMethod())!=4)))) ) )
252 graph->
evalOpParm(myGsiLengthPenaltyScale, nodeidx,
"gsi_lengthpenaltyscale", time, graph->
isDirect()?
nullptr:depnode);
253 myGsiDeleteCaptAttrs =
false;
254 if (
true && ( (
true&&!(((
int64(getDeformMethod())!=4))||((
int64(getGsiMode())==1)))) ) )
255 graph->
evalOpParm(myGsiDeleteCaptAttrs, nodeidx,
"gsi_delcaptatr", time, graph->
isDirect()?
nullptr:depnode);
271 template <
typename T>
278 if (idx.
size() != instance.
size()+1)
283 coerceValue(value, myGroup);
286 coerceValue(value, myDeformEnable);
289 coerceValue(value, myDeformMethod);
292 coerceValue(value, myTreatskinassubd);
295 coerceValue(value, myUseOrientAttrib);
298 coerceValue(value, myOrientBlend);
301 coerceValue(value, myRecompile);
304 coerceValue(value, myLeaveOnGPU);
307 coerceValue(value, myLockRoots);
310 coerceValue(value, myPreserveShapeEnable);
313 coerceValue(value, myPreserveShapeIterations);
316 coerceValue(value, myStretchStiffness);
319 coerceValue(value, myBendStiffness);
322 coerceValue(value, myRefPosStrength);
325 coerceValue(value, myClumpStiffness);
328 coerceValue(value, myClumpDamping);
331 coerceValue(value, myClumpEnable);
334 coerceValue(value, myClumpMaxNeighbors);
337 coerceValue(value, myClumpMaxConstraints);
340 coerceValue(value, myGwDeleteCaptAttrs);
343 coerceValue(value, myGsiMode);
346 coerceValue(value, myGsiMaxCandidates);
349 coerceValue(value, myGsiSearchRadius);
352 coerceValue(value, myGsiNSamples);
355 coerceValue(value, myGsiMinGuides);
358 coerceValue(value, myGsiMaxGuides);
361 coerceValue(value, myGsiBlurWidth);
364 coerceValue(value, myGsiWeightThreshold);
367 coerceValue(value, myGsiLengthPenaltyScale);
370 coerceValue(value, myGsiDeleteCaptAttrs);
386 { doGetParmValue(idx, instance, value); }
388 { doGetParmValue(idx, instance, value); }
390 { doGetParmValue(idx, instance, value); }
392 { doGetParmValue(idx, instance, value); }
394 { doGetParmValue(idx, instance, value); }
396 { doGetParmValue(idx, instance, value); }
398 { doGetParmValue(idx, instance, value); }
400 { doGetParmValue(idx, instance, value); }
402 { doGetParmValue(idx, instance, value); }
404 { doGetParmValue(idx, instance, value); }
406 { doGetParmValue(idx, instance, value); }
408 template <
typename T>
415 if (idx.
size() != instance.
size()+1)
420 coerceValue(myGroup, ( ( value ) ));
423 coerceValue(myDeformEnable, ( ( value ) ));
426 coerceValue(myDeformMethod, clampMinValue(0, clampMaxValue(4, value ) ));
429 coerceValue(myTreatskinassubd, ( ( value ) ));
432 coerceValue(myUseOrientAttrib, ( ( value ) ));
435 coerceValue(myOrientBlend, clampMinValue(0, clampMaxValue(1, value ) ));
438 coerceValue(myRecompile, ( ( value ) ));
441 coerceValue(myLeaveOnGPU, ( ( value ) ));
444 coerceValue(myLockRoots, ( ( value ) ));
447 coerceValue(myPreserveShapeEnable, ( ( value ) ));
450 coerceValue(myPreserveShapeIterations, clampMinValue(0, ( value ) ));
453 coerceValue(myStretchStiffness, ( ( value ) ));
456 coerceValue(myBendStiffness, ( ( value ) ));
459 coerceValue(myRefPosStrength, ( ( value ) ));
462 coerceValue(myClumpStiffness, ( ( value ) ));
465 coerceValue(myClumpDamping, ( ( value ) ));
468 coerceValue(myClumpEnable, ( ( value ) ));
471 coerceValue(myClumpMaxNeighbors, clampMinValue(1, ( value ) ));
474 coerceValue(myClumpMaxConstraints, clampMinValue(1, ( value ) ));
477 coerceValue(myGwDeleteCaptAttrs, ( ( value ) ));
480 coerceValue(myGsiMode, clampMinValue(0, clampMaxValue(2, value ) ));
483 coerceValue(myGsiMaxCandidates, clampMinValue(1, ( value ) ));
486 coerceValue(myGsiSearchRadius, clampMinValue(0, ( value ) ));
489 coerceValue(myGsiNSamples, clampMinValue(1, ( value ) ));
492 coerceValue(myGsiMinGuides, clampMinValue(1, ( value ) ));
495 coerceValue(myGsiMaxGuides, clampMinValue(1, ( value ) ));
498 coerceValue(myGsiBlurWidth, ( ( value ) ));
501 coerceValue(myGsiWeightThreshold, clampMinValue(0, clampMaxValue(1, value ) ));
504 coerceValue(myGsiLengthPenaltyScale, clampMinValue(0, ( value ) ));
507 coerceValue(myGsiDeleteCaptAttrs, ( ( value ) ));
514 { doSetParmValue(idx, instance, value); }
516 { doSetParmValue(idx, instance, value); }
518 { doSetParmValue(idx, instance, value); }
520 { doSetParmValue(idx, instance, value); }
522 { doSetParmValue(idx, instance, value); }
524 { doSetParmValue(idx, instance, value); }
526 { doSetParmValue(idx, instance, value); }
528 { doSetParmValue(idx, instance, value); }
530 { doSetParmValue(idx, instance, value); }
532 { doSetParmValue(idx, instance, value); }
534 { doSetParmValue(idx, instance, value); }
550 if (fieldnum.
size() < 1)
557 return "deformenable";
559 return "deformmethod";
561 return "treatskinassubd";
563 return "useorientattrib";
565 return "orientblend";
573 return "preserveshape_enable";
575 return "preserveshape_iterations";
577 return "preserveshape_kstretch";
579 return "preserveshape_kbend";
581 return "preserveshape_refposstrength";
583 return "preserveclumps_stiffness";
585 return "preserveclumps_damping";
587 return "preserveclumps_enable";
589 return "preserveclumps_maxneighbors";
591 return "preserveclumps_maxconstraints";
593 return "gw_delcaptatr";
597 return "gsi_maxcandidates";
599 return "gsi_searchradius";
601 return "gsi_nsamples";
603 return "gsi_minguides";
605 return "gsi_maxguides";
607 return "gsi_blurwidth";
609 return "gsi_weightthreshold";
611 return "gsi_lengthpenaltyscale";
613 return "gsi_delcaptatr";
621 if (fieldnum.
size() < 1)
622 return PARM_UNSUPPORTED;
687 return PARM_UNSUPPORTED;
723 loadData(is, rampdata);
741 int typelen = colon - data.
buffer();
755 {
int64 iv =
v; UTwrite(os, &iv); }
757 { UTwrite<fpreal64>(os, &
v); }
759 { UTwrite<fpreal64>(os, &v.
x()); UTwrite<fpreal64>(os, &v.
y()); }
761 { UTwrite<fpreal64>(os, &v.
x()); UTwrite<fpreal64>(os, &v.
y());
762 UTwrite<fpreal64>(os, &v.
z()); }
764 { UTwrite<fpreal64>(os, &v.
x()); UTwrite<fpreal64>(os, &v.
y());
765 UTwrite<fpreal64>(os, &v.
z()); UTwrite<fpreal64>(os, &v.
w()); }
777 if (s) s->save(ostr);
779 saveData(os, result);
786 ostr << s->getDataTypeToken();
791 saveData(os, result);
795 void save(std::ostream &os)
const
799 saveData(os, myGroup);
800 saveData(os, myDeformEnable);
801 saveData(os, myDeformMethod);
802 saveData(os, myTreatskinassubd);
803 saveData(os, myUseOrientAttrib);
804 saveData(os, myOrientBlend);
805 saveData(os, myRecompile);
806 saveData(os, myLeaveOnGPU);
807 saveData(os, myLockRoots);
808 saveData(os, myPreserveShapeEnable);
809 saveData(os, myPreserveShapeIterations);
810 saveData(os, myStretchStiffness);
811 saveData(os, myBendStiffness);
812 saveData(os, myRefPosStrength);
813 saveData(os, myClumpStiffness);
814 saveData(os, myClumpDamping);
815 saveData(os, myClumpEnable);
816 saveData(os, myClumpMaxNeighbors);
817 saveData(os, myClumpMaxConstraints);
818 saveData(os, myGwDeleteCaptAttrs);
819 saveData(os, myGsiMode);
820 saveData(os, myGsiMaxCandidates);
821 saveData(os, myGsiSearchRadius);
822 saveData(os, myGsiNSamples);
823 saveData(os, myGsiMinGuides);
824 saveData(os, myGsiMaxGuides);
825 saveData(os, myGsiBlurWidth);
826 saveData(os, myGsiWeightThreshold);
827 saveData(os, myGsiLengthPenaltyScale);
828 saveData(os, myGsiDeleteCaptAttrs);
841 loadData(is, myGroup);
842 loadData(is, myDeformEnable);
843 loadData(is, myDeformMethod);
844 loadData(is, myTreatskinassubd);
845 loadData(is, myUseOrientAttrib);
846 loadData(is, myOrientBlend);
847 loadData(is, myRecompile);
848 loadData(is, myLeaveOnGPU);
849 loadData(is, myLockRoots);
850 loadData(is, myPreserveShapeEnable);
851 loadData(is, myPreserveShapeIterations);
852 loadData(is, myStretchStiffness);
853 loadData(is, myBendStiffness);
854 loadData(is, myRefPosStrength);
855 loadData(is, myClumpStiffness);
856 loadData(is, myClumpDamping);
857 loadData(is, myClumpEnable);
858 loadData(is, myClumpMaxNeighbors);
859 loadData(is, myClumpMaxConstraints);
860 loadData(is, myGwDeleteCaptAttrs);
861 loadData(is, myGsiMode);
862 loadData(is, myGsiMaxCandidates);
863 loadData(is, myGsiSearchRadius);
864 loadData(is, myGsiNSamples);
865 loadData(is, myGsiMinGuides);
866 loadData(is, myGsiMaxGuides);
867 loadData(is, myGsiBlurWidth);
868 loadData(is, myGsiWeightThreshold);
869 loadData(is, myGsiLengthPenaltyScale);
870 loadData(is, myGsiDeleteCaptAttrs);
880 if (!thissop)
return getGroup();
882 OP_Utils::evalOpParm(result, thissop,
"group", cookparms.
getCookTime(), 0);
890 if (!thissop)
return getDeformEnable();
892 OP_Utils::evalOpParm(result, thissop,
"deformenable", cookparms.
getCookTime(), 0);
900 if (!thissop)
return getDeformMethod();
902 OP_Utils::evalOpParm(result, thissop,
"deformmethod", cookparms.
getCookTime(), 0);
910 if (!thissop)
return getTreatskinassubd();
912 OP_Utils::evalOpParm(result, thissop,
"treatskinassubd", cookparms.
getCookTime(), 0);
920 if (!thissop)
return getUseOrientAttrib();
922 OP_Utils::evalOpParm(result, thissop,
"useorientattrib", cookparms.
getCookTime(), 0);
930 if (!thissop)
return getOrientBlend();
932 OP_Utils::evalOpParm(result, thissop,
"orientblend", cookparms.
getCookTime(), 0);
940 if (!thissop)
return getRecompile();
942 OP_Utils::evalOpParm(result, thissop,
"recompile", cookparms.
getCookTime(), 0);
950 if (!thissop)
return getLeaveOnGPU();
952 OP_Utils::evalOpParm(result, thissop,
"leaveongpu", cookparms.
getCookTime(), 0);
960 if (!thissop)
return getLockRoots();
962 OP_Utils::evalOpParm(result, thissop,
"lockroots", cookparms.
getCookTime(), 0);
970 if (!thissop)
return getPreserveShapeEnable();
972 OP_Utils::evalOpParm(result, thissop,
"preserveshape_enable", cookparms.
getCookTime(), 0);
980 if (!thissop)
return getPreserveShapeIterations();
982 OP_Utils::evalOpParm(result, thissop,
"preserveshape_iterations", cookparms.
getCookTime(), 0);
990 if (!thissop)
return getStretchStiffness();
992 OP_Utils::evalOpParm(result, thissop,
"preserveshape_kstretch", cookparms.
getCookTime(), 0);
1000 if (!thissop)
return getBendStiffness();
1002 OP_Utils::evalOpParm(result, thissop,
"preserveshape_kbend", cookparms.
getCookTime(), 0);
1010 if (!thissop)
return getRefPosStrength();
1012 OP_Utils::evalOpParm(result, thissop,
"preserveshape_refposstrength", cookparms.
getCookTime(), 0);
1020 if (!thissop)
return getClumpStiffness();
1022 OP_Utils::evalOpParm(result, thissop,
"preserveclumps_stiffness", cookparms.
getCookTime(), 0);
1030 if (!thissop)
return getClumpDamping();
1032 OP_Utils::evalOpParm(result, thissop,
"preserveclumps_damping", cookparms.
getCookTime(), 0);
1040 if (!thissop)
return getClumpEnable();
1042 OP_Utils::evalOpParm(result, thissop,
"preserveclumps_enable", cookparms.
getCookTime(), 0);
1050 if (!thissop)
return getClumpMaxNeighbors();
1052 OP_Utils::evalOpParm(result, thissop,
"preserveclumps_maxneighbors", cookparms.
getCookTime(), 0);
1060 if (!thissop)
return getClumpMaxConstraints();
1062 OP_Utils::evalOpParm(result, thissop,
"preserveclumps_maxconstraints", cookparms.
getCookTime(), 0);
1070 if (!thissop)
return getGwDeleteCaptAttrs();
1072 OP_Utils::evalOpParm(result, thissop,
"gw_delcaptatr", cookparms.
getCookTime(), 0);
1080 if (!thissop)
return getGsiMode();
1082 OP_Utils::evalOpParm(result, thissop,
"gsi_mode", cookparms.
getCookTime(), 0);
1090 if (!thissop)
return getGsiMaxCandidates();
1092 OP_Utils::evalOpParm(result, thissop,
"gsi_maxcandidates", cookparms.
getCookTime(), 0);
1100 if (!thissop)
return getGsiSearchRadius();
1102 OP_Utils::evalOpParm(result, thissop,
"gsi_searchradius", cookparms.
getCookTime(), 0);
1110 if (!thissop)
return getGsiNSamples();
1112 OP_Utils::evalOpParm(result, thissop,
"gsi_nsamples", cookparms.
getCookTime(), 0);
1120 if (!thissop)
return getGsiMinGuides();
1122 OP_Utils::evalOpParm(result, thissop,
"gsi_minguides", cookparms.
getCookTime(), 0);
1130 if (!thissop)
return getGsiMaxGuides();
1132 OP_Utils::evalOpParm(result, thissop,
"gsi_maxguides", cookparms.
getCookTime(), 0);
1140 if (!thissop)
return getGsiBlurWidth();
1142 OP_Utils::evalOpParm(result, thissop,
"gsi_blurwidth", cookparms.
getCookTime(), 0);
1150 if (!thissop)
return getGsiWeightThreshold();
1152 OP_Utils::evalOpParm(result, thissop,
"gsi_weightthreshold", cookparms.
getCookTime(), 0);
1160 if (!thissop)
return getGsiLengthPenaltyScale();
1162 OP_Utils::evalOpParm(result, thissop,
"gsi_lengthpenaltyscale", cookparms.
getCookTime(), 0);
1170 if (!thissop)
return getGsiDeleteCaptAttrs();
1172 OP_Utils::evalOpParm(result, thissop,
"gsi_delcaptatr", cookparms.
getCookTime(), 0);
1178 bool myDeformEnable;
1179 int64 myDeformMethod;
1180 bool myTreatskinassubd;
1181 bool myUseOrientAttrib;
1186 bool myPreserveShapeEnable;
1187 int64 myPreserveShapeIterations;
1194 int64 myClumpMaxNeighbors;
1195 int64 myClumpMaxConstraints;
1196 bool myGwDeleteCaptAttrs;
1198 int64 myGsiMaxCandidates;
1200 int64 myGsiNSamples;
1201 int64 myGsiMinGuides;
1202 int64 myGsiMaxGuides;
1206 bool myGsiDeleteCaptAttrs;
SOP_Node * getNode() const
GT_API const UT_StringHolder time
constexpr SYS_FORCE_INLINE T & y() noexcept
GLsizei const GLfloat * value
const OP_Context & context() const
constexpr SYS_FORCE_INLINE T & z() noexcept
SYS_FORCE_INLINE const char * buffer() const
An output stream object that owns its own string buffer storage.
**But if you need a result
static PRM_DataItemHandle parseBinary(const char *type, UT_IStream &is)
const UT_WorkBuffer & str()
Returns a read-only reference to the underlying UT_WorkBuffer.
constexpr SYS_FORCE_INLINE T & x() noexcept
UT_SharedPtr< const PRM_DataItem > PRM_DataItemHandle
constexpr SYS_FORCE_INLINE T & x() noexcept
bool operator==(const BaseDimensions< T > &a, const BaseDimensions< Y > &b)
SYS_FORCE_INLINE const char * buffer() const
std::shared_ptr< T > UT_SharedPtr
Wrapper around std::shared_ptr.
constexpr SYS_FORCE_INLINE T & z() noexcept
const OP_GraphProxy * graph() const
virtual void evalOpParm(int64 &v, NodeIdx node, const char *parmname, fpreal time, DEP_MicroNode *depnode) const =0
void saveBinary(std::ostream &os) const
Save string to binary stream.
GT_API const UT_StringHolder version
DEP_MicroNode * depnode() const
LeafData & operator=(const LeafData &)=delete
Utility class for containing a color ramp.
constexpr SYS_FORCE_INLINE T & w() noexcept
virtual UT_StringHolder baseGetSignature() const
fpreal getCookTime() const
const char * findChar(int c) const
exint bread(uint8 *buffer, exint asize=1)
constexpr SYS_FORCE_INLINE T & y() noexcept
virtual bool isDirect() const =0
Direct proxies mirror actual nodes:
constexpr SYS_FORCE_INLINE T & y() noexcept
SYS_FORCE_INLINE bool isstring() const
SYS_FORCE_INLINE void strncpy(const char *src, exint maxlen)
constexpr SYS_FORCE_INLINE T & x() noexcept