23 namespace SOP_AttribMirrorEnums
35 using namespace UT::Literal;
53 using namespace UT::Literal;
71 using namespace UT::Literal;
90 using namespace UT::Literal;
110 using namespace UT::Literal;
111 switch (enum_value) {
134 myAttribName =
""_UTsh;
135 myMirroringmethod = 0;
136 myUseTolerance =
false;
141 myMirroringedge =
""_UTsh;
142 mySourcehint =
""_UTsh;
143 myUseconnectivityattrib =
false;
144 myConnectivityattrib =
""_UTsh;
145 myElementmapname =
"mirrorelem"_UTsh;
146 myDestgroupname =
"mirrordest"_UTsh;
147 myOutputelemmap =
false;
148 myMirrorelemattrib =
"mirrorelem"_UTsh;
149 myOutputsrcgroup =
false;
150 myMirrorsrcgroup =
"mirrorsrc"_UTsh;
151 myOutputdestgroup =
false;
152 myMirrordestgroup =
"mirrordest"_UTsh;
153 myAttribMirrorOp = 0;
156 myStringReplace =
false;
157 mySearch =
"L_*"_UTsh;
158 myReplace =
"R_*"_UTsh;
171 if (myGroup != src.myGroup)
return false;
172 if (myGroupType != src.myGroupType)
return false;
173 if (myMirrorOp != src.myMirrorOp)
return false;
174 if (myAttrib != src.myAttrib)
return false;
175 if (myAttribName != src.myAttribName)
return false;
176 if (myMirroringmethod != src.myMirroringmethod)
return false;
177 if (myUseTolerance != src.myUseTolerance)
return false;
178 if (myTolerance != src.myTolerance)
return false;
179 if (myOrigin != src.myOrigin)
return false;
180 if (myDist != src.myDist)
return false;
181 if (myDir != src.myDir)
return false;
182 if (myMirroringedge != src.myMirroringedge)
return false;
183 if (mySourcehint != src.mySourcehint)
return false;
184 if (myUseconnectivityattrib != src.myUseconnectivityattrib)
return false;
185 if (myConnectivityattrib != src.myConnectivityattrib)
return false;
186 if (myElementmapname != src.myElementmapname)
return false;
187 if (myDestgroupname != src.myDestgroupname)
return false;
188 if (myOutputelemmap != src.myOutputelemmap)
return false;
189 if (myMirrorelemattrib != src.myMirrorelemattrib)
return false;
190 if (myOutputsrcgroup != src.myOutputsrcgroup)
return false;
191 if (myMirrorsrcgroup != src.myMirrorsrcgroup)
return false;
192 if (myOutputdestgroup != src.myOutputdestgroup)
return false;
193 if (myMirrordestgroup != src.myMirrordestgroup)
return false;
194 if (myAttribMirrorOp != src.myAttribMirrorOp)
return false;
195 if (myUVOrigin != src.myUVOrigin)
return false;
196 if (myUVAngle != src.myUVAngle)
return false;
197 if (myStringReplace != src.myStringReplace)
return false;
198 if (mySearch != src.mySearch)
return false;
199 if (myReplace != src.myReplace)
return false;
219 graph->
evalOpParm(myGroup, nodeidx,
"group", time, 0);
222 graph->
evalOpParm(myGroupType, nodeidx,
"grouptype", time, 0);
225 graph->
evalOpParm(myMirrorOp, nodeidx,
"usegroupas", time, 0);
228 graph->
evalOpParm(myAttrib, nodeidx,
"attrib", time, 0);
229 myAttribName =
""_UTsh;
230 if (
true && ( (
true&&!(((
int64(getAttrib())!=2)))) ) )
231 graph->
evalOpParm(myAttribName, nodeidx,
"attribname", time, 0);
232 myMirroringmethod = 0;
234 graph->
evalOpParm(myMirroringmethod, nodeidx,
"mirroringmethod", time, 0);
235 myUseTolerance =
false;
236 if (
true && ( (
true&&!(((
int64(getMirroringmethod())!=0)))) ) )
237 graph->
evalOpParm(myUseTolerance, nodeidx,
"usetolerance", time, 0);
239 if (
true && ( (
true&&!(((getUseTolerance()==0))||((
int64(getMirroringmethod())!=0)))) ) )
240 graph->
evalOpParm(myTolerance, nodeidx,
"tolerance", time, 0);
242 if (
true && ( (
true&&!(((
int64(getMirroringmethod())!=0)))) ) )
243 graph->
evalOpParm(myOrigin, nodeidx,
"origin", time, 0);
245 if (
true && ( (
true&&!(((
int64(getMirroringmethod())!=0)))) ) )
246 graph->
evalOpParm(myDist, nodeidx,
"dist", time, 0);
248 if (
true && ( (
true&&!(((
int64(getMirroringmethod())!=0)))) ) )
249 graph->
evalOpParm(myDir, nodeidx,
"dir", time, 0);
250 myMirroringedge =
""_UTsh;
251 if (
true && ( (
true&&!(((
int64(getMirroringmethod())!=1)))) ) )
252 graph->
evalOpParm(myMirroringedge, nodeidx,
"mirroringedge", time, 0);
253 mySourcehint =
""_UTsh;
254 if (
true && ( (
true&&!(((
int64(getMirroringmethod())!=1)))) ) )
255 graph->
evalOpParm(mySourcehint, nodeidx,
"sourcehint", time, 0);
256 myUseconnectivityattrib =
false;
257 if (
true && ( (
true&&!(((
int64(getMirroringmethod())!=1)))) ) )
258 graph->
evalOpParm(myUseconnectivityattrib, nodeidx,
"useconnectivityattrib", time, 0);
259 myConnectivityattrib =
""_UTsh;
260 if (
true && ( (
true&&!(((getUseconnectivityattrib()==0))||((
int64(getMirroringmethod())!=1)))) ) )
261 graph->
evalOpParm(myConnectivityattrib, nodeidx,
"connectivityattrib", time, 0);
262 myElementmapname =
"mirrorelem"_UTsh;
263 if (
true && ( (
true&&!(((
int64(getMirroringmethod())!=2)))) ) )
264 graph->
evalOpParm(myElementmapname, nodeidx,
"elementmapname", time, 0);
265 myDestgroupname =
"mirrordest"_UTsh;
266 if (
true && ( (
true&&!(((
int64(getMirroringmethod())!=2)))) ) )
267 graph->
evalOpParm(myDestgroupname, nodeidx,
"destgroupname", time, 0);
268 myOutputelemmap =
false;
270 graph->
evalOpParm(myOutputelemmap, nodeidx,
"outputelemmap", time, 0);
271 myMirrorelemattrib =
"mirrorelem"_UTsh;
272 if (
true && ( (
true&&!(((getOutputelemmap()==0)))) ) )
273 graph->
evalOpParm(myMirrorelemattrib, nodeidx,
"mirrorelemattrib", time, 0);
274 myOutputsrcgroup =
false;
276 graph->
evalOpParm(myOutputsrcgroup, nodeidx,
"outputsrcgroup", time, 0);
277 myMirrorsrcgroup =
"mirrorsrc"_UTsh;
278 if (
true && ( (
true&&!(((getOutputsrcgroup()==0)))) ) )
279 graph->
evalOpParm(myMirrorsrcgroup, nodeidx,
"mirrorsrcgroup", time, 0);
280 myOutputdestgroup =
false;
282 graph->
evalOpParm(myOutputdestgroup, nodeidx,
"outputdestgroup", time, 0);
283 myMirrordestgroup =
"mirrordest"_UTsh;
284 if (
true && ( (
true&&!(((getOutputdestgroup()==0)))) ) )
285 graph->
evalOpParm(myMirrordestgroup, nodeidx,
"mirrordestgroup", time, 0);
286 myAttribMirrorOp = 0;
287 if (
true && ( (
true&&!(((
int64(getMirroringmethod())==2)))) ) )
288 graph->
evalOpParm(myAttribMirrorOp, nodeidx,
"attribmirror", time, 0);
290 if (
true && ( (
true&&!(((
int64(getMirroringmethod())==2))||((
int64(getAttribMirrorOp())!=1)))) ) )
291 graph->
evalOpParm(myUVOrigin, nodeidx,
"uvorig", time, 0);
293 if (
true && ( (
true&&!(((
int64(getMirroringmethod())==2))||((
int64(getAttribMirrorOp())!=1)))) ) )
294 graph->
evalOpParm(myUVAngle, nodeidx,
"uvangle", time, 0);
295 myStringReplace =
false;
297 graph->
evalOpParm(myStringReplace, nodeidx,
"stringreplace", time, 0);
298 mySearch =
"L_*"_UTsh;
299 if (
true && ( (
true&&!(((getStringReplace()==0)))) ) )
300 graph->
evalOpParm(mySearch, nodeidx,
"search", time, 0);
301 myReplace =
"R_*"_UTsh;
302 if (
true && ( (
true&&!(((getStringReplace()==0)))) ) )
303 graph->
evalOpParm(myReplace, nodeidx,
"replace", time, 0);
319 template <
typename T>
326 if (idx.
size() != instance.
size()+1)
331 coerceValue(value, myGroup);
334 coerceValue(value, myGroupType);
337 coerceValue(value, myMirrorOp);
340 coerceValue(value, myAttrib);
343 coerceValue(value, myAttribName);
346 coerceValue(value, myMirroringmethod);
349 coerceValue(value, myUseTolerance);
352 coerceValue(value, myTolerance);
355 coerceValue(value, myOrigin);
358 coerceValue(value, myDist);
361 coerceValue(value, myDir);
364 coerceValue(value, myMirroringedge);
367 coerceValue(value, mySourcehint);
370 coerceValue(value, myUseconnectivityattrib);
373 coerceValue(value, myConnectivityattrib);
376 coerceValue(value, myElementmapname);
379 coerceValue(value, myDestgroupname);
382 coerceValue(value, myOutputelemmap);
385 coerceValue(value, myMirrorelemattrib);
388 coerceValue(value, myOutputsrcgroup);
391 coerceValue(value, myMirrorsrcgroup);
394 coerceValue(value, myOutputdestgroup);
397 coerceValue(value, myMirrordestgroup);
400 coerceValue(value, myAttribMirrorOp);
403 coerceValue(value, myUVOrigin);
406 coerceValue(value, myUVAngle);
409 coerceValue(value, myStringReplace);
412 coerceValue(value, mySearch);
415 coerceValue(value, myReplace);
431 { doGetParmValue(idx, instance, value); }
433 { doGetParmValue(idx, instance, value); }
435 { doGetParmValue(idx, instance, value); }
437 { doGetParmValue(idx, instance, value); }
439 { doGetParmValue(idx, instance, value); }
441 { doGetParmValue(idx, instance, value); }
443 { doGetParmValue(idx, instance, value); }
445 { doGetParmValue(idx, instance, value); }
447 { doGetParmValue(idx, instance, value); }
449 { doGetParmValue(idx, instance, value); }
451 { doGetParmValue(idx, instance, value); }
453 template <
typename T>
460 if (idx.
size() != instance.
size()+1)
465 coerceValue(myGroup, ( ( value ) ));
468 coerceValue(myGroupType, clampMinValue(0, clampMaxValue(2, value ) ));
471 coerceValue(myMirrorOp, clampMinValue(0, clampMaxValue(1, value ) ));
474 coerceValue(myAttrib, clampMinValue(0, clampMaxValue(2, value ) ));
477 coerceValue(myAttribName, ( ( value ) ));
480 coerceValue(myMirroringmethod, clampMinValue(0, clampMaxValue(2, value ) ));
483 coerceValue(myUseTolerance, ( ( value ) ));
486 coerceValue(myTolerance, ( ( value ) ));
489 coerceValue(myOrigin, ( ( value ) ));
492 coerceValue(myDist, ( ( value ) ));
495 coerceValue(myDir, ( ( value ) ));
498 coerceValue(myMirroringedge, ( ( value ) ));
501 coerceValue(mySourcehint, ( ( value ) ));
504 coerceValue(myUseconnectivityattrib, ( ( value ) ));
507 coerceValue(myConnectivityattrib, ( ( value ) ));
510 coerceValue(myElementmapname, ( ( value ) ));
513 coerceValue(myDestgroupname, ( ( value ) ));
516 coerceValue(myOutputelemmap, ( ( value ) ));
519 coerceValue(myMirrorelemattrib, ( ( value ) ));
522 coerceValue(myOutputsrcgroup, ( ( value ) ));
525 coerceValue(myMirrorsrcgroup, ( ( value ) ));
528 coerceValue(myOutputdestgroup, ( ( value ) ));
531 coerceValue(myMirrordestgroup, ( ( value ) ));
534 coerceValue(myAttribMirrorOp, clampMinValue(0, clampMaxValue(3, value ) ));
537 coerceValue(myUVOrigin, ( ( value ) ));
540 coerceValue(myUVAngle, ( ( value ) ));
543 coerceValue(myStringReplace, ( ( value ) ));
546 coerceValue(mySearch, ( ( value ) ));
549 coerceValue(myReplace, ( ( value ) ));
556 { doSetParmValue(idx, instance, value); }
558 { doSetParmValue(idx, instance, value); }
560 { doSetParmValue(idx, instance, value); }
562 { doSetParmValue(idx, instance, value); }
564 { doSetParmValue(idx, instance, value); }
566 { doSetParmValue(idx, instance, value); }
568 { doSetParmValue(idx, instance, value); }
570 { doSetParmValue(idx, instance, value); }
572 { doSetParmValue(idx, instance, value); }
574 { doSetParmValue(idx, instance, value); }
576 { doSetParmValue(idx, instance, value); }
592 if (fieldnum.
size() < 1)
607 return "mirroringmethod";
609 return "usetolerance";
619 return "mirroringedge";
623 return "useconnectivityattrib";
625 return "connectivityattrib";
627 return "elementmapname";
629 return "destgroupname";
631 return "outputelemmap";
633 return "mirrorelemattrib";
635 return "outputsrcgroup";
637 return "mirrorsrcgroup";
639 return "outputdestgroup";
641 return "mirrordestgroup";
643 return "attribmirror";
649 return "stringreplace";
661 if (fieldnum.
size() < 1)
662 return PARM_UNSUPPORTED;
725 return PARM_UNSUPPORTED;
761 loadData(is, rampdata);
779 int typelen = colon - data.
buffer();
793 {
int64 iv =
v; UTwrite(os, &iv); }
795 { UTwrite<fpreal64>(os, &
v); }
797 { UTwrite<fpreal64>(os, &v.
x()); UTwrite<fpreal64>(os, &v.
y()); }
799 { UTwrite<fpreal64>(os, &v.
x()); UTwrite<fpreal64>(os, &v.
y());
800 UTwrite<fpreal64>(os, &v.
z()); }
802 { UTwrite<fpreal64>(os, &v.
x()); UTwrite<fpreal64>(os, &v.
y());
803 UTwrite<fpreal64>(os, &v.
z()); UTwrite<fpreal64>(os, &v.
w()); }
815 if (s) s->save(ostr);
817 saveData(os, result);
824 ostr << s->getDataTypeToken();
829 saveData(os, result);
833 void save(std::ostream &os)
const
837 saveData(os, myGroup);
838 saveData(os, myGroupType);
839 saveData(os, myMirrorOp);
840 saveData(os, myAttrib);
841 saveData(os, myAttribName);
842 saveData(os, myMirroringmethod);
843 saveData(os, myUseTolerance);
844 saveData(os, myTolerance);
845 saveData(os, myOrigin);
846 saveData(os, myDist);
848 saveData(os, myMirroringedge);
849 saveData(os, mySourcehint);
850 saveData(os, myUseconnectivityattrib);
851 saveData(os, myConnectivityattrib);
852 saveData(os, myElementmapname);
853 saveData(os, myDestgroupname);
854 saveData(os, myOutputelemmap);
855 saveData(os, myMirrorelemattrib);
856 saveData(os, myOutputsrcgroup);
857 saveData(os, myMirrorsrcgroup);
858 saveData(os, myOutputdestgroup);
859 saveData(os, myMirrordestgroup);
860 saveData(os, myAttribMirrorOp);
861 saveData(os, myUVOrigin);
862 saveData(os, myUVAngle);
863 saveData(os, myStringReplace);
864 saveData(os, mySearch);
865 saveData(os, myReplace);
878 loadData(is, myGroup);
879 loadData(is, myGroupType);
880 loadData(is, myMirrorOp);
881 loadData(is, myAttrib);
882 loadData(is, myAttribName);
883 loadData(is, myMirroringmethod);
884 loadData(is, myUseTolerance);
885 loadData(is, myTolerance);
886 loadData(is, myOrigin);
887 loadData(is, myDist);
889 loadData(is, myMirroringedge);
890 loadData(is, mySourcehint);
891 loadData(is, myUseconnectivityattrib);
892 loadData(is, myConnectivityattrib);
893 loadData(is, myElementmapname);
894 loadData(is, myDestgroupname);
895 loadData(is, myOutputelemmap);
896 loadData(is, myMirrorelemattrib);
897 loadData(is, myOutputsrcgroup);
898 loadData(is, myMirrorsrcgroup);
899 loadData(is, myOutputdestgroup);
900 loadData(is, myMirrordestgroup);
901 loadData(is, myAttribMirrorOp);
902 loadData(is, myUVOrigin);
903 loadData(is, myUVAngle);
904 loadData(is, myStringReplace);
905 loadData(is, mySearch);
906 loadData(is, myReplace);
916 if (!thissop)
return getGroup();
918 OP_Utils::evalOpParm(result, thissop,
"group", cookparms.
getCookTime(), 0);
926 if (!thissop)
return getGroupType();
928 OP_Utils::evalOpParm(result, thissop,
"grouptype", cookparms.
getCookTime(), 0);
936 if (!thissop)
return getMirrorOp();
938 OP_Utils::evalOpParm(result, thissop,
"usegroupas", cookparms.
getCookTime(), 0);
946 if (!thissop)
return getAttrib();
948 OP_Utils::evalOpParm(result, thissop,
"attrib", cookparms.
getCookTime(), 0);
956 if (!thissop)
return getAttribName();
958 OP_Utils::evalOpParm(result, thissop,
"attribname", cookparms.
getCookTime(), 0);
966 if (!thissop)
return getMirroringmethod();
968 OP_Utils::evalOpParm(result, thissop,
"mirroringmethod", cookparms.
getCookTime(), 0);
976 if (!thissop)
return getUseTolerance();
978 OP_Utils::evalOpParm(result, thissop,
"usetolerance", cookparms.
getCookTime(), 0);
986 if (!thissop)
return getTolerance();
988 OP_Utils::evalOpParm(result, thissop,
"tolerance", cookparms.
getCookTime(), 0);
996 if (!thissop)
return getOrigin();
998 OP_Utils::evalOpParm(result, thissop,
"origin", cookparms.
getCookTime(), 0);
1006 if (!thissop)
return getDist();
1008 OP_Utils::evalOpParm(result, thissop,
"dist", cookparms.
getCookTime(), 0);
1016 if (!thissop)
return getDir();
1018 OP_Utils::evalOpParm(result, thissop,
"dir", cookparms.
getCookTime(), 0);
1026 if (!thissop)
return getMirroringedge();
1028 OP_Utils::evalOpParm(result, thissop,
"mirroringedge", cookparms.
getCookTime(), 0);
1036 if (!thissop)
return getSourcehint();
1038 OP_Utils::evalOpParm(result, thissop,
"sourcehint", cookparms.
getCookTime(), 0);
1046 if (!thissop)
return getUseconnectivityattrib();
1048 OP_Utils::evalOpParm(result, thissop,
"useconnectivityattrib", cookparms.
getCookTime(), 0);
1056 if (!thissop)
return getConnectivityattrib();
1058 OP_Utils::evalOpParm(result, thissop,
"connectivityattrib", cookparms.
getCookTime(), 0);
1066 if (!thissop)
return getElementmapname();
1068 OP_Utils::evalOpParm(result, thissop,
"elementmapname", cookparms.
getCookTime(), 0);
1076 if (!thissop)
return getDestgroupname();
1078 OP_Utils::evalOpParm(result, thissop,
"destgroupname", cookparms.
getCookTime(), 0);
1086 if (!thissop)
return getOutputelemmap();
1088 OP_Utils::evalOpParm(result, thissop,
"outputelemmap", cookparms.
getCookTime(), 0);
1096 if (!thissop)
return getMirrorelemattrib();
1098 OP_Utils::evalOpParm(result, thissop,
"mirrorelemattrib", cookparms.
getCookTime(), 0);
1106 if (!thissop)
return getOutputsrcgroup();
1108 OP_Utils::evalOpParm(result, thissop,
"outputsrcgroup", cookparms.
getCookTime(), 0);
1116 if (!thissop)
return getMirrorsrcgroup();
1118 OP_Utils::evalOpParm(result, thissop,
"mirrorsrcgroup", cookparms.
getCookTime(), 0);
1126 if (!thissop)
return getOutputdestgroup();
1128 OP_Utils::evalOpParm(result, thissop,
"outputdestgroup", cookparms.
getCookTime(), 0);
1136 if (!thissop)
return getMirrordestgroup();
1138 OP_Utils::evalOpParm(result, thissop,
"mirrordestgroup", cookparms.
getCookTime(), 0);
1146 if (!thissop)
return getAttribMirrorOp();
1148 OP_Utils::evalOpParm(result, thissop,
"attribmirror", cookparms.
getCookTime(), 0);
1156 if (!thissop)
return getUVOrigin();
1158 OP_Utils::evalOpParm(result, thissop,
"uvorig", cookparms.
getCookTime(), 0);
1166 if (!thissop)
return getUVAngle();
1168 OP_Utils::evalOpParm(result, thissop,
"uvangle", cookparms.
getCookTime(), 0);
1176 if (!thissop)
return getStringReplace();
1178 OP_Utils::evalOpParm(result, thissop,
"stringreplace", cookparms.
getCookTime(), 0);
1186 if (!thissop)
return getSearch();
1188 OP_Utils::evalOpParm(result, thissop,
"search", cookparms.
getCookTime(), 0);
1196 if (!thissop)
return getReplace();
1198 OP_Utils::evalOpParm(result, thissop,
"replace", cookparms.
getCookTime(), 0);
1208 int64 myMirroringmethod;
1209 bool myUseTolerance;
1216 bool myUseconnectivityattrib;
1220 bool myOutputelemmap;
1222 bool myOutputsrcgroup;
1224 bool myOutputdestgroup;
1226 int64 myAttribMirrorOp;
1229 bool myStringReplace;
fpreal64 opTolerance(const SOP_NodeVerb::CookParms &cookparms) const
void doSetParmValue(TempIndex idx, TempIndex instance, const T &value)
UT_StringHolder opMirroringedge(const SOP_NodeVerb::CookParms &cookparms) const
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector3D &value) override
UT_StringHolder opMirrorsrcgroup(const SOP_NodeVerb::CookParms &cookparms) const
UT_StringHolder opGroup(const SOP_NodeVerb::CookParms &cookparms) const
void getNestParmValue(TempIndex idx, TempIndex instance, UT_StringHolder &value) const override
fpreal64 opUVAngle(const SOP_NodeVerb::CookParms &cookparms) const
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix3D &value) override
void setOutputdestgroup(bool val)
bool opOutputsrcgroup(const SOP_NodeVerb::CookParms &cookparms) const
SOP_Node * getNode() const
bool load(UT_IStream &is)
UT_StringHolder opReplace(const SOP_NodeVerb::CookParms &cookparms) const
void setGroup(const UT_StringHolder &val)
void setMirrorelemattrib(const UT_StringHolder &val)
exint getNestNumParms(TempIndex idx) const override
void setOutputelemmap(bool val)
void setMirrordestgroup(const UT_StringHolder &val)
exint bread(int32 *buffer, exint asize=1)
GT_API const UT_StringHolder time
constexpr SYS_FORCE_INLINE T & y() noexcept
UT_Vector3D getDir() const
static void loadData(UT_IStream &is, UT_Vector3I &v)
UT_Vector2T< fpreal64 > UT_Vector2D
const UT_StringHolder & getMirroringedge() const
static void loadData(UT_IStream &is, UT_Vector4D &v)
static void loadData(UT_IStream &is, UT_SharedPtr< UT_Ramp > &v)
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector3D &value) const override
void setUVOrigin(UT_Vector2D val)
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector4D &value) override
void setStringReplace(bool val)
const OP_Context & context() const
void loadFromOpSubclass(const LoadParms &loadparms) override
MirrorOp opMirrorOp(const SOP_NodeVerb::CookParms &cookparms) const
constexpr SYS_FORCE_INLINE T & z() noexcept
bool isParmColorRamp(exint idx) const override
static void saveData(std::ostream &os, UT_Matrix4D v)
SYS_FORCE_INLINE const char * buffer() const
void setConnectivityattrib(const UT_StringHolder &val)
static void loadData(UT_IStream &is, int64 &v)
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector2D &value) override
An output stream object that owns its own string buffer storage.
bool getUseTolerance() const
bool opStringReplace(const SOP_NodeVerb::CookParms &cookparms) const
**But if you need a result
UT_Vector3D opDir(const SOP_NodeVerb::CookParms &cookparms) const
fpreal64 getUVAngle() const
static void saveData(std::ostream &os, fpreal64 v)
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_StringHolder &value) override
void save(std::ostream &os) const
void setAttribMirrorOp(AttribMirrorOp val)
static PRM_DataItemHandle parseBinary(const char *type, UT_IStream &is)
const UT_WorkBuffer & str()
Returns a read-only reference to the underlying UT_WorkBuffer.
void setDist(fpreal64 val)
static void saveData(std::ostream &os, UT_Vector2D v)
void setAttribName(const UT_StringHolder &val)
Mirroringmethod opMirroringmethod(const SOP_NodeVerb::CookParms &cookparms) const
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix3D &value) const override
UT_Vector2D opUVOrigin(const SOP_NodeVerb::CookParms &cookparms) const
constexpr SYS_FORCE_INLINE T & x() noexcept
static void loadData(UT_IStream &is, UT_Matrix2D &v)
static void saveData(std::ostream &os, int64 v)
UT_Vector2D getUVOrigin() const
constexpr SYS_FORCE_INLINE T & x() noexcept
static void saveData(std::ostream &os, UT_Vector4D v)
bool opUseTolerance(const SOP_NodeVerb::CookParms &cookparms) const
bool operator==(const BaseDimensions< T > &a, const BaseDimensions< Y > &b)
const UT_StringHolder & getReplace() const
void setSourcehint(const UT_StringHolder &val)
bool opOutputdestgroup(const SOP_NodeVerb::CookParms &cookparms) const
GroupType getGroupType() const
SYS_FORCE_INLINE UT_StringHolder getToken(GroupType enum_value)
bool opOutputelemmap(const SOP_NodeVerb::CookParms &cookparms) const
const UT_StringHolder & getMirrordestgroup() const
const UT_StringHolder & getConnectivityattrib() const
void setUseTolerance(bool val)
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix4D &value) const override
UT_StringHolder opMirrordestgroup(const SOP_NodeVerb::CookParms &cookparms) const
static void saveData(std::ostream &os, PRM_DataItemHandle s)
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_SharedPtr< UT_Ramp > &value) override
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
bool getOutputsrcgroup() const
UT_StringHolder opAttribName(const SOP_NodeVerb::CookParms &cookparms) const
UT_StringHolder opSearch(const SOP_NodeVerb::CookParms &cookparms) const
const UT_StringHolder & getSearch() const
static void saveData(std::ostream &os, UT_SharedPtr< UT_Ramp > s)
const OP_GraphProxy * graph() const
void setUVAngle(fpreal64 val)
fpreal64 getTolerance() const
void setGroupType(GroupType val)
static void saveData(std::ostream &os, UT_StringHolder s)
static void loadData(UT_IStream &is, UT_Vector2D &v)
const UT_StringHolder & getDestgroupname() const
void buildFromOp(const OP_GraphProxy *graph, exint nodeidx, fpreal time, DEP_MicroNode *depnode)
UT_Vector3T< fpreal64 > UT_Vector3D
static void loadData(UT_IStream &is, UT_Vector4I &v)
static void loadData(UT_IStream &is, PRM_DataItemHandle &v)
bool getOutputdestgroup() const
void setNestParmValue(TempIndex idx, TempIndex instance, const PRM_DataItemHandle &value) override
void setOutputsrcgroup(bool val)
void getNestParmValue(TempIndex idx, TempIndex instance, UT_SharedPtr< UT_Ramp > &value) const override
const char * getNestParmName(TempIndex fieldnum) const override
void setOrigin(UT_Vector3D val)
virtual void evalOpParm(int64 &v, NodeIdx node, const char *parmname, fpreal time, DEP_MicroNode *depnode) const =0
void setMirrorsrcgroup(const UT_StringHolder &val)
bool operator!=(const SOP_AttribMirrorParms &src) const
UT_StringHolder opElementmapname(const SOP_NodeVerb::CookParms &cookparms) const
fpreal64 opDist(const SOP_NodeVerb::CookParms &cookparms) const
void saveBinary(std::ostream &os) const
Save string to binary stream.
static void loadData(UT_IStream &is, fpreal64 &v)
const UT_StringHolder & getAttribName() const
bool getOutputelemmap() const
GT_API const UT_StringHolder version
void setTolerance(fpreal64 val)
Mirroringmethod getMirroringmethod() const
void setReplace(const UT_StringHolder &val)
void getNestParmValue(TempIndex idx, TempIndex instance, exint &value) const override
GroupType opGroupType(const SOP_NodeVerb::CookParms &cookparms) const
UT_Vector3D opOrigin(const SOP_NodeVerb::CookParms &cookparms) const
UT_StringHolder opConnectivityattrib(const SOP_NodeVerb::CookParms &cookparms) const
const UT_StringHolder & getMirrorsrcgroup() const
bool operator==(const SOP_AttribMirrorParms &src) const
void setAttrib(Attrib val)
void setElementmapname(const UT_StringHolder &val)
void setSearch(const UT_StringHolder &val)
static void loadData(UT_IStream &is, UT_StringHolder &v)
void setDestgroupname(const UT_StringHolder &val)
DEP_MicroNode * depnode() const
void getNestParmValue(TempIndex idx, TempIndex instance, fpreal &value) const override
LeafData & operator=(const LeafData &)=delete
static void loadData(UT_IStream &is, UT_Matrix4D &v)
Utility class for containing a color ramp.
const UT_StringHolder & getMirrorelemattrib() const
static void loadData(UT_IStream &is, UT_Vector2I &v)
void setUseconnectivityattrib(bool val)
constexpr SYS_FORCE_INLINE T & w() noexcept
void setDir(UT_Vector3D val)
const UT_StringHolder & getElementmapname() const
void setMirroringmethod(Mirroringmethod val)
static void loadData(UT_IStream &is, UT_Matrix3D &v)
void getNestParmValue(TempIndex idx, TempIndex instance, PRM_DataItemHandle &value) const override
fpreal getCookTime() const
ParmType getNestParmType(TempIndex fieldnum) const override
UT_Vector3D getOrigin() const
const char * findChar(int c) const
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix2D &value) override
const UT_StringHolder & getSourcehint() const
AttribMirrorOp getAttribMirrorOp() const
void doGetParmValue(TempIndex idx, TempIndex instance, T &value) const
const UT_StringHolder & getGroup() const
Attrib opAttrib(const SOP_NodeVerb::CookParms &cookparms) const
static void loadData(UT_IStream &is, UT_Vector3D &v)
bool opUseconnectivityattrib(const SOP_NodeVerb::CookParms &cookparms) const
constexpr SYS_FORCE_INLINE T & y() noexcept
void setNestParmValue(TempIndex idx, TempIndex instance, const exint &value) override
static void saveData(std::ostream &os, bool v)
MirrorOp getMirrorOp() const
void setNestParmValue(TempIndex idx, TempIndex instance, const fpreal &value) override
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector4D &value) const override
bool getUseconnectivityattrib() const
static void saveData(std::ostream &os, UT_Matrix3D v)
bool getStringReplace() const
UT_StringHolder opMirrorelemattrib(const SOP_NodeVerb::CookParms &cookparms) const
void setMirrorOp(MirrorOp val)
static void loadData(UT_IStream &is, bool &v)
AttribMirrorOp opAttribMirrorOp(const SOP_NodeVerb::CookParms &cookparms) const
UT_SharedPtr< const PRM_DataItem > PRM_DataItemHandle
static void saveData(std::ostream &os, UT_Vector3D v)
constexpr SYS_FORCE_INLINE T & y() noexcept
SYS_FORCE_INLINE bool isstring() const
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix2D &value) const override
void copyFrom(const OP_NodeParms *src) override
void setMirroringedge(const UT_StringHolder &val)
UT_StringHolder opDestgroupname(const SOP_NodeVerb::CookParms &cookparms) const
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector2D &value) const override
SYS_FORCE_INLINE void strncpy(const char *src, exint maxlen)
UT_StringHolder opSourcehint(const SOP_NodeVerb::CookParms &cookparms) const
static void saveData(std::ostream &os, UT_Matrix2D v)
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix4D &value) override
constexpr SYS_FORCE_INLINE T & x() noexcept