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