HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SOP_VolumeBlur.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_VolumeBlurEnums
22 {
23  enum class Reduction
24  {
25  MAX = 0,
26  MIN,
27  MAXABS,
28  MINABS,
29  AVERAGE,
30  MEDIAN,
31  SUM,
32  SUMABS,
33  SUMSQUARE,
34  RMS
35  };
36  enum class Bordertype
37  {
38  NONE = 0,
39  CONSTANT,
40  REPEAT,
41  STREAK
42  };
43 }
44 
45 
47 {
48 public:
49  static int version() { return 1; }
50 
52  {
53  myGroup = ""_sh;
54  myUsevoxelradius = false;
55  myRadius = 1;
56  myVoxelradius = UT_Vector3D(1,1,1);
57  myReduction = 4;
58  myPasses = 1;
59  myBordertype = 0;
60  myBorderval = 0;
61 
62  }
63 
64  explicit SOP_VolumeBlurParms(const SOP_VolumeBlurParms &) = default;
65 
66  virtual ~SOP_VolumeBlurParms() {}
67 
68  bool operator==(const SOP_VolumeBlurParms &src) const
69  {
70  if (myGroup != src.myGroup) return false;
71  if (myUsevoxelradius != src.myUsevoxelradius) return false;
72  if (myRadius != src.myRadius) return false;
73  if (myVoxelradius != src.myVoxelradius) return false;
74  if (myReduction != src.myReduction) return false;
75  if (myPasses != src.myPasses) return false;
76  if (myBordertype != src.myBordertype) return false;
77  if (myBorderval != src.myBorderval) return false;
78 
79  return true;
80  }
81  bool operator!=(const SOP_VolumeBlurParms &src) const
82  {
83  return !operator==(src);
84  }
87 
88 
89 
90  void buildFromOp(const OP_Node *node, fpreal time, DEP_MicroNode *depnode)
91  {
92  if (true)
93  OP_Utils::evalOpParm(myGroup, node, "group", time, 0);
94  else myGroup = ""_sh;
95  if (true)
96  OP_Utils::evalOpParm(myUsevoxelradius, node, "usevoxelradius", time, 0);
97  else myUsevoxelradius = false;
98  if (true && ( (!(((getUsevoxelradius()==1)))) ) )
99  OP_Utils::evalOpParm(myRadius, node, "radius", time, 0);
100  else myRadius = 1;
101  if (true && ( (!(((getUsevoxelradius()==0)))) ) )
102  OP_Utils::evalOpParm(myVoxelradius, node, "voxelradius", time, 0);
103  else myVoxelradius = UT_Vector3D(1,1,1);
104  if (true)
105  OP_Utils::evalOpParm(myReduction, node, "reduction", time, 0);
106  else myReduction = 4;
107  if (true)
108  OP_Utils::evalOpParm(myPasses, node, "passes", time, 0);
109  else myPasses = 1;
110  if (true)
111  OP_Utils::evalOpParm(myBordertype, node, "bordertype", time, 0);
112  else myBordertype = 0;
113  if (true && ( (!(((int64(getBordertype())==0)))) ) )
114  OP_Utils::evalOpParm(myBorderval, node, "borderval", time, 0);
115  else myBorderval = 0;
116 
117  }
118 
119 
120  virtual void loadFromOpSubclass(const LoadParms &loadparms)
121  {
122  buildFromOp(loadparms.node(), loadparms.context().getTime(), loadparms.depnode());
123  }
124 
125 
126  virtual void copyFrom(const SOP_NodeParms *src)
127  {
128  *this = *((const SOP_VolumeBlurParms *)src);
129  }
130 
131  template <typename T>
132  void
133  doGetParmValue(exint idx, T &value) const
134  {
135  switch (idx)
136  {
137  case 0:
138  coerceValue(value, myGroup);
139  break;
140  case 1:
141  coerceValue(value, myUsevoxelradius);
142  break;
143  case 2:
144  coerceValue(value, myRadius);
145  break;
146  case 3:
147  coerceValue(value, myVoxelradius);
148  break;
149  case 4:
150  coerceValue(value, myReduction);
151  break;
152  case 5:
153  coerceValue(value, myPasses);
154  break;
155  case 6:
156  coerceValue(value, myBordertype);
157  break;
158  case 7:
159  coerceValue(value, myBorderval);
160  break;
161 
162  }
163  }
164 
165  void getParmValue(exint idx, exint &value) const
166  { doGetParmValue(idx, value); }
167  void getParmValue(exint idx, fpreal &value) const
168  { doGetParmValue(idx, value); }
170  { doGetParmValue(idx, value); }
172  { doGetParmValue(idx, value); }
174  { doGetParmValue(idx, value); }
176  { doGetParmValue(idx, value); }
178  { doGetParmValue(idx, value); }
180  { doGetParmValue(idx, value); }
182  { doGetParmValue(idx, value); }
184  { doGetParmValue(idx, value); }
186  { doGetParmValue(idx, value); }
187 
188  template <typename T>
189  void
190  doSetParmValue(exint idx, const T &value)
191  {
192  switch (idx)
193  {
194  case 0:
195  coerceValue(myGroup, value);
196  break;
197  case 1:
198  coerceValue(myUsevoxelradius, value);
199  break;
200  case 2:
201  coerceValue(myRadius, value);
202  break;
203  case 3:
204  coerceValue(myVoxelradius, value);
205  break;
206  case 4:
207  coerceValue(myReduction, value);
208  break;
209  case 5:
210  coerceValue(myPasses, value);
211  break;
212  case 6:
213  coerceValue(myBordertype, value);
214  break;
215  case 7:
216  coerceValue(myBorderval, value);
217  break;
218 
219  }
220  }
221 
222  void setParmValue(exint idx, const exint &value)
223  { doSetParmValue(idx, value); }
224  void setParmValue(exint idx, const fpreal &value)
225  { doSetParmValue(idx, value); }
226  void setParmValue(exint idx, const UT_Vector2D &value)
227  { doSetParmValue(idx, value); }
228  void setParmValue(exint idx, const UT_Vector3D &value)
229  { doSetParmValue(idx, value); }
230  void setParmValue(exint idx, const UT_Vector4D &value)
231  { doSetParmValue(idx, value); }
232  void setParmValue(exint idx, const UT_Matrix2D &value)
233  { doSetParmValue(idx, value); }
234  void setParmValue(exint idx, const UT_Matrix3D &value)
235  { doSetParmValue(idx, value); }
236  void setParmValue(exint idx, const UT_Matrix4D &value)
237  { doSetParmValue(idx, value); }
239  { doSetParmValue(idx, value); }
241  { doSetParmValue(idx, value); }
243  { doSetParmValue(idx, value); }
244 
245  virtual exint getNumParms() const
246  {
247  return 8;
248  }
249 
250  virtual const char *getParmName(exint fieldnum) const
251  {
252  switch (fieldnum)
253  {
254  case 0:
255  return "group";
256  case 1:
257  return "usevoxelradius";
258  case 2:
259  return "radius";
260  case 3:
261  return "voxelradius";
262  case 4:
263  return "reduction";
264  case 5:
265  return "passes";
266  case 6:
267  return "bordertype";
268  case 7:
269  return "borderval";
270 
271  }
272  return 0;
273  }
274 
275  virtual ParmType getParmType(exint fieldnum) const
276  {
277  switch (fieldnum)
278  {
279  case 0:
280  return PARM_STRING;
281  case 1:
282  return PARM_INTEGER;
283  case 2:
284  return PARM_FLOAT;
285  case 3:
286  return PARM_VECTOR3;
287  case 4:
288  return PARM_INTEGER;
289  case 5:
290  return PARM_INTEGER;
291  case 6:
292  return PARM_INTEGER;
293  case 7:
294  return PARM_FLOAT;
295 
296  }
297  return PARM_UNSUPPORTED;
298  }
299 
300  // Boiler plate to load individual types.
301  static void loadData(UT_IStream &is, int64 &v)
302  { is.bread(&v, 1); }
303  static void loadData(UT_IStream &is, bool &v)
304  { int64 iv; is.bread(&iv, 1); v = iv; }
305  static void loadData(UT_IStream &is, fpreal64 &v)
306  { is.bread<fpreal64>(&v, 1); }
307  static void loadData(UT_IStream &is, UT_Vector2D &v)
308  { is.bread<fpreal64>(&v.x(), 1); is.bread<fpreal64>(&v.y(), 1); }
309  static void loadData(UT_IStream &is, UT_Vector3D &v)
310  { is.bread<fpreal64>(&v.x(), 1); is.bread<fpreal64>(&v.y(), 1);
311  is.bread<fpreal64>(&v.z(), 1); }
312  static void loadData(UT_IStream &is, UT_Vector4D &v)
313  { is.bread<fpreal64>(&v.x(), 1); is.bread<fpreal64>(&v.y(), 1);
314  is.bread<fpreal64>(&v.z(), 1); is.bread<fpreal64>(&v.w(), 1); }
315  static void loadData(UT_IStream &is, UT_Matrix2D &v)
316  { for (int r = 0; r < 2; r++) for (int c = 0; c < 2; c++) is.bread<fpreal64>(&v(r, c), 1); }
317  static void loadData(UT_IStream &is, UT_Matrix3D &v)
318  { for (int r = 0; r < 3; r++) for (int c = 0; c < 3; c++) is.bread<fpreal64>(&v(r, c), 1); }
319  static void loadData(UT_IStream &is, UT_Matrix4D &v)
320  { for (int r = 0; r < 4; r++) for (int c = 0; c < 4; c++) is.bread<fpreal64>(&v(r, c), 1); }
321  static void loadData(UT_IStream &is, UT_Vector2I &v)
322  { is.bread<int64>(&v.x(), 1); is.bread<int64>(&v.y(), 1); }
323  static void loadData(UT_IStream &is, UT_Vector3I &v)
324  { is.bread<int64>(&v.x(), 1); is.bread<int64>(&v.y(), 1);
325  is.bread<int64>(&v.z(), 1); }
326  static void loadData(UT_IStream &is, UT_Vector4I &v)
327  { is.bread<int64>(&v.x(), 1); is.bread<int64>(&v.y(), 1);
328  is.bread<int64>(&v.z(), 1); is.bread<int64>(&v.w(), 1); }
330  { is.bread(v); }
332  { UT_StringHolder rampdata;
333  loadData(is, rampdata);
334  if (rampdata.isstring())
335  {
336  v.reset(new UT_Ramp());
337  UT_IStream istr((const char *) rampdata, rampdata.length(), UT_ISTREAM_ASCII);
338  v->load(istr);
339  }
340  else v.reset();
341  }
344  loadData(is, data);
345  if (data.isstring())
346  {
347  // Find the data type.
348  char *colon = UT_StringWrap(data).findChar(':');
349  if (colon)
350  {
351  int typelen = colon - data.buffer();
353  type.strncpy(data.buffer(), typelen);
354  UT_IStream istr(((const char *) data) + typelen + 1, data.length() - (typelen + 1), UT_ISTREAM_BINARY);
355 
356  v = PRM_DataFactory::parseBinary(type.buffer(), istr);
357  }
358  }
359  else v.reset();
360  }
361 
362  static void saveData(std::ostream &os, int64 v)
363  { UTwrite(os, &v); }
364  static void saveData(std::ostream &os, bool v)
365  { int64 iv = v; UTwrite(os, &iv); }
366  static void saveData(std::ostream &os, fpreal64 v)
367  { UTwrite<fpreal64>(os, &v); }
368  static void saveData(std::ostream &os, UT_Vector2D v)
369  { UTwrite<fpreal64>(os, &v.x()); UTwrite<fpreal64>(os, &v.y()); }
370  static void saveData(std::ostream &os, UT_Vector3D v)
371  { UTwrite<fpreal64>(os, &v.x()); UTwrite<fpreal64>(os, &v.y());
372  UTwrite<fpreal64>(os, &v.z()); }
373  static void saveData(std::ostream &os, UT_Vector4D v)
374  { UTwrite<fpreal64>(os, &v.x()); UTwrite<fpreal64>(os, &v.y());
375  UTwrite<fpreal64>(os, &v.z()); UTwrite<fpreal64>(os, &v.w()); }
376  static void saveData(std::ostream &os, UT_Matrix2D v)
378  static void saveData(std::ostream &os, UT_Matrix3D v)
380  static void saveData(std::ostream &os, UT_Matrix4D v)
382  static void saveData(std::ostream &os, UT_StringHolder s)
383  { UT_StringWrap(s).saveBinary(os); }
384  static void saveData(std::ostream &os, UT_SharedPtr<UT_Ramp> s)
385  { UT_StringHolder result;
386  UT_OStringStream ostr;
387  if (s) s->save(ostr);
388  result = ostr.str();
389  saveData(os, result);
390  }
391  static void saveData(std::ostream &os, PRM_DataItemHandle s)
392  { UT_StringHolder result;
393  UT_OStringStream ostr;
394  if (s)
395  {
396  ostr << s->getDataTypeToken();
397  ostr << ":";
398  s->saveBinary(ostr);
399  }
400  result = ostr.str();
401  saveData(os, result);
402  }
403 
404 
405  void save(std::ostream &os) const
406  {
407  int32 v = version();
408  UTwrite(os, &v);
409  saveData(os, myGroup);
410  saveData(os, myUsevoxelradius);
411  saveData(os, myRadius);
412  saveData(os, myVoxelradius);
413  saveData(os, myReduction);
414  saveData(os, myPasses);
415  saveData(os, myBordertype);
416  saveData(os, myBorderval);
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, myUsevoxelradius);
431  loadData(is, myRadius);
432  loadData(is, myVoxelradius);
433  loadData(is, myReduction);
434  loadData(is, myPasses);
435  loadData(is, myBordertype);
436  loadData(is, myBorderval);
437 
438  return true;
439  }
440 
441  const UT_StringHolder & getGroup() const { return myGroup; }
442  void setGroup(const UT_StringHolder & val) { myGroup = val; }
444  {
445  SOP_Node *thissop = cookparms.getNode();
446  if (!thissop) return getGroup();
447  UT_StringHolder result;
448  OP_Utils::evalOpParm(result, thissop, "group", cookparms.getCookTime(), 0);
449  return result;
450  }
451  bool getUsevoxelradius() const { return myUsevoxelradius; }
452  void setUsevoxelradius(bool val) { myUsevoxelradius = val; }
453  bool opUsevoxelradius(const SOP_NodeVerb::CookParms &cookparms) const
454  {
455  SOP_Node *thissop = cookparms.getNode();
456  if (!thissop) return getUsevoxelradius();
457  bool result;
458  OP_Utils::evalOpParm(result, thissop, "usevoxelradius", cookparms.getCookTime(), 0);
459  return result;
460  }
461  fpreal64 getRadius() const { return myRadius; }
462  void setRadius(fpreal64 val) { myRadius = val; }
463  fpreal64 opRadius(const SOP_NodeVerb::CookParms &cookparms) const
464  {
465  SOP_Node *thissop = cookparms.getNode();
466  if (!thissop) return getRadius();
467  fpreal64 result;
468  OP_Utils::evalOpParm(result, thissop, "radius", cookparms.getCookTime(), 0);
469  return result;
470  }
471  UT_Vector3D getVoxelradius() const { return myVoxelradius; }
472  void setVoxelradius(UT_Vector3D val) { myVoxelradius = val; }
474  {
475  SOP_Node *thissop = cookparms.getNode();
476  if (!thissop) return getVoxelradius();
477  UT_Vector3D result;
478  OP_Utils::evalOpParm(result, thissop, "voxelradius", cookparms.getCookTime(), 0);
479  return result;
480  }
481  Reduction getReduction() const { return Reduction(myReduction); }
482  void setReduction(Reduction val) { myReduction = int64(val); }
484  {
485  SOP_Node *thissop = cookparms.getNode();
486  if (!thissop) return getReduction();
487  int64 result;
488  OP_Utils::evalOpParm(result, thissop, "reduction", cookparms.getCookTime(), 0);
489  return Reduction(result);
490  }
491  int64 getPasses() const { return myPasses; }
492  void setPasses(int64 val) { myPasses = val; }
493  int64 opPasses(const SOP_NodeVerb::CookParms &cookparms) const
494  {
495  SOP_Node *thissop = cookparms.getNode();
496  if (!thissop) return getPasses();
497  int64 result;
498  OP_Utils::evalOpParm(result, thissop, "passes", cookparms.getCookTime(), 0);
499  return result;
500  }
501  Bordertype getBordertype() const { return Bordertype(myBordertype); }
502  void setBordertype(Bordertype val) { myBordertype = int64(val); }
504  {
505  SOP_Node *thissop = cookparms.getNode();
506  if (!thissop) return getBordertype();
507  int64 result;
508  OP_Utils::evalOpParm(result, thissop, "bordertype", cookparms.getCookTime(), 0);
509  return Bordertype(result);
510  }
511  fpreal64 getBorderval() const { return myBorderval; }
512  void setBorderval(fpreal64 val) { myBorderval = val; }
514  {
515  SOP_Node *thissop = cookparms.getNode();
516  if (!thissop) return getBorderval();
517  fpreal64 result;
518  OP_Utils::evalOpParm(result, thissop, "borderval", cookparms.getCookTime(), 0);
519  return result;
520  }
521 
522 private:
523  UT_StringHolder myGroup;
524  bool myUsevoxelradius;
525  fpreal64 myRadius;
526  UT_Vector3D myVoxelradius;
527  int64 myReduction;
528  int64 myPasses;
529  int64 myBordertype;
530  fpreal64 myBorderval;
531 
532 };
static void saveData(std::ostream &os, UT_StringHolder s)
void setParmValue(exint idx, const UT_Matrix3D &value)
void setUsevoxelradius(bool val)
virtual ParmType getParmType(exint fieldnum) const
void save(std::ostream &os) const
SOP_Node * getNode() const
Definition: SOP_NodeVerb.h:494
T & z(void)
Definition: UT_Vector4.h:379
void getParmValue(exint idx, UT_SharedPtr< UT_Ramp > &value) const
static void loadData(UT_IStream &is, int64 &v)
void setParmValue(exint idx, const UT_Vector2D &value)
Reduction getReduction() const
UT_Vector3D getVoxelradius() const
exint bread(int32 *buffer, exint asize=1)
GT_API const UT_StringHolder time
void doSetParmValue(exint idx, const T &value)
void setParmValue(exint idx, const UT_Vector3D &value)
fpreal getTime() const
Definition: OP_Context.h:60
const GLdouble * v
Definition: glcorearb.h:836
UT_Vector3D opVoxelradius(const SOP_NodeVerb::CookParms &cookparms) const
bool opUsevoxelradius(const SOP_NodeVerb::CookParms &cookparms) const
fpreal64 getRadius() const
bool operator!=(const SOP_VolumeBlurParms &src) const
void getParmValue(exint idx, exint &value) const
SYS_FORCE_INLINE const char * buffer() const
T & x(void)
Definition: UT_Vector2.h:285
An output stream object that owns its own string buffer storage.
bool operator==(const SOP_VolumeBlurParms &src) const
void getParmValue(exint idx, PRM_DataItemHandle &value) const
const UT_WorkBuffer & str() const
Returns a read-only reference to the underlying UT_WorkBuffer.
bool load(UT_IStream &is)
static void saveData(std::ostream &os, UT_Vector2D v)
SYS_FORCE_INLINE T & x(void)
Definition: UT_Vector3.h:498
fpreal64 opBorderval(const SOP_NodeVerb::CookParms &cookparms) const
static PRM_DataItemHandle parseBinary(const char *type, UT_IStream &is)
static void saveData(std::ostream &os, UT_Matrix2D v)
void setParmValue(exint idx, const fpreal &value)
virtual exint getNumParms() const
static void saveData(std::ostream &os, PRM_DataItemHandle s)
void setParmValue(exint idx, const UT_Vector4D &value)
static void loadData(UT_IStream &is, UT_Vector2I &v)
SYS_FORCE_INLINE T & z(void)
Definition: UT_Vector3.h:502
void setReduction(Reduction val)
bool operator==(const BaseDimensions< T > &a, const BaseDimensions< Y > &b)
Definition: Dimensions.h:137
void setRadius(fpreal64 val)
long long int64
Definition: SYS_Types.h:107
void setVoxelradius(UT_Vector3D val)
void setBorderval(fpreal64 val)
virtual const char * getParmName(exint fieldnum) const
exint length() const
char * findChar(int c) const
Find first occurrance of character. Returns NULL upon failure.
Definition: UT_String.h:550
fpreal64 opRadius(const SOP_NodeVerb::CookParms &cookparms) const
SYS_FORCE_INLINE const char * buffer() const
std::shared_ptr< T > UT_SharedPtr
Wrapper around std::shared_ptr.
Definition: UT_SharedPtr.h:28
fpreal64 getBorderval() const
int64 exint
Definition: SYS_Types.h:116
void getParmValue(exint idx, UT_Matrix3D &value) const
int64 opPasses(const SOP_NodeVerb::CookParms &cookparms) const
const OP_Node * node() const
Definition: SOP_NodeVerb.h:104
double fpreal64
Definition: SYS_Types.h:192
static void saveData(std::ostream &os, UT_Vector3D v)
static void loadData(UT_IStream &is, bool &v)
static void loadData(UT_IStream &is, UT_SharedPtr< UT_Ramp > &v)
void doGetParmValue(exint idx, T &value) const
static void loadData(UT_IStream &is, UT_Vector4I &v)
void getParmValue(exint idx, UT_Vector4D &value) const
static void saveData(std::ostream &os, UT_Matrix4D v)
UT_Vector3T< fpreal64 > UT_Vector3D
GLboolean * data
Definition: glcorearb.h:130
static void loadData(UT_IStream &is, UT_Matrix4D &v)
static void saveData(std::ostream &os, UT_SharedPtr< UT_Ramp > s)
int int32
Definition: SYS_Types.h:35
T & y(void)
Definition: UT_Vector4.h:377
void getParmValue(exint idx, fpreal &value) const
void saveBinary(std::ostream &os) const
Save string to binary stream.
Definition: UT_String.h:294
static void saveData(std::ostream &os, UT_Vector4D v)
static void saveData(std::ostream &os, fpreal64 v)
GT_API const UT_StringHolder version
DEP_MicroNode * depnode() const
Definition: SOP_NodeVerb.h:111
void setGroup(const UT_StringHolder &val)
virtual void copyFrom(const SOP_NodeParms *src)
SYS_FORCE_INLINE T & y(void)
Definition: UT_Vector3.h:500
GLsizei const GLfloat * value
Definition: glcorearb.h:823
static void saveData(std::ostream &os, UT_Matrix3D v)
double fpreal
Definition: SYS_Types.h:270
static void loadData(UT_IStream &is, UT_Vector4D &v)
void getParmValue(exint idx, UT_Matrix2D &value) const
static void loadData(UT_IStream &is, fpreal64 &v)
static void loadData(UT_IStream &is, UT_Vector3I &v)
void setParmValue(exint idx, const exint &value)
Bordertype opBordertype(const SOP_NodeVerb::CookParms &cookparms) const
void setParmValue(exint idx, const PRM_DataItemHandle &value)
Utility class for containing a color ramp.
Definition: UT_Ramp.h:84
bool getUsevoxelradius() const
void getParmValue(exint idx, UT_Matrix4D &value) const
Reduction opReduction(const SOP_NodeVerb::CookParms &cookparms) const
GLuint GLfloat * val
Definition: glcorearb.h:1607
static void loadData(UT_IStream &is, PRM_DataItemHandle &v)
#define SOP_API
Definition: SOP_API.h:10
void getParmValue(exint idx, UT_Vector3D &value) const
GLint GLint GLsizei GLint GLenum GLenum type
Definition: glcorearb.h:107
fpreal getCookTime() const
Definition: SOP_NodeVerb.h:501
static void loadData(UT_IStream &is, UT_Matrix2D &v)
T & x(void)
Definition: UT_Vector4.h:375
void setParmValue(exint idx, const UT_SharedPtr< UT_Ramp > &value)
static void saveData(std::ostream &os, int64 v)
void setParmValue(exint idx, const UT_Matrix2D &value)
void getParmValue(exint idx, UT_Vector2D &value) const
T & y(void)
Definition: UT_Vector2.h:287
GLboolean r
Definition: glcorearb.h:1221
static void loadData(UT_IStream &is, UT_Vector3D &v)
void setBordertype(Bordertype val)
void setParmValue(exint idx, const UT_Matrix4D &value)
T & w(void)
Definition: UT_Vector4.h:381
static void loadData(UT_IStream &is, UT_StringHolder &v)
void buildFromOp(const OP_Node *node, fpreal time, DEP_MicroNode *depnode)
const UT_StringHolder & getGroup() const
virtual void loadFromOpSubclass(const LoadParms &loadparms)
const OP_Context & context() const
Definition: SOP_NodeVerb.h:109
static void loadData(UT_IStream &is, UT_Matrix3D &v)
UT_SharedPtr< const PRM_DataItem > PRM_DataItemHandle
Definition: PRM_Parm.h:88
static void saveData(std::ostream &os, bool v)
void setParmValue(exint idx, const UT_StringHolder &value)
static void loadData(UT_IStream &is, UT_Vector2D &v)
SYS_FORCE_INLINE bool isstring() const
void getParmValue(exint idx, UT_StringHolder &value) const
UT_StringHolder opGroup(const SOP_NodeVerb::CookParms &cookparms) const
SYS_FORCE_INLINE void strncpy(const char *src, exint maxlen)
GLenum src
Definition: glcorearb.h:1792
Bordertype getBordertype() const