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;
222 graph->
evalOpParm(myGroup, nodeidx,
"group", time, graph->
isDirect()?
nullptr:depnode);
225 graph->
evalOpParm(myGroupType, nodeidx,
"grouptype", time, graph->
isDirect()?
nullptr:depnode);
228 graph->
evalOpParm(myMirrorOp, nodeidx,
"usegroupas", time, graph->
isDirect()?
nullptr:depnode);
231 graph->
evalOpParm(myAttrib, nodeidx,
"attrib", time, graph->
isDirect()?
nullptr:depnode);
232 myAttribName =
""_UTsh;
233 if (
true && ( (
true&&!(((
int64(getAttrib())!=2)))) ) )
234 graph->
evalOpParm(myAttribName, nodeidx,
"attribname", time, graph->
isDirect()?
nullptr:depnode);
235 myMirroringmethod = 0;
237 graph->
evalOpParm(myMirroringmethod, nodeidx,
"mirroringmethod", time, graph->
isDirect()?
nullptr:depnode);
238 myUseTolerance =
false;
239 if (
true && ( (
true&&!(((
int64(getMirroringmethod())!=0)))) ) )
240 graph->
evalOpParm(myUseTolerance, nodeidx,
"usetolerance", time, graph->
isDirect()?
nullptr:depnode);
242 if (
true && ( (
true&&!(((getUseTolerance()==0))||((
int64(getMirroringmethod())!=0)))) ) )
243 graph->
evalOpParm(myTolerance, nodeidx,
"tolerance", time, graph->
isDirect()?
nullptr:depnode);
245 if (
true && ( (
true&&!(((
int64(getMirroringmethod())!=0)))) ) )
246 graph->
evalOpParm(myOrigin, nodeidx,
"origin", time, graph->
isDirect()?
nullptr:depnode);
248 if (
true && ( (
true&&!(((
int64(getMirroringmethod())!=0)))) ) )
251 if (
true && ( (
true&&!(((
int64(getMirroringmethod())!=0)))) ) )
253 myMirroringedge =
""_UTsh;
254 if (
true && ( (
true&&!(((
int64(getMirroringmethod())!=1)))) ) )
255 graph->
evalOpParm(myMirroringedge, nodeidx,
"mirroringedge", time, graph->
isDirect()?
nullptr:depnode);
256 mySourcehint =
""_UTsh;
257 if (
true && ( (
true&&!(((
int64(getMirroringmethod())!=1)))) ) )
258 graph->
evalOpParm(mySourcehint, nodeidx,
"sourcehint", time, graph->
isDirect()?
nullptr:depnode);
259 myUseconnectivityattrib =
false;
260 if (
true && ( (
true&&!(((
int64(getMirroringmethod())!=1)))) ) )
261 graph->
evalOpParm(myUseconnectivityattrib, nodeidx,
"useconnectivityattrib", time, graph->
isDirect()?
nullptr:depnode);
262 myConnectivityattrib =
""_UTsh;
263 if (
true && ( (
true&&!(((getUseconnectivityattrib()==0))||((
int64(getMirroringmethod())!=1)))) ) )
264 graph->
evalOpParm(myConnectivityattrib, nodeidx,
"connectivityattrib", time, graph->
isDirect()?
nullptr:depnode);
265 myElementmapname =
"mirrorelem"_UTsh;
266 if (
true && ( (
true&&!(((
int64(getMirroringmethod())!=2)))) ) )
267 graph->
evalOpParm(myElementmapname, nodeidx,
"elementmapname", time, graph->
isDirect()?
nullptr:depnode);
268 myDestgroupname =
"mirrordest"_UTsh;
269 if (
true && ( (
true&&!(((
int64(getMirroringmethod())!=2)))) ) )
270 graph->
evalOpParm(myDestgroupname, nodeidx,
"destgroupname", time, graph->
isDirect()?
nullptr:depnode);
271 myOutputelemmap =
false;
273 graph->
evalOpParm(myOutputelemmap, nodeidx,
"outputelemmap", time, graph->
isDirect()?
nullptr:depnode);
274 myMirrorelemattrib =
"mirrorelem"_UTsh;
275 if (
true && ( (
true&&!(((getOutputelemmap()==0)))) ) )
276 graph->
evalOpParm(myMirrorelemattrib, nodeidx,
"mirrorelemattrib", time, graph->
isDirect()?
nullptr:depnode);
277 myOutputsrcgroup =
false;
279 graph->
evalOpParm(myOutputsrcgroup, nodeidx,
"outputsrcgroup", time, graph->
isDirect()?
nullptr:depnode);
280 myMirrorsrcgroup =
"mirrorsrc"_UTsh;
281 if (
true && ( (
true&&!(((getOutputsrcgroup()==0)))) ) )
282 graph->
evalOpParm(myMirrorsrcgroup, nodeidx,
"mirrorsrcgroup", time, graph->
isDirect()?
nullptr:depnode);
283 myOutputdestgroup =
false;
285 graph->
evalOpParm(myOutputdestgroup, nodeidx,
"outputdestgroup", time, graph->
isDirect()?
nullptr:depnode);
286 myMirrordestgroup =
"mirrordest"_UTsh;
287 if (
true && ( (
true&&!(((getOutputdestgroup()==0)))) ) )
288 graph->
evalOpParm(myMirrordestgroup, nodeidx,
"mirrordestgroup", time, graph->
isDirect()?
nullptr:depnode);
289 myAttribMirrorOp = 0;
290 if (
true && ( (
true&&!(((
int64(getMirroringmethod())==2)))) ) )
291 graph->
evalOpParm(myAttribMirrorOp, nodeidx,
"attribmirror", time, graph->
isDirect()?
nullptr:depnode);
293 if (
true && ( (
true&&!(((
int64(getMirroringmethod())==2))||((
int64(getAttribMirrorOp())!=1)))) ) )
294 graph->
evalOpParm(myUVOrigin, nodeidx,
"uvorig", time, graph->
isDirect()?
nullptr:depnode);
296 if (
true && ( (
true&&!(((
int64(getMirroringmethod())==2))||((
int64(getAttribMirrorOp())!=1)))) ) )
297 graph->
evalOpParm(myUVAngle, nodeidx,
"uvangle", time, graph->
isDirect()?
nullptr:depnode);
298 myStringReplace =
false;
300 graph->
evalOpParm(myStringReplace, nodeidx,
"stringreplace", time, graph->
isDirect()?
nullptr:depnode);
301 mySearch =
"L_*"_UTsh;
302 if (
true && ( (
true&&!(((getStringReplace()==0)))) ) )
303 graph->
evalOpParm(mySearch, nodeidx,
"search", time, graph->
isDirect()?
nullptr:depnode);
304 myReplace =
"R_*"_UTsh;
305 if (
true && ( (
true&&!(((getStringReplace()==0)))) ) )
306 graph->
evalOpParm(myReplace, nodeidx,
"replace", time, graph->
isDirect()?
nullptr:depnode);
322 template <
typename T>
329 if (idx.
size() != instance.
size()+1)
334 coerceValue(value, myGroup);
337 coerceValue(value, myGroupType);
340 coerceValue(value, myMirrorOp);
343 coerceValue(value, myAttrib);
346 coerceValue(value, myAttribName);
349 coerceValue(value, myMirroringmethod);
352 coerceValue(value, myUseTolerance);
355 coerceValue(value, myTolerance);
358 coerceValue(value, myOrigin);
361 coerceValue(value, myDist);
364 coerceValue(value, myDir);
367 coerceValue(value, myMirroringedge);
370 coerceValue(value, mySourcehint);
373 coerceValue(value, myUseconnectivityattrib);
376 coerceValue(value, myConnectivityattrib);
379 coerceValue(value, myElementmapname);
382 coerceValue(value, myDestgroupname);
385 coerceValue(value, myOutputelemmap);
388 coerceValue(value, myMirrorelemattrib);
391 coerceValue(value, myOutputsrcgroup);
394 coerceValue(value, myMirrorsrcgroup);
397 coerceValue(value, myOutputdestgroup);
400 coerceValue(value, myMirrordestgroup);
403 coerceValue(value, myAttribMirrorOp);
406 coerceValue(value, myUVOrigin);
409 coerceValue(value, myUVAngle);
412 coerceValue(value, myStringReplace);
415 coerceValue(value, mySearch);
418 coerceValue(value, myReplace);
434 { doGetParmValue(idx, instance, value); }
436 { doGetParmValue(idx, instance, value); }
438 { doGetParmValue(idx, instance, value); }
440 { doGetParmValue(idx, instance, value); }
442 { doGetParmValue(idx, instance, value); }
444 { doGetParmValue(idx, instance, value); }
446 { doGetParmValue(idx, instance, value); }
448 { doGetParmValue(idx, instance, value); }
450 { doGetParmValue(idx, instance, value); }
452 { doGetParmValue(idx, instance, value); }
454 { doGetParmValue(idx, instance, value); }
456 template <
typename T>
463 if (idx.
size() != instance.
size()+1)
468 coerceValue(myGroup, ( ( value ) ));
471 coerceValue(myGroupType, clampMinValue(0, clampMaxValue(2, value ) ));
474 coerceValue(myMirrorOp, clampMinValue(0, clampMaxValue(1, value ) ));
477 coerceValue(myAttrib, clampMinValue(0, clampMaxValue(2, value ) ));
480 coerceValue(myAttribName, ( ( value ) ));
483 coerceValue(myMirroringmethod, clampMinValue(0, clampMaxValue(2, value ) ));
486 coerceValue(myUseTolerance, ( ( value ) ));
489 coerceValue(myTolerance, ( ( value ) ));
492 coerceValue(myOrigin, ( ( value ) ));
495 coerceValue(myDist, ( ( value ) ));
498 coerceValue(myDir, ( ( value ) ));
501 coerceValue(myMirroringedge, ( ( value ) ));
504 coerceValue(mySourcehint, ( ( value ) ));
507 coerceValue(myUseconnectivityattrib, ( ( value ) ));
510 coerceValue(myConnectivityattrib, ( ( value ) ));
513 coerceValue(myElementmapname, ( ( value ) ));
516 coerceValue(myDestgroupname, ( ( value ) ));
519 coerceValue(myOutputelemmap, ( ( value ) ));
522 coerceValue(myMirrorelemattrib, ( ( value ) ));
525 coerceValue(myOutputsrcgroup, ( ( value ) ));
528 coerceValue(myMirrorsrcgroup, ( ( value ) ));
531 coerceValue(myOutputdestgroup, ( ( value ) ));
534 coerceValue(myMirrordestgroup, ( ( value ) ));
537 coerceValue(myAttribMirrorOp, clampMinValue(0, clampMaxValue(3, value ) ));
540 coerceValue(myUVOrigin, ( ( value ) ));
543 coerceValue(myUVAngle, ( ( value ) ));
546 coerceValue(myStringReplace, ( ( value ) ));
549 coerceValue(mySearch, ( ( value ) ));
552 coerceValue(myReplace, ( ( value ) ));
559 { doSetParmValue(idx, instance, value); }
561 { doSetParmValue(idx, instance, value); }
563 { doSetParmValue(idx, instance, value); }
565 { doSetParmValue(idx, instance, value); }
567 { doSetParmValue(idx, instance, value); }
569 { doSetParmValue(idx, instance, value); }
571 { doSetParmValue(idx, instance, value); }
573 { doSetParmValue(idx, instance, value); }
575 { doSetParmValue(idx, instance, value); }
577 { doSetParmValue(idx, instance, value); }
579 { doSetParmValue(idx, instance, value); }
595 if (fieldnum.
size() < 1)
610 return "mirroringmethod";
612 return "usetolerance";
622 return "mirroringedge";
626 return "useconnectivityattrib";
628 return "connectivityattrib";
630 return "elementmapname";
632 return "destgroupname";
634 return "outputelemmap";
636 return "mirrorelemattrib";
638 return "outputsrcgroup";
640 return "mirrorsrcgroup";
642 return "outputdestgroup";
644 return "mirrordestgroup";
646 return "attribmirror";
652 return "stringreplace";
664 if (fieldnum.
size() < 1)
665 return PARM_UNSUPPORTED;
728 return PARM_UNSUPPORTED;
764 loadData(is, rampdata);
782 int typelen = colon - data.
buffer();
796 {
int64 iv =
v; UTwrite(os, &iv); }
798 { UTwrite<fpreal64>(os, &
v); }
800 { UTwrite<fpreal64>(os, &v.
x()); UTwrite<fpreal64>(os, &v.
y()); }
802 { UTwrite<fpreal64>(os, &v.
x()); UTwrite<fpreal64>(os, &v.
y());
803 UTwrite<fpreal64>(os, &v.
z()); }
805 { UTwrite<fpreal64>(os, &v.
x()); UTwrite<fpreal64>(os, &v.
y());
806 UTwrite<fpreal64>(os, &v.
z()); UTwrite<fpreal64>(os, &v.
w()); }
818 if (s) s->save(ostr);
820 saveData(os, result);
827 ostr << s->getDataTypeToken();
832 saveData(os, result);
836 void save(std::ostream &os)
const
840 saveData(os, myGroup);
841 saveData(os, myGroupType);
842 saveData(os, myMirrorOp);
843 saveData(os, myAttrib);
844 saveData(os, myAttribName);
845 saveData(os, myMirroringmethod);
846 saveData(os, myUseTolerance);
847 saveData(os, myTolerance);
848 saveData(os, myOrigin);
849 saveData(os, myDist);
851 saveData(os, myMirroringedge);
852 saveData(os, mySourcehint);
853 saveData(os, myUseconnectivityattrib);
854 saveData(os, myConnectivityattrib);
855 saveData(os, myElementmapname);
856 saveData(os, myDestgroupname);
857 saveData(os, myOutputelemmap);
858 saveData(os, myMirrorelemattrib);
859 saveData(os, myOutputsrcgroup);
860 saveData(os, myMirrorsrcgroup);
861 saveData(os, myOutputdestgroup);
862 saveData(os, myMirrordestgroup);
863 saveData(os, myAttribMirrorOp);
864 saveData(os, myUVOrigin);
865 saveData(os, myUVAngle);
866 saveData(os, myStringReplace);
867 saveData(os, mySearch);
868 saveData(os, myReplace);
881 loadData(is, myGroup);
882 loadData(is, myGroupType);
883 loadData(is, myMirrorOp);
884 loadData(is, myAttrib);
885 loadData(is, myAttribName);
886 loadData(is, myMirroringmethod);
887 loadData(is, myUseTolerance);
888 loadData(is, myTolerance);
889 loadData(is, myOrigin);
890 loadData(is, myDist);
892 loadData(is, myMirroringedge);
893 loadData(is, mySourcehint);
894 loadData(is, myUseconnectivityattrib);
895 loadData(is, myConnectivityattrib);
896 loadData(is, myElementmapname);
897 loadData(is, myDestgroupname);
898 loadData(is, myOutputelemmap);
899 loadData(is, myMirrorelemattrib);
900 loadData(is, myOutputsrcgroup);
901 loadData(is, myMirrorsrcgroup);
902 loadData(is, myOutputdestgroup);
903 loadData(is, myMirrordestgroup);
904 loadData(is, myAttribMirrorOp);
905 loadData(is, myUVOrigin);
906 loadData(is, myUVAngle);
907 loadData(is, myStringReplace);
908 loadData(is, mySearch);
909 loadData(is, myReplace);
919 if (!thissop)
return getGroup();
921 OP_Utils::evalOpParm(result, thissop,
"group", cookparms.
getCookTime(), 0);
929 if (!thissop)
return getGroupType();
931 OP_Utils::evalOpParm(result, thissop,
"grouptype", cookparms.
getCookTime(), 0);
939 if (!thissop)
return getMirrorOp();
941 OP_Utils::evalOpParm(result, thissop,
"usegroupas", cookparms.
getCookTime(), 0);
949 if (!thissop)
return getAttrib();
951 OP_Utils::evalOpParm(result, thissop,
"attrib", cookparms.
getCookTime(), 0);
959 if (!thissop)
return getAttribName();
961 OP_Utils::evalOpParm(result, thissop,
"attribname", cookparms.
getCookTime(), 0);
969 if (!thissop)
return getMirroringmethod();
971 OP_Utils::evalOpParm(result, thissop,
"mirroringmethod", cookparms.
getCookTime(), 0);
979 if (!thissop)
return getUseTolerance();
981 OP_Utils::evalOpParm(result, thissop,
"usetolerance", cookparms.
getCookTime(), 0);
989 if (!thissop)
return getTolerance();
991 OP_Utils::evalOpParm(result, thissop,
"tolerance", cookparms.
getCookTime(), 0);
999 if (!thissop)
return getOrigin();
1001 OP_Utils::evalOpParm(result, thissop,
"origin", cookparms.
getCookTime(), 0);
1009 if (!thissop)
return getDist();
1011 OP_Utils::evalOpParm(result, thissop,
"dist", cookparms.
getCookTime(), 0);
1019 if (!thissop)
return getDir();
1021 OP_Utils::evalOpParm(result, thissop,
"dir", cookparms.
getCookTime(), 0);
1029 if (!thissop)
return getMirroringedge();
1031 OP_Utils::evalOpParm(result, thissop,
"mirroringedge", cookparms.
getCookTime(), 0);
1039 if (!thissop)
return getSourcehint();
1041 OP_Utils::evalOpParm(result, thissop,
"sourcehint", cookparms.
getCookTime(), 0);
1049 if (!thissop)
return getUseconnectivityattrib();
1051 OP_Utils::evalOpParm(result, thissop,
"useconnectivityattrib", cookparms.
getCookTime(), 0);
1059 if (!thissop)
return getConnectivityattrib();
1061 OP_Utils::evalOpParm(result, thissop,
"connectivityattrib", cookparms.
getCookTime(), 0);
1069 if (!thissop)
return getElementmapname();
1071 OP_Utils::evalOpParm(result, thissop,
"elementmapname", cookparms.
getCookTime(), 0);
1079 if (!thissop)
return getDestgroupname();
1081 OP_Utils::evalOpParm(result, thissop,
"destgroupname", cookparms.
getCookTime(), 0);
1089 if (!thissop)
return getOutputelemmap();
1091 OP_Utils::evalOpParm(result, thissop,
"outputelemmap", cookparms.
getCookTime(), 0);
1099 if (!thissop)
return getMirrorelemattrib();
1101 OP_Utils::evalOpParm(result, thissop,
"mirrorelemattrib", cookparms.
getCookTime(), 0);
1109 if (!thissop)
return getOutputsrcgroup();
1111 OP_Utils::evalOpParm(result, thissop,
"outputsrcgroup", cookparms.
getCookTime(), 0);
1119 if (!thissop)
return getMirrorsrcgroup();
1121 OP_Utils::evalOpParm(result, thissop,
"mirrorsrcgroup", cookparms.
getCookTime(), 0);
1129 if (!thissop)
return getOutputdestgroup();
1131 OP_Utils::evalOpParm(result, thissop,
"outputdestgroup", cookparms.
getCookTime(), 0);
1139 if (!thissop)
return getMirrordestgroup();
1141 OP_Utils::evalOpParm(result, thissop,
"mirrordestgroup", cookparms.
getCookTime(), 0);
1149 if (!thissop)
return getAttribMirrorOp();
1151 OP_Utils::evalOpParm(result, thissop,
"attribmirror", cookparms.
getCookTime(), 0);
1159 if (!thissop)
return getUVOrigin();
1161 OP_Utils::evalOpParm(result, thissop,
"uvorig", cookparms.
getCookTime(), 0);
1169 if (!thissop)
return getUVAngle();
1171 OP_Utils::evalOpParm(result, thissop,
"uvangle", cookparms.
getCookTime(), 0);
1179 if (!thissop)
return getStringReplace();
1181 OP_Utils::evalOpParm(result, thissop,
"stringreplace", cookparms.
getCookTime(), 0);
1189 if (!thissop)
return getSearch();
1191 OP_Utils::evalOpParm(result, thissop,
"search", cookparms.
getCookTime(), 0);
1199 if (!thissop)
return getReplace();
1201 OP_Utils::evalOpParm(result, thissop,
"replace", cookparms.
getCookTime(), 0);
1211 int64 myMirroringmethod;
1212 bool myUseTolerance;
1219 bool myUseconnectivityattrib;
1223 bool myOutputelemmap;
1225 bool myOutputsrcgroup;
1227 bool myOutputdestgroup;
1229 int64 myAttribMirrorOp;
1232 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
GLsizei const GLfloat * value
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
UT_SharedPtr< const PRM_DataItem > PRM_DataItemHandle
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
virtual UT_StringHolder baseGetSignature() const
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)
virtual bool isDirect() const =0
Direct proxies mirror actual nodes:
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
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