HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SOP_QuadRemesh.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 class DEP_MicroNode;
23 namespace SOP_QuadRemeshEnums
24 {
25  enum class Output
26  {
27  EXTRACTED_MESH = 0,
29  };
30  enum class XDirection
31  {
32  POSITIVE = 0,
33  NEGATIVE
34  };
35  enum class YDirection
36  {
37  POSITIVE = 0,
38  NEGATIVE
39  };
40  enum class ZDirection
41  {
42  POSITIVE = 0,
43  NEGATIVE
44  };
45  enum class Field
46  {
47  FACE = 0,
48  EDGE
49  };
50 }
51 
52 
54 {
55 public:
56  static int version() { return 1; }
57 
59  {
60  myGroup = ""_UTsh;
61  myOutput = 0;
62  myTargetQuadCount = 10000;
63  myDecimation = true;
64  myDecimationLevel = 2;
65  myFeatureBoundaries = true;
66  myApplySubdivision = true;
67  myProjectPoints = false;
68  mySymmetryCenter = UT_Vector3D(0,0,0);
69  myXAxis = false;
70  myXDirection = 0;
71  myYAxis = false;
72  myYDirection = 0;
73  myZAxis = false;
74  myZDirection = 0;
75  myMirrorOutput = true;
76  myEnableConsolidateSeam = true;
77  myConsolidateSeam = 0.0001;
78  myAlignment = 0.1;
79  myField = 0;
80  myBoundaryWeight = 0;
81  myGuideAttrib = ""_UTsh;
82  myGuideAttribWeight = 0;
83 
84  }
85 
86  explicit SOP_QuadRemeshParms(const SOP_QuadRemeshParms &) = default;
88  SOP_QuadRemeshParms(SOP_QuadRemeshParms &&) noexcept = default;
89  SOP_QuadRemeshParms &operator=(SOP_QuadRemeshParms &&) noexcept = default;
90 
91  ~SOP_QuadRemeshParms() override {}
92 
93  bool operator==(const SOP_QuadRemeshParms &src) const
94  {
95  if (myGroup != src.myGroup) return false;
96  if (myOutput != src.myOutput) return false;
97  if (myTargetQuadCount != src.myTargetQuadCount) return false;
98  if (myDecimation != src.myDecimation) return false;
99  if (myDecimationLevel != src.myDecimationLevel) return false;
100  if (myFeatureBoundaries != src.myFeatureBoundaries) return false;
101  if (myApplySubdivision != src.myApplySubdivision) return false;
102  if (myProjectPoints != src.myProjectPoints) return false;
103  if (mySymmetryCenter != src.mySymmetryCenter) return false;
104  if (myXAxis != src.myXAxis) return false;
105  if (myXDirection != src.myXDirection) return false;
106  if (myYAxis != src.myYAxis) return false;
107  if (myYDirection != src.myYDirection) return false;
108  if (myZAxis != src.myZAxis) return false;
109  if (myZDirection != src.myZDirection) return false;
110  if (myMirrorOutput != src.myMirrorOutput) return false;
111  if (myEnableConsolidateSeam != src.myEnableConsolidateSeam) return false;
112  if (myConsolidateSeam != src.myConsolidateSeam) return false;
113  if (myAlignment != src.myAlignment) return false;
114  if (myField != src.myField) return false;
115  if (myBoundaryWeight != src.myBoundaryWeight) return false;
116  if (myGuideAttrib != src.myGuideAttrib) return false;
117  if (myGuideAttribWeight != src.myGuideAttribWeight) return false;
118 
119  return true;
120  }
121  bool operator!=(const SOP_QuadRemeshParms &src) const
122  {
123  return !operator==(src);
124  }
130 
131 
132 
133  void buildFromOp(const OP_GraphProxy *graph, exint nodeidx, fpreal time, DEP_MicroNode *depnode)
134  {
135  myGroup = ""_UTsh;
136  if (true)
137  graph->evalOpParm(myGroup, nodeidx, "group", time, 0);
138  myOutput = 0;
139  if (true)
140  graph->evalOpParm(myOutput, nodeidx, "output", time, 0);
141  myTargetQuadCount = 10000;
142  if (true && ( (true&&!(((int64(getOutput())!=0)))) ) )
143  graph->evalOpParm(myTargetQuadCount, nodeidx, "targetquadcount", time, 0);
144  myDecimation = true;
145  if (true)
146  graph->evalOpParm(myDecimation, nodeidx, "decimation", time, 0);
147  myDecimationLevel = 2;
148  if (true)
149  graph->evalOpParm(myDecimationLevel, nodeidx, "decimationlevel", time, 0);
150  myFeatureBoundaries = true;
151  if (true)
152  graph->evalOpParm(myFeatureBoundaries, nodeidx, "featureboundaries", time, 0);
153  myApplySubdivision = true;
154  if (true)
155  graph->evalOpParm(myApplySubdivision, nodeidx, "applysubdivision", time, 0);
156  myProjectPoints = false;
157  if (true && ( (true&&!(((getApplySubdivision()==0)))) ) )
158  graph->evalOpParm(myProjectPoints, nodeidx, "projectpoints", time, 0);
159  mySymmetryCenter = UT_Vector3D(0,0,0);
160  if (true)
161  graph->evalOpParm(mySymmetryCenter, nodeidx, "symmetrycenter", time, 0);
162  myXAxis = false;
163  if (true)
164  graph->evalOpParm(myXAxis, nodeidx, "xaxis", time, 0);
165  myXDirection = 0;
166  if (true)
167  graph->evalOpParm(myXDirection, nodeidx, "xdirection", time, 0);
168  myYAxis = false;
169  if (true)
170  graph->evalOpParm(myYAxis, nodeidx, "yaxis", time, 0);
171  myYDirection = 0;
172  if (true)
173  graph->evalOpParm(myYDirection, nodeidx, "ydirection", time, 0);
174  myZAxis = false;
175  if (true)
176  graph->evalOpParm(myZAxis, nodeidx, "zaxis", time, 0);
177  myZDirection = 0;
178  if (true)
179  graph->evalOpParm(myZDirection, nodeidx, "zdirection", time, 0);
180  myMirrorOutput = true;
181  if (true)
182  graph->evalOpParm(myMirrorOutput, nodeidx, "mirroroutput", time, 0);
183  myEnableConsolidateSeam = true;
184  if (true && ( (true&&!(((getMirrorOutput()==0)))) ) )
185  graph->evalOpParm(myEnableConsolidateSeam, nodeidx, "consolidatepts", time, 0);
186  myConsolidateSeam = 0.0001;
187  if (true && ( (true&&!(((getMirrorOutput()==0))||((getEnableConsolidateSeam()==0)))) ) )
188  graph->evalOpParm(myConsolidateSeam, nodeidx, "consolidatetol", time, 0);
189  myAlignment = 0.1;
190  if (true)
191  graph->evalOpParm(myAlignment, nodeidx, "alignment", time, 0);
192  myField = 0;
193  if (true)
194  graph->evalOpParm(myField, nodeidx, "field", time, 0);
195  myBoundaryWeight = 0;
196  if (true && ( (true&&!(((int64(getField())==1)))) ) )
197  graph->evalOpParm(myBoundaryWeight, nodeidx, "boundaryweight", time, 0);
198  myGuideAttrib = ""_UTsh;
199  if (true && ( (true&&!(((int64(getField())==1)))) ) )
200  graph->evalOpParm(myGuideAttrib, nodeidx, "guideattrib", time, 0);
201  myGuideAttribWeight = 0;
202  if (true && ( (true&&!(((getGuideAttrib()==""))||((int64(getField())==1)))) ) )
203  graph->evalOpParm(myGuideAttribWeight, nodeidx, "guideattribweight", time, 0);
204 
205  }
206 
207 
208  void loadFromOpSubclass(const LoadParms &loadparms) override
209  {
210  buildFromOp(loadparms.graph(), loadparms.nodeIdx(), loadparms.context().getTime(), loadparms.depnode());
211  }
212 
213 
214  void copyFrom(const OP_NodeParms *src) override
215  {
216  *this = *((const SOP_QuadRemeshParms *)src);
217  }
218 
219  template <typename T>
220  void
221  doGetParmValue(TempIndex idx, TempIndex instance, T &value) const
222  {
223  if (idx.size() < 1)
224  return;
225  UT_ASSERT(idx.size() == instance.size()+1);
226  if (idx.size() != instance.size()+1)
227  return;
228  switch (idx[0])
229  {
230  case 0:
231  coerceValue(value, myGroup);
232  break;
233  case 1:
234  coerceValue(value, myOutput);
235  break;
236  case 2:
237  coerceValue(value, myTargetQuadCount);
238  break;
239  case 3:
240  coerceValue(value, myDecimation);
241  break;
242  case 4:
243  coerceValue(value, myDecimationLevel);
244  break;
245  case 5:
246  coerceValue(value, myFeatureBoundaries);
247  break;
248  case 6:
249  coerceValue(value, myApplySubdivision);
250  break;
251  case 7:
252  coerceValue(value, myProjectPoints);
253  break;
254  case 8:
255  coerceValue(value, mySymmetryCenter);
256  break;
257  case 9:
258  coerceValue(value, myXAxis);
259  break;
260  case 10:
261  coerceValue(value, myXDirection);
262  break;
263  case 11:
264  coerceValue(value, myYAxis);
265  break;
266  case 12:
267  coerceValue(value, myYDirection);
268  break;
269  case 13:
270  coerceValue(value, myZAxis);
271  break;
272  case 14:
273  coerceValue(value, myZDirection);
274  break;
275  case 15:
276  coerceValue(value, myMirrorOutput);
277  break;
278  case 16:
279  coerceValue(value, myEnableConsolidateSeam);
280  break;
281  case 17:
282  coerceValue(value, myConsolidateSeam);
283  break;
284  case 18:
285  coerceValue(value, myAlignment);
286  break;
287  case 19:
288  coerceValue(value, myField);
289  break;
290  case 20:
291  coerceValue(value, myBoundaryWeight);
292  break;
293  case 21:
294  coerceValue(value, myGuideAttrib);
295  break;
296  case 22:
297  coerceValue(value, myGuideAttribWeight);
298  break;
299 
300  }
301  }
302 
303  bool isParmColorRamp(exint idx) const override
304  {
305  switch (idx)
306  {
307 
308  }
309  return false;
310  }
311 
312  void getNestParmValue(TempIndex idx, TempIndex instance, exint &value) const override
313  { doGetParmValue(idx, instance, value); }
314  void getNestParmValue(TempIndex idx, TempIndex instance, fpreal &value) const override
315  { doGetParmValue(idx, instance, value); }
316  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector2D &value) const override
317  { doGetParmValue(idx, instance, value); }
318  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector3D &value) const override
319  { doGetParmValue(idx, instance, value); }
320  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector4D &value) const override
321  { doGetParmValue(idx, instance, value); }
322  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix2D &value) const override
323  { doGetParmValue(idx, instance, value); }
324  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix3D &value) const override
325  { doGetParmValue(idx, instance, value); }
326  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix4D &value) const override
327  { doGetParmValue(idx, instance, value); }
328  void getNestParmValue(TempIndex idx, TempIndex instance, UT_StringHolder &value) const override
329  { doGetParmValue(idx, instance, value); }
330  void getNestParmValue(TempIndex idx, TempIndex instance, UT_SharedPtr<UT_Ramp> &value) const override
331  { doGetParmValue(idx, instance, value); }
332  void getNestParmValue(TempIndex idx, TempIndex instance, PRM_DataItemHandle &value) const override
333  { doGetParmValue(idx, instance, value); }
334 
335  template <typename T>
336  void
337  doSetParmValue(TempIndex idx, TempIndex instance, const T &value)
338  {
339  if (idx.size() < 1)
340  return;
341  UT_ASSERT(idx.size() == instance.size()+1);
342  if (idx.size() != instance.size()+1)
343  return;
344  switch (idx[0])
345  {
346  case 0:
347  coerceValue(myGroup, ( ( value ) ));
348  break;
349  case 1:
350  coerceValue(myOutput, clampMinValue(0, clampMaxValue(1, value ) ));
351  break;
352  case 2:
353  coerceValue(myTargetQuadCount, clampMinValue(100, ( value ) ));
354  break;
355  case 3:
356  coerceValue(myDecimation, ( ( value ) ));
357  break;
358  case 4:
359  coerceValue(myDecimationLevel, clampMinValue(1, clampMaxValue(12, value ) ));
360  break;
361  case 5:
362  coerceValue(myFeatureBoundaries, ( ( value ) ));
363  break;
364  case 6:
365  coerceValue(myApplySubdivision, ( ( value ) ));
366  break;
367  case 7:
368  coerceValue(myProjectPoints, ( ( value ) ));
369  break;
370  case 8:
371  coerceValue(mySymmetryCenter, ( ( value ) ));
372  break;
373  case 9:
374  coerceValue(myXAxis, ( ( value ) ));
375  break;
376  case 10:
377  coerceValue(myXDirection, clampMinValue(0, clampMaxValue(1, value ) ));
378  break;
379  case 11:
380  coerceValue(myYAxis, ( ( value ) ));
381  break;
382  case 12:
383  coerceValue(myYDirection, clampMinValue(0, clampMaxValue(1, value ) ));
384  break;
385  case 13:
386  coerceValue(myZAxis, ( ( value ) ));
387  break;
388  case 14:
389  coerceValue(myZDirection, clampMinValue(0, clampMaxValue(1, value ) ));
390  break;
391  case 15:
392  coerceValue(myMirrorOutput, ( ( value ) ));
393  break;
394  case 16:
395  coerceValue(myEnableConsolidateSeam, ( ( value ) ));
396  break;
397  case 17:
398  coerceValue(myConsolidateSeam, clampMinValue(0, ( value ) ));
399  break;
400  case 18:
401  coerceValue(myAlignment, clampMinValue(0, ( value ) ));
402  break;
403  case 19:
404  coerceValue(myField, clampMinValue(0, clampMaxValue(1, value ) ));
405  break;
406  case 20:
407  coerceValue(myBoundaryWeight, clampMinValue(0, ( value ) ));
408  break;
409  case 21:
410  coerceValue(myGuideAttrib, ( ( value ) ));
411  break;
412  case 22:
413  coerceValue(myGuideAttribWeight, clampMinValue(0, ( value ) ));
414  break;
415 
416  }
417  }
418 
419  void setNestParmValue(TempIndex idx, TempIndex instance, const exint &value) override
420  { doSetParmValue(idx, instance, value); }
421  void setNestParmValue(TempIndex idx, TempIndex instance, const fpreal &value) override
422  { doSetParmValue(idx, instance, value); }
423  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector2D &value) override
424  { doSetParmValue(idx, instance, value); }
425  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector3D &value) override
426  { doSetParmValue(idx, instance, value); }
427  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector4D &value) override
428  { doSetParmValue(idx, instance, value); }
429  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix2D &value) override
430  { doSetParmValue(idx, instance, value); }
431  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix3D &value) override
432  { doSetParmValue(idx, instance, value); }
433  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix4D &value) override
434  { doSetParmValue(idx, instance, value); }
435  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_StringHolder &value) override
436  { doSetParmValue(idx, instance, value); }
437  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_SharedPtr<UT_Ramp> &value) override
438  { doSetParmValue(idx, instance, value); }
439  void setNestParmValue(TempIndex idx, TempIndex instance, const PRM_DataItemHandle &value) override
440  { doSetParmValue(idx, instance, value); }
441 
442  exint getNestNumParms(TempIndex idx) const override
443  {
444  if (idx.size() == 0)
445  return 23;
446  switch (idx[0])
447  {
448 
449  }
450  // Invalid
451  return 0;
452  }
453 
454  const char *getNestParmName(TempIndex fieldnum) const override
455  {
456  if (fieldnum.size() < 1)
457  return 0;
458  switch (fieldnum[0])
459  {
460  case 0:
461  return "group";
462  case 1:
463  return "output";
464  case 2:
465  return "targetquadcount";
466  case 3:
467  return "decimation";
468  case 4:
469  return "decimationlevel";
470  case 5:
471  return "featureboundaries";
472  case 6:
473  return "applysubdivision";
474  case 7:
475  return "projectpoints";
476  case 8:
477  return "symmetrycenter";
478  case 9:
479  return "xaxis";
480  case 10:
481  return "xdirection";
482  case 11:
483  return "yaxis";
484  case 12:
485  return "ydirection";
486  case 13:
487  return "zaxis";
488  case 14:
489  return "zdirection";
490  case 15:
491  return "mirroroutput";
492  case 16:
493  return "consolidatepts";
494  case 17:
495  return "consolidatetol";
496  case 18:
497  return "alignment";
498  case 19:
499  return "field";
500  case 20:
501  return "boundaryweight";
502  case 21:
503  return "guideattrib";
504  case 22:
505  return "guideattribweight";
506 
507  }
508  return 0;
509  }
510 
511  ParmType getNestParmType(TempIndex fieldnum) const override
512  {
513  if (fieldnum.size() < 1)
514  return PARM_UNSUPPORTED;
515  switch (fieldnum[0])
516  {
517  case 0:
518  return PARM_STRING;
519  case 1:
520  return PARM_INTEGER;
521  case 2:
522  return PARM_INTEGER;
523  case 3:
524  return PARM_INTEGER;
525  case 4:
526  return PARM_INTEGER;
527  case 5:
528  return PARM_INTEGER;
529  case 6:
530  return PARM_INTEGER;
531  case 7:
532  return PARM_INTEGER;
533  case 8:
534  return PARM_VECTOR3;
535  case 9:
536  return PARM_INTEGER;
537  case 10:
538  return PARM_INTEGER;
539  case 11:
540  return PARM_INTEGER;
541  case 12:
542  return PARM_INTEGER;
543  case 13:
544  return PARM_INTEGER;
545  case 14:
546  return PARM_INTEGER;
547  case 15:
548  return PARM_INTEGER;
549  case 16:
550  return PARM_INTEGER;
551  case 17:
552  return PARM_FLOAT;
553  case 18:
554  return PARM_FLOAT;
555  case 19:
556  return PARM_INTEGER;
557  case 20:
558  return PARM_FLOAT;
559  case 21:
560  return PARM_STRING;
561  case 22:
562  return PARM_FLOAT;
563 
564  }
565  return PARM_UNSUPPORTED;
566  }
567 
568  // Boiler plate to load individual types.
569  static void loadData(UT_IStream &is, int64 &v)
570  { is.bread(&v, 1); }
571  static void loadData(UT_IStream &is, bool &v)
572  { int64 iv; is.bread(&iv, 1); v = iv; }
573  static void loadData(UT_IStream &is, fpreal64 &v)
574  { is.bread<fpreal64>(&v, 1); }
575  static void loadData(UT_IStream &is, UT_Vector2D &v)
576  { is.bread<fpreal64>(&v.x(), 1); is.bread<fpreal64>(&v.y(), 1); }
577  static void loadData(UT_IStream &is, UT_Vector3D &v)
578  { is.bread<fpreal64>(&v.x(), 1); is.bread<fpreal64>(&v.y(), 1);
579  is.bread<fpreal64>(&v.z(), 1); }
580  static void loadData(UT_IStream &is, UT_Vector4D &v)
581  { is.bread<fpreal64>(&v.x(), 1); is.bread<fpreal64>(&v.y(), 1);
582  is.bread<fpreal64>(&v.z(), 1); is.bread<fpreal64>(&v.w(), 1); }
583  static void loadData(UT_IStream &is, UT_Matrix2D &v)
584  { for (int r = 0; r < 2; r++) for (int c = 0; c < 2; c++) is.bread<fpreal64>(&v(r, c), 1); }
585  static void loadData(UT_IStream &is, UT_Matrix3D &v)
586  { for (int r = 0; r < 3; r++) for (int c = 0; c < 3; c++) is.bread<fpreal64>(&v(r, c), 1); }
587  static void loadData(UT_IStream &is, UT_Matrix4D &v)
588  { for (int r = 0; r < 4; r++) for (int c = 0; c < 4; c++) is.bread<fpreal64>(&v(r, c), 1); }
589  static void loadData(UT_IStream &is, UT_Vector2I &v)
590  { is.bread<int64>(&v.x(), 1); is.bread<int64>(&v.y(), 1); }
591  static void loadData(UT_IStream &is, UT_Vector3I &v)
592  { is.bread<int64>(&v.x(), 1); is.bread<int64>(&v.y(), 1);
593  is.bread<int64>(&v.z(), 1); }
594  static void loadData(UT_IStream &is, UT_Vector4I &v)
595  { is.bread<int64>(&v.x(), 1); is.bread<int64>(&v.y(), 1);
596  is.bread<int64>(&v.z(), 1); is.bread<int64>(&v.w(), 1); }
598  { is.bread(v); }
600  { UT_StringHolder rampdata;
601  loadData(is, rampdata);
602  if (rampdata.isstring())
603  {
604  v.reset(new UT_Ramp());
605  UT_IStream istr((const char *) rampdata, rampdata.length(), UT_ISTREAM_ASCII);
606  v->load(istr);
607  }
608  else v.reset();
609  }
612  loadData(is, data);
613  if (data.isstring())
614  {
615  // Find the data type.
616  const char *colon = UT_StringWrap(data).findChar(':');
617  if (colon)
618  {
619  int typelen = colon - data.buffer();
621  type.strncpy(data.buffer(), typelen);
622  UT_IStream istr(((const char *) data) + typelen + 1, data.length() - (typelen + 1), UT_ISTREAM_BINARY);
623 
624  v = PRM_DataFactory::parseBinary(type.buffer(), istr);
625  }
626  }
627  else v.reset();
628  }
629 
630  static void saveData(std::ostream &os, int64 v)
631  { UTwrite(os, &v); }
632  static void saveData(std::ostream &os, bool v)
633  { int64 iv = v; UTwrite(os, &iv); }
634  static void saveData(std::ostream &os, fpreal64 v)
635  { UTwrite<fpreal64>(os, &v); }
636  static void saveData(std::ostream &os, UT_Vector2D v)
637  { UTwrite<fpreal64>(os, &v.x()); UTwrite<fpreal64>(os, &v.y()); }
638  static void saveData(std::ostream &os, UT_Vector3D v)
639  { UTwrite<fpreal64>(os, &v.x()); UTwrite<fpreal64>(os, &v.y());
640  UTwrite<fpreal64>(os, &v.z()); }
641  static void saveData(std::ostream &os, UT_Vector4D v)
642  { UTwrite<fpreal64>(os, &v.x()); UTwrite<fpreal64>(os, &v.y());
643  UTwrite<fpreal64>(os, &v.z()); UTwrite<fpreal64>(os, &v.w()); }
644  static void saveData(std::ostream &os, UT_Matrix2D v)
646  static void saveData(std::ostream &os, UT_Matrix3D v)
648  static void saveData(std::ostream &os, UT_Matrix4D v)
650  static void saveData(std::ostream &os, UT_StringHolder s)
651  { UT_StringWrap(s).saveBinary(os); }
652  static void saveData(std::ostream &os, UT_SharedPtr<UT_Ramp> s)
654  UT_OStringStream ostr;
655  if (s) s->save(ostr);
656  result = ostr.str();
657  saveData(os, result);
658  }
659  static void saveData(std::ostream &os, PRM_DataItemHandle s)
661  UT_OStringStream ostr;
662  if (s)
663  {
664  ostr << s->getDataTypeToken();
665  ostr << ":";
666  s->saveBinary(ostr);
667  }
668  result = ostr.str();
669  saveData(os, result);
670  }
671 
672 
673  void save(std::ostream &os) const
674  {
675  int32 v = version();
676  UTwrite(os, &v);
677  saveData(os, myGroup);
678  saveData(os, myOutput);
679  saveData(os, myTargetQuadCount);
680  saveData(os, myDecimation);
681  saveData(os, myDecimationLevel);
682  saveData(os, myFeatureBoundaries);
683  saveData(os, myApplySubdivision);
684  saveData(os, myProjectPoints);
685  saveData(os, mySymmetryCenter);
686  saveData(os, myXAxis);
687  saveData(os, myXDirection);
688  saveData(os, myYAxis);
689  saveData(os, myYDirection);
690  saveData(os, myZAxis);
691  saveData(os, myZDirection);
692  saveData(os, myMirrorOutput);
693  saveData(os, myEnableConsolidateSeam);
694  saveData(os, myConsolidateSeam);
695  saveData(os, myAlignment);
696  saveData(os, myField);
697  saveData(os, myBoundaryWeight);
698  saveData(os, myGuideAttrib);
699  saveData(os, myGuideAttribWeight);
700 
701  }
702 
703  bool load(UT_IStream &is)
704  {
705  int32 v;
706  is.bread(&v, 1);
707  if (version() != v)
708  {
709  // Fail incompatible versions
710  return false;
711  }
712  loadData(is, myGroup);
713  loadData(is, myOutput);
714  loadData(is, myTargetQuadCount);
715  loadData(is, myDecimation);
716  loadData(is, myDecimationLevel);
717  loadData(is, myFeatureBoundaries);
718  loadData(is, myApplySubdivision);
719  loadData(is, myProjectPoints);
720  loadData(is, mySymmetryCenter);
721  loadData(is, myXAxis);
722  loadData(is, myXDirection);
723  loadData(is, myYAxis);
724  loadData(is, myYDirection);
725  loadData(is, myZAxis);
726  loadData(is, myZDirection);
727  loadData(is, myMirrorOutput);
728  loadData(is, myEnableConsolidateSeam);
729  loadData(is, myConsolidateSeam);
730  loadData(is, myAlignment);
731  loadData(is, myField);
732  loadData(is, myBoundaryWeight);
733  loadData(is, myGuideAttrib);
734  loadData(is, myGuideAttribWeight);
735 
736  return true;
737  }
738 
739  const UT_StringHolder & getGroup() const { return myGroup; }
740  void setGroup(const UT_StringHolder & val) { myGroup = val; }
742  {
743  SOP_Node *thissop = cookparms.getNode();
744  if (!thissop) return getGroup();
746  OP_Utils::evalOpParm(result, thissop, "group", cookparms.getCookTime(), 0);
747  return result;
748  }
749  Output getOutput() const { return Output(myOutput); }
750  void setOutput(Output val) { myOutput = int64(val); }
751  Output opOutput(const SOP_NodeVerb::CookParms &cookparms) const
752  {
753  SOP_Node *thissop = cookparms.getNode();
754  if (!thissop) return getOutput();
755  int64 result;
756  OP_Utils::evalOpParm(result, thissop, "output", cookparms.getCookTime(), 0);
757  return Output(result);
758  }
759  int64 getTargetQuadCount() const { return myTargetQuadCount; }
760  void setTargetQuadCount(int64 val) { myTargetQuadCount = val; }
762  {
763  SOP_Node *thissop = cookparms.getNode();
764  if (!thissop) return getTargetQuadCount();
765  int64 result;
766  OP_Utils::evalOpParm(result, thissop, "targetquadcount", cookparms.getCookTime(), 0);
767  return result;
768  }
769  bool getDecimation() const { return myDecimation; }
770  void setDecimation(bool val) { myDecimation = val; }
771  bool opDecimation(const SOP_NodeVerb::CookParms &cookparms) const
772  {
773  SOP_Node *thissop = cookparms.getNode();
774  if (!thissop) return getDecimation();
775  bool result;
776  OP_Utils::evalOpParm(result, thissop, "decimation", cookparms.getCookTime(), 0);
777  return result;
778  }
779  int64 getDecimationLevel() const { return myDecimationLevel; }
780  void setDecimationLevel(int64 val) { myDecimationLevel = val; }
782  {
783  SOP_Node *thissop = cookparms.getNode();
784  if (!thissop) return getDecimationLevel();
785  int64 result;
786  OP_Utils::evalOpParm(result, thissop, "decimationlevel", cookparms.getCookTime(), 0);
787  return result;
788  }
789  bool getFeatureBoundaries() const { return myFeatureBoundaries; }
790  void setFeatureBoundaries(bool val) { myFeatureBoundaries = val; }
791  bool opFeatureBoundaries(const SOP_NodeVerb::CookParms &cookparms) const
792  {
793  SOP_Node *thissop = cookparms.getNode();
794  if (!thissop) return getFeatureBoundaries();
795  bool result;
796  OP_Utils::evalOpParm(result, thissop, "featureboundaries", cookparms.getCookTime(), 0);
797  return result;
798  }
799  bool getApplySubdivision() const { return myApplySubdivision; }
800  void setApplySubdivision(bool val) { myApplySubdivision = val; }
801  bool opApplySubdivision(const SOP_NodeVerb::CookParms &cookparms) const
802  {
803  SOP_Node *thissop = cookparms.getNode();
804  if (!thissop) return getApplySubdivision();
805  bool result;
806  OP_Utils::evalOpParm(result, thissop, "applysubdivision", cookparms.getCookTime(), 0);
807  return result;
808  }
809  bool getProjectPoints() const { return myProjectPoints; }
810  void setProjectPoints(bool val) { myProjectPoints = val; }
811  bool opProjectPoints(const SOP_NodeVerb::CookParms &cookparms) const
812  {
813  SOP_Node *thissop = cookparms.getNode();
814  if (!thissop) return getProjectPoints();
815  bool result;
816  OP_Utils::evalOpParm(result, thissop, "projectpoints", cookparms.getCookTime(), 0);
817  return result;
818  }
819  UT_Vector3D getSymmetryCenter() const { return mySymmetryCenter; }
820  void setSymmetryCenter(UT_Vector3D val) { mySymmetryCenter = val; }
822  {
823  SOP_Node *thissop = cookparms.getNode();
824  if (!thissop) return getSymmetryCenter();
826  OP_Utils::evalOpParm(result, thissop, "symmetrycenter", cookparms.getCookTime(), 0);
827  return result;
828  }
829  bool getXAxis() const { return myXAxis; }
830  void setXAxis(bool val) { myXAxis = val; }
831  bool opXAxis(const SOP_NodeVerb::CookParms &cookparms) const
832  {
833  SOP_Node *thissop = cookparms.getNode();
834  if (!thissop) return getXAxis();
835  bool result;
836  OP_Utils::evalOpParm(result, thissop, "xaxis", cookparms.getCookTime(), 0);
837  return result;
838  }
839  XDirection getXDirection() const { return XDirection(myXDirection); }
840  void setXDirection(XDirection val) { myXDirection = int64(val); }
842  {
843  SOP_Node *thissop = cookparms.getNode();
844  if (!thissop) return getXDirection();
845  int64 result;
846  OP_Utils::evalOpParm(result, thissop, "xdirection", cookparms.getCookTime(), 0);
847  return XDirection(result);
848  }
849  bool getYAxis() const { return myYAxis; }
850  void setYAxis(bool val) { myYAxis = val; }
851  bool opYAxis(const SOP_NodeVerb::CookParms &cookparms) const
852  {
853  SOP_Node *thissop = cookparms.getNode();
854  if (!thissop) return getYAxis();
855  bool result;
856  OP_Utils::evalOpParm(result, thissop, "yaxis", cookparms.getCookTime(), 0);
857  return result;
858  }
859  YDirection getYDirection() const { return YDirection(myYDirection); }
860  void setYDirection(YDirection val) { myYDirection = int64(val); }
862  {
863  SOP_Node *thissop = cookparms.getNode();
864  if (!thissop) return getYDirection();
865  int64 result;
866  OP_Utils::evalOpParm(result, thissop, "ydirection", cookparms.getCookTime(), 0);
867  return YDirection(result);
868  }
869  bool getZAxis() const { return myZAxis; }
870  void setZAxis(bool val) { myZAxis = val; }
871  bool opZAxis(const SOP_NodeVerb::CookParms &cookparms) const
872  {
873  SOP_Node *thissop = cookparms.getNode();
874  if (!thissop) return getZAxis();
875  bool result;
876  OP_Utils::evalOpParm(result, thissop, "zaxis", cookparms.getCookTime(), 0);
877  return result;
878  }
879  ZDirection getZDirection() const { return ZDirection(myZDirection); }
880  void setZDirection(ZDirection val) { myZDirection = int64(val); }
882  {
883  SOP_Node *thissop = cookparms.getNode();
884  if (!thissop) return getZDirection();
885  int64 result;
886  OP_Utils::evalOpParm(result, thissop, "zdirection", cookparms.getCookTime(), 0);
887  return ZDirection(result);
888  }
889  bool getMirrorOutput() const { return myMirrorOutput; }
890  void setMirrorOutput(bool val) { myMirrorOutput = val; }
891  bool opMirrorOutput(const SOP_NodeVerb::CookParms &cookparms) const
892  {
893  SOP_Node *thissop = cookparms.getNode();
894  if (!thissop) return getMirrorOutput();
895  bool result;
896  OP_Utils::evalOpParm(result, thissop, "mirroroutput", cookparms.getCookTime(), 0);
897  return result;
898  }
899  bool getEnableConsolidateSeam() const { return myEnableConsolidateSeam; }
900  void setEnableConsolidateSeam(bool val) { myEnableConsolidateSeam = val; }
902  {
903  SOP_Node *thissop = cookparms.getNode();
904  if (!thissop) return getEnableConsolidateSeam();
905  bool result;
906  OP_Utils::evalOpParm(result, thissop, "consolidatepts", cookparms.getCookTime(), 0);
907  return result;
908  }
909  fpreal64 getConsolidateSeam() const { return myConsolidateSeam; }
910  void setConsolidateSeam(fpreal64 val) { myConsolidateSeam = val; }
912  {
913  SOP_Node *thissop = cookparms.getNode();
914  if (!thissop) return getConsolidateSeam();
916  OP_Utils::evalOpParm(result, thissop, "consolidatetol", cookparms.getCookTime(), 0);
917  return result;
918  }
919  fpreal64 getAlignment() const { return myAlignment; }
920  void setAlignment(fpreal64 val) { myAlignment = val; }
922  {
923  SOP_Node *thissop = cookparms.getNode();
924  if (!thissop) return getAlignment();
926  OP_Utils::evalOpParm(result, thissop, "alignment", cookparms.getCookTime(), 0);
927  return result;
928  }
929  Field getField() const { return Field(myField); }
930  void setField(Field val) { myField = int64(val); }
931  Field opField(const SOP_NodeVerb::CookParms &cookparms) const
932  {
933  SOP_Node *thissop = cookparms.getNode();
934  if (!thissop) return getField();
935  int64 result;
936  OP_Utils::evalOpParm(result, thissop, "field", cookparms.getCookTime(), 0);
937  return Field(result);
938  }
939  fpreal64 getBoundaryWeight() const { return myBoundaryWeight; }
940  void setBoundaryWeight(fpreal64 val) { myBoundaryWeight = val; }
942  {
943  SOP_Node *thissop = cookparms.getNode();
944  if (!thissop) return getBoundaryWeight();
946  OP_Utils::evalOpParm(result, thissop, "boundaryweight", cookparms.getCookTime(), 0);
947  return result;
948  }
949  const UT_StringHolder & getGuideAttrib() const { return myGuideAttrib; }
950  void setGuideAttrib(const UT_StringHolder & val) { myGuideAttrib = val; }
952  {
953  SOP_Node *thissop = cookparms.getNode();
954  if (!thissop) return getGuideAttrib();
956  OP_Utils::evalOpParm(result, thissop, "guideattrib", cookparms.getCookTime(), 0);
957  return result;
958  }
959  fpreal64 getGuideAttribWeight() const { return myGuideAttribWeight; }
960  void setGuideAttribWeight(fpreal64 val) { myGuideAttribWeight = val; }
962  {
963  SOP_Node *thissop = cookparms.getNode();
964  if (!thissop) return getGuideAttribWeight();
966  OP_Utils::evalOpParm(result, thissop, "guideattribweight", cookparms.getCookTime(), 0);
967  return result;
968  }
969 
970 private:
971  UT_StringHolder myGroup;
972  int64 myOutput;
973  int64 myTargetQuadCount;
974  bool myDecimation;
975  int64 myDecimationLevel;
976  bool myFeatureBoundaries;
977  bool myApplySubdivision;
978  bool myProjectPoints;
979  UT_Vector3D mySymmetryCenter;
980  bool myXAxis;
981  int64 myXDirection;
982  bool myYAxis;
983  int64 myYDirection;
984  bool myZAxis;
985  int64 myZDirection;
986  bool myMirrorOutput;
987  bool myEnableConsolidateSeam;
988  fpreal64 myConsolidateSeam;
989  fpreal64 myAlignment;
990  int64 myField;
991  fpreal64 myBoundaryWeight;
992  UT_StringHolder myGuideAttrib;
993  fpreal64 myGuideAttribWeight;
994 
995 };
void setDecimation(bool val)
UT_Vector3D getSymmetryCenter() const
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix4D &value) override
fpreal64 opGuideAttribWeight(const SOP_NodeVerb::CookParms &cookparms) const
static void saveData(std::ostream &os, UT_Vector3D v)
void setProjectPoints(bool val)
static void saveData(std::ostream &os, UT_Vector4D v)
void setApplySubdivision(bool val)
bool getApplySubdivision() const
void getNestParmValue(TempIndex idx, TempIndex instance, exint &value) const override
int int32
Definition: SYS_Types.h:39
SOP_Node * getNode() const
Definition: SOP_NodeVerb.h:347
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_SharedPtr< UT_Ramp > &value) override
static void saveData(std::ostream &os, UT_SharedPtr< UT_Ramp > s)
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector4D &value) const override
void getNestParmValue(TempIndex idx, TempIndex instance, UT_SharedPtr< UT_Ramp > &value) const override
static void loadData(UT_IStream &is, UT_Vector3D &v)
T clampMaxValue(fpreal maxvalue, const T &src) const
Definition: OP_NodeParms.h:315
void setBoundaryWeight(fpreal64 val)
void setYDirection(YDirection val)
UT_StringHolder opGuideAttrib(const SOP_NodeVerb::CookParms &cookparms) const
YDirection opYDirection(const SOP_NodeVerb::CookParms &cookparms) const
fpreal64 getGuideAttribWeight() const
static void saveData(std::ostream &os, UT_Matrix2D v)
static void loadData(UT_IStream &is, UT_Vector4D &v)
static void loadData(UT_IStream &is, PRM_DataItemHandle &v)
exint bread(int32 *buffer, exint asize=1)
XDirection opXDirection(const SOP_NodeVerb::CookParms &cookparms) const
GLboolean * data
Definition: glcorearb.h:131
GT_API const UT_StringHolder time
constexpr SYS_FORCE_INLINE T & y() noexcept
Definition: UT_Vector4.h:493
const GLdouble * v
Definition: glcorearb.h:837
void setConsolidateSeam(fpreal64 val)
fpreal getTime() const
Definition: OP_Context.h:62
const UT_StringHolder & getGuideAttrib() const
Output opOutput(const SOP_NodeVerb::CookParms &cookparms) const
static void loadData(UT_IStream &is, bool &v)
void save(std::ostream &os) const
static void saveData(std::ostream &os, fpreal64 v)
void setGuideAttribWeight(fpreal64 val)
fpreal64 opAlignment(const SOP_NodeVerb::CookParms &cookparms) const
UT_Vector3D opSymmetryCenter(const SOP_NodeVerb::CookParms &cookparms) const
const OP_Context & context() const
Definition: OP_NodeParms.h:97
bool opDecimation(const SOP_NodeVerb::CookParms &cookparms) const
void setOutput(Output val)
constexpr SYS_FORCE_INLINE T & z() noexcept
Definition: UT_Vector3.h:667
int64 exint
Definition: SYS_Types.h:125
void setAlignment(fpreal64 val)
SYS_FORCE_INLINE const char * buffer() const
exint getNestNumParms(TempIndex idx) const override
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector2D &value) override
GLdouble s
Definition: glad.h:3009
bool opFeatureBoundaries(const SOP_NodeVerb::CookParms &cookparms) const
const char * getNestParmName(TempIndex fieldnum) const override
An output stream object that owns its own string buffer storage.
fpreal64 opBoundaryWeight(const SOP_NodeVerb::CookParms &cookparms) const
static void loadData(UT_IStream &is, UT_Vector4I &v)
**But if you need a result
Definition: thread.h:613
void getNestParmValue(TempIndex idx, TempIndex instance, UT_StringHolder &value) const override
T clampMinValue(fpreal minvalue, const T &src) const
Definition: OP_NodeParms.h:308
void setGuideAttrib(const UT_StringHolder &val)
static void saveData(std::ostream &os, UT_Matrix3D v)
exint nodeIdx() const
Definition: OP_NodeParms.h:95
static PRM_DataItemHandle parseBinary(const char *type, UT_IStream &is)
fpreal64 getConsolidateSeam() const
const UT_WorkBuffer & str()
Returns a read-only reference to the underlying UT_WorkBuffer.
constexpr SYS_FORCE_INLINE T & x() noexcept
Definition: UT_Vector4.h:491
void setNestParmValue(TempIndex idx, TempIndex instance, const exint &value) override
double fpreal64
Definition: SYS_Types.h:201
constexpr SYS_FORCE_INLINE T & x() noexcept
Definition: UT_Vector2.h:423
ParmType getNestParmType(TempIndex fieldnum) const override
int64 getTargetQuadCount() const
bool operator==(const BaseDimensions< T > &a, const BaseDimensions< Y > &b)
Definition: Dimensions.h:137
bool opYAxis(const SOP_NodeVerb::CookParms &cookparms) const
Field opField(const SOP_NodeVerb::CookParms &cookparms) const
void setMirrorOutput(bool val)
YDirection getYDirection() const
static void loadData(UT_IStream &is, UT_SharedPtr< UT_Ramp > &v)
bool opEnableConsolidateSeam(const SOP_NodeVerb::CookParms &cookparms) const
bool isParmColorRamp(exint idx) const override
fpreal64 opConsolidateSeam(const SOP_NodeVerb::CookParms &cookparms) const
exint length() const
SYS_FORCE_INLINE const char * buffer() const
std::shared_ptr< T > UT_SharedPtr
Wrapper around std::shared_ptr.
Definition: UT_SharedPtr.h:36
int64 opTargetQuadCount(const SOP_NodeVerb::CookParms &cookparms) const
void doGetParmValue(TempIndex idx, TempIndex instance, T &value) const
constexpr SYS_FORCE_INLINE T & z() noexcept
Definition: UT_Vector4.h:495
bool opMirrorOutput(const SOP_NodeVerb::CookParms &cookparms) const
static void loadData(UT_IStream &is, int64 &v)
void loadFromOpSubclass(const LoadParms &loadparms) override
const OP_GraphProxy * graph() const
Definition: OP_NodeParms.h:94
bool getFeatureBoundaries() const
bool load(UT_IStream &is)
bool getEnableConsolidateSeam() const
void doSetParmValue(TempIndex idx, TempIndex instance, const T &value)
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix3D &value) const override
bool opZAxis(const SOP_NodeVerb::CookParms &cookparms) const
bool getProjectPoints() const
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_StringHolder &value) override
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector3D &value) const override
void setZDirection(ZDirection val)
int64 getDecimationLevel() const
long long int64
Definition: SYS_Types.h:116
ZDirection getZDirection() const
ZDirection opZDirection(const SOP_NodeVerb::CookParms &cookparms) const
UT_Vector3T< fpreal64 > UT_Vector3D
static void saveData(std::ostream &os, int64 v)
void setGroup(const UT_StringHolder &val)
static void saveData(std::ostream &os, UT_StringHolder s)
void setDecimationLevel(int64 val)
static void saveData(std::ostream &os, UT_Vector2D v)
virtual void evalOpParm(int64 &v, NodeIdx node, const char *parmname, fpreal time, DEP_MicroNode *depnode) const =0
void getNestParmValue(TempIndex idx, TempIndex instance, PRM_DataItemHandle &value) const override
static void loadData(UT_IStream &is, fpreal64 &v)
void saveBinary(std::ostream &os) const
Save string to binary stream.
Definition: UT_String.h:296
bool opApplySubdivision(const SOP_NodeVerb::CookParms &cookparms) const
fpreal64 getAlignment() const
GT_API const UT_StringHolder version
static void loadData(UT_IStream &is, UT_Vector3I &v)
void setNestParmValue(TempIndex idx, TempIndex instance, const fpreal &value) override
void setTargetQuadCount(int64 val)
bool opProjectPoints(const SOP_NodeVerb::CookParms &cookparms) const
static void loadData(UT_IStream &is, UT_Vector2I &v)
static void saveData(std::ostream &os, UT_Matrix4D v)
int64 opDecimationLevel(const SOP_NodeVerb::CookParms &cookparms) const
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix3D &value) override
void coerceValue(T &result, const S &src) const
Definition: OP_NodeParms.h:301
fpreal64 getBoundaryWeight() const
static void saveData(std::ostream &os, PRM_DataItemHandle s)
static void loadData(UT_IStream &is, UT_Matrix3D &v)
fpreal64 fpreal
Definition: SYS_Types.h:277
DEP_MicroNode * depnode() const
Definition: OP_NodeParms.h:99
void setFeatureBoundaries(bool val)
bool operator!=(const SOP_QuadRemeshParms &src) const
Utility class for containing a color ramp.
Definition: UT_Ramp.h:88
UT_StringHolder opGroup(const SOP_NodeVerb::CookParms &cookparms) const
constexpr SYS_FORCE_INLINE T & w() noexcept
Definition: UT_Vector4.h:497
bool opXAxis(const SOP_NodeVerb::CookParms &cookparms) const
void setXDirection(XDirection val)
GLuint GLfloat * val
Definition: glcorearb.h:1608
static void saveData(std::ostream &os, bool v)
void buildFromOp(const OP_GraphProxy *graph, exint nodeidx, fpreal time, DEP_MicroNode *depnode)
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix2D &value) const override
#define SOP_API
Definition: SOP_API.h:10
const UT_StringHolder & getGroup() const
void copyFrom(const OP_NodeParms *src) override
static void loadData(UT_IStream &is, UT_Vector2D &v)
XDirection getXDirection() const
fpreal getCookTime() const
Definition: SOP_NodeVerb.h:361
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix2D &value) override
void setEnableConsolidateSeam(bool val)
const char * findChar(int c) const
Definition: UT_String.h:1385
#define UT_ASSERT(ZZ)
Definition: UT_Assert.h:156
Definition: core.h:1131
void setNestParmValue(TempIndex idx, TempIndex instance, const PRM_DataItemHandle &value) override
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector3D &value) override
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector4D &value) override
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector2D &value) const override
GLboolean r
Definition: glcorearb.h:1222
void getNestParmValue(TempIndex idx, TempIndex instance, fpreal &value) const override
static void loadData(UT_IStream &is, UT_Matrix4D &v)
static void loadData(UT_IStream &is, UT_Matrix2D &v)
constexpr SYS_FORCE_INLINE T & y() noexcept
Definition: UT_Vector3.h:665
bool operator==(const SOP_QuadRemeshParms &src) const
void setSymmetryCenter(UT_Vector3D val)
type
Definition: core.h:1059
static void loadData(UT_IStream &is, UT_StringHolder &v)
UT_SharedPtr< const PRM_DataItem > PRM_DataItemHandle
Definition: PRM_Parm.h:89
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix4D &value) const override
constexpr SYS_FORCE_INLINE T & y() noexcept
Definition: UT_Vector2.h:425
SYS_FORCE_INLINE bool isstring() const
OP_NodeParms & operator=(const OP_NodeParms &)=default
SYS_FORCE_INLINE void strncpy(const char *src, exint maxlen)
GLenum src
Definition: glcorearb.h:1793
constexpr SYS_FORCE_INLINE T & x() noexcept
Definition: UT_Vector3.h:663