HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SOP_PolySoup.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 
23 {
24 public:
25  static int version() { return 1; }
26 
28  {
29  myGroup = ""_sh;
30  myIgnoreattribs = false;
31  myIgnoregroups = false;
32  myMinpolys = 1;
33  myConvex = false;
34  myUsemaxsides = false;
35  myMaxsides = 3;
36  myMergeverts = false;
37 
38  }
39 
40  explicit SOP_PolySoupParms(const SOP_PolySoupParms &) = default;
41 
42  virtual ~SOP_PolySoupParms() {}
43 
44  bool operator==(const SOP_PolySoupParms &src) const
45  {
46  if (myGroup != src.myGroup) return false;
47  if (myIgnoreattribs != src.myIgnoreattribs) return false;
48  if (myIgnoregroups != src.myIgnoregroups) return false;
49  if (myMinpolys != src.myMinpolys) return false;
50  if (myConvex != src.myConvex) return false;
51  if (myUsemaxsides != src.myUsemaxsides) return false;
52  if (myMaxsides != src.myMaxsides) return false;
53  if (myMergeverts != src.myMergeverts) return false;
54 
55  return true;
56  }
57 
58 
59 
60  void buildFromOp(const OP_Node *node, fpreal time, DEP_MicroNode *depnode)
61  {
62  if (true)
63  OP_Utils::evalOpParm(myGroup, node, "group", time, 0);
64  else myGroup = ""_sh;
65  if (true)
66  OP_Utils::evalOpParm(myIgnoreattribs, node, "ignoreattribs", time, 0);
67  else myIgnoreattribs = false;
68  if (true)
69  OP_Utils::evalOpParm(myIgnoregroups, node, "ignoregroups", time, 0);
70  else myIgnoregroups = false;
71  if (true)
72  OP_Utils::evalOpParm(myMinpolys, node, "minpolys", time, 0);
73  else myMinpolys = 1;
74  if (true)
75  OP_Utils::evalOpParm(myConvex, node, "convex", time, 0);
76  else myConvex = false;
77  if (true && ( (!(((getConvex()==0)))) ) )
78  OP_Utils::evalOpParm(myUsemaxsides, node, "usemaxsides", time, 0);
79  else myUsemaxsides = false;
80  if (true && ( (!(((getConvex()==0))||((getUsemaxsides()==0)))) ) )
81  OP_Utils::evalOpParm(myMaxsides, node, "maxsides", time, 0);
82  else myMaxsides = 3;
83  if (true)
84  OP_Utils::evalOpParm(myMergeverts, node, "mergeverts", time, 0);
85  else myMergeverts = false;
86 
87  }
88 
89 
90  virtual void loadFromOpSubclass(const LoadParms &loadparms)
91  {
92  buildFromOp(loadparms.node(), loadparms.context().getTime(), loadparms.depnode());
93  }
94 
95 
96  virtual void copyFrom(const SOP_NodeParms *src)
97  {
98  *this = *((const SOP_PolySoupParms *)src);
99  }
100 
101  template <typename T>
102  void
103  doGetParmValue(exint idx, T &value) const
104  {
105  switch (idx)
106  {
107  case 0:
108  coerceValue(value, myGroup);
109  break;
110  case 1:
111  coerceValue(value, myIgnoreattribs);
112  break;
113  case 2:
114  coerceValue(value, myIgnoregroups);
115  break;
116  case 3:
117  coerceValue(value, myMinpolys);
118  break;
119  case 4:
120  coerceValue(value, myConvex);
121  break;
122  case 5:
123  coerceValue(value, myUsemaxsides);
124  break;
125  case 6:
126  coerceValue(value, myMaxsides);
127  break;
128  case 7:
129  coerceValue(value, myMergeverts);
130  break;
131 
132  }
133  }
134 
135  void getParmValue(exint idx, exint &value) const
136  { doGetParmValue(idx, value); }
137  void getParmValue(exint idx, fpreal &value) const
138  { doGetParmValue(idx, value); }
140  { doGetParmValue(idx, value); }
142  { doGetParmValue(idx, value); }
144  { doGetParmValue(idx, value); }
146  { doGetParmValue(idx, value); }
148  { doGetParmValue(idx, value); }
150  { doGetParmValue(idx, value); }
152  { doGetParmValue(idx, value); }
154  { doGetParmValue(idx, value); }
156  { doGetParmValue(idx, value); }
157 
158  template <typename T>
159  void
160  doSetParmValue(exint idx, const T &value)
161  {
162  switch (idx)
163  {
164  case 0:
165  coerceValue(myGroup, value);
166  break;
167  case 1:
168  coerceValue(myIgnoreattribs, value);
169  break;
170  case 2:
171  coerceValue(myIgnoregroups, value);
172  break;
173  case 3:
174  coerceValue(myMinpolys, value);
175  break;
176  case 4:
177  coerceValue(myConvex, value);
178  break;
179  case 5:
180  coerceValue(myUsemaxsides, value);
181  break;
182  case 6:
183  coerceValue(myMaxsides, value);
184  break;
185  case 7:
186  coerceValue(myMergeverts, value);
187  break;
188 
189  }
190  }
191 
192  void setParmValue(exint idx, const exint &value)
193  { doSetParmValue(idx, value); }
194  void setParmValue(exint idx, const fpreal &value)
195  { doSetParmValue(idx, value); }
196  void setParmValue(exint idx, const UT_Vector2D &value)
197  { doSetParmValue(idx, value); }
198  void setParmValue(exint idx, const UT_Vector3D &value)
199  { doSetParmValue(idx, value); }
200  void setParmValue(exint idx, const UT_Vector4D &value)
201  { doSetParmValue(idx, value); }
202  void setParmValue(exint idx, const UT_Matrix2D &value)
203  { doSetParmValue(idx, value); }
204  void setParmValue(exint idx, const UT_Matrix3D &value)
205  { doSetParmValue(idx, value); }
206  void setParmValue(exint idx, const UT_Matrix4D &value)
207  { doSetParmValue(idx, value); }
209  { doSetParmValue(idx, value); }
211  { doSetParmValue(idx, value); }
213  { doSetParmValue(idx, value); }
214 
215  virtual exint getNumParms() const
216  {
217  return 8;
218  }
219 
220  virtual const char *getParmName(exint fieldnum) const
221  {
222  switch (fieldnum)
223  {
224  case 0:
225  return "group";
226  case 1:
227  return "ignoreattribs";
228  case 2:
229  return "ignoregroups";
230  case 3:
231  return "minpolys";
232  case 4:
233  return "convex";
234  case 5:
235  return "usemaxsides";
236  case 6:
237  return "maxsides";
238  case 7:
239  return "mergeverts";
240 
241  }
242  return 0;
243  }
244 
245  virtual ParmType getParmType(exint fieldnum) const
246  {
247  switch (fieldnum)
248  {
249  case 0:
250  return PARM_STRING;
251  case 1:
252  return PARM_INTEGER;
253  case 2:
254  return PARM_INTEGER;
255  case 3:
256  return PARM_INTEGER;
257  case 4:
258  return PARM_INTEGER;
259  case 5:
260  return PARM_INTEGER;
261  case 6:
262  return PARM_INTEGER;
263  case 7:
264  return PARM_INTEGER;
265 
266  }
267  return PARM_UNSUPPORTED;
268  }
269 
270  // Boiler plate to load individual types.
271  static void loadData(UT_IStream &is, int64 &v)
272  { is.bread(&v, 1); }
273  static void loadData(UT_IStream &is, bool &v)
274  { int64 iv; is.bread(&iv, 1); v = iv; }
275  static void loadData(UT_IStream &is, fpreal64 &v)
276  { is.bread<fpreal64>(&v, 1); }
277  static void loadData(UT_IStream &is, UT_Vector2D &v)
278  { is.bread<fpreal64>(&v.x(), 1); is.bread<fpreal64>(&v.y(), 1); }
279  static void loadData(UT_IStream &is, UT_Vector3D &v)
280  { is.bread<fpreal64>(&v.x(), 1); is.bread<fpreal64>(&v.y(), 1);
281  is.bread<fpreal64>(&v.z(), 1); }
282  static void loadData(UT_IStream &is, UT_Vector4D &v)
283  { is.bread<fpreal64>(&v.x(), 1); is.bread<fpreal64>(&v.y(), 1);
284  is.bread<fpreal64>(&v.z(), 1); is.bread<fpreal64>(&v.w(), 1); }
285  static void loadData(UT_IStream &is, UT_Matrix2D &v)
286  { for (int r = 0; r < 2; r++) for (int c = 0; c < 2; c++) is.bread<fpreal64>(&v(r, c), 1); }
287  static void loadData(UT_IStream &is, UT_Matrix3D &v)
288  { for (int r = 0; r < 3; r++) for (int c = 0; c < 3; c++) is.bread<fpreal64>(&v(r, c), 1); }
289  static void loadData(UT_IStream &is, UT_Matrix4D &v)
290  { for (int r = 0; r < 4; r++) for (int c = 0; c < 4; c++) is.bread<fpreal64>(&v(r, c), 1); }
291  static void loadData(UT_IStream &is, UT_Vector2I &v)
292  { is.bread<int64>(&v.x(), 1); is.bread<int64>(&v.y(), 1); }
293  static void loadData(UT_IStream &is, UT_Vector3I &v)
294  { is.bread<int64>(&v.x(), 1); is.bread<int64>(&v.y(), 1);
295  is.bread<int64>(&v.z(), 1); }
296  static void loadData(UT_IStream &is, UT_Vector4I &v)
297  { is.bread<int64>(&v.x(), 1); is.bread<int64>(&v.y(), 1);
298  is.bread<int64>(&v.z(), 1); is.bread<int64>(&v.w(), 1); }
300  { is.bread(v); }
302  { UT_StringHolder rampdata;
303  loadData(is, rampdata);
304  if (rampdata.isstring())
305  {
306  v.reset(new UT_Ramp());
307  UT_IStream istr((const char *) rampdata, rampdata.length(), UT_ISTREAM_ASCII);
308  v->load(istr);
309  }
310  else v.reset();
311  }
314  loadData(is, data);
315  if (data.isstring())
316  {
317  // Find the data type.
318  char *colon = UT_StringWrap(data).findChar(':');
319  if (colon)
320  {
321  int typelen = colon - data.buffer();
323  type.strncpy(data.buffer(), typelen);
324  UT_IStream istr(((const char *) data) + typelen + 1, data.length() - (typelen + 1), UT_ISTREAM_BINARY);
325 
326  v = PRM_DataFactory::parseBinary(type.buffer(), istr);
327  }
328  }
329  else v.reset();
330  }
331 
332  static void saveData(std::ostream &os, int64 v)
333  { UTwrite(os, &v); }
334  static void saveData(std::ostream &os, bool v)
335  { int64 iv = v; UTwrite(os, &iv); }
336  static void saveData(std::ostream &os, fpreal64 v)
337  { UTwrite<fpreal64>(os, &v); }
338  static void saveData(std::ostream &os, UT_Vector2D v)
339  { UTwrite<fpreal64>(os, &v.x()); UTwrite<fpreal64>(os, &v.y()); }
340  static void saveData(std::ostream &os, UT_Vector3D v)
341  { UTwrite<fpreal64>(os, &v.x()); UTwrite<fpreal64>(os, &v.y());
342  UTwrite<fpreal64>(os, &v.z()); }
343  static void saveData(std::ostream &os, UT_Vector4D v)
344  { UTwrite<fpreal64>(os, &v.x()); UTwrite<fpreal64>(os, &v.y());
345  UTwrite<fpreal64>(os, &v.z()); UTwrite<fpreal64>(os, &v.w()); }
346  static void saveData(std::ostream &os, UT_Matrix2D v)
348  static void saveData(std::ostream &os, UT_Matrix3D v)
350  static void saveData(std::ostream &os, UT_Matrix4D v)
352  static void saveData(std::ostream &os, UT_StringHolder s)
353  { UT_StringWrap(s).saveBinary(os); }
354  static void saveData(std::ostream &os, UT_SharedPtr<UT_Ramp> s)
355  { UT_StringHolder result;
356  UT_OStringStream ostr;
357  if (s) s->save(ostr);
358  result = ostr.str();
359  saveData(os, result);
360  }
361  static void saveData(std::ostream &os, PRM_DataItemHandle s)
362  { UT_StringHolder result;
363  UT_OStringStream ostr;
364  if (s)
365  {
366  ostr << s->getDataTypeToken();
367  ostr << ":";
368  s->saveBinary(ostr);
369  }
370  result = ostr.str();
371  saveData(os, result);
372  }
373 
374 
375  void save(std::ostream &os) const
376  {
377  int32 v = version();
378  UTwrite(os, &v);
379  saveData(os, myGroup);
380  saveData(os, myIgnoreattribs);
381  saveData(os, myIgnoregroups);
382  saveData(os, myMinpolys);
383  saveData(os, myConvex);
384  saveData(os, myUsemaxsides);
385  saveData(os, myMaxsides);
386  saveData(os, myMergeverts);
387 
388  }
389 
390  bool load(UT_IStream &is)
391  {
392  int32 v;
393  is.bread(&v, 1);
394  if (version() != v)
395  {
396  // Fail incompatible versions
397  return false;
398  }
399  loadData(is, myGroup);
400  loadData(is, myIgnoreattribs);
401  loadData(is, myIgnoregroups);
402  loadData(is, myMinpolys);
403  loadData(is, myConvex);
404  loadData(is, myUsemaxsides);
405  loadData(is, myMaxsides);
406  loadData(is, myMergeverts);
407 
408  return true;
409  }
410 
411  const UT_StringHolder & getGroup() const { return myGroup; }
412  void setGroup(const UT_StringHolder & val) { myGroup = val; }
414  {
415  SOP_Node *thissop = cookparms.getNode();
416  if (!thissop) return getGroup();
417  UT_StringHolder result;
418  OP_Utils::evalOpParm(result, thissop, "group", cookparms.getCookTime(), 0);
419  return result;
420  }
421  bool getIgnoreattribs() const { return myIgnoreattribs; }
422  void setIgnoreattribs(bool val) { myIgnoreattribs = val; }
423  bool opIgnoreattribs(const SOP_NodeVerb::CookParms &cookparms) const
424  {
425  SOP_Node *thissop = cookparms.getNode();
426  if (!thissop) return getIgnoreattribs();
427  bool result;
428  OP_Utils::evalOpParm(result, thissop, "ignoreattribs", cookparms.getCookTime(), 0);
429  return result;
430  }
431  bool getIgnoregroups() const { return myIgnoregroups; }
432  void setIgnoregroups(bool val) { myIgnoregroups = val; }
433  bool opIgnoregroups(const SOP_NodeVerb::CookParms &cookparms) const
434  {
435  SOP_Node *thissop = cookparms.getNode();
436  if (!thissop) return getIgnoregroups();
437  bool result;
438  OP_Utils::evalOpParm(result, thissop, "ignoregroups", cookparms.getCookTime(), 0);
439  return result;
440  }
441  int64 getMinpolys() const { return myMinpolys; }
442  void setMinpolys(int64 val) { myMinpolys = val; }
443  int64 opMinpolys(const SOP_NodeVerb::CookParms &cookparms) const
444  {
445  SOP_Node *thissop = cookparms.getNode();
446  if (!thissop) return getMinpolys();
447  int64 result;
448  OP_Utils::evalOpParm(result, thissop, "minpolys", cookparms.getCookTime(), 0);
449  return result;
450  }
451  bool getConvex() const { return myConvex; }
452  void setConvex(bool val) { myConvex = val; }
453  bool opConvex(const SOP_NodeVerb::CookParms &cookparms) const
454  {
455  SOP_Node *thissop = cookparms.getNode();
456  if (!thissop) return getConvex();
457  bool result;
458  OP_Utils::evalOpParm(result, thissop, "convex", cookparms.getCookTime(), 0);
459  return result;
460  }
461  bool getUsemaxsides() const { return myUsemaxsides; }
462  void setUsemaxsides(bool val) { myUsemaxsides = val; }
463  bool opUsemaxsides(const SOP_NodeVerb::CookParms &cookparms) const
464  {
465  SOP_Node *thissop = cookparms.getNode();
466  if (!thissop) return getUsemaxsides();
467  bool result;
468  OP_Utils::evalOpParm(result, thissop, "usemaxsides", cookparms.getCookTime(), 0);
469  return result;
470  }
471  int64 getMaxsides() const { return myMaxsides; }
472  void setMaxsides(int64 val) { myMaxsides = val; }
473  int64 opMaxsides(const SOP_NodeVerb::CookParms &cookparms) const
474  {
475  SOP_Node *thissop = cookparms.getNode();
476  if (!thissop) return getMaxsides();
477  int64 result;
478  OP_Utils::evalOpParm(result, thissop, "maxsides", cookparms.getCookTime(), 0);
479  return result;
480  }
481  bool getMergeverts() const { return myMergeverts; }
482  void setMergeverts(bool val) { myMergeverts = val; }
483  bool opMergeverts(const SOP_NodeVerb::CookParms &cookparms) const
484  {
485  SOP_Node *thissop = cookparms.getNode();
486  if (!thissop) return getMergeverts();
487  bool result;
488  OP_Utils::evalOpParm(result, thissop, "mergeverts", cookparms.getCookTime(), 0);
489  return result;
490  }
491 
492 private:
493  UT_StringHolder myGroup;
494  bool myIgnoreattribs;
495  bool myIgnoregroups;
496  int64 myMinpolys;
497  bool myConvex;
498  bool myUsemaxsides;
499  int64 myMaxsides;
500  bool myMergeverts;
501 
502 };
void save(std::ostream &os) const
void getParmValue(exint idx, UT_Vector4D &value) const
void setParmValue(exint idx, const UT_Matrix2D &value)
static void loadData(UT_IStream &is, UT_Vector3I &v)
void setParmValue(exint idx, const UT_Matrix3D &value)
static void saveData(std::ostream &os, UT_SharedPtr< UT_Ramp > s)
SOP_Node * getNode() const
Definition: SOP_NodeVerb.h:492
bool operator==(const SOP_PolySoupParms &src) const
UT_StringHolder opGroup(const SOP_NodeVerb::CookParms &cookparms) const
bool opConvex(const SOP_NodeVerb::CookParms &cookparms) const
T & z(void)
Definition: UT_Vector4.h:372
static void saveData(std::ostream &os, UT_Vector4D v)
static void saveData(std::ostream &os, PRM_DataItemHandle s)
exint bread(int32 *buffer, exint asize=1)
fpreal getTime() const
Definition: OP_Context.h:34
const GLdouble * v
Definition: glcorearb.h:836
int64 getMaxsides() const
void setParmValue(exint idx, const UT_Vector4D &value)
static void loadData(UT_IStream &is, UT_Matrix3D &v)
void setParmValue(exint idx, const UT_StringHolder &value)
static void saveData(std::ostream &os, bool v)
void getParmValue(exint idx, UT_Vector2D &value) const
void getParmValue(exint idx, exint &value) const
static void loadData(UT_IStream &is, UT_Vector3D &v)
static void loadData(UT_IStream &is, UT_Vector4D &v)
virtual ParmType getParmType(exint fieldnum) const
T & x(void)
Definition: UT_Vector2.h:284
An output stream object that owns its own string buffer storage.
static void loadData(UT_IStream &is, UT_Vector2I &v)
int64 opMinpolys(const SOP_NodeVerb::CookParms &cookparms) const
void getParmValue(exint idx, fpreal &value) const
int64 getMinpolys() const
int64 opMaxsides(const SOP_NodeVerb::CookParms &cookparms) const
const UT_WorkBuffer & str() const
Returns a read-only reference to the underlying UT_WorkBuffer.
void setParmValue(exint idx, const fpreal &value)
void doGetParmValue(exint idx, T &value) const
SYS_FORCE_INLINE T & x(void)
Definition: UT_Vector3.h:581
static void saveData(std::ostream &os, UT_Matrix2D v)
void setParmValue(exint idx, const UT_SharedPtr< UT_Ramp > &value)
virtual exint getNumParms() const
static PRM_DataItemHandle parseBinary(const char *type, UT_IStream &is)
bool opIgnoreattribs(const SOP_NodeVerb::CookParms &cookparms) const
void setIgnoregroups(bool val)
static void saveData(std::ostream &os, UT_Matrix4D v)
SYS_FORCE_INLINE T & z(void)
Definition: UT_Vector3.h:585
static void saveData(std::ostream &os, int64 v)
long long int64
Definition: SYS_Types.h:100
void getParmValue(exint idx, UT_Matrix3D &value) const
void setParmValue(exint idx, const PRM_DataItemHandle &value)
bool getMergeverts() const
bool getConvex() const
void setParmValue(exint idx, const UT_Vector2D &value)
exint length() const
char * findChar(int c) const
Find first occurrance of character. Returns NULL upon failure.
Definition: UT_String.h:550
static void loadData(UT_IStream &is, bool &v)
SYS_FORCE_INLINE const char * buffer() const
static void loadData(UT_IStream &is, int64 &v)
int64 exint
Definition: SYS_Types.h:109
const OP_Node * node() const
Definition: SOP_NodeVerb.h:104
static void loadData(UT_IStream &is, UT_Vector2D &v)
double fpreal64
Definition: SYS_Types.h:185
void doSetParmValue(exint idx, const T &value)
static void loadData(UT_IStream &is, UT_StringHolder &v)
void buildFromOp(const OP_Node *node, fpreal time, DEP_MicroNode *depnode)
bool getIgnoregroups() const
void setMinpolys(int64 val)
virtual void copyFrom(const SOP_NodeParms *src)
GLboolean * data
Definition: glcorearb.h:130
bool opUsemaxsides(const SOP_NodeVerb::CookParms &cookparms) const
void getParmValue(exint idx, UT_Matrix4D &value) const
int int32
Definition: SYS_Types.h:28
T & y(void)
Definition: UT_Vector4.h:370
static void saveData(std::ostream &os, UT_StringHolder s)
void getParmValue(exint idx, PRM_DataItemHandle &value) const
bool getIgnoreattribs() const
static void loadData(UT_IStream &is, UT_SharedPtr< UT_Ramp > &v)
void saveBinary(std::ostream &os) const
Save string to binary stream.
Definition: UT_String.h:294
DEP_MicroNode * depnode() const
Definition: SOP_NodeVerb.h:111
void setGroup(const UT_StringHolder &val)
static void saveData(std::ostream &os, fpreal64 v)
bool opIgnoregroups(const SOP_NodeVerb::CookParms &cookparms) const
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:263
void strncpy(const char *src, exint maxlen)
void setParmValue(exint idx, const exint &value)
void getParmValue(exint idx, UT_Vector3D &value) const
virtual const char * getParmName(exint fieldnum) const
static void loadData(UT_IStream &is, UT_Vector4I &v)
void setMergeverts(bool val)
bool opMergeverts(const SOP_NodeVerb::CookParms &cookparms) const
Utility class for containing a color ramp.
Definition: UT_Ramp.h:84
void setIgnoreattribs(bool val)
static void saveData(std::ostream &os, UT_Vector2D v)
GLuint GLfloat * val
Definition: glcorearb.h:1607
#define SOP_API
Definition: SOP_API.h:10
static void loadData(UT_IStream &is, fpreal64 &v)
static void saveData(std::ostream &os, UT_Vector3D v)
static void loadData(UT_IStream &is, UT_Matrix4D &v)
void setParmValue(exint idx, const UT_Vector3D &value)
const char * buffer() const
void setUsemaxsides(bool val)
void getParmValue(exint idx, UT_Matrix2D &value) 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 loadData(UT_IStream &is, UT_Matrix2D &v)
virtual void loadFromOpSubclass(const LoadParms &loadparms)
bool load(UT_IStream &is)
static void loadData(UT_IStream &is, PRM_DataItemHandle &v)
void getParmValue(exint idx, UT_SharedPtr< UT_Ramp > &value) const
GLboolean r
Definition: glcorearb.h:1221
bool getUsemaxsides() const
T & w(void)
Definition: UT_Vector4.h:374
void setConvex(bool val)
void getParmValue(exint idx, UT_StringHolder &value) const
void setParmValue(exint idx, const UT_Matrix4D &value)
const OP_Context & context() const
Definition: SOP_NodeVerb.h:109
virtual ~SOP_PolySoupParms()
SYS_FORCE_INLINE bool isstring() const
void setMaxsides(int64 val)
static void saveData(std::ostream &os, UT_Matrix3D v)
GLenum src
Definition: glcorearb.h:1792
const UT_StringHolder & getGroup() const