HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SOP_SBlend.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  myBlend = 0;
30  myDoPos = false;
31  myDoClr = false;
32  myDoNml = false;
33  myDoUVW = false;
34  myDoVoxel = false;
35  myDoSlerp = false;
36  myPtIDAttr = ""_sh;
37  myPrimIDAttr = ""_sh;
38 
39  }
40 
41  explicit SOP_SBlendParms(const SOP_SBlendParms &) = default;
42 
43  virtual ~SOP_SBlendParms() {}
44 
45  bool operator==(const SOP_SBlendParms &src) const
46  {
47  if (myBlend != src.myBlend) return false;
48  if (myDoPos != src.myDoPos) return false;
49  if (myDoClr != src.myDoClr) return false;
50  if (myDoNml != src.myDoNml) return false;
51  if (myDoUVW != src.myDoUVW) return false;
52  if (myDoVoxel != src.myDoVoxel) return false;
53  if (myDoSlerp != src.myDoSlerp) return false;
54  if (myPtIDAttr != src.myPtIDAttr) return false;
55  if (myPrimIDAttr != src.myPrimIDAttr) 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(myBlend, node, "blend", time, 0);
66  else myBlend = 0;
67  if (true)
68  OP_Utils::evalOpParm(myDoPos, node, "dopos", time, 0);
69  else myDoPos = false;
70  if (true)
71  OP_Utils::evalOpParm(myDoClr, node, "doclr", time, 0);
72  else myDoClr = false;
73  if (true)
74  OP_Utils::evalOpParm(myDoNml, node, "donml", time, 0);
75  else myDoNml = false;
76  if (true)
77  OP_Utils::evalOpParm(myDoUVW, node, "douvw", time, 0);
78  else myDoUVW = false;
79  if (true)
80  OP_Utils::evalOpParm(myDoVoxel, node, "dovoxel", time, 0);
81  else myDoVoxel = false;
82  if (true)
83  OP_Utils::evalOpParm(myDoSlerp, node, "doslerp", time, 0);
84  else myDoSlerp = false;
85  if (true)
86  OP_Utils::evalOpParm(myPtIDAttr, node, "ptidattr", time, 0);
87  else myPtIDAttr = ""_sh;
88  if (true)
89  OP_Utils::evalOpParm(myPrimIDAttr, node, "primidattr", time, 0);
90  else myPrimIDAttr = ""_sh;
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_SBlendParms *)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, myBlend);
114  break;
115  case 1:
116  coerceValue(value, myDoPos);
117  break;
118  case 2:
119  coerceValue(value, myDoClr);
120  break;
121  case 3:
122  coerceValue(value, myDoNml);
123  break;
124  case 4:
125  coerceValue(value, myDoUVW);
126  break;
127  case 5:
128  coerceValue(value, myDoVoxel);
129  break;
130  case 6:
131  coerceValue(value, myDoSlerp);
132  break;
133  case 7:
134  coerceValue(value, myPtIDAttr);
135  break;
136  case 8:
137  coerceValue(value, myPrimIDAttr);
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(myBlend, value);
174  break;
175  case 1:
176  coerceValue(myDoPos, value);
177  break;
178  case 2:
179  coerceValue(myDoClr, value);
180  break;
181  case 3:
182  coerceValue(myDoNml, value);
183  break;
184  case 4:
185  coerceValue(myDoUVW, value);
186  break;
187  case 5:
188  coerceValue(myDoVoxel, value);
189  break;
190  case 6:
191  coerceValue(myDoSlerp, value);
192  break;
193  case 7:
194  coerceValue(myPtIDAttr, value);
195  break;
196  case 8:
197  coerceValue(myPrimIDAttr, 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 "blend";
237  case 1:
238  return "dopos";
239  case 2:
240  return "doclr";
241  case 3:
242  return "donml";
243  case 4:
244  return "douvw";
245  case 5:
246  return "dovoxel";
247  case 6:
248  return "doslerp";
249  case 7:
250  return "ptidattr";
251  case 8:
252  return "primidattr";
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_FLOAT;
264  case 1:
265  return PARM_INTEGER;
266  case 2:
267  return PARM_INTEGER;
268  case 3:
269  return PARM_INTEGER;
270  case 4:
271  return PARM_INTEGER;
272  case 5:
273  return PARM_INTEGER;
274  case 6:
275  return PARM_INTEGER;
276  case 7:
277  return PARM_STRING;
278  case 8:
279  return PARM_STRING;
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, myBlend);
395  saveData(os, myDoPos);
396  saveData(os, myDoClr);
397  saveData(os, myDoNml);
398  saveData(os, myDoUVW);
399  saveData(os, myDoVoxel);
400  saveData(os, myDoSlerp);
401  saveData(os, myPtIDAttr);
402  saveData(os, myPrimIDAttr);
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, myBlend);
416  loadData(is, myDoPos);
417  loadData(is, myDoClr);
418  loadData(is, myDoNml);
419  loadData(is, myDoUVW);
420  loadData(is, myDoVoxel);
421  loadData(is, myDoSlerp);
422  loadData(is, myPtIDAttr);
423  loadData(is, myPrimIDAttr);
424 
425  return true;
426  }
427 
428  fpreal64 getBlend() const { return myBlend; }
429  void setBlend(fpreal64 val) { myBlend = val; }
430  fpreal64 opBlend(const SOP_NodeVerb::CookParms &cookparms) const
431  {
432  SOP_Node *thissop = cookparms.getNode();
433  if (!thissop) return getBlend();
434  fpreal64 result;
435  OP_Utils::evalOpParm(result, thissop, "blend", cookparms.getCookTime(), 0);
436  return result;
437  }
438  bool getDoPos() const { return myDoPos; }
439  void setDoPos(bool val) { myDoPos = val; }
440  bool opDoPos(const SOP_NodeVerb::CookParms &cookparms) const
441  {
442  SOP_Node *thissop = cookparms.getNode();
443  if (!thissop) return getDoPos();
444  bool result;
445  OP_Utils::evalOpParm(result, thissop, "dopos", cookparms.getCookTime(), 0);
446  return result;
447  }
448  bool getDoClr() const { return myDoClr; }
449  void setDoClr(bool val) { myDoClr = val; }
450  bool opDoClr(const SOP_NodeVerb::CookParms &cookparms) const
451  {
452  SOP_Node *thissop = cookparms.getNode();
453  if (!thissop) return getDoClr();
454  bool result;
455  OP_Utils::evalOpParm(result, thissop, "doclr", cookparms.getCookTime(), 0);
456  return result;
457  }
458  bool getDoNml() const { return myDoNml; }
459  void setDoNml(bool val) { myDoNml = val; }
460  bool opDoNml(const SOP_NodeVerb::CookParms &cookparms) const
461  {
462  SOP_Node *thissop = cookparms.getNode();
463  if (!thissop) return getDoNml();
464  bool result;
465  OP_Utils::evalOpParm(result, thissop, "donml", cookparms.getCookTime(), 0);
466  return result;
467  }
468  bool getDoUVW() const { return myDoUVW; }
469  void setDoUVW(bool val) { myDoUVW = val; }
470  bool opDoUVW(const SOP_NodeVerb::CookParms &cookparms) const
471  {
472  SOP_Node *thissop = cookparms.getNode();
473  if (!thissop) return getDoUVW();
474  bool result;
475  OP_Utils::evalOpParm(result, thissop, "douvw", cookparms.getCookTime(), 0);
476  return result;
477  }
478  bool getDoVoxel() const { return myDoVoxel; }
479  void setDoVoxel(bool val) { myDoVoxel = val; }
480  bool opDoVoxel(const SOP_NodeVerb::CookParms &cookparms) const
481  {
482  SOP_Node *thissop = cookparms.getNode();
483  if (!thissop) return getDoVoxel();
484  bool result;
485  OP_Utils::evalOpParm(result, thissop, "dovoxel", cookparms.getCookTime(), 0);
486  return result;
487  }
488  bool getDoSlerp() const { return myDoSlerp; }
489  void setDoSlerp(bool val) { myDoSlerp = val; }
490  bool opDoSlerp(const SOP_NodeVerb::CookParms &cookparms) const
491  {
492  SOP_Node *thissop = cookparms.getNode();
493  if (!thissop) return getDoSlerp();
494  bool result;
495  OP_Utils::evalOpParm(result, thissop, "doslerp", cookparms.getCookTime(), 0);
496  return result;
497  }
498  const UT_StringHolder & getPtIDAttr() const { return myPtIDAttr; }
499  void setPtIDAttr(const UT_StringHolder & val) { myPtIDAttr = val; }
501  {
502  SOP_Node *thissop = cookparms.getNode();
503  if (!thissop) return getPtIDAttr();
504  UT_StringHolder result;
505  OP_Utils::evalOpParm(result, thissop, "ptidattr", cookparms.getCookTime(), 0);
506  return result;
507  }
508  const UT_StringHolder & getPrimIDAttr() const { return myPrimIDAttr; }
509  void setPrimIDAttr(const UT_StringHolder & val) { myPrimIDAttr = val; }
511  {
512  SOP_Node *thissop = cookparms.getNode();
513  if (!thissop) return getPrimIDAttr();
514  UT_StringHolder result;
515  OP_Utils::evalOpParm(result, thissop, "primidattr", cookparms.getCookTime(), 0);
516  return result;
517  }
518 
519 private:
520  fpreal64 myBlend;
521  bool myDoPos;
522  bool myDoClr;
523  bool myDoNml;
524  bool myDoUVW;
525  bool myDoVoxel;
526  bool myDoSlerp;
527  UT_StringHolder myPtIDAttr;
528  UT_StringHolder myPrimIDAttr;
529 
530 };
void getParmValue(exint idx, UT_Vector4D &value) const
static void saveData(std::ostream &os, int64 v)
static void saveData(std::ostream &os, UT_Vector4D v)
static void saveData(std::ostream &os, PRM_DataItemHandle s)
static void saveData(std::ostream &os, UT_Matrix2D v)
void setParmValue(exint idx, const UT_StringHolder &value)
bool getDoNml() const
SOP_Node * getNode() const
Definition: SOP_NodeVerb.h:492
T & z(void)
Definition: UT_Vector4.h:372
static void saveData(std::ostream &os, UT_StringHolder s)
void setParmValue(exint idx, const PRM_DataItemHandle &value)
virtual ~SOP_SBlendParms()
void setDoSlerp(bool val)
void getParmValue(exint idx, UT_SharedPtr< UT_Ramp > &value) const
exint bread(int32 *buffer, exint asize=1)
void getParmValue(exint idx, PRM_DataItemHandle &value) const
bool getDoPos() const
fpreal getTime() const
Definition: OP_Context.h:34
const GLdouble * v
Definition: glcorearb.h:836
void getParmValue(exint idx, UT_Matrix2D &value) const
bool operator==(const SOP_SBlendParms &src) const
static void loadData(UT_IStream &is, UT_Matrix4D &v)
bool getDoUVW() const
void setDoNml(bool val)
static void loadData(UT_IStream &is, UT_Vector4I &v)
void getParmValue(exint idx, UT_Matrix3D &value) const
virtual const char * getParmName(exint fieldnum) const
static void loadData(UT_IStream &is, PRM_DataItemHandle &v)
void getParmValue(exint idx, UT_StringHolder &value) const
static void loadData(UT_IStream &is, UT_Vector2D &v)
static void saveData(std::ostream &os, bool v)
T & x(void)
Definition: UT_Vector2.h:284
void setParmValue(exint idx, const UT_SharedPtr< UT_Ramp > &value)
An output stream object that owns its own string buffer storage.
const UT_WorkBuffer & str() const
Returns a read-only reference to the underlying UT_WorkBuffer.
SYS_FORCE_INLINE T & x(void)
Definition: UT_Vector3.h:581
static void loadData(UT_IStream &is, bool &v)
bool opDoClr(const SOP_NodeVerb::CookParms &cookparms) const
void setParmValue(exint idx, const UT_Matrix4D &value)
static PRM_DataItemHandle parseBinary(const char *type, UT_IStream &is)
virtual exint getNumParms() const
void setParmValue(exint idx, const UT_Vector2D &value)
void setDoPos(bool val)
static void saveData(std::ostream &os, UT_Matrix4D v)
static void saveData(std::ostream &os, fpreal64 v)
static void loadData(UT_IStream &is, UT_SharedPtr< UT_Ramp > &v)
static void loadData(UT_IStream &is, int64 &v)
UT_StringHolder opPtIDAttr(const SOP_NodeVerb::CookParms &cookparms) const
void getParmValue(exint idx, fpreal &value) const
static void loadData(UT_IStream &is, UT_Vector4D &v)
SYS_FORCE_INLINE T & z(void)
Definition: UT_Vector3.h:585
long long int64
Definition: SYS_Types.h:100
void doGetParmValue(exint idx, T &value) const
fpreal64 opBlend(const SOP_NodeVerb::CookParms &cookparms) const
static void loadData(UT_IStream &is, UT_Matrix3D &v)
exint length() const
char * findChar(int c) const
Find first occurrance of character. Returns NULL upon failure.
Definition: UT_String.h:550
bool getDoVoxel() const
bool getDoClr() const
SYS_FORCE_INLINE const char * buffer() const
virtual ParmType getParmType(exint fieldnum) const
int64 exint
Definition: SYS_Types.h:109
void setBlend(fpreal64 val)
static void saveData(std::ostream &os, UT_Matrix3D v)
const OP_Node * node() const
Definition: SOP_NodeVerb.h:104
void setDoUVW(bool val)
double fpreal64
Definition: SYS_Types.h:185
void setParmValue(exint idx, const fpreal &value)
void setDoClr(bool val)
bool load(UT_IStream &is)
void buildFromOp(const OP_Node *node, fpreal time, DEP_MicroNode *depnode)
static void saveData(std::ostream &os, UT_SharedPtr< UT_Ramp > s)
UT_StringHolder opPrimIDAttr(const SOP_NodeVerb::CookParms &cookparms) const
void setParmValue(exint idx, const UT_Vector4D &value)
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_Matrix2D &v)
static int version()
static void saveData(std::ostream &os, UT_Vector2D 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
fpreal64 getBlend() const
void setDoVoxel(bool val)
void setPtIDAttr(const UT_StringHolder &val)
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
static void loadData(UT_IStream &is, UT_Vector3I &v)
void getParmValue(exint idx, UT_Vector3D &value) const
void strncpy(const char *src, exint maxlen)
virtual void loadFromOpSubclass(const LoadParms &loadparms)
virtual void copyFrom(const SOP_NodeParms *src)
void setPrimIDAttr(const UT_StringHolder &val)
bool opDoPos(const SOP_NodeVerb::CookParms &cookparms) const
bool getDoSlerp() const
Utility class for containing a color ramp.
Definition: UT_Ramp.h:84
void save(std::ostream &os) const
void getParmValue(exint idx, UT_Matrix4D &value) const
static void loadData(UT_IStream &is, UT_Vector2I &v)
GLuint GLfloat * val
Definition: glcorearb.h:1607
static void loadData(UT_IStream &is, UT_StringHolder &v)
#define SOP_API
Definition: SOP_API.h:10
const UT_StringHolder & getPrimIDAttr() const
static void loadData(UT_IStream &is, fpreal64 &v)
void setParmValue(exint idx, const UT_Vector3D &value)
const char * buffer() const
GLint GLint GLsizei GLint GLenum GLenum type
Definition: glcorearb.h:107
fpreal getCookTime() const
Definition: SOP_NodeVerb.h:499
const UT_StringHolder & getPtIDAttr() const
T & x(void)
Definition: UT_Vector4.h:368
T & y(void)
Definition: UT_Vector2.h:286
GLboolean r
Definition: glcorearb.h:1221
bool opDoUVW(const SOP_NodeVerb::CookParms &cookparms) const
static void loadData(UT_IStream &is, UT_Vector3D &v)
T & w(void)
Definition: UT_Vector4.h:374
void setParmValue(exint idx, const UT_Matrix3D &value)
bool opDoNml(const SOP_NodeVerb::CookParms &cookparms) const
bool opDoSlerp(const SOP_NodeVerb::CookParms &cookparms) const
const OP_Context & context() const
Definition: SOP_NodeVerb.h:109
void setParmValue(exint idx, const exint &value)
void setParmValue(exint idx, const UT_Matrix2D &value)
void getParmValue(exint idx, UT_Vector2D &value) const
SYS_FORCE_INLINE bool isstring() const
bool opDoVoxel(const SOP_NodeVerb::CookParms &cookparms) const
static void saveData(std::ostream &os, UT_Vector3D v)
void getParmValue(exint idx, exint &value) const
GLenum src
Definition: glcorearb.h:1792
void doSetParmValue(exint idx, const T &value)