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