HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SOP_Delete.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_DeleteEnums
24 {
25  enum class Negate
26  {
27  DELE = 0,
28  KEEP
29  };
30  enum class Entity
31  {
32  PRIMITIVE = 0,
33  POINT,
34  EDGE
35  };
36  enum class Groupop
37  {
38  PATTERN = 0,
39  RANGE,
40  FILTER
41  };
42  enum class Boundtype
43  {
44  USEBBOX = 0,
46  };
47 }
48 
49 
51 {
52 public:
53  static int version() { return 1; }
54 
56  {
57  myGroup = ""_sh;
58  myNegate = 0;
59  myEntity = 0;
60  myAffectnumber = true;
61  myGroupop = 0;
62  myFilter = 1;
63  myPattern = "!*"_sh;
64  myRange = UT_Vector2I(0,0);
65  mySelect = UT_Vector2I(1,2);
66  myAffectvolume = false;
67  myBoundtype = 0;
68  mySize = UT_Vector3D(1,1,1);
69  myT = UT_Vector3D(0,0,0);
70  myAffectnormal = false;
71  myCamerapath = ""_sh;
72  myAffectdegenerate = false;
73  myDegenerate = false;
74  myZaf = false;
75  myDoopen = false;
76  myTol = 0.001;
77  myRemovegrp = true;
78  myKeeppoints = false;
79  myGeotype = 0;
80  myDir = UT_Vector3D(0,0,1);
81  myAngle = 180;
82 
83  }
84 
85  explicit SOP_DeleteParms(const SOP_DeleteParms &) = default;
86 
87  ~SOP_DeleteParms() override {}
88 
89  bool operator==(const SOP_DeleteParms &src) const
90  {
91  if (myGroup != src.myGroup) return false;
92  if (myNegate != src.myNegate) return false;
93  if (myEntity != src.myEntity) return false;
94  if (myAffectnumber != src.myAffectnumber) return false;
95  if (myGroupop != src.myGroupop) return false;
96  if (myFilter != src.myFilter) return false;
97  if (myPattern != src.myPattern) return false;
98  if (myRange != src.myRange) return false;
99  if (mySelect != src.mySelect) return false;
100  if (myAffectvolume != src.myAffectvolume) return false;
101  if (myBoundtype != src.myBoundtype) return false;
102  if (mySize != src.mySize) return false;
103  if (myT != src.myT) return false;
104  if (myAffectnormal != src.myAffectnormal) return false;
105  if (myCamerapath != src.myCamerapath) return false;
106  if (myAffectdegenerate != src.myAffectdegenerate) return false;
107  if (myDegenerate != src.myDegenerate) return false;
108  if (myZaf != src.myZaf) return false;
109  if (myDoopen != src.myDoopen) return false;
110  if (myTol != src.myTol) return false;
111  if (myRemovegrp != src.myRemovegrp) return false;
112  if (myKeeppoints != src.myKeeppoints) return false;
113  if (myGeotype != src.myGeotype) return false;
114  if (myDir != src.myDir) return false;
115  if (myAngle != src.myAngle) return false;
116 
117  return true;
118  }
119  bool operator!=(const SOP_DeleteParms &src) const
120  {
121  return !operator==(src);
122  }
127 
128 
129 
130  void buildFromOp(const SOP_GraphProxy *graph, exint nodeidx, fpreal time, DEP_MicroNode *depnode)
131  {
132  myGroup = ""_sh;
133  if (true)
134  graph->evalOpParm(myGroup, nodeidx, "group", time, 0);
135  myNegate = 0;
136  if (true)
137  graph->evalOpParm(myNegate, nodeidx, "negate", time, 0);
138  myEntity = 0;
139  if (true)
140  graph->evalOpParm(myEntity, nodeidx, "entity", time, 0);
141  myAffectnumber = true;
142  if (true)
143  graph->evalOpParm(myAffectnumber, nodeidx, "affectnumber", time, 0);
144  myGroupop = 0;
145  if (true && ( (!(((getAffectnumber()==0)))) ) )
146  graph->evalOpParm(myGroupop, nodeidx, "groupop", time, 0);
147  myFilter = 1;
148  if (true && ( (!(((getAffectnumber()==0))||((int64(getGroupop())!=2)))) ) )
149  graph->evalOpParm(myFilter, nodeidx, "filter", time, 0);
150  myPattern = "!*"_sh;
151  if (true && ( (!(((getAffectnumber()==0))||((int64(getGroupop())!=0)))) ) )
152  graph->evalOpParm(myPattern, nodeidx, "pattern", time, 0);
153  myRange = UT_Vector2I(0,0);
154  if (true && ( (!(((getAffectnumber()==0))||((int64(getGroupop())!=1)))) ) )
155  graph->evalOpParm(myRange, nodeidx, "range", time, 0);
156  mySelect = UT_Vector2I(1,2);
157  if (true && ( (!(((getAffectnumber()==0))||((int64(getGroupop())!=1)))) ) )
158  graph->evalOpParm(mySelect, nodeidx, "select", time, 0);
159  myAffectvolume = false;
160  if (true)
161  graph->evalOpParm(myAffectvolume, nodeidx, "affectvolume", time, 0);
162  myBoundtype = 0;
163  if (true && ( (!(((getAffectvolume()==0)))) ) )
164  graph->evalOpParm(myBoundtype, nodeidx, "boundtype", time, 0);
165  mySize = UT_Vector3D(1,1,1);
166  if (true && ( (!(((getAffectvolume()==0)))) ) )
167  graph->evalOpParm(mySize, nodeidx, "size", time, 0);
168  myT = UT_Vector3D(0,0,0);
169  if (true && ( (!(((getAffectvolume()==0)))) ) )
170  graph->evalOpParm(myT, nodeidx, "t", time, 0);
171  myAffectnormal = false;
172  if (true)
173  graph->evalOpParm(myAffectnormal, nodeidx, "affectnormal", time, 0);
174  myCamerapath = ""_sh;
175  if (true && ( (!(((getAffectnormal()==0)))) ) )
176  graph->evalOpParm(myCamerapath, nodeidx, "camerapath", time, 0);
177  myAffectdegenerate = false;
178  if (true)
179  graph->evalOpParm(myAffectdegenerate, nodeidx, "affectdegenerate", time, 0);
180  myDegenerate = false;
181  if (true && ( (!(((getAffectdegenerate()==0)))) ) )
182  graph->evalOpParm(myDegenerate, nodeidx, "degenerate", time, 0);
183  myZaf = false;
184  if (true && ( (!(((getAffectdegenerate()==0))||((int64(getEntity())!=0)))) ) )
185  graph->evalOpParm(myZaf, nodeidx, "zaf", time, 0);
186  myDoopen = false;
187  if (true && ( (!(((getAffectdegenerate()==0))||((int64(getEntity())!=0))||((getZaf()==0)))) ) )
188  graph->evalOpParm(myDoopen, nodeidx, "doopen", time, 0);
189  myTol = 0.001;
190  if (true && ( (!(((getAffectdegenerate()==0))||((getZaf()==0)&&(getDegenerate()==0)))) ) )
191  graph->evalOpParm(myTol, nodeidx, "tol", time, 0);
192  myRemovegrp = true;
193  if (true)
194  graph->evalOpParm(myRemovegrp, nodeidx, "removegrp", time, 0);
195  myKeeppoints = false;
196  if (true && ( (!(((int64(getEntity())!=0)))) ) )
197  graph->evalOpParm(myKeeppoints, nodeidx, "keeppoints", time, 0);
198  myGeotype = 0;
199  if (true && ( (!(((getAffectnumber()==0)&&(getAffectvolume()==0)&&(getAffectnormal()==0)&&(getAffectdegenerate()==0)))) ) )
200  graph->evalOpParm(myGeotype, nodeidx, "geotype", time, 0);
201  myDir = UT_Vector3D(0,0,1);
202  if (true && ( (!(((getAffectnormal()==0))||((getCamerapath()!="")))) ) )
203  graph->evalOpParm(myDir, nodeidx, "dir", time, 0);
204  myAngle = 180;
205  if (true && ( (!(((getAffectnormal()==0))||((getCamerapath()!="")))) ) )
206  graph->evalOpParm(myAngle, nodeidx, "angle", time, 0);
207 
208  }
209 
210 
211  void loadFromOpSubclass(const LoadParms &loadparms) override
212  {
213  buildFromOp(loadparms.graph(), loadparms.nodeIdx(), loadparms.context().getTime(), loadparms.depnode());
214  }
215 
216 
217  void copyFrom(const SOP_NodeParms *src) override
218  {
219  *this = *((const SOP_DeleteParms *)src);
220  }
221 
222  template <typename T>
223  void
224  doGetParmValue(TempIndex idx, TempIndex instance, T &value) const
225  {
226  if (idx.size() < 1)
227  return;
228  UT_ASSERT(idx.size() == instance.size()+1);
229  if (idx.size() != instance.size()+1)
230  return;
231  switch (idx[0])
232  {
233  case 0:
234  coerceValue(value, myGroup);
235  break;
236  case 1:
237  coerceValue(value, myNegate);
238  break;
239  case 2:
240  coerceValue(value, myEntity);
241  break;
242  case 3:
243  coerceValue(value, myAffectnumber);
244  break;
245  case 4:
246  coerceValue(value, myGroupop);
247  break;
248  case 5:
249  coerceValue(value, myFilter);
250  break;
251  case 6:
252  coerceValue(value, myPattern);
253  break;
254  case 7:
255  coerceValue(value, myRange);
256  break;
257  case 8:
258  coerceValue(value, mySelect);
259  break;
260  case 9:
261  coerceValue(value, myAffectvolume);
262  break;
263  case 10:
264  coerceValue(value, myBoundtype);
265  break;
266  case 11:
267  coerceValue(value, mySize);
268  break;
269  case 12:
270  coerceValue(value, myT);
271  break;
272  case 13:
273  coerceValue(value, myAffectnormal);
274  break;
275  case 14:
276  coerceValue(value, myCamerapath);
277  break;
278  case 15:
279  coerceValue(value, myAffectdegenerate);
280  break;
281  case 16:
282  coerceValue(value, myDegenerate);
283  break;
284  case 17:
285  coerceValue(value, myZaf);
286  break;
287  case 18:
288  coerceValue(value, myDoopen);
289  break;
290  case 19:
291  coerceValue(value, myTol);
292  break;
293  case 20:
294  coerceValue(value, myRemovegrp);
295  break;
296  case 21:
297  coerceValue(value, myKeeppoints);
298  break;
299  case 22:
300  coerceValue(value, myGeotype);
301  break;
302  case 23:
303  coerceValue(value, myDir);
304  break;
305  case 24:
306  coerceValue(value, myAngle);
307  break;
308 
309  }
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(myNegate, value);
351  break;
352  case 2:
353  coerceValue(myEntity, value);
354  break;
355  case 3:
356  coerceValue(myAffectnumber, value);
357  break;
358  case 4:
359  coerceValue(myGroupop, value);
360  break;
361  case 5:
362  coerceValue(myFilter, value);
363  break;
364  case 6:
365  coerceValue(myPattern, value);
366  break;
367  case 7:
368  coerceValue(myRange, value);
369  break;
370  case 8:
371  coerceValue(mySelect, value);
372  break;
373  case 9:
374  coerceValue(myAffectvolume, value);
375  break;
376  case 10:
377  coerceValue(myBoundtype, value);
378  break;
379  case 11:
380  coerceValue(mySize, value);
381  break;
382  case 12:
383  coerceValue(myT, value);
384  break;
385  case 13:
386  coerceValue(myAffectnormal, value);
387  break;
388  case 14:
389  coerceValue(myCamerapath, value);
390  break;
391  case 15:
392  coerceValue(myAffectdegenerate, value);
393  break;
394  case 16:
395  coerceValue(myDegenerate, value);
396  break;
397  case 17:
398  coerceValue(myZaf, value);
399  break;
400  case 18:
401  coerceValue(myDoopen, value);
402  break;
403  case 19:
404  coerceValue(myTol, value);
405  break;
406  case 20:
407  coerceValue(myRemovegrp, value);
408  break;
409  case 21:
410  coerceValue(myKeeppoints, value);
411  break;
412  case 22:
413  coerceValue(myGeotype, value);
414  break;
415  case 23:
416  coerceValue(myDir, value);
417  break;
418  case 24:
419  coerceValue(myAngle, value);
420  break;
421 
422  }
423  }
424 
425  void setNestParmValue(TempIndex idx, TempIndex instance, const exint &value) override
426  { doSetParmValue(idx, instance, value); }
427  void setNestParmValue(TempIndex idx, TempIndex instance, const fpreal &value) override
428  { doSetParmValue(idx, instance, value); }
429  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector2D &value) override
430  { doSetParmValue(idx, instance, value); }
431  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector3D &value) override
432  { doSetParmValue(idx, instance, value); }
433  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector4D &value) override
434  { doSetParmValue(idx, instance, value); }
435  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix2D &value) override
436  { doSetParmValue(idx, instance, value); }
437  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix3D &value) override
438  { doSetParmValue(idx, instance, value); }
439  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix4D &value) override
440  { doSetParmValue(idx, instance, value); }
441  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_StringHolder &value) override
442  { doSetParmValue(idx, instance, value); }
443  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_SharedPtr<UT_Ramp> &value) override
444  { doSetParmValue(idx, instance, value); }
445  void setNestParmValue(TempIndex idx, TempIndex instance, const PRM_DataItemHandle &value) override
446  { doSetParmValue(idx, instance, value); }
447 
448  exint getNestNumParms(TempIndex idx) const override
449  {
450  if (idx.size() == 0)
451  return 25;
452  switch (idx[0])
453  {
454 
455  }
456  // Invalid
457  return 0;
458  }
459 
460  const char *getNestParmName(TempIndex fieldnum) const override
461  {
462  if (fieldnum.size() < 1)
463  return 0;
464  switch (fieldnum[0])
465  {
466  case 0:
467  return "group";
468  case 1:
469  return "negate";
470  case 2:
471  return "entity";
472  case 3:
473  return "affectnumber";
474  case 4:
475  return "groupop";
476  case 5:
477  return "filter";
478  case 6:
479  return "pattern";
480  case 7:
481  return "range";
482  case 8:
483  return "select";
484  case 9:
485  return "affectvolume";
486  case 10:
487  return "boundtype";
488  case 11:
489  return "size";
490  case 12:
491  return "t";
492  case 13:
493  return "affectnormal";
494  case 14:
495  return "camerapath";
496  case 15:
497  return "affectdegenerate";
498  case 16:
499  return "degenerate";
500  case 17:
501  return "zaf";
502  case 18:
503  return "doopen";
504  case 19:
505  return "tol";
506  case 20:
507  return "removegrp";
508  case 21:
509  return "keeppoints";
510  case 22:
511  return "geotype";
512  case 23:
513  return "dir";
514  case 24:
515  return "angle";
516 
517  }
518  return 0;
519  }
520 
521  ParmType getNestParmType(TempIndex fieldnum) const override
522  {
523  if (fieldnum.size() < 1)
524  return PARM_UNSUPPORTED;
525  switch (fieldnum[0])
526  {
527  case 0:
528  return PARM_STRING;
529  case 1:
530  return PARM_INTEGER;
531  case 2:
532  return PARM_INTEGER;
533  case 3:
534  return PARM_INTEGER;
535  case 4:
536  return PARM_INTEGER;
537  case 5:
538  return PARM_INTEGER;
539  case 6:
540  return PARM_STRING;
541  case 7:
542  return PARM_VECTOR2;
543  case 8:
544  return PARM_VECTOR2;
545  case 9:
546  return PARM_INTEGER;
547  case 10:
548  return PARM_INTEGER;
549  case 11:
550  return PARM_VECTOR3;
551  case 12:
552  return PARM_VECTOR3;
553  case 13:
554  return PARM_INTEGER;
555  case 14:
556  return PARM_STRING;
557  case 15:
558  return PARM_INTEGER;
559  case 16:
560  return PARM_INTEGER;
561  case 17:
562  return PARM_INTEGER;
563  case 18:
564  return PARM_INTEGER;
565  case 19:
566  return PARM_FLOAT;
567  case 20:
568  return PARM_INTEGER;
569  case 21:
570  return PARM_INTEGER;
571  case 22:
572  return PARM_INTEGER;
573  case 23:
574  return PARM_VECTOR3;
575  case 24:
576  return PARM_FLOAT;
577 
578  }
579  return PARM_UNSUPPORTED;
580  }
581 
582  // Boiler plate to load individual types.
583  static void loadData(UT_IStream &is, int64 &v)
584  { is.bread(&v, 1); }
585  static void loadData(UT_IStream &is, bool &v)
586  { int64 iv; is.bread(&iv, 1); v = iv; }
587  static void loadData(UT_IStream &is, fpreal64 &v)
588  { is.bread<fpreal64>(&v, 1); }
589  static void loadData(UT_IStream &is, UT_Vector2D &v)
590  { is.bread<fpreal64>(&v.x(), 1); is.bread<fpreal64>(&v.y(), 1); }
591  static void loadData(UT_IStream &is, UT_Vector3D &v)
592  { is.bread<fpreal64>(&v.x(), 1); is.bread<fpreal64>(&v.y(), 1);
593  is.bread<fpreal64>(&v.z(), 1); }
594  static void loadData(UT_IStream &is, UT_Vector4D &v)
595  { is.bread<fpreal64>(&v.x(), 1); is.bread<fpreal64>(&v.y(), 1);
596  is.bread<fpreal64>(&v.z(), 1); is.bread<fpreal64>(&v.w(), 1); }
597  static void loadData(UT_IStream &is, UT_Matrix2D &v)
598  { for (int r = 0; r < 2; r++) for (int c = 0; c < 2; c++) is.bread<fpreal64>(&v(r, c), 1); }
599  static void loadData(UT_IStream &is, UT_Matrix3D &v)
600  { for (int r = 0; r < 3; r++) for (int c = 0; c < 3; c++) is.bread<fpreal64>(&v(r, c), 1); }
601  static void loadData(UT_IStream &is, UT_Matrix4D &v)
602  { for (int r = 0; r < 4; r++) for (int c = 0; c < 4; c++) is.bread<fpreal64>(&v(r, c), 1); }
603  static void loadData(UT_IStream &is, UT_Vector2I &v)
604  { is.bread<int64>(&v.x(), 1); is.bread<int64>(&v.y(), 1); }
605  static void loadData(UT_IStream &is, UT_Vector3I &v)
606  { is.bread<int64>(&v.x(), 1); is.bread<int64>(&v.y(), 1);
607  is.bread<int64>(&v.z(), 1); }
608  static void loadData(UT_IStream &is, UT_Vector4I &v)
609  { is.bread<int64>(&v.x(), 1); is.bread<int64>(&v.y(), 1);
610  is.bread<int64>(&v.z(), 1); is.bread<int64>(&v.w(), 1); }
612  { is.bread(v); }
614  { UT_StringHolder rampdata;
615  loadData(is, rampdata);
616  if (rampdata.isstring())
617  {
618  v.reset(new UT_Ramp());
619  UT_IStream istr((const char *) rampdata, rampdata.length(), UT_ISTREAM_ASCII);
620  v->load(istr);
621  }
622  else v.reset();
623  }
626  loadData(is, data);
627  if (data.isstring())
628  {
629  // Find the data type.
630  const char *colon = UT_StringWrap(data).findChar(':');
631  if (colon)
632  {
633  int typelen = colon - data.buffer();
635  type.strncpy(data.buffer(), typelen);
636  UT_IStream istr(((const char *) data) + typelen + 1, data.length() - (typelen + 1), UT_ISTREAM_BINARY);
637 
638  v = PRM_DataFactory::parseBinary(type.buffer(), istr);
639  }
640  }
641  else v.reset();
642  }
643 
644  static void saveData(std::ostream &os, int64 v)
645  { UTwrite(os, &v); }
646  static void saveData(std::ostream &os, bool v)
647  { int64 iv = v; UTwrite(os, &iv); }
648  static void saveData(std::ostream &os, fpreal64 v)
649  { UTwrite<fpreal64>(os, &v); }
650  static void saveData(std::ostream &os, UT_Vector2D v)
651  { UTwrite<fpreal64>(os, &v.x()); UTwrite<fpreal64>(os, &v.y()); }
652  static void saveData(std::ostream &os, UT_Vector3D v)
653  { UTwrite<fpreal64>(os, &v.x()); UTwrite<fpreal64>(os, &v.y());
654  UTwrite<fpreal64>(os, &v.z()); }
655  static void saveData(std::ostream &os, UT_Vector4D v)
656  { UTwrite<fpreal64>(os, &v.x()); UTwrite<fpreal64>(os, &v.y());
657  UTwrite<fpreal64>(os, &v.z()); UTwrite<fpreal64>(os, &v.w()); }
658  static void saveData(std::ostream &os, UT_Matrix2D v)
660  static void saveData(std::ostream &os, UT_Matrix3D v)
662  static void saveData(std::ostream &os, UT_Matrix4D v)
664  static void saveData(std::ostream &os, UT_StringHolder s)
665  { UT_StringWrap(s).saveBinary(os); }
666  static void saveData(std::ostream &os, UT_SharedPtr<UT_Ramp> s)
668  UT_OStringStream ostr;
669  if (s) s->save(ostr);
670  result = ostr.str();
671  saveData(os, result);
672  }
673  static void saveData(std::ostream &os, PRM_DataItemHandle s)
675  UT_OStringStream ostr;
676  if (s)
677  {
678  ostr << s->getDataTypeToken();
679  ostr << ":";
680  s->saveBinary(ostr);
681  }
682  result = ostr.str();
683  saveData(os, result);
684  }
685 
686 
687  void save(std::ostream &os) const
688  {
689  int32 v = version();
690  UTwrite(os, &v);
691  saveData(os, myGroup);
692  saveData(os, myNegate);
693  saveData(os, myEntity);
694  saveData(os, myAffectnumber);
695  saveData(os, myGroupop);
696  saveData(os, myFilter);
697  saveData(os, myPattern);
698  saveData(os, myRange);
699  saveData(os, mySelect);
700  saveData(os, myAffectvolume);
701  saveData(os, myBoundtype);
702  saveData(os, mySize);
703  saveData(os, myT);
704  saveData(os, myAffectnormal);
705  saveData(os, myCamerapath);
706  saveData(os, myAffectdegenerate);
707  saveData(os, myDegenerate);
708  saveData(os, myZaf);
709  saveData(os, myDoopen);
710  saveData(os, myTol);
711  saveData(os, myRemovegrp);
712  saveData(os, myKeeppoints);
713  saveData(os, myGeotype);
714  saveData(os, myDir);
715  saveData(os, myAngle);
716 
717  }
718 
719  bool load(UT_IStream &is)
720  {
721  int32 v;
722  is.bread(&v, 1);
723  if (version() != v)
724  {
725  // Fail incompatible versions
726  return false;
727  }
728  loadData(is, myGroup);
729  loadData(is, myNegate);
730  loadData(is, myEntity);
731  loadData(is, myAffectnumber);
732  loadData(is, myGroupop);
733  loadData(is, myFilter);
734  loadData(is, myPattern);
735  loadData(is, myRange);
736  loadData(is, mySelect);
737  loadData(is, myAffectvolume);
738  loadData(is, myBoundtype);
739  loadData(is, mySize);
740  loadData(is, myT);
741  loadData(is, myAffectnormal);
742  loadData(is, myCamerapath);
743  loadData(is, myAffectdegenerate);
744  loadData(is, myDegenerate);
745  loadData(is, myZaf);
746  loadData(is, myDoopen);
747  loadData(is, myTol);
748  loadData(is, myRemovegrp);
749  loadData(is, myKeeppoints);
750  loadData(is, myGeotype);
751  loadData(is, myDir);
752  loadData(is, myAngle);
753 
754  return true;
755  }
756 
757  const UT_StringHolder & getGroup() const { return myGroup; }
758  void setGroup(const UT_StringHolder & val) { myGroup = val; }
760  {
761  SOP_Node *thissop = cookparms.getNode();
762  if (!thissop) return getGroup();
764  OP_Utils::evalOpParm(result, thissop, "group", cookparms.getCookTime(), 0);
765  return result;
766  }
767  Negate getNegate() const { return Negate(myNegate); }
768  void setNegate(Negate val) { myNegate = int64(val); }
769  Negate opNegate(const SOP_NodeVerb::CookParms &cookparms) const
770  {
771  SOP_Node *thissop = cookparms.getNode();
772  if (!thissop) return getNegate();
773  int64 result;
774  OP_Utils::evalOpParm(result, thissop, "negate", cookparms.getCookTime(), 0);
775  return Negate(result);
776  }
777  Entity getEntity() const { return Entity(myEntity); }
778  void setEntity(Entity val) { myEntity = int64(val); }
779  Entity opEntity(const SOP_NodeVerb::CookParms &cookparms) const
780  {
781  SOP_Node *thissop = cookparms.getNode();
782  if (!thissop) return getEntity();
783  int64 result;
784  OP_Utils::evalOpParm(result, thissop, "entity", cookparms.getCookTime(), 0);
785  return Entity(result);
786  }
787  bool getAffectnumber() const { return myAffectnumber; }
788  void setAffectnumber(bool val) { myAffectnumber = val; }
789  bool opAffectnumber(const SOP_NodeVerb::CookParms &cookparms) const
790  {
791  SOP_Node *thissop = cookparms.getNode();
792  if (!thissop) return getAffectnumber();
793  bool result;
794  OP_Utils::evalOpParm(result, thissop, "affectnumber", cookparms.getCookTime(), 0);
795  return result;
796  }
797  Groupop getGroupop() const { return Groupop(myGroupop); }
798  void setGroupop(Groupop val) { myGroupop = int64(val); }
799  Groupop opGroupop(const SOP_NodeVerb::CookParms &cookparms) const
800  {
801  SOP_Node *thissop = cookparms.getNode();
802  if (!thissop) return getGroupop();
803  int64 result;
804  OP_Utils::evalOpParm(result, thissop, "groupop", cookparms.getCookTime(), 0);
805  return Groupop(result);
806  }
807  int64 getFilter() const { return myFilter; }
808  void setFilter(int64 val) { myFilter = val; }
809  int64 opFilter(const SOP_NodeVerb::CookParms &cookparms) const
810  {
811  SOP_Node *thissop = cookparms.getNode();
812  if (!thissop) return getFilter();
813  int64 result;
814  OP_Utils::evalOpParm(result, thissop, "filter", cookparms.getCookTime(), 0);
815  return result;
816  }
817  const UT_StringHolder & getPattern() const { return myPattern; }
818  void setPattern(const UT_StringHolder & val) { myPattern = val; }
820  {
821  SOP_Node *thissop = cookparms.getNode();
822  if (!thissop) return getPattern();
824  OP_Utils::evalOpParm(result, thissop, "pattern", cookparms.getCookTime(), 0);
825  return result;
826  }
827  UT_Vector2I getRange() const { return myRange; }
828  void setRange(UT_Vector2I val) { myRange = val; }
830  {
831  SOP_Node *thissop = cookparms.getNode();
832  if (!thissop) return getRange();
834  OP_Utils::evalOpParm(result, thissop, "range", cookparms.getCookTime(), 0);
835  return result;
836  }
837  UT_Vector2I getSelect() const { return mySelect; }
838  void setSelect(UT_Vector2I val) { mySelect = val; }
840  {
841  SOP_Node *thissop = cookparms.getNode();
842  if (!thissop) return getSelect();
844  OP_Utils::evalOpParm(result, thissop, "select", cookparms.getCookTime(), 0);
845  return result;
846  }
847  bool getAffectvolume() const { return myAffectvolume; }
848  void setAffectvolume(bool val) { myAffectvolume = val; }
849  bool opAffectvolume(const SOP_NodeVerb::CookParms &cookparms) const
850  {
851  SOP_Node *thissop = cookparms.getNode();
852  if (!thissop) return getAffectvolume();
853  bool result;
854  OP_Utils::evalOpParm(result, thissop, "affectvolume", cookparms.getCookTime(), 0);
855  return result;
856  }
857  Boundtype getBoundtype() const { return Boundtype(myBoundtype); }
858  void setBoundtype(Boundtype val) { myBoundtype = int64(val); }
860  {
861  SOP_Node *thissop = cookparms.getNode();
862  if (!thissop) return getBoundtype();
863  int64 result;
864  OP_Utils::evalOpParm(result, thissop, "boundtype", cookparms.getCookTime(), 0);
865  return Boundtype(result);
866  }
867  UT_Vector3D getSize() const { return mySize; }
868  void setSize(UT_Vector3D val) { mySize = val; }
870  {
871  SOP_Node *thissop = cookparms.getNode();
872  if (!thissop) return getSize();
874  OP_Utils::evalOpParm(result, thissop, "size", cookparms.getCookTime(), 0);
875  return result;
876  }
877  UT_Vector3D getT() const { return myT; }
878  void setT(UT_Vector3D val) { myT = val; }
879  UT_Vector3D opT(const SOP_NodeVerb::CookParms &cookparms) const
880  {
881  SOP_Node *thissop = cookparms.getNode();
882  if (!thissop) return getT();
884  OP_Utils::evalOpParm(result, thissop, "t", cookparms.getCookTime(), 0);
885  return result;
886  }
887  bool getAffectnormal() const { return myAffectnormal; }
888  void setAffectnormal(bool val) { myAffectnormal = val; }
889  bool opAffectnormal(const SOP_NodeVerb::CookParms &cookparms) const
890  {
891  SOP_Node *thissop = cookparms.getNode();
892  if (!thissop) return getAffectnormal();
893  bool result;
894  OP_Utils::evalOpParm(result, thissop, "affectnormal", cookparms.getCookTime(), 0);
895  return result;
896  }
897  const UT_StringHolder & getCamerapath() const { return myCamerapath; }
898  void setCamerapath(const UT_StringHolder & val) { myCamerapath = val; }
900  {
901  SOP_Node *thissop = cookparms.getNode();
902  if (!thissop) return getCamerapath();
904  OP_Utils::evalOpParm(result, thissop, "camerapath", cookparms.getCookTime(), 0);
905  return result;
906  }
907  bool getAffectdegenerate() const { return myAffectdegenerate; }
908  void setAffectdegenerate(bool val) { myAffectdegenerate = val; }
909  bool opAffectdegenerate(const SOP_NodeVerb::CookParms &cookparms) const
910  {
911  SOP_Node *thissop = cookparms.getNode();
912  if (!thissop) return getAffectdegenerate();
913  bool result;
914  OP_Utils::evalOpParm(result, thissop, "affectdegenerate", cookparms.getCookTime(), 0);
915  return result;
916  }
917  bool getDegenerate() const { return myDegenerate; }
918  void setDegenerate(bool val) { myDegenerate = val; }
919  bool opDegenerate(const SOP_NodeVerb::CookParms &cookparms) const
920  {
921  SOP_Node *thissop = cookparms.getNode();
922  if (!thissop) return getDegenerate();
923  bool result;
924  OP_Utils::evalOpParm(result, thissop, "degenerate", cookparms.getCookTime(), 0);
925  return result;
926  }
927  bool getZaf() const { return myZaf; }
928  void setZaf(bool val) { myZaf = val; }
929  bool opZaf(const SOP_NodeVerb::CookParms &cookparms) const
930  {
931  SOP_Node *thissop = cookparms.getNode();
932  if (!thissop) return getZaf();
933  bool result;
934  OP_Utils::evalOpParm(result, thissop, "zaf", cookparms.getCookTime(), 0);
935  return result;
936  }
937  bool getDoopen() const { return myDoopen; }
938  void setDoopen(bool val) { myDoopen = val; }
939  bool opDoopen(const SOP_NodeVerb::CookParms &cookparms) const
940  {
941  SOP_Node *thissop = cookparms.getNode();
942  if (!thissop) return getDoopen();
943  bool result;
944  OP_Utils::evalOpParm(result, thissop, "doopen", cookparms.getCookTime(), 0);
945  return result;
946  }
947  fpreal64 getTol() const { return myTol; }
948  void setTol(fpreal64 val) { myTol = val; }
949  fpreal64 opTol(const SOP_NodeVerb::CookParms &cookparms) const
950  {
951  SOP_Node *thissop = cookparms.getNode();
952  if (!thissop) return getTol();
954  OP_Utils::evalOpParm(result, thissop, "tol", cookparms.getCookTime(), 0);
955  return result;
956  }
957  bool getRemovegrp() const { return myRemovegrp; }
958  void setRemovegrp(bool val) { myRemovegrp = val; }
959  bool opRemovegrp(const SOP_NodeVerb::CookParms &cookparms) const
960  {
961  SOP_Node *thissop = cookparms.getNode();
962  if (!thissop) return getRemovegrp();
963  bool result;
964  OP_Utils::evalOpParm(result, thissop, "removegrp", cookparms.getCookTime(), 0);
965  return result;
966  }
967  bool getKeeppoints() const { return myKeeppoints; }
968  void setKeeppoints(bool val) { myKeeppoints = val; }
969  bool opKeeppoints(const SOP_NodeVerb::CookParms &cookparms) const
970  {
971  SOP_Node *thissop = cookparms.getNode();
972  if (!thissop) return getKeeppoints();
973  bool result;
974  OP_Utils::evalOpParm(result, thissop, "keeppoints", cookparms.getCookTime(), 0);
975  return result;
976  }
977  int64 getGeotype() const { return myGeotype; }
978  void setGeotype(int64 val) { myGeotype = val; }
979  int64 opGeotype(const SOP_NodeVerb::CookParms &cookparms) const
980  {
981  SOP_Node *thissop = cookparms.getNode();
982  if (!thissop) return getGeotype();
983  int64 result;
984  OP_Utils::evalOpParm(result, thissop, "geotype", cookparms.getCookTime(), 0);
985  return result;
986  }
987  UT_Vector3D getDir() const { return myDir; }
988  void setDir(UT_Vector3D val) { myDir = val; }
989  UT_Vector3D opDir(const SOP_NodeVerb::CookParms &cookparms) const
990  {
991  SOP_Node *thissop = cookparms.getNode();
992  if (!thissop) return getDir();
994  OP_Utils::evalOpParm(result, thissop, "dir", cookparms.getCookTime(), 0);
995  return result;
996  }
997  fpreal64 getAngle() const { return myAngle; }
998  void setAngle(fpreal64 val) { myAngle = val; }
999  fpreal64 opAngle(const SOP_NodeVerb::CookParms &cookparms) const
1000  {
1001  SOP_Node *thissop = cookparms.getNode();
1002  if (!thissop) return getAngle();
1003  fpreal64 result;
1004  OP_Utils::evalOpParm(result, thissop, "angle", cookparms.getCookTime(), 0);
1005  return result;
1006  }
1007 
1008 private:
1009  UT_StringHolder myGroup;
1010  int64 myNegate;
1011  int64 myEntity;
1012  bool myAffectnumber;
1013  int64 myGroupop;
1014  int64 myFilter;
1015  UT_StringHolder myPattern;
1016  UT_Vector2I myRange;
1017  UT_Vector2I mySelect;
1018  bool myAffectvolume;
1019  int64 myBoundtype;
1020  UT_Vector3D mySize;
1021  UT_Vector3D myT;
1022  bool myAffectnormal;
1023  UT_StringHolder myCamerapath;
1024  bool myAffectdegenerate;
1025  bool myDegenerate;
1026  bool myZaf;
1027  bool myDoopen;
1028  fpreal64 myTol;
1029  bool myRemovegrp;
1030  bool myKeeppoints;
1031  int64 myGeotype;
1032  UT_Vector3D myDir;
1033  fpreal64 myAngle;
1034 
1035 };
GLdouble s
Definition: glew.h:1390
static void loadData(UT_IStream &is, UT_SharedPtr< UT_Ramp > &v)
UT_Vector2T< int64 > UT_Vector2I
int64 opGeotype(const SOP_NodeVerb::CookParms &cookparms) const
static void saveData(std::ostream &os, UT_SharedPtr< UT_Ramp > s)
void setGroup(const UT_StringHolder &val)
exint nodeIdx() const
Definition: SOP_NodeVerb.h:114
bool opAffectdegenerate(const SOP_NodeVerb::CookParms &cookparms) const
GLenum src
Definition: glew.h:2410
void setZaf(bool val)
int int32
Definition: SYS_Types.h:39
SOP_Node * getNode() const
Definition: SOP_NodeVerb.h:640
void save(std::ostream &os) const
const char * getNestParmName(TempIndex fieldnum) const override
static void loadData(UT_IStream &is, UT_Matrix2D &v)
static void saveData(std::ostream &os, fpreal64 v)
static int version()
static void loadData(UT_IStream &is, UT_Matrix3D &v)
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector3D &value) const override
void setAffectvolume(bool val)
static void loadData(UT_IStream &is, UT_Vector4I &v)
exint bread(int32 *buffer, exint asize=1)
GT_API const UT_StringHolder time
static void saveData(std::ostream &os, PRM_DataItemHandle s)
void setKeeppoints(bool val)
static void loadData(UT_IStream &is, UT_Vector3D &v)
fpreal getTime() const
Definition: OP_Context.h:60
fpreal64 getTol() const
GLuint const GLfloat * val
Definition: glew.h:2794
UT_StringHolder opGroup(const SOP_NodeVerb::CookParms &cookparms) const
void setAffectnumber(bool val)
bool load(UT_IStream &is)
void setCamerapath(const UT_StringHolder &val)
UT_Vector2I getSelect() const
void setDoopen(bool val)
static void loadData(UT_IStream &is, fpreal64 &v)
void setDir(UT_Vector3D val)
UT_Vector2I opRange(const SOP_NodeVerb::CookParms &cookparms) const
void setTol(fpreal64 val)
static void loadData(UT_IStream &is, UT_Vector4D &v)
int64 exint
Definition: SYS_Types.h:125
static void saveData(std::ostream &os, int64 v)
void loadFromOpSubclass(const LoadParms &loadparms) override
SYS_FORCE_INLINE const char * buffer() const
const SOP_GraphProxy * graph() const
Definition: SOP_NodeVerb.h:113
void setAffectdegenerate(bool val)
void buildFromOp(const SOP_GraphProxy *graph, exint nodeidx, fpreal time, DEP_MicroNode *depnode)
const UT_StringHolder & getCamerapath() const
fpreal64 opAngle(const SOP_NodeVerb::CookParms &cookparms) const
void setNestParmValue(TempIndex idx, TempIndex instance, const fpreal &value) override
bool getDegenerate() const
void setEntity(Entity val)
An output stream object that owns its own string buffer storage.
bool opDoopen(const SOP_NodeVerb::CookParms &cookparms) const
const GLdouble * v
Definition: glew.h:1391
void getNestParmValue(TempIndex idx, TempIndex instance, fpreal &value) const override
bool opDegenerate(const SOP_NodeVerb::CookParms &cookparms) const
void setPattern(const UT_StringHolder &val)
fpreal64 getAngle() const
static PRM_DataItemHandle parseBinary(const char *type, UT_IStream &is)
Entity opEntity(const SOP_NodeVerb::CookParms &cookparms) const
const UT_WorkBuffer & str()
Returns a read-only reference to the underlying UT_WorkBuffer.
void doSetParmValue(TempIndex idx, TempIndex instance, const T &value)
UT_Vector3D opSize(const SOP_NodeVerb::CookParms &cookparms) const
void setNegate(Negate val)
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix2D &value) const override
Entity getEntity() const
static void saveData(std::ostream &os, UT_Vector2D v)
UT_Vector2I opSelect(const SOP_NodeVerb::CookParms &cookparms) const
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector3D &value) override
static void loadData(UT_IStream &is, bool &v)
double fpreal64
Definition: SYS_Types.h:201
void getNestParmValue(TempIndex idx, TempIndex instance, exint &value) const override
void setRemovegrp(bool val)
bool operator==(const BaseDimensions< T > &a, const BaseDimensions< Y > &b)
Definition: Dimensions.h:137
void setRange(UT_Vector2I val)
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix2D &value) override
static void loadData(UT_IStream &is, UT_Matrix4D &v)
static void loadData(UT_IStream &is, UT_Vector2D &v)
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix3D &value) override
UT_StringHolder opCamerapath(const SOP_NodeVerb::CookParms &cookparms) const
static void saveData(std::ostream &os, UT_StringHolder s)
SYS_FORCE_INLINE T & y()
Definition: UT_Vector3.h:513
bool opKeeppoints(const SOP_NodeVerb::CookParms &cookparms) const
const UT_StringHolder & getGroup() const
bool opAffectnumber(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:28
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix4D &value) override
GLint GLenum GLsizei GLint GLsizei const void * data
Definition: glew.h:1379
static void loadData(UT_IStream &is, UT_Vector2I &v)
bool getKeeppoints() const
UT_Vector3D getSize() const
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_StringHolder &value) override
void getNestParmValue(TempIndex idx, TempIndex instance, UT_StringHolder &value) const override
SYS_FORCE_INLINE T & z()
Definition: UT_Vector3.h:515
void copyFrom(const SOP_NodeParms *src) override
void setBoundtype(Boundtype val)
const GLfloat * c
Definition: glew.h:16296
static void saveData(std::ostream &os, UT_Matrix2D v)
long long int64
Definition: SYS_Types.h:116
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix3D &value) const override
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector2D &value) override
UT_Vector3T< fpreal64 > UT_Vector3D
bool opRemovegrp(const SOP_NodeVerb::CookParms &cookparms) const
Groupop opGroupop(const SOP_NodeVerb::CookParms &cookparms) const
UT_Vector3D getT() const
bool getRemovegrp() const
ParmType getNestParmType(TempIndex fieldnum) const override
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector4D &value) const override
bool getAffectnormal() const
void saveBinary(std::ostream &os) const
Save string to binary stream.
Definition: UT_String.h:294
bool getAffectnumber() const
GT_API const UT_StringHolder version
bool getAffectdegenerate() const
DEP_MicroNode * depnode() const
Definition: SOP_NodeVerb.h:121
bool opAffectvolume(const SOP_NodeVerb::CookParms &cookparms) const
static void saveData(std::ostream &os, bool v)
Boundtype opBoundtype(const SOP_NodeVerb::CookParms &cookparms) const
Negate opNegate(const SOP_NodeVerb::CookParms &cookparms) const
UT_Vector3D opT(const SOP_NodeVerb::CookParms &cookparms) const
static void loadData(UT_IStream &is, PRM_DataItemHandle &v)
void setSize(UT_Vector3D val)
void setDegenerate(bool val)
int64 getGeotype() const
static void loadData(UT_IStream &is, UT_StringHolder &v)
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector4D &value) override
UT_Vector3D opDir(const SOP_NodeVerb::CookParms &cookparms) const
fpreal64 fpreal
Definition: SYS_Types.h:277
bool operator==(const SOP_DeleteParms &src) const
int64 opFilter(const SOP_NodeVerb::CookParms &cookparms) const
Utility class for containing a color ramp.
Definition: UT_Ramp.h:84
GLdouble GLdouble GLdouble r
Definition: glew.h:1406
bool opAffectnormal(const SOP_NodeVerb::CookParms &cookparms) const
void setGeotype(int64 val)
void setNestParmValue(TempIndex idx, TempIndex instance, const exint &value) override
#define SOP_API
Definition: SOP_API.h:10
Negate getNegate() const
void doGetParmValue(TempIndex idx, TempIndex instance, T &value) const
bool operator!=(const SOP_DeleteParms &src) const
virtual void evalOpParm(int64 &v, NodeIdx node, const char *parmname, fpreal time, DEP_MicroNode *depnode) const =0
static void loadData(UT_IStream &is, UT_Vector3I &v)
SYS_FORCE_INLINE T & x()
Definition: UT_Vector3.h:511
fpreal getCookTime() const
Definition: SOP_NodeVerb.h:654
void setGroupop(Groupop val)
exint getNestNumParms(TempIndex idx) const override
GLuint64EXT * result
Definition: glew.h:14007
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix4D &value) const override
void setSelect(UT_Vector2I val)
const char * findChar(int c) const
Definition: UT_String.h:1367
#define UT_ASSERT(ZZ)
Definition: UT_Assert.h:135
static void saveData(std::ostream &os, UT_Matrix4D v)
~SOP_DeleteParms() override
bool getDoopen() const
void setT(UT_Vector3D val)
void setAffectnormal(bool val)
void getNestParmValue(TempIndex idx, TempIndex instance, UT_SharedPtr< UT_Ramp > &value) const override
void setAngle(fpreal64 val)
int64 getFilter() const
static void saveData(std::ostream &os, UT_Matrix3D v)
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector2D &value) const override
bool opZaf(const SOP_NodeVerb::CookParms &cookparms) const
bool getZaf() const
static void loadData(UT_IStream &is, int64 &v)
UT_Vector3D getDir() const
static void saveData(std::ostream &os, UT_Vector4D v)
const UT_StringHolder & getPattern() const
GLsizei const GLfloat * value
Definition: glew.h:1849
bool getAffectvolume() const
void setNestParmValue(TempIndex idx, TempIndex instance, const PRM_DataItemHandle &value) override
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_SharedPtr< UT_Ramp > &value) override
const OP_Context & context() const
Definition: SOP_NodeVerb.h:119
Groupop getGroupop() const
UT_SharedPtr< const PRM_DataItem > PRM_DataItemHandle
Definition: PRM_Parm.h:89
static void saveData(std::ostream &os, UT_Vector3D v)
void getNestParmValue(TempIndex idx, TempIndex instance, PRM_DataItemHandle &value) const override
SYS_FORCE_INLINE bool isstring() const
UT_Vector2I getRange() const
fpreal64 opTol(const SOP_NodeVerb::CookParms &cookparms) const
void setFilter(int64 val)
SYS_FORCE_INLINE void strncpy(const char *src, exint maxlen)
type
Definition: core.h:528
Boundtype getBoundtype() const
UT_StringHolder opPattern(const SOP_NodeVerb::CookParms &cookparms) const