HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups 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  }
60  {
61  return !operator==(src);
62  }
63 
64 
65 
66  void buildFromOp(const OP_Node *node, fpreal time, DEP_MicroNode *depnode)
67  {
68  if (true)
69  OP_Utils::evalOpParm(myGroup, node, "group", time, 0);
70  else myGroup = ""_sh;
71  if (true)
72  OP_Utils::evalOpParm(myGoalgroup, node, "goalgroup", time, 0);
73  else myGoalgroup = ""_sh;
74  if (true)
75  OP_Utils::evalOpParm(myTolerance, node, "tolerance", time, 0);
76  else myTolerance = 1e-2;
77  if (true)
78  OP_Utils::evalOpParm(myWinradius, node, "winradius", time, 0);
79  else myWinradius = 7;
80  if (true)
81  OP_Utils::evalOpParm(myGaussian, node, "gaussian", time, 0);
82  else myGaussian = false;
83  if (true)
84  OP_Utils::evalOpParm(myLevels, node, "levels", time, 0);
85  else myLevels = 3;
86  if (true)
87  OP_Utils::evalOpParm(myPyramidscale, node, "pyramidscale", time, 0);
88  else myPyramidscale = 0.5;
89  if (true)
90  OP_Utils::evalOpParm(myIterations, node, "iterations", time, 0);
91  else myIterations = 3;
92  if (true)
93  OP_Utils::evalOpParm(myApproxradius, node, "approxradius", time, 0);
94  else myApproxradius = 2;
95 
96  }
97 
98 
99  virtual void loadFromOpSubclass(const LoadParms &loadparms)
100  {
101  buildFromOp(loadparms.node(), loadparms.context().getTime(), loadparms.depnode());
102  }
103 
104 
105  virtual void copyFrom(const SOP_NodeParms *src)
106  {
107  *this = *((const SOP_VolumeOpticalFlowParms *)src);
108  }
109 
110  template <typename T>
111  void
112  doGetParmValue(exint idx, T &value) const
113  {
114  switch (idx)
115  {
116  case 0:
117  coerceValue(value, myGroup);
118  break;
119  case 1:
120  coerceValue(value, myGoalgroup);
121  break;
122  case 2:
123  coerceValue(value, myTolerance);
124  break;
125  case 3:
126  coerceValue(value, myWinradius);
127  break;
128  case 4:
129  coerceValue(value, myGaussian);
130  break;
131  case 5:
132  coerceValue(value, myLevels);
133  break;
134  case 6:
135  coerceValue(value, myPyramidscale);
136  break;
137  case 7:
138  coerceValue(value, myIterations);
139  break;
140  case 8:
141  coerceValue(value, myApproxradius);
142  break;
143 
144  }
145  }
146 
147  void getParmValue(exint idx, exint &value) const
148  { doGetParmValue(idx, value); }
149  void getParmValue(exint idx, fpreal &value) const
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); }
168  { doGetParmValue(idx, value); }
169 
170  template <typename T>
171  void
172  doSetParmValue(exint idx, const T &value)
173  {
174  switch (idx)
175  {
176  case 0:
177  coerceValue(myGroup, value);
178  break;
179  case 1:
180  coerceValue(myGoalgroup, value);
181  break;
182  case 2:
183  coerceValue(myTolerance, value);
184  break;
185  case 3:
186  coerceValue(myWinradius, value);
187  break;
188  case 4:
189  coerceValue(myGaussian, value);
190  break;
191  case 5:
192  coerceValue(myLevels, value);
193  break;
194  case 6:
195  coerceValue(myPyramidscale, value);
196  break;
197  case 7:
198  coerceValue(myIterations, value);
199  break;
200  case 8:
201  coerceValue(myApproxradius, value);
202  break;
203 
204  }
205  }
206 
207  void setParmValue(exint idx, const exint &value)
208  { doSetParmValue(idx, value); }
209  void setParmValue(exint idx, const fpreal &value)
210  { doSetParmValue(idx, value); }
211  void setParmValue(exint idx, const UT_Vector2D &value)
212  { doSetParmValue(idx, value); }
213  void setParmValue(exint idx, const UT_Vector3D &value)
214  { doSetParmValue(idx, value); }
215  void setParmValue(exint idx, const UT_Vector4D &value)
216  { doSetParmValue(idx, value); }
217  void setParmValue(exint idx, const UT_Matrix2D &value)
218  { doSetParmValue(idx, value); }
219  void setParmValue(exint idx, const UT_Matrix3D &value)
220  { doSetParmValue(idx, value); }
221  void setParmValue(exint idx, const UT_Matrix4D &value)
222  { doSetParmValue(idx, value); }
224  { doSetParmValue(idx, value); }
226  { doSetParmValue(idx, value); }
228  { doSetParmValue(idx, value); }
229 
230  virtual exint getNumParms() const
231  {
232  return 9;
233  }
234 
235  virtual const char *getParmName(exint fieldnum) const
236  {
237  switch (fieldnum)
238  {
239  case 0:
240  return "group";
241  case 1:
242  return "goalgroup";
243  case 2:
244  return "tolerance";
245  case 3:
246  return "winradius";
247  case 4:
248  return "gaussian";
249  case 5:
250  return "levels";
251  case 6:
252  return "pyramidscale";
253  case 7:
254  return "iterations";
255  case 8:
256  return "approxradius";
257 
258  }
259  return 0;
260  }
261 
262  virtual ParmType getParmType(exint fieldnum) const
263  {
264  switch (fieldnum)
265  {
266  case 0:
267  return PARM_STRING;
268  case 1:
269  return PARM_STRING;
270  case 2:
271  return PARM_FLOAT;
272  case 3:
273  return PARM_INTEGER;
274  case 4:
275  return PARM_INTEGER;
276  case 5:
277  return PARM_INTEGER;
278  case 6:
279  return PARM_FLOAT;
280  case 7:
281  return PARM_INTEGER;
282  case 8:
283  return PARM_FLOAT;
284 
285  }
286  return PARM_UNSUPPORTED;
287  }
288 
289  // Boiler plate to load individual types.
290  static void loadData(UT_IStream &is, int64 &v)
291  { is.bread(&v, 1); }
292  static void loadData(UT_IStream &is, bool &v)
293  { int64 iv; is.bread(&iv, 1); v = iv; }
294  static void loadData(UT_IStream &is, fpreal64 &v)
295  { is.bread<fpreal64>(&v, 1); }
296  static void loadData(UT_IStream &is, UT_Vector2D &v)
297  { is.bread<fpreal64>(&v.x(), 1); is.bread<fpreal64>(&v.y(), 1); }
298  static void loadData(UT_IStream &is, UT_Vector3D &v)
299  { is.bread<fpreal64>(&v.x(), 1); is.bread<fpreal64>(&v.y(), 1);
300  is.bread<fpreal64>(&v.z(), 1); }
301  static void loadData(UT_IStream &is, UT_Vector4D &v)
302  { is.bread<fpreal64>(&v.x(), 1); is.bread<fpreal64>(&v.y(), 1);
303  is.bread<fpreal64>(&v.z(), 1); is.bread<fpreal64>(&v.w(), 1); }
304  static void loadData(UT_IStream &is, UT_Matrix2D &v)
305  { for (int r = 0; r < 2; r++) for (int c = 0; c < 2; c++) is.bread<fpreal64>(&v(r, c), 1); }
306  static void loadData(UT_IStream &is, UT_Matrix3D &v)
307  { for (int r = 0; r < 3; r++) for (int c = 0; c < 3; c++) is.bread<fpreal64>(&v(r, c), 1); }
308  static void loadData(UT_IStream &is, UT_Matrix4D &v)
309  { for (int r = 0; r < 4; r++) for (int c = 0; c < 4; c++) is.bread<fpreal64>(&v(r, c), 1); }
310  static void loadData(UT_IStream &is, UT_Vector2I &v)
311  { is.bread<int64>(&v.x(), 1); is.bread<int64>(&v.y(), 1); }
312  static void loadData(UT_IStream &is, UT_Vector3I &v)
313  { is.bread<int64>(&v.x(), 1); is.bread<int64>(&v.y(), 1);
314  is.bread<int64>(&v.z(), 1); }
315  static void loadData(UT_IStream &is, UT_Vector4I &v)
316  { is.bread<int64>(&v.x(), 1); is.bread<int64>(&v.y(), 1);
317  is.bread<int64>(&v.z(), 1); is.bread<int64>(&v.w(), 1); }
319  { is.bread(v); }
321  { UT_StringHolder rampdata;
322  loadData(is, rampdata);
323  if (rampdata.isstring())
324  {
325  v.reset(new UT_Ramp());
326  UT_IStream istr((const char *) rampdata, rampdata.length(), UT_ISTREAM_ASCII);
327  v->load(istr);
328  }
329  else v.reset();
330  }
333  loadData(is, data);
334  if (data.isstring())
335  {
336  // Find the data type.
337  char *colon = UT_StringWrap(data).findChar(':');
338  if (colon)
339  {
340  int typelen = colon - data.buffer();
342  type.strncpy(data.buffer(), typelen);
343  UT_IStream istr(((const char *) data) + typelen + 1, data.length() - (typelen + 1), UT_ISTREAM_BINARY);
344 
345  v = PRM_DataFactory::parseBinary(type.buffer(), istr);
346  }
347  }
348  else v.reset();
349  }
350 
351  static void saveData(std::ostream &os, int64 v)
352  { UTwrite(os, &v); }
353  static void saveData(std::ostream &os, bool v)
354  { int64 iv = v; UTwrite(os, &iv); }
355  static void saveData(std::ostream &os, fpreal64 v)
356  { UTwrite<fpreal64>(os, &v); }
357  static void saveData(std::ostream &os, UT_Vector2D v)
358  { UTwrite<fpreal64>(os, &v.x()); UTwrite<fpreal64>(os, &v.y()); }
359  static void saveData(std::ostream &os, UT_Vector3D v)
360  { UTwrite<fpreal64>(os, &v.x()); UTwrite<fpreal64>(os, &v.y());
361  UTwrite<fpreal64>(os, &v.z()); }
362  static void saveData(std::ostream &os, UT_Vector4D v)
363  { UTwrite<fpreal64>(os, &v.x()); UTwrite<fpreal64>(os, &v.y());
364  UTwrite<fpreal64>(os, &v.z()); UTwrite<fpreal64>(os, &v.w()); }
365  static void saveData(std::ostream &os, UT_Matrix2D v)
367  static void saveData(std::ostream &os, UT_Matrix3D v)
369  static void saveData(std::ostream &os, UT_Matrix4D v)
371  static void saveData(std::ostream &os, UT_StringHolder s)
372  { UT_StringWrap(s).saveBinary(os); }
373  static void saveData(std::ostream &os, UT_SharedPtr<UT_Ramp> s)
374  { UT_StringHolder result;
375  UT_OStringStream ostr;
376  if (s) s->save(ostr);
377  result = ostr.str();
378  saveData(os, result);
379  }
380  static void saveData(std::ostream &os, PRM_DataItemHandle s)
381  { UT_StringHolder result;
382  UT_OStringStream ostr;
383  if (s)
384  {
385  ostr << s->getDataTypeToken();
386  ostr << ":";
387  s->saveBinary(ostr);
388  }
389  result = ostr.str();
390  saveData(os, result);
391  }
392 
393 
394  void save(std::ostream &os) const
395  {
396  int32 v = version();
397  UTwrite(os, &v);
398  saveData(os, myGroup);
399  saveData(os, myGoalgroup);
400  saveData(os, myTolerance);
401  saveData(os, myWinradius);
402  saveData(os, myGaussian);
403  saveData(os, myLevels);
404  saveData(os, myPyramidscale);
405  saveData(os, myIterations);
406  saveData(os, myApproxradius);
407 
408  }
409 
410  bool load(UT_IStream &is)
411  {
412  int32 v;
413  is.bread(&v, 1);
414  if (version() != v)
415  {
416  // Fail incompatible versions
417  return false;
418  }
419  loadData(is, myGroup);
420  loadData(is, myGoalgroup);
421  loadData(is, myTolerance);
422  loadData(is, myWinradius);
423  loadData(is, myGaussian);
424  loadData(is, myLevels);
425  loadData(is, myPyramidscale);
426  loadData(is, myIterations);
427  loadData(is, myApproxradius);
428 
429  return true;
430  }
431 
432  const UT_StringHolder & getGroup() const { return myGroup; }
433  void setGroup(const UT_StringHolder & val) { myGroup = val; }
435  {
436  SOP_Node *thissop = cookparms.getNode();
437  if (!thissop) return getGroup();
438  UT_StringHolder result;
439  OP_Utils::evalOpParm(result, thissop, "group", cookparms.getCookTime(), 0);
440  return result;
441  }
442  const UT_StringHolder & getGoalgroup() const { return myGoalgroup; }
443  void setGoalgroup(const UT_StringHolder & val) { myGoalgroup = val; }
445  {
446  SOP_Node *thissop = cookparms.getNode();
447  if (!thissop) return getGoalgroup();
448  UT_StringHolder result;
449  OP_Utils::evalOpParm(result, thissop, "goalgroup", cookparms.getCookTime(), 0);
450  return result;
451  }
452  fpreal64 getTolerance() const { return myTolerance; }
453  void setTolerance(fpreal64 val) { myTolerance = val; }
455  {
456  SOP_Node *thissop = cookparms.getNode();
457  if (!thissop) return getTolerance();
458  fpreal64 result;
459  OP_Utils::evalOpParm(result, thissop, "tolerance", cookparms.getCookTime(), 0);
460  return result;
461  }
462  int64 getWinradius() const { return myWinradius; }
463  void setWinradius(int64 val) { myWinradius = val; }
464  int64 opWinradius(const SOP_NodeVerb::CookParms &cookparms) const
465  {
466  SOP_Node *thissop = cookparms.getNode();
467  if (!thissop) return getWinradius();
468  int64 result;
469  OP_Utils::evalOpParm(result, thissop, "winradius", cookparms.getCookTime(), 0);
470  return result;
471  }
472  bool getGaussian() const { return myGaussian; }
473  void setGaussian(bool val) { myGaussian = val; }
474  bool opGaussian(const SOP_NodeVerb::CookParms &cookparms) const
475  {
476  SOP_Node *thissop = cookparms.getNode();
477  if (!thissop) return getGaussian();
478  bool result;
479  OP_Utils::evalOpParm(result, thissop, "gaussian", cookparms.getCookTime(), 0);
480  return result;
481  }
482  int64 getLevels() const { return myLevels; }
483  void setLevels(int64 val) { myLevels = val; }
484  int64 opLevels(const SOP_NodeVerb::CookParms &cookparms) const
485  {
486  SOP_Node *thissop = cookparms.getNode();
487  if (!thissop) return getLevels();
488  int64 result;
489  OP_Utils::evalOpParm(result, thissop, "levels", cookparms.getCookTime(), 0);
490  return result;
491  }
492  fpreal64 getPyramidscale() const { return myPyramidscale; }
493  void setPyramidscale(fpreal64 val) { myPyramidscale = val; }
495  {
496  SOP_Node *thissop = cookparms.getNode();
497  if (!thissop) return getPyramidscale();
498  fpreal64 result;
499  OP_Utils::evalOpParm(result, thissop, "pyramidscale", cookparms.getCookTime(), 0);
500  return result;
501  }
502  int64 getIterations() const { return myIterations; }
503  void setIterations(int64 val) { myIterations = val; }
505  {
506  SOP_Node *thissop = cookparms.getNode();
507  if (!thissop) return getIterations();
508  int64 result;
509  OP_Utils::evalOpParm(result, thissop, "iterations", cookparms.getCookTime(), 0);
510  return result;
511  }
512  fpreal64 getApproxradius() const { return myApproxradius; }
513  void setApproxradius(fpreal64 val) { myApproxradius = val; }
515  {
516  SOP_Node *thissop = cookparms.getNode();
517  if (!thissop) return getApproxradius();
518  fpreal64 result;
519  OP_Utils::evalOpParm(result, thissop, "approxradius", cookparms.getCookTime(), 0);
520  return result;
521  }
522 
523 private:
524  UT_StringHolder myGroup;
525  UT_StringHolder myGoalgroup;
526  fpreal64 myTolerance;
527  int64 myWinradius;
528  bool myGaussian;
529  int64 myLevels;
530  fpreal64 myPyramidscale;
531  int64 myIterations;
532  fpreal64 myApproxradius;
533 
534 };
fpreal64 opTolerance(const SOP_NodeVerb::CookParms &cookparms) const
SOP_Node * getNode() const
Definition: SOP_NodeVerb.h:494
T & z(void)
Definition: UT_Vector4.h:379
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)
GT_API const UT_StringHolder time
fpreal getTime() const
Definition: OP_Context.h:60
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)
SYS_FORCE_INLINE const char * buffer() const
T & x(void)
Definition: UT_Vector2.h:285
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:498
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:502
void setParmValue(exint idx, const UT_Matrix2D &value)
bool operator==(const BaseDimensions< T > &a, const BaseDimensions< Y > &b)
Definition: Dimensions.h:137
long long int64
Definition: SYS_Types.h:107
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
std::shared_ptr< T > UT_SharedPtr
Wrapper around std::shared_ptr.
Definition: UT_SharedPtr.h:28
int64 exint
Definition: SYS_Types.h:116
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:192
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:35
T & y(void)
Definition: UT_Vector4.h:377
static void loadData(UT_IStream &is, PRM_DataItemHandle &v)
void setParmValue(exint idx, const UT_Vector4D &value)
bool operator!=(const SOP_VolumeOpticalFlowParms &src) const
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)
GT_API const UT_StringHolder version
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:500
GLsizei const GLfloat * value
Definition: glcorearb.h:823
double fpreal
Definition: SYS_Types.h:270
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
GLint GLint GLsizei GLint GLenum GLenum type
Definition: glcorearb.h:107
fpreal getCookTime() const
Definition: SOP_NodeVerb.h:501
T & x(void)
Definition: UT_Vector4.h:375
void getParmValue(exint idx, fpreal &value) const
void setGroup(const UT_StringHolder &val)
T & y(void)
Definition: UT_Vector2.h:287
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:381
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
UT_SharedPtr< const PRM_DataItem > PRM_DataItemHandle
Definition: PRM_Parm.h:88
static void saveData(std::ostream &os, UT_Matrix3D v)
SYS_FORCE_INLINE bool isstring() const
SYS_FORCE_INLINE void strncpy(const char *src, exint maxlen)
int64 opWinradius(const SOP_NodeVerb::CookParms &cookparms) const
static void saveData(std::ostream &os, fpreal64 v)
GLenum src
Definition: glcorearb.h:1792