HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SOP_VolumeResample.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_VolumeResampleEnums
22 {
23  enum class Uniformsamples
24  {
25  NONSQUARE = 0,
26  X,
27  Y,
28  Z,
29  MAX,
30  SIZE
31  };
32 }
33 
34 
36 {
37 public:
38  static int version() { return 1; }
39 
41  {
42  myGroup = ""_sh;
43  myFilter = "box"_sh;
44  myFilterscale = 1;
45  myFixedresample = false;
46  myUniformsamples = 4;
47  mySamplediv = 10;
48  myDivs = UT_Vector3I(10,10,10);
49  myDivsize = 0.1;
50  myScale = 1;
51 
52  }
53 
54  explicit SOP_VolumeResampleParms(const SOP_VolumeResampleParms &) = default;
55 
57 
59  {
60  if (myGroup != src.myGroup) return false;
61  if (myFilter != src.myFilter) return false;
62  if (myFilterscale != src.myFilterscale) return false;
63  if (myFixedresample != src.myFixedresample) return false;
64  if (myUniformsamples != src.myUniformsamples) return false;
65  if (mySamplediv != src.mySamplediv) return false;
66  if (myDivs != src.myDivs) return false;
67  if (myDivsize != src.myDivsize) return false;
68  if (myScale != src.myScale) return false;
69 
70  return true;
71  }
73 
74 
75 
76  void buildFromOp(const OP_Node *node, fpreal time, DEP_MicroNode *depnode)
77  {
78  if (true)
79  OP_Utils::evalOpParm(myGroup, node, "group", time, 0);
80  else myGroup = ""_sh;
81  if (true)
82  OP_Utils::evalOpParm(myFilter, node, "filter", time, 0);
83  else myFilter = "box"_sh;
84  if (true)
85  OP_Utils::evalOpParm(myFilterscale, node, "filterscale", time, 0);
86  else myFilterscale = 1;
87  if (true)
88  OP_Utils::evalOpParm(myFixedresample, node, "fixedresample", time, 0);
89  else myFixedresample = false;
90  if (true && ( (!(((getFixedresample()==0)))) ) )
91  OP_Utils::evalOpParm(myUniformsamples, node, "uniformsamples", time, 0);
92  else myUniformsamples = 4;
93  if (true && ( (!(((getFixedresample()==0))||((int64(getUniformsamples())==0))||((int64(getUniformsamples())==5)))) ) )
94  OP_Utils::evalOpParm(mySamplediv, node, "samplediv", time, 0);
95  else mySamplediv = 10;
96  if (true && ( (!(((getFixedresample()==0))||((int64(getUniformsamples())!=0)))) ) )
97  OP_Utils::evalOpParm(myDivs, node, "divs", time, 0);
98  else myDivs = UT_Vector3I(10,10,10);
99  if (true && ( (!(((getFixedresample()==0))||((int64(getUniformsamples())!=5)))) ) )
100  OP_Utils::evalOpParm(myDivsize, node, "divsize", time, 0);
101  else myDivsize = 0.1;
102  if (true && ( (!(((getFixedresample()==1)))) ) )
103  OP_Utils::evalOpParm(myScale, node, "scale", time, 0);
104  else myScale = 1;
105 
106  }
107 
108 
109  virtual void loadFromOpSubclass(const LoadParms &loadparms)
110  {
111  buildFromOp(loadparms.node(), loadparms.context().getTime(), loadparms.depnode());
112  }
113 
114 
115  virtual void copyFrom(const SOP_NodeParms *src)
116  {
117  *this = *((const SOP_VolumeResampleParms *)src);
118  }
119 
120  template <typename T>
121  void
122  doGetParmValue(exint idx, T &value) const
123  {
124  switch (idx)
125  {
126  case 0:
127  coerceValue(value, myGroup);
128  break;
129  case 1:
130  coerceValue(value, myFilter);
131  break;
132  case 2:
133  coerceValue(value, myFilterscale);
134  break;
135  case 3:
136  coerceValue(value, myFixedresample);
137  break;
138  case 4:
139  coerceValue(value, myUniformsamples);
140  break;
141  case 5:
142  coerceValue(value, mySamplediv);
143  break;
144  case 6:
145  coerceValue(value, myDivs);
146  break;
147  case 7:
148  coerceValue(value, myDivsize);
149  break;
150  case 8:
151  coerceValue(value, myScale);
152  break;
153 
154  }
155  }
156 
157  void getParmValue(exint idx, exint &value) const
158  { doGetParmValue(idx, value); }
159  void getParmValue(exint idx, fpreal &value) const
160  { doGetParmValue(idx, value); }
162  { doGetParmValue(idx, value); }
164  { doGetParmValue(idx, value); }
166  { doGetParmValue(idx, value); }
168  { doGetParmValue(idx, value); }
170  { doGetParmValue(idx, value); }
172  { doGetParmValue(idx, value); }
174  { doGetParmValue(idx, value); }
176  { doGetParmValue(idx, value); }
178  { doGetParmValue(idx, value); }
179 
180  template <typename T>
181  void
182  doSetParmValue(exint idx, const T &value)
183  {
184  switch (idx)
185  {
186  case 0:
187  coerceValue(myGroup, value);
188  break;
189  case 1:
190  coerceValue(myFilter, value);
191  break;
192  case 2:
193  coerceValue(myFilterscale, value);
194  break;
195  case 3:
196  coerceValue(myFixedresample, value);
197  break;
198  case 4:
199  coerceValue(myUniformsamples, value);
200  break;
201  case 5:
202  coerceValue(mySamplediv, value);
203  break;
204  case 6:
205  coerceValue(myDivs, value);
206  break;
207  case 7:
208  coerceValue(myDivsize, value);
209  break;
210  case 8:
211  coerceValue(myScale, value);
212  break;
213 
214  }
215  }
216 
217  void setParmValue(exint idx, const exint &value)
218  { doSetParmValue(idx, value); }
219  void setParmValue(exint idx, const fpreal &value)
220  { doSetParmValue(idx, value); }
221  void setParmValue(exint idx, const UT_Vector2D &value)
222  { doSetParmValue(idx, value); }
223  void setParmValue(exint idx, const UT_Vector3D &value)
224  { doSetParmValue(idx, value); }
225  void setParmValue(exint idx, const UT_Vector4D &value)
226  { doSetParmValue(idx, value); }
227  void setParmValue(exint idx, const UT_Matrix2D &value)
228  { doSetParmValue(idx, value); }
229  void setParmValue(exint idx, const UT_Matrix3D &value)
230  { doSetParmValue(idx, value); }
231  void setParmValue(exint idx, const UT_Matrix4D &value)
232  { doSetParmValue(idx, value); }
234  { doSetParmValue(idx, value); }
236  { doSetParmValue(idx, value); }
238  { doSetParmValue(idx, value); }
239 
240  virtual exint getNumParms() const
241  {
242  return 9;
243  }
244 
245  virtual const char *getParmName(exint fieldnum) const
246  {
247  switch (fieldnum)
248  {
249  case 0:
250  return "group";
251  case 1:
252  return "filter";
253  case 2:
254  return "filterscale";
255  case 3:
256  return "fixedresample";
257  case 4:
258  return "uniformsamples";
259  case 5:
260  return "samplediv";
261  case 6:
262  return "divs";
263  case 7:
264  return "divsize";
265  case 8:
266  return "scale";
267 
268  }
269  return 0;
270  }
271 
272  virtual ParmType getParmType(exint fieldnum) const
273  {
274  switch (fieldnum)
275  {
276  case 0:
277  return PARM_STRING;
278  case 1:
279  return PARM_STRING;
280  case 2:
281  return PARM_FLOAT;
282  case 3:
283  return PARM_INTEGER;
284  case 4:
285  return PARM_INTEGER;
286  case 5:
287  return PARM_INTEGER;
288  case 6:
289  return PARM_VECTOR3;
290  case 7:
291  return PARM_FLOAT;
292  case 8:
293  return PARM_FLOAT;
294 
295  }
296  return PARM_UNSUPPORTED;
297  }
298 
299  // Boiler plate to load individual types.
300  static void loadData(UT_IStream &is, int64 &v)
301  { is.bread(&v, 1); }
302  static void loadData(UT_IStream &is, bool &v)
303  { int64 iv; is.bread(&iv, 1); v = iv; }
304  static void loadData(UT_IStream &is, fpreal64 &v)
305  { is.bread<fpreal64>(&v, 1); }
306  static void loadData(UT_IStream &is, UT_Vector2D &v)
307  { is.bread<fpreal64>(&v.x(), 1); is.bread<fpreal64>(&v.y(), 1); }
308  static void loadData(UT_IStream &is, UT_Vector3D &v)
309  { is.bread<fpreal64>(&v.x(), 1); is.bread<fpreal64>(&v.y(), 1);
310  is.bread<fpreal64>(&v.z(), 1); }
311  static void loadData(UT_IStream &is, UT_Vector4D &v)
312  { is.bread<fpreal64>(&v.x(), 1); is.bread<fpreal64>(&v.y(), 1);
313  is.bread<fpreal64>(&v.z(), 1); is.bread<fpreal64>(&v.w(), 1); }
314  static void loadData(UT_IStream &is, UT_Matrix2D &v)
315  { for (int r = 0; r < 2; r++) for (int c = 0; c < 2; c++) is.bread<fpreal64>(&v(r, c), 1); }
316  static void loadData(UT_IStream &is, UT_Matrix3D &v)
317  { for (int r = 0; r < 3; r++) for (int c = 0; c < 3; c++) is.bread<fpreal64>(&v(r, c), 1); }
318  static void loadData(UT_IStream &is, UT_Matrix4D &v)
319  { for (int r = 0; r < 4; r++) for (int c = 0; c < 4; c++) is.bread<fpreal64>(&v(r, c), 1); }
320  static void loadData(UT_IStream &is, UT_Vector2I &v)
321  { is.bread<int64>(&v.x(), 1); is.bread<int64>(&v.y(), 1); }
322  static void loadData(UT_IStream &is, UT_Vector3I &v)
323  { is.bread<int64>(&v.x(), 1); is.bread<int64>(&v.y(), 1);
324  is.bread<int64>(&v.z(), 1); }
325  static void loadData(UT_IStream &is, UT_Vector4I &v)
326  { is.bread<int64>(&v.x(), 1); is.bread<int64>(&v.y(), 1);
327  is.bread<int64>(&v.z(), 1); is.bread<int64>(&v.w(), 1); }
329  { is.bread(v); }
331  { UT_StringHolder rampdata;
332  loadData(is, rampdata);
333  if (rampdata.isstring())
334  {
335  v.reset(new UT_Ramp());
336  UT_IStream istr((const char *) rampdata, rampdata.length(), UT_ISTREAM_ASCII);
337  v->load(istr);
338  }
339  else v.reset();
340  }
343  loadData(is, data);
344  if (data.isstring())
345  {
346  // Find the data type.
347  char *colon = UT_StringWrap(data).findChar(':');
348  if (colon)
349  {
350  int typelen = colon - data.buffer();
352  type.strncpy(data.buffer(), typelen);
353  UT_IStream istr(((const char *) data) + typelen + 1, data.length() - (typelen + 1), UT_ISTREAM_BINARY);
354 
355  v = PRM_DataFactory::parseBinary(type.buffer(), istr);
356  }
357  }
358  else v.reset();
359  }
360 
361  static void saveData(std::ostream &os, int64 v)
362  { UTwrite(os, &v); }
363  static void saveData(std::ostream &os, bool v)
364  { int64 iv = v; UTwrite(os, &iv); }
365  static void saveData(std::ostream &os, fpreal64 v)
366  { UTwrite<fpreal64>(os, &v); }
367  static void saveData(std::ostream &os, UT_Vector2D v)
368  { UTwrite<fpreal64>(os, &v.x()); UTwrite<fpreal64>(os, &v.y()); }
369  static void saveData(std::ostream &os, UT_Vector3D v)
370  { UTwrite<fpreal64>(os, &v.x()); UTwrite<fpreal64>(os, &v.y());
371  UTwrite<fpreal64>(os, &v.z()); }
372  static void saveData(std::ostream &os, UT_Vector4D v)
373  { UTwrite<fpreal64>(os, &v.x()); UTwrite<fpreal64>(os, &v.y());
374  UTwrite<fpreal64>(os, &v.z()); UTwrite<fpreal64>(os, &v.w()); }
375  static void saveData(std::ostream &os, UT_Matrix2D v)
377  static void saveData(std::ostream &os, UT_Matrix3D v)
379  static void saveData(std::ostream &os, UT_Matrix4D v)
381  static void saveData(std::ostream &os, UT_StringHolder s)
382  { UT_StringWrap(s).saveBinary(os); }
383  static void saveData(std::ostream &os, UT_SharedPtr<UT_Ramp> s)
384  { UT_StringHolder result;
385  UT_OStringStream ostr;
386  if (s) s->save(ostr);
387  result = ostr.str();
388  saveData(os, result);
389  }
390  static void saveData(std::ostream &os, PRM_DataItemHandle s)
391  { UT_StringHolder result;
392  UT_OStringStream ostr;
393  if (s)
394  {
395  ostr << s->getDataTypeToken();
396  ostr << ":";
397  s->saveBinary(ostr);
398  }
399  result = ostr.str();
400  saveData(os, result);
401  }
402 
403 
404  void save(std::ostream &os) const
405  {
406  int32 v = version();
407  UTwrite(os, &v);
408  saveData(os, myGroup);
409  saveData(os, myFilter);
410  saveData(os, myFilterscale);
411  saveData(os, myFixedresample);
412  saveData(os, myUniformsamples);
413  saveData(os, mySamplediv);
414  saveData(os, myDivs);
415  saveData(os, myDivsize);
416  saveData(os, myScale);
417 
418  }
419 
420  bool load(UT_IStream &is)
421  {
422  int32 v;
423  is.bread(&v, 1);
424  if (version() != v)
425  {
426  // Fail incompatible versions
427  return false;
428  }
429  loadData(is, myGroup);
430  loadData(is, myFilter);
431  loadData(is, myFilterscale);
432  loadData(is, myFixedresample);
433  loadData(is, myUniformsamples);
434  loadData(is, mySamplediv);
435  loadData(is, myDivs);
436  loadData(is, myDivsize);
437  loadData(is, myScale);
438 
439  return true;
440  }
441 
442  const UT_StringHolder & getGroup() const { return myGroup; }
443  void setGroup(const UT_StringHolder & val) { myGroup = val; }
445  {
446  SOP_Node *thissop = cookparms.getNode();
447  if (!thissop) return getGroup();
448  UT_StringHolder result;
449  OP_Utils::evalOpParm(result, thissop, "group", cookparms.getCookTime(), 0);
450  return result;
451  }
452  const UT_StringHolder & getFilter() const { return myFilter; }
453  void setFilter(const UT_StringHolder & val) { myFilter = val; }
455  {
456  SOP_Node *thissop = cookparms.getNode();
457  if (!thissop) return getFilter();
458  UT_StringHolder result;
459  OP_Utils::evalOpParm(result, thissop, "filter", cookparms.getCookTime(), 0);
460  return result;
461  }
462  fpreal64 getFilterscale() const { return myFilterscale; }
463  void setFilterscale(fpreal64 val) { myFilterscale = val; }
465  {
466  SOP_Node *thissop = cookparms.getNode();
467  if (!thissop) return getFilterscale();
468  fpreal64 result;
469  OP_Utils::evalOpParm(result, thissop, "filterscale", cookparms.getCookTime(), 0);
470  return result;
471  }
472  bool getFixedresample() const { return myFixedresample; }
473  void setFixedresample(bool val) { myFixedresample = val; }
474  bool opFixedresample(const SOP_NodeVerb::CookParms &cookparms) const
475  {
476  SOP_Node *thissop = cookparms.getNode();
477  if (!thissop) return getFixedresample();
478  bool result;
479  OP_Utils::evalOpParm(result, thissop, "fixedresample", cookparms.getCookTime(), 0);
480  return result;
481  }
482  Uniformsamples getUniformsamples() const { return Uniformsamples(myUniformsamples); }
483  void setUniformsamples(Uniformsamples val) { myUniformsamples = int64(val); }
485  {
486  SOP_Node *thissop = cookparms.getNode();
487  if (!thissop) return getUniformsamples();
488  int64 result;
489  OP_Utils::evalOpParm(result, thissop, "uniformsamples", cookparms.getCookTime(), 0);
490  return Uniformsamples(result);
491  }
492  int64 getSamplediv() const { return mySamplediv; }
493  void setSamplediv(int64 val) { mySamplediv = val; }
494  int64 opSamplediv(const SOP_NodeVerb::CookParms &cookparms) const
495  {
496  SOP_Node *thissop = cookparms.getNode();
497  if (!thissop) return getSamplediv();
498  int64 result;
499  OP_Utils::evalOpParm(result, thissop, "samplediv", cookparms.getCookTime(), 0);
500  return result;
501  }
502  UT_Vector3I getDivs() const { return myDivs; }
503  void setDivs(UT_Vector3I val) { myDivs = val; }
505  {
506  SOP_Node *thissop = cookparms.getNode();
507  if (!thissop) return getDivs();
508  UT_Vector3I result;
509  OP_Utils::evalOpParm(result, thissop, "divs", cookparms.getCookTime(), 0);
510  return result;
511  }
512  fpreal64 getDivsize() const { return myDivsize; }
513  void setDivsize(fpreal64 val) { myDivsize = val; }
515  {
516  SOP_Node *thissop = cookparms.getNode();
517  if (!thissop) return getDivsize();
518  fpreal64 result;
519  OP_Utils::evalOpParm(result, thissop, "divsize", cookparms.getCookTime(), 0);
520  return result;
521  }
522  fpreal64 getScale() const { return myScale; }
523  void setScale(fpreal64 val) { myScale = val; }
524  fpreal64 opScale(const SOP_NodeVerb::CookParms &cookparms) const
525  {
526  SOP_Node *thissop = cookparms.getNode();
527  if (!thissop) return getScale();
528  fpreal64 result;
529  OP_Utils::evalOpParm(result, thissop, "scale", cookparms.getCookTime(), 0);
530  return result;
531  }
532 
533 private:
534  UT_StringHolder myGroup;
535  UT_StringHolder myFilter;
536  fpreal64 myFilterscale;
537  bool myFixedresample;
538  int64 myUniformsamples;
539  int64 mySamplediv;
540  UT_Vector3I myDivs;
541  fpreal64 myDivsize;
542  fpreal64 myScale;
543 
544 };
virtual ParmType getParmType(exint fieldnum) const
static void loadData(UT_IStream &is, UT_Matrix3D &v)
static void saveData(std::ostream &os, UT_Vector3D v)
void setParmValue(exint idx, const PRM_DataItemHandle &value)
static void loadData(UT_IStream &is, UT_Vector2I &v)
void doSetParmValue(exint idx, const T &value)
static void loadData(UT_IStream &is, bool &v)
void setParmValue(exint idx, const UT_Vector2D &value)
SOP_Node * getNode() const
Definition: SOP_NodeVerb.h:492
T & z(void)
Definition: UT_Vector4.h:372
bool opFixedresample(const SOP_NodeVerb::CookParms &cookparms) const
UT_StringHolder opGroup(const SOP_NodeVerb::CookParms &cookparms) const
exint bread(int32 *buffer, exint asize=1)
fpreal getTime() const
Definition: OP_Context.h:34
const GLdouble * v
Definition: glcorearb.h:836
void getParmValue(exint idx, UT_Matrix3D &value) const
virtual void copyFrom(const SOP_NodeParms *src)
Uniformsamples opUniformsamples(const SOP_NodeVerb::CookParms &cookparms) const
virtual void loadFromOpSubclass(const LoadParms &loadparms)
T & x(void)
Definition: UT_Vector2.h:284
void setParmValue(exint idx, const fpreal &value)
UT_StringHolder opFilter(const SOP_NodeVerb::CookParms &cookparms) const
const UT_StringHolder & getGroup() const
An output stream object that owns its own string buffer storage.
void setParmValue(exint idx, const UT_StringHolder &value)
static void loadData(UT_IStream &is, UT_Vector3D &v)
const UT_WorkBuffer & str() const
Returns a read-only reference to the underlying UT_WorkBuffer.
static void saveData(std::ostream &os, UT_SharedPtr< UT_Ramp > s)
virtual const char * getParmName(exint fieldnum) const
UT_Vector3T< int64 > UT_Vector3I
SYS_FORCE_INLINE T & x(void)
Definition: UT_Vector3.h:581
static PRM_DataItemHandle parseBinary(const char *type, UT_IStream &is)
static void loadData(UT_IStream &is, UT_Vector4I &v)
Uniformsamples getUniformsamples() const
void getParmValue(exint idx, UT_Matrix2D &value) const
bool operator==(const SOP_VolumeResampleParms &src) const
void getParmValue(exint idx, exint &value) const
void setParmValue(exint idx, const UT_Matrix2D &value)
static void saveData(std::ostream &os, bool v)
void setUniformsamples(Uniformsamples val)
SYS_FORCE_INLINE T & z(void)
Definition: UT_Vector3.h:585
const UT_StringHolder & getFilter() const
void setParmValue(exint idx, const UT_Vector4D &value)
long long int64
Definition: SYS_Types.h:100
fpreal64 opDivsize(const SOP_NodeVerb::CookParms &cookparms) const
void save(std::ostream &os) const
void getParmValue(exint idx, fpreal &value) const
static void loadData(UT_IStream &is, UT_Vector2D &v)
static void saveData(std::ostream &os, fpreal64 v)
void setGroup(const UT_StringHolder &val)
static void saveData(std::ostream &os, UT_StringHolder s)
static void loadData(UT_IStream &is, UT_SharedPtr< UT_Ramp > &v)
exint length() const
char * findChar(int c) const
Find first occurrance of character. Returns NULL upon failure.
Definition: UT_String.h:550
SYS_FORCE_INLINE const char * buffer() const
void getParmValue(exint idx, PRM_DataItemHandle &value) const
int64 exint
Definition: SYS_Types.h:109
UT_Vector3I opDivs(const SOP_NodeVerb::CookParms &cookparms) const
static void saveData(std::ostream &os, UT_Matrix4D v)
const OP_Node * node() const
Definition: SOP_NodeVerb.h:104
double fpreal64
Definition: SYS_Types.h:185
void setParmValue(exint idx, const UT_Vector3D &value)
static void saveData(std::ostream &os, UT_Vector4D v)
fpreal64 opFilterscale(const SOP_NodeVerb::CookParms &cookparms) const
static void loadData(UT_IStream &is, UT_Vector4D &v)
static void saveData(std::ostream &os, UT_Vector2D v)
void getParmValue(exint idx, UT_SharedPtr< UT_Ramp > &value) const
GLboolean * data
Definition: glcorearb.h:130
void getParmValue(exint idx, UT_Vector2D &value) const
int int32
Definition: SYS_Types.h:28
T & y(void)
Definition: UT_Vector4.h:370
void doGetParmValue(exint idx, T &value) const
void saveBinary(std::ostream &os) const
Save string to binary stream.
Definition: UT_String.h:294
static void loadData(UT_IStream &is, UT_Matrix4D &v)
DEP_MicroNode * depnode() const
Definition: SOP_NodeVerb.h:111
static void loadData(UT_IStream &is, UT_StringHolder &v)
void buildFromOp(const OP_Node *node, fpreal time, DEP_MicroNode *depnode)
void setParmValue(exint idx, const exint &value)
SYS_FORCE_INLINE T & y(void)
Definition: UT_Vector3.h:583
GLsizei const GLfloat * value
Definition: glcorearb.h:823
static void saveData(std::ostream &os, UT_Matrix3D v)
double fpreal
Definition: SYS_Types.h:263
void strncpy(const char *src, exint maxlen)
static void loadData(UT_IStream &is, UT_Vector3I &v)
static void loadData(UT_IStream &is, int64 &v)
int64 opSamplediv(const SOP_NodeVerb::CookParms &cookparms) const
void getParmValue(exint idx, UT_Matrix4D &value) const
virtual exint getNumParms() const
void setParmValue(exint idx, const UT_Matrix3D &value)
Utility class for containing a color ramp.
Definition: UT_Ramp.h:84
static void loadData(UT_IStream &is, fpreal64 &v)
GLuint GLfloat * val
Definition: glcorearb.h:1607
Vec3< typename MatType::value_type > getScale(const MatType &mat)
Return a Vec3 representing the lengths of the passed matrix's upper 3x3's rows.
Definition: Mat.h:628
#define SOP_API
Definition: SOP_API.h:10
static void saveData(std::ostream &os, int64 v)
const char * buffer() const
static void saveData(std::ostream &os, PRM_DataItemHandle s)
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
#define SIZE
Definition: simple.C:40
T & y(void)
Definition: UT_Vector2.h:286
static void loadData(UT_IStream &is, PRM_DataItemHandle &v)
static void loadData(UT_IStream &is, UT_Matrix2D &v)
GLboolean r
Definition: glcorearb.h:1221
void setParmValue(exint idx, const UT_Matrix4D &value)
T & w(void)
Definition: UT_Vector4.h:374
static void saveData(std::ostream &os, UT_Matrix2D v)
void setParmValue(exint idx, const UT_SharedPtr< UT_Ramp > &value)
void getParmValue(exint idx, UT_StringHolder &value) const
const OP_Context & context() const
Definition: SOP_NodeVerb.h:109
void getParmValue(exint idx, UT_Vector3D &value) const
fpreal64 opScale(const SOP_NodeVerb::CookParms &cookparms) const
SYS_FORCE_INLINE bool isstring() const
void getParmValue(exint idx, UT_Vector4D &value) const
void setFilter(const UT_StringHolder &val)
GLenum src
Definition: glcorearb.h:1792