HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SOP_VolumeOpticalFlow.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  myGoalgroup = ""_sh;
31  myTolerance = 1e-2;
32  myWinradius = 7;
33  myGaussian = false;
34  myLevels = 3;
35  myPyramidscale = 0.5;
36  myIterations = 3;
37  myApproxradius = 2;
38 
39  }
40 
41  explicit SOP_VolumeOpticalFlowParms(const SOP_VolumeOpticalFlowParms &) = default;
42 
44 
46  {
47  if (myGroup != src.myGroup) return false;
48  if (myGoalgroup != src.myGoalgroup) return false;
49  if (myTolerance != src.myTolerance) return false;
50  if (myWinradius != src.myWinradius) return false;
51  if (myGaussian != src.myGaussian) return false;
52  if (myLevels != src.myLevels) return false;
53  if (myPyramidscale != src.myPyramidscale) return false;
54  if (myIterations != src.myIterations) return false;
55  if (myApproxradius != src.myApproxradius) 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(myGroup, node, "group", time, 0);
66  else myGroup = ""_sh;
67  if (true)
68  OP_Utils::evalOpParm(myGoalgroup, node, "goalgroup", time, 0);
69  else myGoalgroup = ""_sh;
70  if (true)
71  OP_Utils::evalOpParm(myTolerance, node, "tolerance", time, 0);
72  else myTolerance = 1e-2;
73  if (true)
74  OP_Utils::evalOpParm(myWinradius, node, "winradius", time, 0);
75  else myWinradius = 7;
76  if (true)
77  OP_Utils::evalOpParm(myGaussian, node, "gaussian", time, 0);
78  else myGaussian = false;
79  if (true)
80  OP_Utils::evalOpParm(myLevels, node, "levels", time, 0);
81  else myLevels = 3;
82  if (true)
83  OP_Utils::evalOpParm(myPyramidscale, node, "pyramidscale", time, 0);
84  else myPyramidscale = 0.5;
85  if (true)
86  OP_Utils::evalOpParm(myIterations, node, "iterations", time, 0);
87  else myIterations = 3;
88  if (true)
89  OP_Utils::evalOpParm(myApproxradius, node, "approxradius", time, 0);
90  else myApproxradius = 2;
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_VolumeOpticalFlowParms *)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, myGroup);
114  break;
115  case 1:
116  coerceValue(value, myGoalgroup);
117  break;
118  case 2:
119  coerceValue(value, myTolerance);
120  break;
121  case 3:
122  coerceValue(value, myWinradius);
123  break;
124  case 4:
125  coerceValue(value, myGaussian);
126  break;
127  case 5:
128  coerceValue(value, myLevels);
129  break;
130  case 6:
131  coerceValue(value, myPyramidscale);
132  break;
133  case 7:
134  coerceValue(value, myIterations);
135  break;
136  case 8:
137  coerceValue(value, myApproxradius);
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(myGroup, value);
174  break;
175  case 1:
176  coerceValue(myGoalgroup, value);
177  break;
178  case 2:
179  coerceValue(myTolerance, value);
180  break;
181  case 3:
182  coerceValue(myWinradius, value);
183  break;
184  case 4:
185  coerceValue(myGaussian, value);
186  break;
187  case 5:
188  coerceValue(myLevels, value);
189  break;
190  case 6:
191  coerceValue(myPyramidscale, value);
192  break;
193  case 7:
194  coerceValue(myIterations, value);
195  break;
196  case 8:
197  coerceValue(myApproxradius, 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 "group";
237  case 1:
238  return "goalgroup";
239  case 2:
240  return "tolerance";
241  case 3:
242  return "winradius";
243  case 4:
244  return "gaussian";
245  case 5:
246  return "levels";
247  case 6:
248  return "pyramidscale";
249  case 7:
250  return "iterations";
251  case 8:
252  return "approxradius";
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_FLOAT;
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_FLOAT;
276  case 7:
277  return PARM_INTEGER;
278  case 8:
279  return PARM_FLOAT;
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, myGroup);
395  saveData(os, myGoalgroup);
396  saveData(os, myTolerance);
397  saveData(os, myWinradius);
398  saveData(os, myGaussian);
399  saveData(os, myLevels);
400  saveData(os, myPyramidscale);
401  saveData(os, myIterations);
402  saveData(os, myApproxradius);
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, myGroup);
416  loadData(is, myGoalgroup);
417  loadData(is, myTolerance);
418  loadData(is, myWinradius);
419  loadData(is, myGaussian);
420  loadData(is, myLevels);
421  loadData(is, myPyramidscale);
422  loadData(is, myIterations);
423  loadData(is, myApproxradius);
424 
425  return true;
426  }
427 
428  const UT_StringHolder & getGroup() const { return myGroup; }
429  void setGroup(const UT_StringHolder & val) { myGroup = val; }
431  {
432  SOP_Node *thissop = cookparms.getNode();
433  if (!thissop) return getGroup();
434  UT_StringHolder result;
435  OP_Utils::evalOpParm(result, thissop, "group", cookparms.getCookTime(), 0);
436  return result;
437  }
438  const UT_StringHolder & getGoalgroup() const { return myGoalgroup; }
439  void setGoalgroup(const UT_StringHolder & val) { myGoalgroup = val; }
441  {
442  SOP_Node *thissop = cookparms.getNode();
443  if (!thissop) return getGoalgroup();
444  UT_StringHolder result;
445  OP_Utils::evalOpParm(result, thissop, "goalgroup", cookparms.getCookTime(), 0);
446  return result;
447  }
448  fpreal64 getTolerance() const { return myTolerance; }
449  void setTolerance(fpreal64 val) { myTolerance = val; }
451  {
452  SOP_Node *thissop = cookparms.getNode();
453  if (!thissop) return getTolerance();
454  fpreal64 result;
455  OP_Utils::evalOpParm(result, thissop, "tolerance", cookparms.getCookTime(), 0);
456  return result;
457  }
458  int64 getWinradius() const { return myWinradius; }
459  void setWinradius(int64 val) { myWinradius = val; }
460  int64 opWinradius(const SOP_NodeVerb::CookParms &cookparms) const
461  {
462  SOP_Node *thissop = cookparms.getNode();
463  if (!thissop) return getWinradius();
464  int64 result;
465  OP_Utils::evalOpParm(result, thissop, "winradius", cookparms.getCookTime(), 0);
466  return result;
467  }
468  bool getGaussian() const { return myGaussian; }
469  void setGaussian(bool val) { myGaussian = val; }
470  bool opGaussian(const SOP_NodeVerb::CookParms &cookparms) const
471  {
472  SOP_Node *thissop = cookparms.getNode();
473  if (!thissop) return getGaussian();
474  bool result;
475  OP_Utils::evalOpParm(result, thissop, "gaussian", cookparms.getCookTime(), 0);
476  return result;
477  }
478  int64 getLevels() const { return myLevels; }
479  void setLevels(int64 val) { myLevels = val; }
480  int64 opLevels(const SOP_NodeVerb::CookParms &cookparms) const
481  {
482  SOP_Node *thissop = cookparms.getNode();
483  if (!thissop) return getLevels();
484  int64 result;
485  OP_Utils::evalOpParm(result, thissop, "levels", cookparms.getCookTime(), 0);
486  return result;
487  }
488  fpreal64 getPyramidscale() const { return myPyramidscale; }
489  void setPyramidscale(fpreal64 val) { myPyramidscale = val; }
491  {
492  SOP_Node *thissop = cookparms.getNode();
493  if (!thissop) return getPyramidscale();
494  fpreal64 result;
495  OP_Utils::evalOpParm(result, thissop, "pyramidscale", cookparms.getCookTime(), 0);
496  return result;
497  }
498  int64 getIterations() const { return myIterations; }
499  void setIterations(int64 val) { myIterations = val; }
501  {
502  SOP_Node *thissop = cookparms.getNode();
503  if (!thissop) return getIterations();
504  int64 result;
505  OP_Utils::evalOpParm(result, thissop, "iterations", cookparms.getCookTime(), 0);
506  return result;
507  }
508  fpreal64 getApproxradius() const { return myApproxradius; }
509  void setApproxradius(fpreal64 val) { myApproxradius = val; }
511  {
512  SOP_Node *thissop = cookparms.getNode();
513  if (!thissop) return getApproxradius();
514  fpreal64 result;
515  OP_Utils::evalOpParm(result, thissop, "approxradius", cookparms.getCookTime(), 0);
516  return result;
517  }
518 
519 private:
520  UT_StringHolder myGroup;
521  UT_StringHolder myGoalgroup;
522  fpreal64 myTolerance;
523  int64 myWinradius;
524  bool myGaussian;
525  int64 myLevels;
526  fpreal64 myPyramidscale;
527  int64 myIterations;
528  fpreal64 myApproxradius;
529 
530 };
fpreal64 opTolerance(const SOP_NodeVerb::CookParms &cookparms) 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_Matrix4D v)
const UT_StringHolder & getGoalgroup() const
UT_StringHolder opGoalgroup(const SOP_NodeVerb::CookParms &cookparms) const
void getParmValue(exint idx, PRM_DataItemHandle &value) const
exint bread(int32 *buffer, exint asize=1)
static void saveData(std::ostream &os, UT_StringHolder s)
fpreal getTime() const
Definition: OP_Context.h:34
const GLdouble * v
Definition: glcorearb.h:836
static void saveData(std::ostream &os, UT_Vector4D v)
void getParmValue(exint idx, exint &value) const
int64 opIterations(const SOP_NodeVerb::CookParms &cookparms) const
void getParmValue(exint idx, UT_StringHolder &value) const
void save(std::ostream &os) const
virtual void copyFrom(const SOP_NodeParms *src)
virtual void loadFromOpSubclass(const LoadParms &loadparms)
T & x(void)
Definition: UT_Vector2.h:284
void setParmValue(exint idx, const UT_Matrix3D &value)
static void loadData(UT_IStream &is, UT_Vector4I &v)
static void saveData(std::ostream &os, int64 v)
An output stream object that owns its own string buffer storage.
static void loadData(UT_IStream &is, UT_Vector4D &v)
virtual const char * getParmName(exint fieldnum) const
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, fpreal64 &v)
static void loadData(UT_IStream &is, UT_Matrix2D &v)
static PRM_DataItemHandle parseBinary(const char *type, UT_IStream &is)
static void loadData(UT_IStream &is, UT_StringHolder &v)
void setParmValue(exint idx, const PRM_DataItemHandle &value)
SYS_FORCE_INLINE T & z(void)
Definition: UT_Vector3.h:585
void setParmValue(exint idx, const UT_Matrix2D &value)
long long int64
Definition: SYS_Types.h:100
int64 opLevels(const SOP_NodeVerb::CookParms &cookparms) const
static void saveData(std::ostream &os, PRM_DataItemHandle s)
static void saveData(std::ostream &os, UT_Vector3D v)
exint length() const
const UT_StringHolder & getGroup() 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, UT_Vector2D v)
void setParmValue(exint idx, const exint &value)
SYS_FORCE_INLINE const char * buffer() const
int64 exint
Definition: SYS_Types.h:109
void setParmValue(exint idx, const UT_Matrix4D &value)
const OP_Node * node() const
Definition: SOP_NodeVerb.h:104
void setParmValue(exint idx, const UT_StringHolder &value)
double fpreal64
Definition: SYS_Types.h:185
void setGoalgroup(const UT_StringHolder &val)
static void loadData(UT_IStream &is, UT_Vector2D &v)
static void loadData(UT_IStream &is, int64 &v)
void getParmValue(exint idx, UT_Vector3D &value) const
static void loadData(UT_IStream &is, UT_Matrix4D &v)
static void saveData(std::ostream &os, UT_SharedPtr< UT_Ramp > s)
UT_StringHolder opGroup(const SOP_NodeVerb::CookParms &cookparms) const
fpreal64 opPyramidscale(const SOP_NodeVerb::CookParms &cookparms) const
GLboolean * data
Definition: glcorearb.h:130
void getParmValue(exint idx, UT_Vector2D &value) const
static void loadData(UT_IStream &is, UT_Vector2I &v)
int int32
Definition: SYS_Types.h:28
T & y(void)
Definition: UT_Vector4.h:370
static void loadData(UT_IStream &is, PRM_DataItemHandle &v)
void setParmValue(exint idx, const UT_Vector4D &value)
static void loadData(UT_IStream &is, UT_Matrix3D &v)
static void loadData(UT_IStream &is, UT_Vector3I &v)
void saveBinary(std::ostream &os) const
Save string to binary stream.
Definition: UT_String.h:294
void setParmValue(exint idx, const UT_SharedPtr< UT_Ramp > &value)
void doSetParmValue(exint idx, const T &value)
DEP_MicroNode * depnode() const
Definition: SOP_NodeVerb.h:111
void doGetParmValue(exint idx, T &value) const
virtual ParmType getParmType(exint fieldnum) const
void setParmValue(exint idx, const fpreal &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
void strncpy(const char *src, exint maxlen)
static void saveData(std::ostream &os, bool v)
static void loadData(UT_IStream &is, bool &v)
fpreal64 opApproxradius(const SOP_NodeVerb::CookParms &cookparms) const
static void saveData(std::ostream &os, UT_Matrix2D v)
void getParmValue(exint idx, UT_Vector4D &value) const
Utility class for containing a color ramp.
Definition: UT_Ramp.h:84
static void loadData(UT_IStream &is, UT_Vector3D &v)
void setParmValue(exint idx, const UT_Vector2D &value)
GLuint GLfloat * val
Definition: glcorearb.h:1607
#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
T & x(void)
Definition: UT_Vector4.h:368
void getParmValue(exint idx, fpreal &value) const
void setGroup(const UT_StringHolder &val)
T & y(void)
Definition: UT_Vector2.h:286
void buildFromOp(const OP_Node *node, fpreal time, DEP_MicroNode *depnode)
bool opGaussian(const SOP_NodeVerb::CookParms &cookparms) const
GLboolean r
Definition: glcorearb.h:1221
static void loadData(UT_IStream &is, UT_SharedPtr< UT_Ramp > &v)
void getParmValue(exint idx, UT_SharedPtr< UT_Ramp > &value) const
T & w(void)
Definition: UT_Vector4.h:374
bool operator==(const SOP_VolumeOpticalFlowParms &src) const
void getParmValue(exint idx, UT_Matrix4D &value) const
void getParmValue(exint idx, UT_Matrix2D &value) const
void getParmValue(exint idx, UT_Matrix3D &value) const
void setParmValue(exint idx, const UT_Vector3D &value)
const OP_Context & context() const
Definition: SOP_NodeVerb.h:109
static void saveData(std::ostream &os, UT_Matrix3D v)
SYS_FORCE_INLINE bool isstring() const
int64 opWinradius(const SOP_NodeVerb::CookParms &cookparms) const
static void saveData(std::ostream &os, fpreal64 v)
GLenum src
Definition: glcorearb.h:1792