HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SOP_VolumeBreak.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 <OP/OP_Utils.h>
8 #include <PRM/PRM_Parm.h>
9 #include <UT/UT_IStream.h>
10 #include <UT/UT_NTStreamUtil.h>
11 #include <UT/UT_Ramp.h>
12 #include <UT/UT_SharedPtr.h>
13 #include <UT/UT_StringHolder.h>
14 #include <UT/UT_StringStream.h>
15 #include <UT/UT_VectorTypes.h>
16 #include <SYS/SYS_Types.h>
17 
18 using namespace UT::Literal;
19 
20 class DEP_MicroNode;
21 namespace SOP_VolumeBreakEnums
22 {
23  enum class Breaktype
24  {
25  FRACTURE = 0,
26  OUTSIDE,
27  INSIDE
28  };
29  enum class Closeholes
30  {
31  NOCLOSE = 0,
32  FLATCLOSE,
34  };
35 }
36 
37 
39 {
40 public:
41  static int version() { return 1; }
42 
44  {
45  myGroup = ""_sh;
46  myBreaktype = 1;
47  myCloseholes = 0;
48  myClosegeo = false;
49  mySnapdistance = 0.01;
50  myCreategroups = false;
51  myInsidegroup = "inside"_sh;
52  myInsideclosuregroup = "insideClosure"_sh;
53  myOutsidegroup = "outside"_sh;
54  myOutsideclosuregroup = "outsideClosure"_sh;
55 
56  }
57 
58  explicit SOP_VolumeBreakParms(const SOP_VolumeBreakParms &) = default;
59 
60  virtual ~SOP_VolumeBreakParms() {}
61 
62  bool operator==(const SOP_VolumeBreakParms &src) const
63  {
64  if (myGroup != src.myGroup) return false;
65  if (myBreaktype != src.myBreaktype) return false;
66  if (myCloseholes != src.myCloseholes) return false;
67  if (myClosegeo != src.myClosegeo) return false;
68  if (mySnapdistance != src.mySnapdistance) return false;
69  if (myCreategroups != src.myCreategroups) return false;
70  if (myInsidegroup != src.myInsidegroup) return false;
71  if (myInsideclosuregroup != src.myInsideclosuregroup) return false;
72  if (myOutsidegroup != src.myOutsidegroup) return false;
73  if (myOutsideclosuregroup != src.myOutsideclosuregroup) return false;
74 
75  return true;
76  }
79 
80 
81 
82  void buildFromOp(const OP_Node *node, fpreal time, DEP_MicroNode *depnode)
83  {
84  if (true)
85  OP_Utils::evalOpParm(myGroup, node, "group", time, 0);
86  else myGroup = ""_sh;
87  if (true)
88  OP_Utils::evalOpParm(myBreaktype, node, "breaktype", time, 0);
89  else myBreaktype = 1;
90  if (true)
91  OP_Utils::evalOpParm(myCloseholes, node, "closeholes", time, 0);
92  else myCloseholes = 0;
93  if (true && ( (!(((int64(getCloseholes())!=0)))) ) )
94  OP_Utils::evalOpParm(myClosegeo, node, "closegeo", time, 0);
95  else myClosegeo = false;
96  if (true)
97  OP_Utils::evalOpParm(mySnapdistance, node, "snapdistance", time, 0);
98  else mySnapdistance = 0.01;
99  if (true)
100  OP_Utils::evalOpParm(myCreategroups, node, "creategroups", time, 0);
101  else myCreategroups = false;
102  if (true && ( (!(((getCreategroups()==0))||((int64(getBreaktype())==1)))) ) )
103  OP_Utils::evalOpParm(myInsidegroup, node, "insidegroup", time, 0);
104  else myInsidegroup = "inside"_sh;
105  if (true && ( (!(((getCreategroups()==0))||((int64(getBreaktype())==1))||((int64(getCloseholes())==0)))) ) )
106  OP_Utils::evalOpParm(myInsideclosuregroup, node, "insideclosuregroup", time, 0);
107  else myInsideclosuregroup = "insideClosure"_sh;
108  if (true && ( (!(((getCreategroups()==0))||((int64(getBreaktype())==2)))) ) )
109  OP_Utils::evalOpParm(myOutsidegroup, node, "outsidegroup", time, 0);
110  else myOutsidegroup = "outside"_sh;
111  if (true && ( (!(((getCreategroups()==0))||((int64(getBreaktype())==2))||((int64(getCloseholes())==0)))) ) )
112  OP_Utils::evalOpParm(myOutsideclosuregroup, node, "outsideclosuregroup", time, 0);
113  else myOutsideclosuregroup = "outsideClosure"_sh;
114 
115  }
116 
117 
118  virtual void loadFromOpSubclass(const LoadParms &loadparms)
119  {
120  buildFromOp(loadparms.node(), loadparms.context().getTime(), loadparms.depnode());
121  }
122 
123 
124  virtual void copyFrom(const SOP_NodeParms *src)
125  {
126  *this = *((const SOP_VolumeBreakParms *)src);
127  }
128 
129  template <typename T>
130  void
131  doGetParmValue(exint idx, T &value) const
132  {
133  switch (idx)
134  {
135  case 0:
136  coerceValue(value, myGroup);
137  break;
138  case 1:
139  coerceValue(value, myBreaktype);
140  break;
141  case 2:
142  coerceValue(value, myCloseholes);
143  break;
144  case 3:
145  coerceValue(value, myClosegeo);
146  break;
147  case 4:
148  coerceValue(value, mySnapdistance);
149  break;
150  case 5:
151  coerceValue(value, myCreategroups);
152  break;
153  case 6:
154  coerceValue(value, myInsidegroup);
155  break;
156  case 7:
157  coerceValue(value, myInsideclosuregroup);
158  break;
159  case 8:
160  coerceValue(value, myOutsidegroup);
161  break;
162  case 9:
163  coerceValue(value, myOutsideclosuregroup);
164  break;
165 
166  }
167  }
168 
169  void getParmValue(exint idx, exint &value) const
170  { doGetParmValue(idx, value); }
171  void getParmValue(exint idx, fpreal &value) const
172  { doGetParmValue(idx, value); }
174  { doGetParmValue(idx, value); }
176  { doGetParmValue(idx, value); }
178  { doGetParmValue(idx, value); }
180  { doGetParmValue(idx, value); }
182  { doGetParmValue(idx, value); }
184  { doGetParmValue(idx, value); }
186  { doGetParmValue(idx, value); }
188  { doGetParmValue(idx, value); }
190  { doGetParmValue(idx, value); }
191 
192  template <typename T>
193  void
194  doSetParmValue(exint idx, const T &value)
195  {
196  switch (idx)
197  {
198  case 0:
199  coerceValue(myGroup, value);
200  break;
201  case 1:
202  coerceValue(myBreaktype, value);
203  break;
204  case 2:
205  coerceValue(myCloseholes, value);
206  break;
207  case 3:
208  coerceValue(myClosegeo, value);
209  break;
210  case 4:
211  coerceValue(mySnapdistance, value);
212  break;
213  case 5:
214  coerceValue(myCreategroups, value);
215  break;
216  case 6:
217  coerceValue(myInsidegroup, value);
218  break;
219  case 7:
220  coerceValue(myInsideclosuregroup, value);
221  break;
222  case 8:
223  coerceValue(myOutsidegroup, value);
224  break;
225  case 9:
226  coerceValue(myOutsideclosuregroup, value);
227  break;
228 
229  }
230  }
231 
232  void setParmValue(exint idx, const exint &value)
233  { doSetParmValue(idx, value); }
234  void setParmValue(exint idx, const fpreal &value)
235  { doSetParmValue(idx, value); }
236  void setParmValue(exint idx, const UT_Vector2D &value)
237  { doSetParmValue(idx, value); }
238  void setParmValue(exint idx, const UT_Vector3D &value)
239  { doSetParmValue(idx, value); }
240  void setParmValue(exint idx, const UT_Vector4D &value)
241  { doSetParmValue(idx, value); }
242  void setParmValue(exint idx, const UT_Matrix2D &value)
243  { doSetParmValue(idx, value); }
244  void setParmValue(exint idx, const UT_Matrix3D &value)
245  { doSetParmValue(idx, value); }
246  void setParmValue(exint idx, const UT_Matrix4D &value)
247  { doSetParmValue(idx, value); }
249  { doSetParmValue(idx, value); }
251  { doSetParmValue(idx, value); }
253  { doSetParmValue(idx, value); }
254 
255  virtual exint getNumParms() const
256  {
257  return 10;
258  }
259 
260  virtual const char *getParmName(exint fieldnum) const
261  {
262  switch (fieldnum)
263  {
264  case 0:
265  return "group";
266  case 1:
267  return "breaktype";
268  case 2:
269  return "closeholes";
270  case 3:
271  return "closegeo";
272  case 4:
273  return "snapdistance";
274  case 5:
275  return "creategroups";
276  case 6:
277  return "insidegroup";
278  case 7:
279  return "insideclosuregroup";
280  case 8:
281  return "outsidegroup";
282  case 9:
283  return "outsideclosuregroup";
284 
285  }
286  return 0;
287  }
288 
289  virtual ParmType getParmType(exint fieldnum) const
290  {
291  switch (fieldnum)
292  {
293  case 0:
294  return PARM_STRING;
295  case 1:
296  return PARM_INTEGER;
297  case 2:
298  return PARM_INTEGER;
299  case 3:
300  return PARM_INTEGER;
301  case 4:
302  return PARM_FLOAT;
303  case 5:
304  return PARM_INTEGER;
305  case 6:
306  return PARM_STRING;
307  case 7:
308  return PARM_STRING;
309  case 8:
310  return PARM_STRING;
311  case 9:
312  return PARM_STRING;
313 
314  }
315  return PARM_UNSUPPORTED;
316  }
317 
318  // Boiler plate to load individual types.
319  static void loadData(UT_IStream &is, int64 &v)
320  { is.bread(&v, 1); }
321  static void loadData(UT_IStream &is, bool &v)
322  { int64 iv; is.bread(&iv, 1); v = iv; }
323  static void loadData(UT_IStream &is, fpreal64 &v)
324  { is.bread<fpreal64>(&v, 1); }
325  static void loadData(UT_IStream &is, UT_Vector2D &v)
326  { is.bread<fpreal64>(&v.x(), 1); is.bread<fpreal64>(&v.y(), 1); }
327  static void loadData(UT_IStream &is, UT_Vector3D &v)
328  { is.bread<fpreal64>(&v.x(), 1); is.bread<fpreal64>(&v.y(), 1);
329  is.bread<fpreal64>(&v.z(), 1); }
330  static void loadData(UT_IStream &is, UT_Vector4D &v)
331  { is.bread<fpreal64>(&v.x(), 1); is.bread<fpreal64>(&v.y(), 1);
332  is.bread<fpreal64>(&v.z(), 1); is.bread<fpreal64>(&v.w(), 1); }
333  static void loadData(UT_IStream &is, UT_Matrix2D &v)
334  { for (int r = 0; r < 2; r++) for (int c = 0; c < 2; c++) is.bread<fpreal64>(&v(r, c), 1); }
335  static void loadData(UT_IStream &is, UT_Matrix3D &v)
336  { for (int r = 0; r < 3; r++) for (int c = 0; c < 3; c++) is.bread<fpreal64>(&v(r, c), 1); }
337  static void loadData(UT_IStream &is, UT_Matrix4D &v)
338  { for (int r = 0; r < 4; r++) for (int c = 0; c < 4; c++) is.bread<fpreal64>(&v(r, c), 1); }
339  static void loadData(UT_IStream &is, UT_Vector2I &v)
340  { is.bread<int64>(&v.x(), 1); is.bread<int64>(&v.y(), 1); }
341  static void loadData(UT_IStream &is, UT_Vector3I &v)
342  { is.bread<int64>(&v.x(), 1); is.bread<int64>(&v.y(), 1);
343  is.bread<int64>(&v.z(), 1); }
344  static void loadData(UT_IStream &is, UT_Vector4I &v)
345  { is.bread<int64>(&v.x(), 1); is.bread<int64>(&v.y(), 1);
346  is.bread<int64>(&v.z(), 1); is.bread<int64>(&v.w(), 1); }
348  { is.bread(v); }
350  { UT_StringHolder rampdata;
351  loadData(is, rampdata);
352  if (rampdata.isstring())
353  {
354  v.reset(new UT_Ramp());
355  UT_IStream istr((const char *) rampdata, rampdata.length(), UT_ISTREAM_ASCII);
356  v->load(istr);
357  }
358  else v.reset();
359  }
362  loadData(is, data);
363  if (data.isstring())
364  {
365  // Find the data type.
366  char *colon = UT_StringWrap(data).findChar(':');
367  if (colon)
368  {
369  int typelen = colon - data.buffer();
371  type.strncpy(data.buffer(), typelen);
372  UT_IStream istr(((const char *) data) + typelen + 1, data.length() - (typelen + 1), UT_ISTREAM_BINARY);
373 
374  v = PRM_DataFactory::parseBinary(type.buffer(), istr);
375  }
376  }
377  else v.reset();
378  }
379 
380  static void saveData(std::ostream &os, int64 v)
381  { UTwrite(os, &v); }
382  static void saveData(std::ostream &os, bool v)
383  { int64 iv = v; UTwrite(os, &iv); }
384  static void saveData(std::ostream &os, fpreal64 v)
385  { UTwrite<fpreal64>(os, &v); }
386  static void saveData(std::ostream &os, UT_Vector2D v)
387  { UTwrite<fpreal64>(os, &v.x()); UTwrite<fpreal64>(os, &v.y()); }
388  static void saveData(std::ostream &os, UT_Vector3D v)
389  { UTwrite<fpreal64>(os, &v.x()); UTwrite<fpreal64>(os, &v.y());
390  UTwrite<fpreal64>(os, &v.z()); }
391  static void saveData(std::ostream &os, UT_Vector4D v)
392  { UTwrite<fpreal64>(os, &v.x()); UTwrite<fpreal64>(os, &v.y());
393  UTwrite<fpreal64>(os, &v.z()); UTwrite<fpreal64>(os, &v.w()); }
394  static void saveData(std::ostream &os, UT_Matrix2D v)
396  static void saveData(std::ostream &os, UT_Matrix3D v)
398  static void saveData(std::ostream &os, UT_Matrix4D v)
400  static void saveData(std::ostream &os, UT_StringHolder s)
401  { UT_StringWrap(s).saveBinary(os); }
402  static void saveData(std::ostream &os, UT_SharedPtr<UT_Ramp> s)
403  { UT_StringHolder result;
404  UT_OStringStream ostr;
405  if (s) s->save(ostr);
406  result = ostr.str();
407  saveData(os, result);
408  }
409  static void saveData(std::ostream &os, PRM_DataItemHandle s)
410  { UT_StringHolder result;
411  UT_OStringStream ostr;
412  if (s)
413  {
414  ostr << s->getDataTypeToken();
415  ostr << ":";
416  s->saveBinary(ostr);
417  }
418  result = ostr.str();
419  saveData(os, result);
420  }
421 
422 
423  void save(std::ostream &os) const
424  {
425  int32 v = version();
426  UTwrite(os, &v);
427  saveData(os, myGroup);
428  saveData(os, myBreaktype);
429  saveData(os, myCloseholes);
430  saveData(os, myClosegeo);
431  saveData(os, mySnapdistance);
432  saveData(os, myCreategroups);
433  saveData(os, myInsidegroup);
434  saveData(os, myInsideclosuregroup);
435  saveData(os, myOutsidegroup);
436  saveData(os, myOutsideclosuregroup);
437 
438  }
439 
440  bool load(UT_IStream &is)
441  {
442  int32 v;
443  is.bread(&v, 1);
444  if (version() != v)
445  {
446  // Fail incompatible versions
447  return false;
448  }
449  loadData(is, myGroup);
450  loadData(is, myBreaktype);
451  loadData(is, myCloseholes);
452  loadData(is, myClosegeo);
453  loadData(is, mySnapdistance);
454  loadData(is, myCreategroups);
455  loadData(is, myInsidegroup);
456  loadData(is, myInsideclosuregroup);
457  loadData(is, myOutsidegroup);
458  loadData(is, myOutsideclosuregroup);
459 
460  return true;
461  }
462 
463  const UT_StringHolder & getGroup() const { return myGroup; }
464  void setGroup(const UT_StringHolder & val) { myGroup = val; }
466  {
467  SOP_Node *thissop = cookparms.getNode();
468  if (!thissop) return getGroup();
469  UT_StringHolder result;
470  OP_Utils::evalOpParm(result, thissop, "group", cookparms.getCookTime(), 0);
471  return result;
472  }
473  Breaktype getBreaktype() const { return Breaktype(myBreaktype); }
474  void setBreaktype(Breaktype val) { myBreaktype = int64(val); }
476  {
477  SOP_Node *thissop = cookparms.getNode();
478  if (!thissop) return getBreaktype();
479  int64 result;
480  OP_Utils::evalOpParm(result, thissop, "breaktype", cookparms.getCookTime(), 0);
481  return Breaktype(result);
482  }
483  Closeholes getCloseholes() const { return Closeholes(myCloseholes); }
484  void setCloseholes(Closeholes val) { myCloseholes = int64(val); }
486  {
487  SOP_Node *thissop = cookparms.getNode();
488  if (!thissop) return getCloseholes();
489  int64 result;
490  OP_Utils::evalOpParm(result, thissop, "closeholes", cookparms.getCookTime(), 0);
491  return Closeholes(result);
492  }
493  bool getClosegeo() const { return myClosegeo; }
494  void setClosegeo(bool val) { myClosegeo = val; }
495  bool opClosegeo(const SOP_NodeVerb::CookParms &cookparms) const
496  {
497  SOP_Node *thissop = cookparms.getNode();
498  if (!thissop) return getClosegeo();
499  bool result;
500  OP_Utils::evalOpParm(result, thissop, "closegeo", cookparms.getCookTime(), 0);
501  return result;
502  }
503  fpreal64 getSnapdistance() const { return mySnapdistance; }
504  void setSnapdistance(fpreal64 val) { mySnapdistance = val; }
506  {
507  SOP_Node *thissop = cookparms.getNode();
508  if (!thissop) return getSnapdistance();
509  fpreal64 result;
510  OP_Utils::evalOpParm(result, thissop, "snapdistance", cookparms.getCookTime(), 0);
511  return result;
512  }
513  bool getCreategroups() const { return myCreategroups; }
514  void setCreategroups(bool val) { myCreategroups = val; }
515  bool opCreategroups(const SOP_NodeVerb::CookParms &cookparms) const
516  {
517  SOP_Node *thissop = cookparms.getNode();
518  if (!thissop) return getCreategroups();
519  bool result;
520  OP_Utils::evalOpParm(result, thissop, "creategroups", cookparms.getCookTime(), 0);
521  return result;
522  }
523  const UT_StringHolder & getInsidegroup() const { return myInsidegroup; }
524  void setInsidegroup(const UT_StringHolder & val) { myInsidegroup = val; }
526  {
527  SOP_Node *thissop = cookparms.getNode();
528  if (!thissop) return getInsidegroup();
529  UT_StringHolder result;
530  OP_Utils::evalOpParm(result, thissop, "insidegroup", cookparms.getCookTime(), 0);
531  return result;
532  }
533  const UT_StringHolder & getInsideclosuregroup() const { return myInsideclosuregroup; }
534  void setInsideclosuregroup(const UT_StringHolder & val) { myInsideclosuregroup = val; }
536  {
537  SOP_Node *thissop = cookparms.getNode();
538  if (!thissop) return getInsideclosuregroup();
539  UT_StringHolder result;
540  OP_Utils::evalOpParm(result, thissop, "insideclosuregroup", cookparms.getCookTime(), 0);
541  return result;
542  }
543  const UT_StringHolder & getOutsidegroup() const { return myOutsidegroup; }
544  void setOutsidegroup(const UT_StringHolder & val) { myOutsidegroup = val; }
546  {
547  SOP_Node *thissop = cookparms.getNode();
548  if (!thissop) return getOutsidegroup();
549  UT_StringHolder result;
550  OP_Utils::evalOpParm(result, thissop, "outsidegroup", cookparms.getCookTime(), 0);
551  return result;
552  }
553  const UT_StringHolder & getOutsideclosuregroup() const { return myOutsideclosuregroup; }
554  void setOutsideclosuregroup(const UT_StringHolder & val) { myOutsideclosuregroup = val; }
556  {
557  SOP_Node *thissop = cookparms.getNode();
558  if (!thissop) return getOutsideclosuregroup();
559  UT_StringHolder result;
560  OP_Utils::evalOpParm(result, thissop, "outsideclosuregroup", cookparms.getCookTime(), 0);
561  return result;
562  }
563 
564 private:
565  UT_StringHolder myGroup;
566  int64 myBreaktype;
567  int64 myCloseholes;
568  bool myClosegeo;
569  fpreal64 mySnapdistance;
570  bool myCreategroups;
571  UT_StringHolder myInsidegroup;
572  UT_StringHolder myInsideclosuregroup;
573  UT_StringHolder myOutsidegroup;
574  UT_StringHolder myOutsideclosuregroup;
575 
576 };
static void loadData(UT_IStream &is, UT_Vector4I &v)
void getParmValue(exint idx, UT_Matrix4D &value) const
SOP_Node * getNode() const
Definition: SOP_NodeVerb.h:492
T & z(void)
Definition: UT_Vector4.h:372
void doGetParmValue(exint idx, T &value) const
void getParmValue(exint idx, UT_Matrix2D &value) const
void setParmValue(exint idx, const UT_Matrix3D &value)
static void loadData(UT_IStream &is, UT_Vector3I &v)
bool opCreategroups(const SOP_NodeVerb::CookParms &cookparms) const
static void loadData(UT_IStream &is, UT_SharedPtr< UT_Ramp > &v)
static void saveData(std::ostream &os, UT_StringHolder s)
Closeholes getCloseholes() const
exint bread(int32 *buffer, exint asize=1)
void setSnapdistance(fpreal64 val)
void setParmValue(exint idx, const UT_StringHolder &value)
fpreal getTime() const
Definition: OP_Context.h:34
static void loadData(UT_IStream &is, UT_Vector2I &v)
const GLdouble * v
Definition: glcorearb.h:836
void setOutsidegroup(const UT_StringHolder &val)
void setParmValue(exint idx, const fpreal &value)
void getParmValue(exint idx, UT_StringHolder &value) const
Breaktype getBreaktype() const
static void saveData(std::ostream &os, PRM_DataItemHandle s)
void setParmValue(exint idx, const UT_Matrix4D &value)
void getParmValue(exint idx, exint &value) const
T & x(void)
Definition: UT_Vector2.h:284
An output stream object that owns its own string buffer storage.
void getParmValue(exint idx, UT_Vector4D &value) const
void setGroup(const UT_StringHolder &val)
const UT_WorkBuffer & str() const
Returns a read-only reference to the underlying UT_WorkBuffer.
static void loadData(UT_IStream &is, bool &v)
SYS_FORCE_INLINE T & x(void)
Definition: UT_Vector3.h:581
static PRM_DataItemHandle parseBinary(const char *type, UT_IStream &is)
void setParmValue(exint idx, const UT_Vector2D &value)
void setParmValue(exint idx, const exint &value)
virtual exint getNumParms() const
void setParmValue(exint idx, const UT_Vector3D &value)
static void saveData(std::ostream &os, int64 v)
static void loadData(UT_IStream &is, UT_Matrix3D &v)
fpreal64 opSnapdistance(const SOP_NodeVerb::CookParms &cookparms) const
void setParmValue(exint idx, const UT_Vector4D &value)
virtual void loadFromOpSubclass(const LoadParms &loadparms)
UT_StringHolder opOutsidegroup(const SOP_NodeVerb::CookParms &cookparms) const
SYS_FORCE_INLINE T & z(void)
Definition: UT_Vector3.h:585
long long int64
Definition: SYS_Types.h:106
void getParmValue(exint idx, UT_Vector2D &value) const
void setInsidegroup(const UT_StringHolder &val)
UT_StringHolder opOutsideclosuregroup(const SOP_NodeVerb::CookParms &cookparms) const
exint length() const
char * findChar(int c) const
Find first occurrance of character. Returns NULL upon failure.
Definition: UT_String.h:550
Closeholes opCloseholes(const SOP_NodeVerb::CookParms &cookparms) const
void save(std::ostream &os) const
SYS_FORCE_INLINE const char * buffer() const
virtual void copyFrom(const SOP_NodeParms *src)
void setOutsideclosuregroup(const UT_StringHolder &val)
int64 exint
Definition: SYS_Types.h:115
const UT_StringHolder & getGroup() const
const OP_Node * node() const
Definition: SOP_NodeVerb.h:104
static void saveData(std::ostream &os, UT_Vector4D v)
double fpreal64
Definition: SYS_Types.h:191
Breaktype opBreaktype(const SOP_NodeVerb::CookParms &cookparms) const
static void saveData(std::ostream &os, UT_Matrix3D v)
void setParmValue(exint idx, const UT_SharedPtr< UT_Ramp > &value)
const UT_StringHolder & getInsidegroup() const
virtual const char * getParmName(exint fieldnum) const
void setParmValue(exint idx, const PRM_DataItemHandle &value)
static void saveData(std::ostream &os, UT_Matrix2D v)
void getParmValue(exint idx, UT_Vector3D &value) const
GLboolean * data
Definition: glcorearb.h:130
int int32
Definition: SYS_Types.h:34
fpreal64 getSnapdistance() const
T & y(void)
Definition: UT_Vector4.h:370
void setCloseholes(Closeholes val)
virtual ParmType getParmType(exint fieldnum) const
void saveBinary(std::ostream &os) const
Save string to binary stream.
Definition: UT_String.h:294
static void saveData(std::ostream &os, UT_SharedPtr< UT_Ramp > s)
UT_StringHolder opInsidegroup(const SOP_NodeVerb::CookParms &cookparms) const
DEP_MicroNode * depnode() const
Definition: SOP_NodeVerb.h:111
void setInsideclosuregroup(const UT_StringHolder &val)
static void loadData(UT_IStream &is, UT_Matrix4D &v)
static void loadData(UT_IStream &is, fpreal64 &v)
SYS_FORCE_INLINE T & y(void)
Definition: UT_Vector3.h:583
GLsizei const GLfloat * value
Definition: glcorearb.h:823
double fpreal
Definition: SYS_Types.h:269
const UT_StringHolder & getOutsidegroup() const
void strncpy(const char *src, exint maxlen)
void setBreaktype(Breaktype val)
bool load(UT_IStream &is)
static void saveData(std::ostream &os, UT_Vector2D v)
void setParmValue(exint idx, const UT_Matrix2D &value)
void buildFromOp(const OP_Node *node, fpreal time, DEP_MicroNode *depnode)
static void loadData(UT_IStream &is, int64 &v)
Utility class for containing a color ramp.
Definition: UT_Ramp.h:84
const UT_StringHolder & getOutsideclosuregroup() const
const UT_StringHolder & getInsideclosuregroup() const
GLuint GLfloat * val
Definition: glcorearb.h:1607
static void saveData(std::ostream &os, bool v)
#define SOP_API
Definition: SOP_API.h:10
static void saveData(std::ostream &os, fpreal64 v)
const char * buffer() const
GLint GLint GLsizei GLint GLenum GLenum type
Definition: glcorearb.h:107
fpreal getCookTime() const
Definition: SOP_NodeVerb.h:499
T & x(void)
Definition: UT_Vector4.h:368
T & y(void)
Definition: UT_Vector2.h:286
static void saveData(std::ostream &os, UT_Matrix4D v)
static void loadData(UT_IStream &is, UT_StringHolder &v)
void doSetParmValue(exint idx, const T &value)
GLboolean r
Definition: glcorearb.h:1221
static void saveData(std::ostream &os, UT_Vector3D v)
bool operator==(const SOP_VolumeBreakParms &src) const
void getParmValue(exint idx, UT_SharedPtr< UT_Ramp > &value) const
UT_StringHolder opGroup(const SOP_NodeVerb::CookParms &cookparms) const
static void loadData(UT_IStream &is, UT_Vector3D &v)
UT_StringHolder opInsideclosuregroup(const SOP_NodeVerb::CookParms &cookparms) const
T & w(void)
Definition: UT_Vector4.h:374
static void loadData(UT_IStream &is, UT_Vector2D &v)
static void loadData(UT_IStream &is, UT_Matrix2D &v)
void getParmValue(exint idx, UT_Matrix3D &value) const
void getParmValue(exint idx, PRM_DataItemHandle &value) const
bool opClosegeo(const SOP_NodeVerb::CookParms &cookparms) const
const OP_Context & context() const
Definition: SOP_NodeVerb.h:109
SYS_FORCE_INLINE bool isstring() const
static void loadData(UT_IStream &is, UT_Vector4D &v)
static void loadData(UT_IStream &is, PRM_DataItemHandle &v)
void getParmValue(exint idx, fpreal &value) const
GLenum src
Definition: glcorearb.h:1792