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