HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SOP_IntersectionStitch.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  myAgroup = ""_sh;
30  myBgroup = ""_sh;
31  myUseproxtol = true;
32  myProxtol = 0.01;
33  mySplitcurves = true;
34  myInputnumattrib = "sourceinput"_sh;
35  myPrimnumattrib = "sourceprim"_sh;
36  myPrimuvwattrib = "sourceprimuv"_sh;
37  myKeeppointattribs = true;
38 
39  }
40 
41  explicit SOP_IntersectionStitchParms(const SOP_IntersectionStitchParms &) = default;
42 
44 
46  {
47  if (myAgroup != src.myAgroup) return false;
48  if (myBgroup != src.myBgroup) return false;
49  if (myUseproxtol != src.myUseproxtol) return false;
50  if (myProxtol != src.myProxtol) return false;
51  if (mySplitcurves != src.mySplitcurves) return false;
52  if (myInputnumattrib != src.myInputnumattrib) return false;
53  if (myPrimnumattrib != src.myPrimnumattrib) return false;
54  if (myPrimuvwattrib != src.myPrimuvwattrib) return false;
55  if (myKeeppointattribs != src.myKeeppointattribs) return false;
56 
57  return true;
58  }
59 
60 
61 
62  void buildFromOp(const OP_Node *node, fpreal time, DEP_MicroNode *depnode)
63  {
64  if (true)
65  OP_Utils::evalOpParm(myAgroup, node, "agroup", time, 0);
66  else myAgroup = ""_sh;
67  if (true)
68  OP_Utils::evalOpParm(myBgroup, node, "bgroup", time, 0);
69  else myBgroup = ""_sh;
70  if (true)
71  OP_Utils::evalOpParm(myUseproxtol, node, "useproxtol", time, 0);
72  else myUseproxtol = true;
73  if (true && ( (!(((getUseproxtol()==0)))) ) )
74  OP_Utils::evalOpParm(myProxtol, node, "proxtol", time, 0);
75  else myProxtol = 0.01;
76  if (true)
77  OP_Utils::evalOpParm(mySplitcurves, node, "splitcurves", time, 0);
78  else mySplitcurves = true;
79  if (true && ( (!((((node->getInput(2)!=0)==0)))) ) )
80  OP_Utils::evalOpParm(myInputnumattrib, node, "inputnumattrib", time, 0);
81  else myInputnumattrib = "sourceinput"_sh;
82  if (true && ( (!((((node->getInput(2)!=0)==0)))) ) )
83  OP_Utils::evalOpParm(myPrimnumattrib, node, "primnumattrib", time, 0);
84  else myPrimnumattrib = "sourceprim"_sh;
85  if (true && ( (!((((node->getInput(2)!=0)==0)))) ) )
86  OP_Utils::evalOpParm(myPrimuvwattrib, node, "primuvwattrib", time, 0);
87  else myPrimuvwattrib = "sourceprimuv"_sh;
88  if (true && ( (!((((node->getInput(2)!=0)==0)))) ) )
89  OP_Utils::evalOpParm(myKeeppointattribs, node, "keeppointattribs", time, 0);
90  else myKeeppointattribs = true;
91 
92  }
93 
94 
95  virtual void loadFromOpSubclass(const LoadParms &loadparms)
96  {
97  buildFromOp(loadparms.node(), loadparms.context().getTime(), loadparms.depnode());
98  }
99 
100 
101  virtual void copyFrom(const SOP_NodeParms *src)
102  {
103  *this = *((const SOP_IntersectionStitchParms *)src);
104  }
105 
106  template <typename T>
107  void
108  doGetParmValue(exint idx, T &value) const
109  {
110  switch (idx)
111  {
112  case 0:
113  coerceValue(value, myAgroup);
114  break;
115  case 1:
116  coerceValue(value, myBgroup);
117  break;
118  case 2:
119  coerceValue(value, myUseproxtol);
120  break;
121  case 3:
122  coerceValue(value, myProxtol);
123  break;
124  case 4:
125  coerceValue(value, mySplitcurves);
126  break;
127  case 5:
128  coerceValue(value, myInputnumattrib);
129  break;
130  case 6:
131  coerceValue(value, myPrimnumattrib);
132  break;
133  case 7:
134  coerceValue(value, myPrimuvwattrib);
135  break;
136  case 8:
137  coerceValue(value, myKeeppointattribs);
138  break;
139 
140  }
141  }
142 
143  void getParmValue(exint idx, exint &value) const
144  { doGetParmValue(idx, value); }
145  void getParmValue(exint idx, fpreal &value) const
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); }
162  { doGetParmValue(idx, value); }
164  { doGetParmValue(idx, value); }
165 
166  template <typename T>
167  void
168  doSetParmValue(exint idx, const T &value)
169  {
170  switch (idx)
171  {
172  case 0:
173  coerceValue(myAgroup, value);
174  break;
175  case 1:
176  coerceValue(myBgroup, value);
177  break;
178  case 2:
179  coerceValue(myUseproxtol, value);
180  break;
181  case 3:
182  coerceValue(myProxtol, value);
183  break;
184  case 4:
185  coerceValue(mySplitcurves, value);
186  break;
187  case 5:
188  coerceValue(myInputnumattrib, value);
189  break;
190  case 6:
191  coerceValue(myPrimnumattrib, value);
192  break;
193  case 7:
194  coerceValue(myPrimuvwattrib, value);
195  break;
196  case 8:
197  coerceValue(myKeeppointattribs, value);
198  break;
199 
200  }
201  }
202 
203  void setParmValue(exint idx, const exint &value)
204  { doSetParmValue(idx, value); }
205  void setParmValue(exint idx, const fpreal &value)
206  { doSetParmValue(idx, value); }
207  void setParmValue(exint idx, const UT_Vector2D &value)
208  { doSetParmValue(idx, value); }
209  void setParmValue(exint idx, const UT_Vector3D &value)
210  { doSetParmValue(idx, value); }
211  void setParmValue(exint idx, const UT_Vector4D &value)
212  { doSetParmValue(idx, value); }
213  void setParmValue(exint idx, const UT_Matrix2D &value)
214  { doSetParmValue(idx, value); }
215  void setParmValue(exint idx, const UT_Matrix3D &value)
216  { doSetParmValue(idx, value); }
217  void setParmValue(exint idx, const UT_Matrix4D &value)
218  { doSetParmValue(idx, value); }
220  { doSetParmValue(idx, value); }
222  { doSetParmValue(idx, value); }
224  { doSetParmValue(idx, value); }
225 
226  virtual exint getNumParms() const
227  {
228  return 9;
229  }
230 
231  virtual const char *getParmName(exint fieldnum) const
232  {
233  switch (fieldnum)
234  {
235  case 0:
236  return "agroup";
237  case 1:
238  return "bgroup";
239  case 2:
240  return "useproxtol";
241  case 3:
242  return "proxtol";
243  case 4:
244  return "splitcurves";
245  case 5:
246  return "inputnumattrib";
247  case 6:
248  return "primnumattrib";
249  case 7:
250  return "primuvwattrib";
251  case 8:
252  return "keeppointattribs";
253 
254  }
255  return 0;
256  }
257 
258  virtual ParmType getParmType(exint fieldnum) const
259  {
260  switch (fieldnum)
261  {
262  case 0:
263  return PARM_STRING;
264  case 1:
265  return PARM_STRING;
266  case 2:
267  return PARM_INTEGER;
268  case 3:
269  return PARM_FLOAT;
270  case 4:
271  return PARM_INTEGER;
272  case 5:
273  return PARM_STRING;
274  case 6:
275  return PARM_STRING;
276  case 7:
277  return PARM_STRING;
278  case 8:
279  return PARM_INTEGER;
280 
281  }
282  return PARM_UNSUPPORTED;
283  }
284 
285  // Boiler plate to load individual types.
286  static void loadData(UT_IStream &is, int64 &v)
287  { is.bread(&v, 1); }
288  static void loadData(UT_IStream &is, bool &v)
289  { int64 iv; is.bread(&iv, 1); v = iv; }
290  static void loadData(UT_IStream &is, fpreal64 &v)
291  { is.bread<fpreal64>(&v, 1); }
292  static void loadData(UT_IStream &is, UT_Vector2D &v)
293  { is.bread<fpreal64>(&v.x(), 1); is.bread<fpreal64>(&v.y(), 1); }
294  static void loadData(UT_IStream &is, UT_Vector3D &v)
295  { is.bread<fpreal64>(&v.x(), 1); is.bread<fpreal64>(&v.y(), 1);
296  is.bread<fpreal64>(&v.z(), 1); }
297  static void loadData(UT_IStream &is, UT_Vector4D &v)
298  { is.bread<fpreal64>(&v.x(), 1); is.bread<fpreal64>(&v.y(), 1);
299  is.bread<fpreal64>(&v.z(), 1); is.bread<fpreal64>(&v.w(), 1); }
300  static void loadData(UT_IStream &is, UT_Matrix2D &v)
301  { for (int r = 0; r < 2; r++) for (int c = 0; c < 2; c++) is.bread<fpreal64>(&v(r, c), 1); }
302  static void loadData(UT_IStream &is, UT_Matrix3D &v)
303  { for (int r = 0; r < 3; r++) for (int c = 0; c < 3; c++) is.bread<fpreal64>(&v(r, c), 1); }
304  static void loadData(UT_IStream &is, UT_Matrix4D &v)
305  { for (int r = 0; r < 4; r++) for (int c = 0; c < 4; c++) is.bread<fpreal64>(&v(r, c), 1); }
306  static void loadData(UT_IStream &is, UT_Vector2I &v)
307  { is.bread<int64>(&v.x(), 1); is.bread<int64>(&v.y(), 1); }
308  static void loadData(UT_IStream &is, UT_Vector3I &v)
309  { is.bread<int64>(&v.x(), 1); is.bread<int64>(&v.y(), 1);
310  is.bread<int64>(&v.z(), 1); }
311  static void loadData(UT_IStream &is, UT_Vector4I &v)
312  { is.bread<int64>(&v.x(), 1); is.bread<int64>(&v.y(), 1);
313  is.bread<int64>(&v.z(), 1); is.bread<int64>(&v.w(), 1); }
315  { is.bread(v); }
317  { UT_StringHolder rampdata;
318  loadData(is, rampdata);
319  if (rampdata.isstring())
320  {
321  v.reset(new UT_Ramp());
322  UT_IStream istr((const char *) rampdata, rampdata.length(), UT_ISTREAM_ASCII);
323  v->load(istr);
324  }
325  else v.reset();
326  }
329  loadData(is, data);
330  if (data.isstring())
331  {
332  // Find the data type.
333  char *colon = UT_StringWrap(data).findChar(':');
334  if (colon)
335  {
336  int typelen = colon - data.buffer();
338  type.strncpy(data.buffer(), typelen);
339  UT_IStream istr(((const char *) data) + typelen + 1, data.length() - (typelen + 1), UT_ISTREAM_BINARY);
340 
341  v = PRM_DataFactory::parseBinary(type.buffer(), istr);
342  }
343  }
344  else v.reset();
345  }
346 
347  static void saveData(std::ostream &os, int64 v)
348  { UTwrite(os, &v); }
349  static void saveData(std::ostream &os, bool v)
350  { int64 iv = v; UTwrite(os, &iv); }
351  static void saveData(std::ostream &os, fpreal64 v)
352  { UTwrite<fpreal64>(os, &v); }
353  static void saveData(std::ostream &os, UT_Vector2D v)
354  { UTwrite<fpreal64>(os, &v.x()); UTwrite<fpreal64>(os, &v.y()); }
355  static void saveData(std::ostream &os, UT_Vector3D v)
356  { UTwrite<fpreal64>(os, &v.x()); UTwrite<fpreal64>(os, &v.y());
357  UTwrite<fpreal64>(os, &v.z()); }
358  static void saveData(std::ostream &os, UT_Vector4D v)
359  { UTwrite<fpreal64>(os, &v.x()); UTwrite<fpreal64>(os, &v.y());
360  UTwrite<fpreal64>(os, &v.z()); UTwrite<fpreal64>(os, &v.w()); }
361  static void saveData(std::ostream &os, UT_Matrix2D v)
363  static void saveData(std::ostream &os, UT_Matrix3D v)
365  static void saveData(std::ostream &os, UT_Matrix4D v)
367  static void saveData(std::ostream &os, UT_StringHolder s)
368  { UT_StringWrap(s).saveBinary(os); }
369  static void saveData(std::ostream &os, UT_SharedPtr<UT_Ramp> s)
370  { UT_StringHolder result;
371  UT_OStringStream ostr;
372  if (s) s->save(ostr);
373  result = ostr.str();
374  saveData(os, result);
375  }
376  static void saveData(std::ostream &os, PRM_DataItemHandle s)
377  { UT_StringHolder result;
378  UT_OStringStream ostr;
379  if (s)
380  {
381  ostr << s->getDataTypeToken();
382  ostr << ":";
383  s->saveBinary(ostr);
384  }
385  result = ostr.str();
386  saveData(os, result);
387  }
388 
389 
390  void save(std::ostream &os) const
391  {
392  int32 v = version();
393  UTwrite(os, &v);
394  saveData(os, myAgroup);
395  saveData(os, myBgroup);
396  saveData(os, myUseproxtol);
397  saveData(os, myProxtol);
398  saveData(os, mySplitcurves);
399  saveData(os, myInputnumattrib);
400  saveData(os, myPrimnumattrib);
401  saveData(os, myPrimuvwattrib);
402  saveData(os, myKeeppointattribs);
403 
404  }
405 
406  bool load(UT_IStream &is)
407  {
408  int32 v;
409  is.bread(&v, 1);
410  if (version() != v)
411  {
412  // Fail incompatible versions
413  return false;
414  }
415  loadData(is, myAgroup);
416  loadData(is, myBgroup);
417  loadData(is, myUseproxtol);
418  loadData(is, myProxtol);
419  loadData(is, mySplitcurves);
420  loadData(is, myInputnumattrib);
421  loadData(is, myPrimnumattrib);
422  loadData(is, myPrimuvwattrib);
423  loadData(is, myKeeppointattribs);
424 
425  return true;
426  }
427 
428  const UT_StringHolder & getAgroup() const { return myAgroup; }
429  void setAgroup(const UT_StringHolder & val) { myAgroup = val; }
431  {
432  SOP_Node *thissop = cookparms.getNode();
433  if (!thissop) return getAgroup();
434  UT_StringHolder result;
435  OP_Utils::evalOpParm(result, thissop, "agroup", cookparms.getCookTime(), 0);
436  return result;
437  }
438  const UT_StringHolder & getBgroup() const { return myBgroup; }
439  void setBgroup(const UT_StringHolder & val) { myBgroup = val; }
441  {
442  SOP_Node *thissop = cookparms.getNode();
443  if (!thissop) return getBgroup();
444  UT_StringHolder result;
445  OP_Utils::evalOpParm(result, thissop, "bgroup", cookparms.getCookTime(), 0);
446  return result;
447  }
448  bool getUseproxtol() const { return myUseproxtol; }
449  void setUseproxtol(bool val) { myUseproxtol = val; }
450  bool opUseproxtol(const SOP_NodeVerb::CookParms &cookparms) const
451  {
452  SOP_Node *thissop = cookparms.getNode();
453  if (!thissop) return getUseproxtol();
454  bool result;
455  OP_Utils::evalOpParm(result, thissop, "useproxtol", cookparms.getCookTime(), 0);
456  return result;
457  }
458  fpreal64 getProxtol() const { return myProxtol; }
459  void setProxtol(fpreal64 val) { myProxtol = val; }
461  {
462  SOP_Node *thissop = cookparms.getNode();
463  if (!thissop) return getProxtol();
464  fpreal64 result;
465  OP_Utils::evalOpParm(result, thissop, "proxtol", cookparms.getCookTime(), 0);
466  return result;
467  }
468  bool getSplitcurves() const { return mySplitcurves; }
469  void setSplitcurves(bool val) { mySplitcurves = val; }
470  bool opSplitcurves(const SOP_NodeVerb::CookParms &cookparms) const
471  {
472  SOP_Node *thissop = cookparms.getNode();
473  if (!thissop) return getSplitcurves();
474  bool result;
475  OP_Utils::evalOpParm(result, thissop, "splitcurves", cookparms.getCookTime(), 0);
476  return result;
477  }
478  const UT_StringHolder & getInputnumattrib() const { return myInputnumattrib; }
479  void setInputnumattrib(const UT_StringHolder & val) { myInputnumattrib = val; }
481  {
482  SOP_Node *thissop = cookparms.getNode();
483  if (!thissop) return getInputnumattrib();
484  UT_StringHolder result;
485  OP_Utils::evalOpParm(result, thissop, "inputnumattrib", cookparms.getCookTime(), 0);
486  return result;
487  }
488  const UT_StringHolder & getPrimnumattrib() const { return myPrimnumattrib; }
489  void setPrimnumattrib(const UT_StringHolder & val) { myPrimnumattrib = val; }
491  {
492  SOP_Node *thissop = cookparms.getNode();
493  if (!thissop) return getPrimnumattrib();
494  UT_StringHolder result;
495  OP_Utils::evalOpParm(result, thissop, "primnumattrib", cookparms.getCookTime(), 0);
496  return result;
497  }
498  const UT_StringHolder & getPrimuvwattrib() const { return myPrimuvwattrib; }
499  void setPrimuvwattrib(const UT_StringHolder & val) { myPrimuvwattrib = val; }
501  {
502  SOP_Node *thissop = cookparms.getNode();
503  if (!thissop) return getPrimuvwattrib();
504  UT_StringHolder result;
505  OP_Utils::evalOpParm(result, thissop, "primuvwattrib", cookparms.getCookTime(), 0);
506  return result;
507  }
508  bool getKeeppointattribs() const { return myKeeppointattribs; }
509  void setKeeppointattribs(bool val) { myKeeppointattribs = val; }
510  bool opKeeppointattribs(const SOP_NodeVerb::CookParms &cookparms) const
511  {
512  SOP_Node *thissop = cookparms.getNode();
513  if (!thissop) return getKeeppointattribs();
514  bool result;
515  OP_Utils::evalOpParm(result, thissop, "keeppointattribs", cookparms.getCookTime(), 0);
516  return result;
517  }
518 
519 private:
520  UT_StringHolder myAgroup;
521  UT_StringHolder myBgroup;
522  bool myUseproxtol;
523  fpreal64 myProxtol;
524  bool mySplitcurves;
525  UT_StringHolder myInputnumattrib;
526  UT_StringHolder myPrimnumattrib;
527  UT_StringHolder myPrimuvwattrib;
528  bool myKeeppointattribs;
529 
530 };
void setPrimuvwattrib(const UT_StringHolder &val)
void buildFromOp(const OP_Node *node, fpreal time, DEP_MicroNode *depnode)
static void saveData(std::ostream &os, UT_Vector4D v)
static void saveData(std::ostream &os, UT_Matrix4D v)
UT_StringHolder opAgroup(const SOP_NodeVerb::CookParms &cookparms) const
void getParmValue(exint idx, UT_StringHolder &value) const
SOP_Node * getNode() const
Definition: SOP_NodeVerb.h:492
static void saveData(std::ostream &os, UT_Matrix2D v)
T & z(void)
Definition: UT_Vector4.h:372
static void saveData(std::ostream &os, PRM_DataItemHandle s)
static void saveData(std::ostream &os, UT_Vector2D v)
exint bread(int32 *buffer, exint asize=1)
const UT_StringHolder & getPrimnumattrib() const
void getParmValue(exint idx, UT_Matrix3D &value) const
fpreal getTime() const
Definition: OP_Context.h:34
const GLdouble * v
Definition: glcorearb.h:836
static void loadData(UT_IStream &is, UT_Vector4D &v)
void doSetParmValue(exint idx, const T &value)
const UT_StringHolder & getInputnumattrib() const
T & x(void)
Definition: UT_Vector2.h:284
virtual void loadFromOpSubclass(const LoadParms &loadparms)
void setParmValue(exint idx, const exint &value)
An output stream object that owns its own string buffer storage.
virtual void copyFrom(const SOP_NodeParms *src)
void setParmValue(exint idx, const UT_Matrix4D &value)
const UT_WorkBuffer & str() const
Returns a read-only reference to the underlying UT_WorkBuffer.
bool opSplitcurves(const SOP_NodeVerb::CookParms &cookparms) const
SYS_FORCE_INLINE T & x(void)
Definition: UT_Vector3.h:581
void getParmValue(exint idx, fpreal &value) const
static PRM_DataItemHandle parseBinary(const char *type, UT_IStream &is)
static void loadData(UT_IStream &is, int64 &v)
void getParmValue(exint idx, UT_SharedPtr< UT_Ramp > &value) const
SYS_FORCE_INLINE T & z(void)
Definition: UT_Vector3.h:585
static void loadData(UT_IStream &is, UT_Vector3I &v)
void getParmValue(exint idx, UT_Matrix2D &value) const
static void saveData(std::ostream &os, UT_Vector3D v)
long long int64
Definition: SYS_Types.h:100
static void loadData(UT_IStream &is, UT_Vector2I &v)
void setBgroup(const UT_StringHolder &val)
static void saveData(std::ostream &os, int64 v)
const UT_StringHolder & getBgroup() const
exint length() const
char * findChar(int c) const
Find first occurrance of character. Returns NULL upon failure.
Definition: UT_String.h:550
static void saveData(std::ostream &os, fpreal64 v)
SYS_FORCE_INLINE const char * buffer() const
void setParmValue(exint idx, const UT_Vector3D &value)
static void saveData(std::ostream &os, UT_StringHolder s)
void setParmValue(exint idx, const UT_Vector4D &value)
virtual const char * getParmName(exint fieldnum) const
int64 exint
Definition: SYS_Types.h:109
static void loadData(UT_IStream &is, UT_Vector2D &v)
void setPrimnumattrib(const UT_StringHolder &val)
const OP_Node * node() const
Definition: SOP_NodeVerb.h:104
double fpreal64
Definition: SYS_Types.h:185
void setParmValue(exint idx, const PRM_DataItemHandle &value)
UT_StringHolder opBgroup(const SOP_NodeVerb::CookParms &cookparms) const
static void saveData(std::ostream &os, bool v)
void setParmValue(exint idx, const UT_Vector2D &value)
OP_Node * getInput(unsigned idx, bool mark_used=false) const
Returns the node connected to a particular input (may be null).
void setInputnumattrib(const UT_StringHolder &val)
static void loadData(UT_IStream &is, UT_Matrix4D &v)
fpreal64 opProxtol(const SOP_NodeVerb::CookParms &cookparms) const
GLboolean * data
Definition: glcorearb.h:130
int int32
Definition: SYS_Types.h:28
T & y(void)
Definition: UT_Vector4.h:370
static void loadData(UT_IStream &is, UT_Matrix3D &v)
void saveBinary(std::ostream &os) const
Save string to binary stream.
Definition: UT_String.h:294
UT_StringHolder opInputnumattrib(const SOP_NodeVerb::CookParms &cookparms) const
static void loadData(UT_IStream &is, UT_SharedPtr< UT_Ramp > &v)
DEP_MicroNode * depnode() const
Definition: SOP_NodeVerb.h:111
void setParmValue(exint idx, const UT_Matrix3D &value)
void setParmValue(exint idx, const fpreal &value)
bool operator==(const SOP_IntersectionStitchParms &src) const
void setParmValue(exint idx, const UT_StringHolder &value)
void setParmValue(exint idx, const UT_Matrix2D &value)
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
UT_StringHolder opPrimuvwattrib(const SOP_NodeVerb::CookParms &cookparms) const
static void loadData(UT_IStream &is, UT_StringHolder &v)
void strncpy(const char *src, exint maxlen)
static void loadData(UT_IStream &is, UT_Vector4I &v)
const UT_StringHolder & getPrimuvwattrib() const
virtual ParmType getParmType(exint fieldnum) const
Utility class for containing a color ramp.
Definition: UT_Ramp.h:84
bool opUseproxtol(const SOP_NodeVerb::CookParms &cookparms) const
void setParmValue(exint idx, const UT_SharedPtr< UT_Ramp > &value)
static void loadData(UT_IStream &is, fpreal64 &v)
GLuint GLfloat * val
Definition: glcorearb.h:1607
static void loadData(UT_IStream &is, UT_Vector3D &v)
void getParmValue(exint idx, UT_Vector4D &value) const
#define SOP_API
Definition: SOP_API.h:10
const char * buffer() const
GLint GLint GLsizei GLint GLenum GLenum type
Definition: glcorearb.h:107
fpreal getCookTime() const
Definition: SOP_NodeVerb.h:499
static void saveData(std::ostream &os, UT_Matrix3D v)
T & x(void)
Definition: UT_Vector4.h:368
static void loadData(UT_IStream &is, PRM_DataItemHandle &v)
bool opKeeppointattribs(const SOP_NodeVerb::CookParms &cookparms) const
void getParmValue(exint idx, UT_Vector2D &value) const
T & y(void)
Definition: UT_Vector2.h:286
static void loadData(UT_IStream &is, UT_Matrix2D &v)
GLboolean r
Definition: glcorearb.h:1221
void getParmValue(exint idx, PRM_DataItemHandle &value) const
void doGetParmValue(exint idx, T &value) const
T & w(void)
Definition: UT_Vector4.h:374
static void saveData(std::ostream &os, UT_SharedPtr< UT_Ramp > s)
static void loadData(UT_IStream &is, bool &v)
void getParmValue(exint idx, UT_Matrix4D &value) const
const UT_StringHolder & getAgroup() const
const OP_Context & context() const
Definition: SOP_NodeVerb.h:109
void getParmValue(exint idx, exint &value) const
void save(std::ostream &os) const
SYS_FORCE_INLINE bool isstring() const
void getParmValue(exint idx, UT_Vector3D &value) const
void setAgroup(const UT_StringHolder &val)
UT_StringHolder opPrimnumattrib(const SOP_NodeVerb::CookParms &cookparms) const
GLenum src
Definition: glcorearb.h:1792