HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SOP_Transform.proto.h
Go to the documentation of this file.
1 /* Automagically Generated by generate_proto.py
2  * Do not Edit
3  */
4 #pragma once
5 
6 #include <SOP/SOP_API.h>
7 #include <SOP/SOP_NodeVerb.h>
8 #include <SOP/SOP_GraphProxy.h>
9 
10 #include <OP/OP_Utils.h>
11 #include <PRM/PRM_Parm.h>
12 #include <UT/UT_IStream.h>
13 #include <UT/UT_NTStreamUtil.h>
14 #include <UT/UT_Ramp.h>
15 #include <UT/UT_SharedPtr.h>
16 #include <UT/UT_StringHolder.h>
17 #include <UT/UT_StringStream.h>
18 #include <UT/UT_VectorTypes.h>
19 #include <UT/UT_EnvControl.h>
20 #include <SYS/SYS_Types.h>
21 
22 using namespace UT::Literal;
23 
24 class DEP_MicroNode;
25 namespace SOP_TransformEnums
26 {
27  enum class Grouptype
28  {
29  GUESS = 0,
30  BREAKPOINTS,
31  EDGES,
32  POINTS,
33  PRIMS
34  };
35  enum class Xord
36  {
37  SRT = 0,
38  STR,
39  RST,
40  RTS,
41  TSR,
42  TRS
43  };
44  enum class Rord
45  {
46  XYZ = 0,
47  XZY,
48  YXZ,
49  YZX,
50  ZXY,
51  ZYX
52  };
53  enum class Prexform_xord
54  {
55  SRT = 0,
56  STR,
57  RST,
58  RTS,
59  TSR,
60  TRS
61  };
62  enum class Prexform_rord
63  {
64  XYZ = 0,
65  XZY,
66  YXZ,
67  YZX,
68  ZXY,
69  ZYX
70  };
71  enum class Outputmerge
72  {
73  REPLACE = 0,
74  PRE,
75  POST
76  };
77 }
78 
79 
81 {
82 public:
83  static int version() { return 1; }
84 
86  {
87  myGroup = ""_sh;
88  myGrouptype = 0;
89  myXord = 0;
90  myRord = 0;
91  myT = UT_Vector3D(0,0,0);
92  myR = UT_Vector3D(0,0,0);
93  myS = UT_Vector3D(1,1,1);
94  myShear = UT_Vector3D(0,0,0);
95  myScale = 1;
96  myP = UT_Vector3D(0,0,0);
97  myPr = UT_Vector3D(0,0,0);
98  myPrexform_xord = 0;
99  myPrexform_rord = 0;
100  myPrexform_t = UT_Vector3D(0,0,0);
101  myPrexform_r = UT_Vector3D(0,0,0);
102  myPrexform_s = UT_Vector3D(1,1,1);
103  myPrexform_shear = UT_Vector3D(0,0,0);
104  myAttribs = "*"_sh;
105  myUpdatenmls = false;
106  myUpdateaffectednmls = true;
107  myVlength = true;
108  myInvertxform = false;
109  myAddattrib = false;
110  myOutputattrib = "xform"_sh;
111  myOutputmerge = 2;
112 
113  }
114 
115  explicit SOP_TransformParms(const SOP_TransformParms &) = default;
116 
117  ~SOP_TransformParms() override {}
118 
119  bool operator==(const SOP_TransformParms &src) const
120  {
121  if (myGroup != src.myGroup) return false;
122  if (myGrouptype != src.myGrouptype) return false;
123  if (myXord != src.myXord) return false;
124  if (myRord != src.myRord) return false;
125  if (myT != src.myT) return false;
126  if (myR != src.myR) return false;
127  if (myS != src.myS) return false;
128  if (myShear != src.myShear) return false;
129  if (myScale != src.myScale) return false;
130  if (myP != src.myP) return false;
131  if (myPr != src.myPr) return false;
132  if (myPrexform_xord != src.myPrexform_xord) return false;
133  if (myPrexform_rord != src.myPrexform_rord) return false;
134  if (myPrexform_t != src.myPrexform_t) return false;
135  if (myPrexform_r != src.myPrexform_r) return false;
136  if (myPrexform_s != src.myPrexform_s) return false;
137  if (myPrexform_shear != src.myPrexform_shear) return false;
138  if (myAttribs != src.myAttribs) return false;
139  if (myUpdatenmls != src.myUpdatenmls) return false;
140  if (myUpdateaffectednmls != src.myUpdateaffectednmls) return false;
141  if (myVlength != src.myVlength) return false;
142  if (myInvertxform != src.myInvertxform) return false;
143  if (myAddattrib != src.myAddattrib) return false;
144  if (myOutputattrib != src.myOutputattrib) return false;
145  if (myOutputmerge != src.myOutputmerge) return false;
146 
147  return true;
148  }
149  bool operator!=(const SOP_TransformParms &src) const
150  {
151  return !operator==(src);
152  }
159 
160 
161 
162  void buildFromOp(const SOP_GraphProxy *graph, exint nodeidx, fpreal time, DEP_MicroNode *depnode)
163  {
164  myGroup = ""_sh;
165  if (true)
166  graph->evalOpParm(myGroup, nodeidx, "group", time, 0);
167  myGrouptype = 0;
168  if (true)
169  graph->evalOpParm(myGrouptype, nodeidx, "grouptype", time, 0);
170  myXord = 0;
171  if (true)
172  graph->evalOpParm(myXord, nodeidx, "xOrd", time, 0);
173  myRord = 0;
174  if (true)
175  graph->evalOpParm(myRord, nodeidx, "rOrd", time, 0);
176  myT = UT_Vector3D(0,0,0);
177  if (true)
178  graph->evalOpParm(myT, nodeidx, "t", time, 0);
179  myR = UT_Vector3D(0,0,0);
180  if (true)
181  graph->evalOpParm(myR, nodeidx, "r", time, 0);
182  myS = UT_Vector3D(1,1,1);
183  if (true)
184  graph->evalOpParm(myS, nodeidx, "s", time, 0);
185  myShear = UT_Vector3D(0,0,0);
186  if (true)
187  graph->evalOpParm(myShear, nodeidx, "shear", time, 0);
188  myScale = 1;
189  if (true)
190  graph->evalOpParm(myScale, nodeidx, "scale", time, 0);
191  myP = UT_Vector3D(0,0,0);
192  if (true)
193  graph->evalOpParm(myP, nodeidx, "p", time, 0);
194  myPr = UT_Vector3D(0,0,0);
195  if (true)
196  graph->evalOpParm(myPr, nodeidx, "pr", time, 0);
197  myPrexform_xord = 0;
198  if (true)
199  graph->evalOpParm(myPrexform_xord, nodeidx, "prexform_xOrd", time, 0);
200  myPrexform_rord = 0;
201  if (true)
202  graph->evalOpParm(myPrexform_rord, nodeidx, "prexform_rOrd", time, 0);
203  myPrexform_t = UT_Vector3D(0,0,0);
204  if (true)
205  graph->evalOpParm(myPrexform_t, nodeidx, "prexform_t", time, 0);
206  myPrexform_r = UT_Vector3D(0,0,0);
207  if (true)
208  graph->evalOpParm(myPrexform_r, nodeidx, "prexform_r", time, 0);
209  myPrexform_s = UT_Vector3D(1,1,1);
210  if (true)
211  graph->evalOpParm(myPrexform_s, nodeidx, "prexform_s", time, 0);
212  myPrexform_shear = UT_Vector3D(0,0,0);
213  if (true)
214  graph->evalOpParm(myPrexform_shear, nodeidx, "prexform_shear", time, 0);
215  myAttribs = "*"_sh;
216  if (true)
217  graph->evalOpParm(myAttribs, nodeidx, "attribs", time, 0);
218  myUpdatenmls = false;
219  if (true)
220  graph->evalOpParm(myUpdatenmls, nodeidx, "updatenmls", time, 0);
221  myUpdateaffectednmls = true;
222  if (true && ( (true&&!(((getUpdatenmls()==1)))) ) )
223  graph->evalOpParm(myUpdateaffectednmls, nodeidx, "updateaffectednmls", time, 0);
224  myVlength = true;
225  if (true && ( (true&&!(((getUpdatenmls()==1)))) ) )
226  graph->evalOpParm(myVlength, nodeidx, "vlength", time, 0);
227  myInvertxform = false;
228  if (true)
229  graph->evalOpParm(myInvertxform, nodeidx, "invertxform", time, 0);
230  myAddattrib = false;
231  if (true)
232  graph->evalOpParm(myAddattrib, nodeidx, "addattrib", time, 0);
233  myOutputattrib = "xform"_sh;
234  if (true && ( (true&&!(((getAddattrib()==0)))) ) )
235  graph->evalOpParm(myOutputattrib, nodeidx, "outputattrib", time, 0);
236  myOutputmerge = 2;
237  if (true && ( (true&&!(((getAddattrib()==0)))) ) )
238  graph->evalOpParm(myOutputmerge, nodeidx, "outputmerge", time, 0);
239 
240  }
241 
242 
243  void loadFromOpSubclass(const LoadParms &loadparms) override
244  {
245  buildFromOp(loadparms.graph(), loadparms.nodeIdx(), loadparms.context().getTime(), loadparms.depnode());
246  }
247 
248 
249  void copyFrom(const SOP_NodeParms *src) override
250  {
251  *this = *((const SOP_TransformParms *)src);
252  }
253 
254  template <typename T>
255  void
256  doGetParmValue(TempIndex idx, TempIndex instance, T &value) const
257  {
258  if (idx.size() < 1)
259  return;
260  UT_ASSERT(idx.size() == instance.size()+1);
261  if (idx.size() != instance.size()+1)
262  return;
263  switch (idx[0])
264  {
265  case 0:
266  coerceValue(value, myGroup);
267  break;
268  case 1:
269  coerceValue(value, myGrouptype);
270  break;
271  case 2:
272  coerceValue(value, myXord);
273  break;
274  case 3:
275  coerceValue(value, myRord);
276  break;
277  case 4:
278  coerceValue(value, myT);
279  break;
280  case 5:
281  coerceValue(value, myR);
282  break;
283  case 6:
284  coerceValue(value, myS);
285  break;
286  case 7:
287  coerceValue(value, myShear);
288  break;
289  case 8:
290  coerceValue(value, myScale);
291  break;
292  case 9:
293  coerceValue(value, myP);
294  break;
295  case 10:
296  coerceValue(value, myPr);
297  break;
298  case 11:
299  coerceValue(value, myPrexform_xord);
300  break;
301  case 12:
302  coerceValue(value, myPrexform_rord);
303  break;
304  case 13:
305  coerceValue(value, myPrexform_t);
306  break;
307  case 14:
308  coerceValue(value, myPrexform_r);
309  break;
310  case 15:
311  coerceValue(value, myPrexform_s);
312  break;
313  case 16:
314  coerceValue(value, myPrexform_shear);
315  break;
316  case 17:
317  coerceValue(value, myAttribs);
318  break;
319  case 18:
320  coerceValue(value, myUpdatenmls);
321  break;
322  case 19:
323  coerceValue(value, myUpdateaffectednmls);
324  break;
325  case 20:
326  coerceValue(value, myVlength);
327  break;
328  case 21:
329  coerceValue(value, myInvertxform);
330  break;
331  case 22:
332  coerceValue(value, myAddattrib);
333  break;
334  case 23:
335  coerceValue(value, myOutputattrib);
336  break;
337  case 24:
338  coerceValue(value, myOutputmerge);
339  break;
340 
341  }
342  }
343 
344  void getNestParmValue(TempIndex idx, TempIndex instance, exint &value) const override
345  { doGetParmValue(idx, instance, value); }
346  void getNestParmValue(TempIndex idx, TempIndex instance, fpreal &value) const override
347  { doGetParmValue(idx, instance, value); }
348  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector2D &value) const override
349  { doGetParmValue(idx, instance, value); }
350  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector3D &value) const override
351  { doGetParmValue(idx, instance, value); }
352  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector4D &value) const override
353  { doGetParmValue(idx, instance, value); }
354  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix2D &value) const override
355  { doGetParmValue(idx, instance, value); }
356  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix3D &value) const override
357  { doGetParmValue(idx, instance, value); }
358  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix4D &value) const override
359  { doGetParmValue(idx, instance, value); }
360  void getNestParmValue(TempIndex idx, TempIndex instance, UT_StringHolder &value) const override
361  { doGetParmValue(idx, instance, value); }
362  void getNestParmValue(TempIndex idx, TempIndex instance, UT_SharedPtr<UT_Ramp> &value) const override
363  { doGetParmValue(idx, instance, value); }
364  void getNestParmValue(TempIndex idx, TempIndex instance, PRM_DataItemHandle &value) const override
365  { doGetParmValue(idx, instance, value); }
366 
367  template <typename T>
368  void
369  doSetParmValue(TempIndex idx, TempIndex instance, const T &value)
370  {
371  if (idx.size() < 1)
372  return;
373  UT_ASSERT(idx.size() == instance.size()+1);
374  if (idx.size() != instance.size()+1)
375  return;
376  switch (idx[0])
377  {
378  case 0:
379  coerceValue(myGroup, ( ( value ) ));
380  break;
381  case 1:
382  coerceValue(myGrouptype, clampMinValue(0, clampMaxValue(4, value ) ));
383  break;
384  case 2:
385  coerceValue(myXord, clampMinValue(0, clampMaxValue(5, value ) ));
386  break;
387  case 3:
388  coerceValue(myRord, clampMinValue(0, clampMaxValue(5, value ) ));
389  break;
390  case 4:
391  coerceValue(myT, ( ( value ) ));
392  break;
393  case 5:
394  coerceValue(myR, ( ( value ) ));
395  break;
396  case 6:
397  coerceValue(myS, ( ( value ) ));
398  break;
399  case 7:
400  coerceValue(myShear, ( ( value ) ));
401  break;
402  case 8:
403  coerceValue(myScale, ( ( value ) ));
404  break;
405  case 9:
406  coerceValue(myP, ( ( value ) ));
407  break;
408  case 10:
409  coerceValue(myPr, ( ( value ) ));
410  break;
411  case 11:
412  coerceValue(myPrexform_xord, clampMinValue(0, clampMaxValue(5, value ) ));
413  break;
414  case 12:
415  coerceValue(myPrexform_rord, clampMinValue(0, clampMaxValue(5, value ) ));
416  break;
417  case 13:
418  coerceValue(myPrexform_t, ( ( value ) ));
419  break;
420  case 14:
421  coerceValue(myPrexform_r, ( ( value ) ));
422  break;
423  case 15:
424  coerceValue(myPrexform_s, ( ( value ) ));
425  break;
426  case 16:
427  coerceValue(myPrexform_shear, ( ( value ) ));
428  break;
429  case 17:
430  coerceValue(myAttribs, ( ( value ) ));
431  break;
432  case 18:
433  coerceValue(myUpdatenmls, ( ( value ) ));
434  break;
435  case 19:
436  coerceValue(myUpdateaffectednmls, ( ( value ) ));
437  break;
438  case 20:
439  coerceValue(myVlength, ( ( value ) ));
440  break;
441  case 21:
442  coerceValue(myInvertxform, ( ( value ) ));
443  break;
444  case 22:
445  coerceValue(myAddattrib, ( ( value ) ));
446  break;
447  case 23:
448  coerceValue(myOutputattrib, ( ( value ) ));
449  break;
450  case 24:
451  coerceValue(myOutputmerge, clampMinValue(0, clampMaxValue(2, value ) ));
452  break;
453 
454  }
455  }
456 
457  void setNestParmValue(TempIndex idx, TempIndex instance, const exint &value) override
458  { doSetParmValue(idx, instance, value); }
459  void setNestParmValue(TempIndex idx, TempIndex instance, const fpreal &value) override
460  { doSetParmValue(idx, instance, value); }
461  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector2D &value) override
462  { doSetParmValue(idx, instance, value); }
463  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector3D &value) override
464  { doSetParmValue(idx, instance, value); }
465  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector4D &value) override
466  { doSetParmValue(idx, instance, value); }
467  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix2D &value) override
468  { doSetParmValue(idx, instance, value); }
469  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix3D &value) override
470  { doSetParmValue(idx, instance, value); }
471  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix4D &value) override
472  { doSetParmValue(idx, instance, value); }
473  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_StringHolder &value) override
474  { doSetParmValue(idx, instance, value); }
475  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_SharedPtr<UT_Ramp> &value) override
476  { doSetParmValue(idx, instance, value); }
477  void setNestParmValue(TempIndex idx, TempIndex instance, const PRM_DataItemHandle &value) override
478  { doSetParmValue(idx, instance, value); }
479 
480  exint getNestNumParms(TempIndex idx) const override
481  {
482  if (idx.size() == 0)
483  return 25;
484  switch (idx[0])
485  {
486 
487  }
488  // Invalid
489  return 0;
490  }
491 
492  const char *getNestParmName(TempIndex fieldnum) const override
493  {
494  if (fieldnum.size() < 1)
495  return 0;
496  switch (fieldnum[0])
497  {
498  case 0:
499  return "group";
500  case 1:
501  return "grouptype";
502  case 2:
503  return "xOrd";
504  case 3:
505  return "rOrd";
506  case 4:
507  return "t";
508  case 5:
509  return "r";
510  case 6:
511  return "s";
512  case 7:
513  return "shear";
514  case 8:
515  return "scale";
516  case 9:
517  return "p";
518  case 10:
519  return "pr";
520  case 11:
521  return "prexform_xOrd";
522  case 12:
523  return "prexform_rOrd";
524  case 13:
525  return "prexform_t";
526  case 14:
527  return "prexform_r";
528  case 15:
529  return "prexform_s";
530  case 16:
531  return "prexform_shear";
532  case 17:
533  return "attribs";
534  case 18:
535  return "updatenmls";
536  case 19:
537  return "updateaffectednmls";
538  case 20:
539  return "vlength";
540  case 21:
541  return "invertxform";
542  case 22:
543  return "addattrib";
544  case 23:
545  return "outputattrib";
546  case 24:
547  return "outputmerge";
548 
549  }
550  return 0;
551  }
552 
553  ParmType getNestParmType(TempIndex fieldnum) const override
554  {
555  if (fieldnum.size() < 1)
556  return PARM_UNSUPPORTED;
557  switch (fieldnum[0])
558  {
559  case 0:
560  return PARM_STRING;
561  case 1:
562  return PARM_INTEGER;
563  case 2:
564  return PARM_INTEGER;
565  case 3:
566  return PARM_INTEGER;
567  case 4:
568  return PARM_VECTOR3;
569  case 5:
570  return PARM_VECTOR3;
571  case 6:
572  return PARM_VECTOR3;
573  case 7:
574  return PARM_VECTOR3;
575  case 8:
576  return PARM_FLOAT;
577  case 9:
578  return PARM_VECTOR3;
579  case 10:
580  return PARM_VECTOR3;
581  case 11:
582  return PARM_INTEGER;
583  case 12:
584  return PARM_INTEGER;
585  case 13:
586  return PARM_VECTOR3;
587  case 14:
588  return PARM_VECTOR3;
589  case 15:
590  return PARM_VECTOR3;
591  case 16:
592  return PARM_VECTOR3;
593  case 17:
594  return PARM_STRING;
595  case 18:
596  return PARM_INTEGER;
597  case 19:
598  return PARM_INTEGER;
599  case 20:
600  return PARM_INTEGER;
601  case 21:
602  return PARM_INTEGER;
603  case 22:
604  return PARM_INTEGER;
605  case 23:
606  return PARM_STRING;
607  case 24:
608  return PARM_INTEGER;
609 
610  }
611  return PARM_UNSUPPORTED;
612  }
613 
614  // Boiler plate to load individual types.
615  static void loadData(UT_IStream &is, int64 &v)
616  { is.bread(&v, 1); }
617  static void loadData(UT_IStream &is, bool &v)
618  { int64 iv; is.bread(&iv, 1); v = iv; }
619  static void loadData(UT_IStream &is, fpreal64 &v)
620  { is.bread<fpreal64>(&v, 1); }
621  static void loadData(UT_IStream &is, UT_Vector2D &v)
622  { is.bread<fpreal64>(&v.x(), 1); is.bread<fpreal64>(&v.y(), 1); }
623  static void loadData(UT_IStream &is, UT_Vector3D &v)
624  { is.bread<fpreal64>(&v.x(), 1); is.bread<fpreal64>(&v.y(), 1);
625  is.bread<fpreal64>(&v.z(), 1); }
626  static void loadData(UT_IStream &is, UT_Vector4D &v)
627  { is.bread<fpreal64>(&v.x(), 1); is.bread<fpreal64>(&v.y(), 1);
628  is.bread<fpreal64>(&v.z(), 1); is.bread<fpreal64>(&v.w(), 1); }
629  static void loadData(UT_IStream &is, UT_Matrix2D &v)
630  { for (int r = 0; r < 2; r++) for (int c = 0; c < 2; c++) is.bread<fpreal64>(&v(r, c), 1); }
631  static void loadData(UT_IStream &is, UT_Matrix3D &v)
632  { for (int r = 0; r < 3; r++) for (int c = 0; c < 3; c++) is.bread<fpreal64>(&v(r, c), 1); }
633  static void loadData(UT_IStream &is, UT_Matrix4D &v)
634  { for (int r = 0; r < 4; r++) for (int c = 0; c < 4; c++) is.bread<fpreal64>(&v(r, c), 1); }
635  static void loadData(UT_IStream &is, UT_Vector2I &v)
636  { is.bread<int64>(&v.x(), 1); is.bread<int64>(&v.y(), 1); }
637  static void loadData(UT_IStream &is, UT_Vector3I &v)
638  { is.bread<int64>(&v.x(), 1); is.bread<int64>(&v.y(), 1);
639  is.bread<int64>(&v.z(), 1); }
640  static void loadData(UT_IStream &is, UT_Vector4I &v)
641  { is.bread<int64>(&v.x(), 1); is.bread<int64>(&v.y(), 1);
642  is.bread<int64>(&v.z(), 1); is.bread<int64>(&v.w(), 1); }
644  { is.bread(v); }
646  { UT_StringHolder rampdata;
647  loadData(is, rampdata);
648  if (rampdata.isstring())
649  {
650  v.reset(new UT_Ramp());
651  UT_IStream istr((const char *) rampdata, rampdata.length(), UT_ISTREAM_ASCII);
652  v->load(istr);
653  }
654  else v.reset();
655  }
658  loadData(is, data);
659  if (data.isstring())
660  {
661  // Find the data type.
662  const char *colon = UT_StringWrap(data).findChar(':');
663  if (colon)
664  {
665  int typelen = colon - data.buffer();
667  type.strncpy(data.buffer(), typelen);
668  UT_IStream istr(((const char *) data) + typelen + 1, data.length() - (typelen + 1), UT_ISTREAM_BINARY);
669 
670  v = PRM_DataFactory::parseBinary(type.buffer(), istr);
671  }
672  }
673  else v.reset();
674  }
675 
676  static void saveData(std::ostream &os, int64 v)
677  { UTwrite(os, &v); }
678  static void saveData(std::ostream &os, bool v)
679  { int64 iv = v; UTwrite(os, &iv); }
680  static void saveData(std::ostream &os, fpreal64 v)
681  { UTwrite<fpreal64>(os, &v); }
682  static void saveData(std::ostream &os, UT_Vector2D v)
683  { UTwrite<fpreal64>(os, &v.x()); UTwrite<fpreal64>(os, &v.y()); }
684  static void saveData(std::ostream &os, UT_Vector3D v)
685  { UTwrite<fpreal64>(os, &v.x()); UTwrite<fpreal64>(os, &v.y());
686  UTwrite<fpreal64>(os, &v.z()); }
687  static void saveData(std::ostream &os, UT_Vector4D v)
688  { UTwrite<fpreal64>(os, &v.x()); UTwrite<fpreal64>(os, &v.y());
689  UTwrite<fpreal64>(os, &v.z()); UTwrite<fpreal64>(os, &v.w()); }
690  static void saveData(std::ostream &os, UT_Matrix2D v)
692  static void saveData(std::ostream &os, UT_Matrix3D v)
694  static void saveData(std::ostream &os, UT_Matrix4D v)
696  static void saveData(std::ostream &os, UT_StringHolder s)
697  { UT_StringWrap(s).saveBinary(os); }
698  static void saveData(std::ostream &os, UT_SharedPtr<UT_Ramp> s)
700  UT_OStringStream ostr;
701  if (s) s->save(ostr);
702  result = ostr.str();
703  saveData(os, result);
704  }
705  static void saveData(std::ostream &os, PRM_DataItemHandle s)
707  UT_OStringStream ostr;
708  if (s)
709  {
710  ostr << s->getDataTypeToken();
711  ostr << ":";
712  s->saveBinary(ostr);
713  }
714  result = ostr.str();
715  saveData(os, result);
716  }
717 
718 
719  void save(std::ostream &os) const
720  {
721  int32 v = version();
722  UTwrite(os, &v);
723  saveData(os, myGroup);
724  saveData(os, myGrouptype);
725  saveData(os, myXord);
726  saveData(os, myRord);
727  saveData(os, myT);
728  saveData(os, myR);
729  saveData(os, myS);
730  saveData(os, myShear);
731  saveData(os, myScale);
732  saveData(os, myP);
733  saveData(os, myPr);
734  saveData(os, myPrexform_xord);
735  saveData(os, myPrexform_rord);
736  saveData(os, myPrexform_t);
737  saveData(os, myPrexform_r);
738  saveData(os, myPrexform_s);
739  saveData(os, myPrexform_shear);
740  saveData(os, myAttribs);
741  saveData(os, myUpdatenmls);
742  saveData(os, myUpdateaffectednmls);
743  saveData(os, myVlength);
744  saveData(os, myInvertxform);
745  saveData(os, myAddattrib);
746  saveData(os, myOutputattrib);
747  saveData(os, myOutputmerge);
748 
749  }
750 
751  bool load(UT_IStream &is)
752  {
753  int32 v;
754  is.bread(&v, 1);
755  if (version() != v)
756  {
757  // Fail incompatible versions
758  return false;
759  }
760  loadData(is, myGroup);
761  loadData(is, myGrouptype);
762  loadData(is, myXord);
763  loadData(is, myRord);
764  loadData(is, myT);
765  loadData(is, myR);
766  loadData(is, myS);
767  loadData(is, myShear);
768  loadData(is, myScale);
769  loadData(is, myP);
770  loadData(is, myPr);
771  loadData(is, myPrexform_xord);
772  loadData(is, myPrexform_rord);
773  loadData(is, myPrexform_t);
774  loadData(is, myPrexform_r);
775  loadData(is, myPrexform_s);
776  loadData(is, myPrexform_shear);
777  loadData(is, myAttribs);
778  loadData(is, myUpdatenmls);
779  loadData(is, myUpdateaffectednmls);
780  loadData(is, myVlength);
781  loadData(is, myInvertxform);
782  loadData(is, myAddattrib);
783  loadData(is, myOutputattrib);
784  loadData(is, myOutputmerge);
785 
786  return true;
787  }
788 
789  const UT_StringHolder & getGroup() const { return myGroup; }
790  void setGroup(const UT_StringHolder & val) { myGroup = val; }
792  {
793  SOP_Node *thissop = cookparms.getNode();
794  if (!thissop) return getGroup();
796  OP_Utils::evalOpParm(result, thissop, "group", cookparms.getCookTime(), 0);
797  return result;
798  }
799  Grouptype getGrouptype() const { return Grouptype(myGrouptype); }
800  void setGrouptype(Grouptype val) { myGrouptype = int64(val); }
802  {
803  SOP_Node *thissop = cookparms.getNode();
804  if (!thissop) return getGrouptype();
805  int64 result;
806  OP_Utils::evalOpParm(result, thissop, "grouptype", cookparms.getCookTime(), 0);
807  return Grouptype(result);
808  }
809  Xord getXord() const { return Xord(myXord); }
810  void setXord(Xord val) { myXord = int64(val); }
811  Xord opXord(const SOP_NodeVerb::CookParms &cookparms) const
812  {
813  SOP_Node *thissop = cookparms.getNode();
814  if (!thissop) return getXord();
815  int64 result;
816  OP_Utils::evalOpParm(result, thissop, "xOrd", cookparms.getCookTime(), 0);
817  return Xord(result);
818  }
819  Rord getRord() const { return Rord(myRord); }
820  void setRord(Rord val) { myRord = int64(val); }
821  Rord opRord(const SOP_NodeVerb::CookParms &cookparms) const
822  {
823  SOP_Node *thissop = cookparms.getNode();
824  if (!thissop) return getRord();
825  int64 result;
826  OP_Utils::evalOpParm(result, thissop, "rOrd", cookparms.getCookTime(), 0);
827  return Rord(result);
828  }
829  UT_Vector3D getT() const { return myT; }
830  void setT(UT_Vector3D val) { myT = val; }
831  UT_Vector3D opT(const SOP_NodeVerb::CookParms &cookparms) const
832  {
833  SOP_Node *thissop = cookparms.getNode();
834  if (!thissop) return getT();
836  OP_Utils::evalOpParm(result, thissop, "t", cookparms.getCookTime(), 0);
837  return result;
838  }
839  UT_Vector3D getR() const { return myR; }
840  void setR(UT_Vector3D val) { myR = val; }
841  UT_Vector3D opR(const SOP_NodeVerb::CookParms &cookparms) const
842  {
843  SOP_Node *thissop = cookparms.getNode();
844  if (!thissop) return getR();
846  OP_Utils::evalOpParm(result, thissop, "r", cookparms.getCookTime(), 0);
847  return result;
848  }
849  UT_Vector3D getS() const { return myS; }
850  void setS(UT_Vector3D val) { myS = val; }
851  UT_Vector3D opS(const SOP_NodeVerb::CookParms &cookparms) const
852  {
853  SOP_Node *thissop = cookparms.getNode();
854  if (!thissop) return getS();
856  OP_Utils::evalOpParm(result, thissop, "s", cookparms.getCookTime(), 0);
857  return result;
858  }
859  UT_Vector3D getShear() const { return myShear; }
860  void setShear(UT_Vector3D val) { myShear = val; }
862  {
863  SOP_Node *thissop = cookparms.getNode();
864  if (!thissop) return getShear();
866  OP_Utils::evalOpParm(result, thissop, "shear", cookparms.getCookTime(), 0);
867  return result;
868  }
869  fpreal64 getScale() const { return myScale; }
870  void setScale(fpreal64 val) { myScale = val; }
871  fpreal64 opScale(const SOP_NodeVerb::CookParms &cookparms) const
872  {
873  SOP_Node *thissop = cookparms.getNode();
874  if (!thissop) return getScale();
876  OP_Utils::evalOpParm(result, thissop, "scale", cookparms.getCookTime(), 0);
877  return result;
878  }
879  UT_Vector3D getP() const { return myP; }
880  void setP(UT_Vector3D val) { myP = val; }
881  UT_Vector3D opP(const SOP_NodeVerb::CookParms &cookparms) const
882  {
883  SOP_Node *thissop = cookparms.getNode();
884  if (!thissop) return getP();
886  OP_Utils::evalOpParm(result, thissop, "p", cookparms.getCookTime(), 0);
887  return result;
888  }
889  UT_Vector3D getPr() const { return myPr; }
890  void setPr(UT_Vector3D val) { myPr = val; }
891  UT_Vector3D opPr(const SOP_NodeVerb::CookParms &cookparms) const
892  {
893  SOP_Node *thissop = cookparms.getNode();
894  if (!thissop) return getPr();
896  OP_Utils::evalOpParm(result, thissop, "pr", cookparms.getCookTime(), 0);
897  return result;
898  }
899  Prexform_xord getPrexform_xord() const { return Prexform_xord(myPrexform_xord); }
900  void setPrexform_xord(Prexform_xord val) { myPrexform_xord = int64(val); }
902  {
903  SOP_Node *thissop = cookparms.getNode();
904  if (!thissop) return getPrexform_xord();
905  int64 result;
906  OP_Utils::evalOpParm(result, thissop, "prexform_xOrd", cookparms.getCookTime(), 0);
907  return Prexform_xord(result);
908  }
909  Prexform_rord getPrexform_rord() const { return Prexform_rord(myPrexform_rord); }
910  void setPrexform_rord(Prexform_rord val) { myPrexform_rord = int64(val); }
912  {
913  SOP_Node *thissop = cookparms.getNode();
914  if (!thissop) return getPrexform_rord();
915  int64 result;
916  OP_Utils::evalOpParm(result, thissop, "prexform_rOrd", cookparms.getCookTime(), 0);
917  return Prexform_rord(result);
918  }
919  UT_Vector3D getPrexform_t() const { return myPrexform_t; }
920  void setPrexform_t(UT_Vector3D val) { myPrexform_t = val; }
922  {
923  SOP_Node *thissop = cookparms.getNode();
924  if (!thissop) return getPrexform_t();
926  OP_Utils::evalOpParm(result, thissop, "prexform_t", cookparms.getCookTime(), 0);
927  return result;
928  }
929  UT_Vector3D getPrexform_r() const { return myPrexform_r; }
930  void setPrexform_r(UT_Vector3D val) { myPrexform_r = val; }
932  {
933  SOP_Node *thissop = cookparms.getNode();
934  if (!thissop) return getPrexform_r();
936  OP_Utils::evalOpParm(result, thissop, "prexform_r", cookparms.getCookTime(), 0);
937  return result;
938  }
939  UT_Vector3D getPrexform_s() const { return myPrexform_s; }
940  void setPrexform_s(UT_Vector3D val) { myPrexform_s = val; }
942  {
943  SOP_Node *thissop = cookparms.getNode();
944  if (!thissop) return getPrexform_s();
946  OP_Utils::evalOpParm(result, thissop, "prexform_s", cookparms.getCookTime(), 0);
947  return result;
948  }
949  UT_Vector3D getPrexform_shear() const { return myPrexform_shear; }
950  void setPrexform_shear(UT_Vector3D val) { myPrexform_shear = val; }
952  {
953  SOP_Node *thissop = cookparms.getNode();
954  if (!thissop) return getPrexform_shear();
956  OP_Utils::evalOpParm(result, thissop, "prexform_shear", cookparms.getCookTime(), 0);
957  return result;
958  }
959  const UT_StringHolder & getAttribs() const { return myAttribs; }
960  void setAttribs(const UT_StringHolder & val) { myAttribs = val; }
962  {
963  SOP_Node *thissop = cookparms.getNode();
964  if (!thissop) return getAttribs();
966  OP_Utils::evalOpParm(result, thissop, "attribs", cookparms.getCookTime(), 0);
967  return result;
968  }
969  bool getUpdatenmls() const { return myUpdatenmls; }
970  void setUpdatenmls(bool val) { myUpdatenmls = val; }
971  bool opUpdatenmls(const SOP_NodeVerb::CookParms &cookparms) const
972  {
973  SOP_Node *thissop = cookparms.getNode();
974  if (!thissop) return getUpdatenmls();
975  bool result;
976  OP_Utils::evalOpParm(result, thissop, "updatenmls", cookparms.getCookTime(), 0);
977  return result;
978  }
979  bool getUpdateaffectednmls() const { return myUpdateaffectednmls; }
980  void setUpdateaffectednmls(bool val) { myUpdateaffectednmls = val; }
981  bool opUpdateaffectednmls(const SOP_NodeVerb::CookParms &cookparms) const
982  {
983  SOP_Node *thissop = cookparms.getNode();
984  if (!thissop) return getUpdateaffectednmls();
985  bool result;
986  OP_Utils::evalOpParm(result, thissop, "updateaffectednmls", cookparms.getCookTime(), 0);
987  return result;
988  }
989  bool getVlength() const { return myVlength; }
990  void setVlength(bool val) { myVlength = val; }
991  bool opVlength(const SOP_NodeVerb::CookParms &cookparms) const
992  {
993  SOP_Node *thissop = cookparms.getNode();
994  if (!thissop) return getVlength();
995  bool result;
996  OP_Utils::evalOpParm(result, thissop, "vlength", cookparms.getCookTime(), 0);
997  return result;
998  }
999  bool getInvertxform() const { return myInvertxform; }
1000  void setInvertxform(bool val) { myInvertxform = val; }
1001  bool opInvertxform(const SOP_NodeVerb::CookParms &cookparms) const
1002  {
1003  SOP_Node *thissop = cookparms.getNode();
1004  if (!thissop) return getInvertxform();
1005  bool result;
1006  OP_Utils::evalOpParm(result, thissop, "invertxform", cookparms.getCookTime(), 0);
1007  return result;
1008  }
1009  bool getAddattrib() const { return myAddattrib; }
1010  void setAddattrib(bool val) { myAddattrib = val; }
1011  bool opAddattrib(const SOP_NodeVerb::CookParms &cookparms) const
1012  {
1013  SOP_Node *thissop = cookparms.getNode();
1014  if (!thissop) return getAddattrib();
1015  bool result;
1016  OP_Utils::evalOpParm(result, thissop, "addattrib", cookparms.getCookTime(), 0);
1017  return result;
1018  }
1019  const UT_StringHolder & getOutputattrib() const { return myOutputattrib; }
1020  void setOutputattrib(const UT_StringHolder & val) { myOutputattrib = val; }
1022  {
1023  SOP_Node *thissop = cookparms.getNode();
1024  if (!thissop) return getOutputattrib();
1026  OP_Utils::evalOpParm(result, thissop, "outputattrib", cookparms.getCookTime(), 0);
1027  return result;
1028  }
1029  Outputmerge getOutputmerge() const { return Outputmerge(myOutputmerge); }
1030  void setOutputmerge(Outputmerge val) { myOutputmerge = int64(val); }
1032  {
1033  SOP_Node *thissop = cookparms.getNode();
1034  if (!thissop) return getOutputmerge();
1035  int64 result;
1036  OP_Utils::evalOpParm(result, thissop, "outputmerge", cookparms.getCookTime(), 0);
1037  return Outputmerge(result);
1038  }
1039 
1040 private:
1041  UT_StringHolder myGroup;
1042  int64 myGrouptype;
1043  int64 myXord;
1044  int64 myRord;
1045  UT_Vector3D myT;
1046  UT_Vector3D myR;
1047  UT_Vector3D myS;
1048  UT_Vector3D myShear;
1049  fpreal64 myScale;
1050  UT_Vector3D myP;
1051  UT_Vector3D myPr;
1052  int64 myPrexform_xord;
1053  int64 myPrexform_rord;
1054  UT_Vector3D myPrexform_t;
1055  UT_Vector3D myPrexform_r;
1056  UT_Vector3D myPrexform_s;
1057  UT_Vector3D myPrexform_shear;
1058  UT_StringHolder myAttribs;
1059  bool myUpdatenmls;
1060  bool myUpdateaffectednmls;
1061  bool myVlength;
1062  bool myInvertxform;
1063  bool myAddattrib;
1064  UT_StringHolder myOutputattrib;
1065  int64 myOutputmerge;
1066 
1067 };
static void saveData(std::ostream &os, bool v)
bool getInvertxform() const
void doSetParmValue(TempIndex idx, TempIndex instance, const T &value)
UT_Vector3D getShear() const
void setNestParmValue(TempIndex idx, TempIndex instance, const fpreal &value) override
fpreal64 opScale(const SOP_NodeVerb::CookParms &cookparms) const
UT_Vector3D opPrexform_r(const SOP_NodeVerb::CookParms &cookparms) const
static void saveData(std::ostream &os, UT_SharedPtr< UT_Ramp > s)
void setOutputmerge(Outputmerge val)
exint nodeIdx() const
Definition: SOP_NodeVerb.h:102
int int32
Definition: SYS_Types.h:39
SOP_Node * getNode() const
Definition: SOP_NodeVerb.h:734
const UT_StringHolder & getOutputattrib() const
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix3D &value) override
ParmType getNestParmType(TempIndex fieldnum) const override
Grouptype opGrouptype(const SOP_NodeVerb::CookParms &cookparms) const
void setInvertxform(bool val)
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector3D &value) const override
Grouptype getGrouptype() const
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector3D &value) override
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_SharedPtr< UT_Ramp > &value) override
exint getNestNumParms(TempIndex idx) const override
Prexform_rord opPrexform_rord(const SOP_NodeVerb::CookParms &cookparms) const
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector2D &value) override
exint bread(int32 *buffer, exint asize=1)
GT_API const UT_StringHolder time
void setPr(UT_Vector3D val)
fpreal getTime() const
Definition: OP_Context.h:59
bool getUpdatenmls() const
static void saveData(std::ostream &os, UT_Vector3D v)
void setOutputattrib(const UT_StringHolder &val)
const GLfloat * c
Definition: glew.h:16631
bool getUpdateaffectednmls() const
static void loadData(UT_IStream &is, fpreal64 &v)
void getNestParmValue(TempIndex idx, TempIndex instance, fpreal &value) const override
constexpr SYS_FORCE_INLINE T & z() noexcept
Definition: UT_Vector3.h:656
int64 exint
Definition: SYS_Types.h:125
SYS_FORCE_INLINE const char * buffer() const
void setNestParmValue(TempIndex idx, TempIndex instance, const PRM_DataItemHandle &value) override
const SOP_GraphProxy * graph() const
Definition: SOP_NodeVerb.h:101
void setPrexform_s(UT_Vector3D val)
static void loadData(UT_IStream &is, UT_Vector4D &v)
Xord opXord(const SOP_NodeVerb::CookParms &cookparms) const
An output stream object that owns its own string buffer storage.
void setUpdateaffectednmls(bool val)
bool operator!=(const SOP_TransformParms &src) const
void setPrexform_t(UT_Vector3D val)
ZYX
Definition: ImathEuler.h:138
UT_Vector3D getPr() const
static void saveData(std::ostream &os, UT_Matrix3D v)
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix4D &value) const override
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix4D &value) override
GLenum src
Definition: glcorearb.h:1793
static void saveData(std::ostream &os, UT_Matrix4D v)
UT_Vector3D opT(const SOP_NodeVerb::CookParms &cookparms) const
bool opVlength(const SOP_NodeVerb::CookParms &cookparms) const
static void saveData(std::ostream &os, fpreal64 v)
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix2D &value) override
void setAddattrib(bool val)
void setPrexform_rord(Prexform_rord 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.
bool opAddattrib(const SOP_NodeVerb::CookParms &cookparms) const
const UT_StringHolder & getAttribs() const
void setAttribs(const UT_StringHolder &val)
void loadFromOpSubclass(const LoadParms &loadparms) override
static void loadData(UT_IStream &is, int64 &v)
bool opUpdateaffectednmls(const SOP_NodeVerb::CookParms &cookparms) const
UT_StringHolder opGroup(const SOP_NodeVerb::CookParms &cookparms) const
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_StringHolder &value) override
UT_Vector3D opPr(const SOP_NodeVerb::CookParms &cookparms) const
void setR(UT_Vector3D val)
UT_Vector3D opPrexform_t(const SOP_NodeVerb::CookParms &cookparms) const
double fpreal64
Definition: SYS_Types.h:201
void setNestParmValue(TempIndex idx, TempIndex instance, const exint &value) override
void setPrexform_xord(Prexform_xord val)
bool operator==(const BaseDimensions< T > &a, const BaseDimensions< Y > &b)
Definition: Dimensions.h:137
void setS(UT_Vector3D val)
UT_Vector3D opR(const SOP_NodeVerb::CookParms &cookparms) const
static void saveData(std::ostream &os, PRM_DataItemHandle s)
void setP(UT_Vector3D val)
UT_Vector3D opPrexform_s(const SOP_NodeVerb::CookParms &cookparms) const
const char * getNestParmName(TempIndex fieldnum) const override
UT_Vector3D opShear(const SOP_NodeVerb::CookParms &cookparms) const
bool opUpdatenmls(const SOP_NodeVerb::CookParms &cookparms) const
static void saveData(std::ostream &os, UT_Vector2D v)
exint length() const
UT_Vector3D getS() const
void setUpdatenmls(bool val)
SYS_FORCE_INLINE const char * buffer() const
std::shared_ptr< T > UT_SharedPtr
Wrapper around std::shared_ptr.
Definition: UT_SharedPtr.h:36
void getNestParmValue(TempIndex idx, TempIndex instance, exint &value) const override
static void loadData(UT_IStream &is, UT_StringHolder &v)
XYZ
Definition: ImathEuler.h:133
const GLdouble * v
Definition: glcorearb.h:837
const UT_StringHolder & getGroup() const
void setScale(fpreal64 val)
static void saveData(std::ostream &os, int64 v)
static void loadData(UT_IStream &is, UT_Matrix4D &v)
YXZ
Definition: ImathEuler.h:136
static void loadData(UT_IStream &is, UT_Matrix3D &v)
void setPrexform_shear(UT_Vector3D val)
bool opInvertxform(const SOP_NodeVerb::CookParms &cookparms) const
UT_Vector3D getPrexform_s() const
long long int64
Definition: SYS_Types.h:116
static void loadData(UT_IStream &is, UT_Vector2I &v)
UT_Vector3T< fpreal64 > UT_Vector3D
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix2D &value) const override
static void saveData(std::ostream &os, UT_Matrix2D v)
void setGroup(const UT_StringHolder &val)
bool operator==(const SOP_TransformParms &src) const
static void loadData(UT_IStream &is, UT_Vector4I &v)
Prexform_xord opPrexform_xord(const SOP_NodeVerb::CookParms &cookparms) const
void saveBinary(std::ostream &os) const
Save string to binary stream.
Definition: UT_String.h:287
UT_Vector3D getR() const
GT_API const UT_StringHolder version
static void loadData(UT_IStream &is, UT_Matrix2D &v)
DEP_MicroNode * depnode() const
Definition: SOP_NodeVerb.h:109
void getNestParmValue(TempIndex idx, TempIndex instance, UT_SharedPtr< UT_Ramp > &value) const override
static void loadData(UT_IStream &is, bool &v)
XZY
Definition: ImathEuler.h:134
GLboolean * data
Definition: glcorearb.h:131
void doGetParmValue(TempIndex idx, TempIndex instance, T &value) const
void setGrouptype(Grouptype val)
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector4D &value) override
GLuint GLfloat * val
Definition: glcorearb.h:1608
void getNestParmValue(TempIndex idx, TempIndex instance, PRM_DataItemHandle &value) const override
void setVlength(bool val)
UT_StringHolder opOutputattrib(const SOP_NodeVerb::CookParms &cookparms) const
UT_Vector3D getPrexform_shear() const
UT_Vector3D getP() const
void buildFromOp(const SOP_GraphProxy *graph, exint nodeidx, fpreal time, DEP_MicroNode *depnode)
fpreal64 fpreal
Definition: SYS_Types.h:277
static void loadData(UT_IStream &is, UT_Vector3D &v)
Utility class for containing a color ramp.
Definition: UT_Ramp.h:84
UT_Vector3D getPrexform_r() const
void save(std::ostream &os) const
void setShear(UT_Vector3D val)
Vec3< typename MatType::value_type > getScale(const MatType &mat)
Return a Vec3 representing the lengths of the passed matrix's upper 3×3's rows.
Definition: Mat.h:655
#define SOP_API
Definition: SOP_API.h:10
UT_Vector3D opS(const SOP_NodeVerb::CookParms &cookparms) const
virtual void evalOpParm(int64 &v, NodeIdx node, const char *parmname, fpreal time, DEP_MicroNode *depnode) const =0
static void loadData(UT_IStream &is, PRM_DataItemHandle &v)
void copyFrom(const SOP_NodeParms *src) override
fpreal getCookTime() const
Definition: SOP_NodeVerb.h:748
YZX
Definition: ImathEuler.h:135
Rord opRord(const SOP_NodeVerb::CookParms &cookparms) const
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector4D &value) const override
UT_StringHolder opAttribs(const SOP_NodeVerb::CookParms &cookparms) const
static void loadData(UT_IStream &is, UT_SharedPtr< UT_Ramp > &v)
const char * findChar(int c) const
Definition: UT_String.h:1372
#define UT_ASSERT(ZZ)
Definition: UT_Assert.h:153
Definition: core.h:1131
Outputmerge opOutputmerge(const SOP_NodeVerb::CookParms &cookparms) const
fpreal64 getScale() const
UT_Vector3D opPrexform_shear(const SOP_NodeVerb::CookParms &cookparms) const
type
Definition: core.h:1059
GLboolean r
Definition: glcorearb.h:1222
constexpr SYS_FORCE_INLINE T & y() noexcept
Definition: UT_Vector3.h:654
void setT(UT_Vector3D val)
static void saveData(std::ostream &os, UT_Vector4D v)
void getNestParmValue(TempIndex idx, TempIndex instance, UT_StringHolder &value) const override
static void loadData(UT_IStream &is, UT_Vector2D &v)
GLdouble s
Definition: glew.h:1395
UT_Vector3D getPrexform_t() const
bool load(UT_IStream &is)
UT_Vector3D opP(const SOP_NodeVerb::CookParms &cookparms) const
void setPrexform_r(UT_Vector3D val)
const OP_Context & context() const
Definition: SOP_NodeVerb.h:107
UT_SharedPtr< const PRM_DataItem > PRM_DataItemHandle
Definition: PRM_Parm.h:89
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector2D &value) const override
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix3D &value) const override
Outputmerge getOutputmerge() const
SYS_FORCE_INLINE bool isstring() const
ZXY
Definition: ImathEuler.h:137
SYS_FORCE_INLINE void strncpy(const char *src, exint maxlen)
static void loadData(UT_IStream &is, UT_Vector3I &v)
static void saveData(std::ostream &os, UT_StringHolder s)
Prexform_xord getPrexform_xord() const
UT_Vector3D getT() const
constexpr SYS_FORCE_INLINE T & x() noexcept
Definition: UT_Vector3.h:652
Prexform_rord getPrexform_rord() const