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