HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SOP_VolumeReduce.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_VolumeReduceEnums
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 Scaleby
37  {
38  NONE = 0,
39  LENGTH,
40  AREA,
41  VOLUME
42  };
43  enum class Result
44  {
45  VOLUME = 0,
46  VERTEX,
47  POINT,
48  PRIM,
49  DETAIL
50  };
51 }
52 
53 
55 {
56 public:
57  static int version() { return 1; }
58 
60  {
61  myGroup = ""_sh;
62  myReduction = 0;
63  myPercentile = 50;
64  myScaleby = 0;
65  myResult = 0;
66  myResultattrib = "density"_sh;
67  myResultlvar = ""_sh;
68 
69  }
70 
71  explicit SOP_VolumeReduceParms(const SOP_VolumeReduceParms &) = default;
72 
74 
76  {
77  if (myGroup != src.myGroup) return false;
78  if (myReduction != src.myReduction) return false;
79  if (myPercentile != src.myPercentile) return false;
80  if (myScaleby != src.myScaleby) return false;
81  if (myResult != src.myResult) return false;
82  if (myResultattrib != src.myResultattrib) return false;
83  if (myResultlvar != src.myResultlvar) return false;
84 
85  return true;
86  }
88  {
89  return !operator==(src);
90  }
94 
95 
96 
97  void buildFromOp(const OP_Node *node, fpreal time, DEP_MicroNode *depnode)
98  {
99  if (true)
100  OP_Utils::evalOpParm(myGroup, node, "group", time, 0);
101  else myGroup = ""_sh;
102  if (true)
103  OP_Utils::evalOpParm(myReduction, node, "reduction", time, 0);
104  else myReduction = 0;
105  if (true && ( (!(((int64(getReduction())!=5)))) ) )
106  OP_Utils::evalOpParm(myPercentile, node, "percentile", time, 0);
107  else myPercentile = 50;
108  if (true)
109  OP_Utils::evalOpParm(myScaleby, node, "scaleby", time, 0);
110  else myScaleby = 0;
111  if (true)
112  OP_Utils::evalOpParm(myResult, node, "result", time, 0);
113  else myResult = 0;
114  if (true && ( (!(((int64(getResult())==0)))) ) )
115  OP_Utils::evalOpParm(myResultattrib, node, "resultattrib", time, 0);
116  else myResultattrib = "density"_sh;
117  if (true && ( (!(((int64(getResult())==0)))) ) )
118  OP_Utils::evalOpParm(myResultlvar, node, "resultlvar", time, 0);
119  else myResultlvar = ""_sh;
120 
121  }
122 
123 
124  virtual void loadFromOpSubclass(const LoadParms &loadparms)
125  {
126  buildFromOp(loadparms.node(), loadparms.context().getTime(), loadparms.depnode());
127  }
128 
129 
130  virtual void copyFrom(const SOP_NodeParms *src)
131  {
132  *this = *((const SOP_VolumeReduceParms *)src);
133  }
134 
135  template <typename T>
136  void
137  doGetParmValue(exint idx, T &value) const
138  {
139  switch (idx)
140  {
141  case 0:
142  coerceValue(value, myGroup);
143  break;
144  case 1:
145  coerceValue(value, myReduction);
146  break;
147  case 2:
148  coerceValue(value, myPercentile);
149  break;
150  case 3:
151  coerceValue(value, myScaleby);
152  break;
153  case 4:
154  coerceValue(value, myResult);
155  break;
156  case 5:
157  coerceValue(value, myResultattrib);
158  break;
159  case 6:
160  coerceValue(value, myResultlvar);
161  break;
162 
163  }
164  }
165 
166  void getParmValue(exint idx, exint &value) const
167  { doGetParmValue(idx, value); }
168  void getParmValue(exint idx, fpreal &value) const
169  { doGetParmValue(idx, value); }
171  { doGetParmValue(idx, value); }
173  { doGetParmValue(idx, value); }
175  { doGetParmValue(idx, value); }
177  { doGetParmValue(idx, value); }
179  { doGetParmValue(idx, value); }
181  { doGetParmValue(idx, value); }
183  { doGetParmValue(idx, value); }
185  { doGetParmValue(idx, value); }
187  { doGetParmValue(idx, value); }
188 
189  template <typename T>
190  void
191  doSetParmValue(exint idx, const T &value)
192  {
193  switch (idx)
194  {
195  case 0:
196  coerceValue(myGroup, value);
197  break;
198  case 1:
199  coerceValue(myReduction, value);
200  break;
201  case 2:
202  coerceValue(myPercentile, value);
203  break;
204  case 3:
205  coerceValue(myScaleby, value);
206  break;
207  case 4:
208  coerceValue(myResult, value);
209  break;
210  case 5:
211  coerceValue(myResultattrib, value);
212  break;
213  case 6:
214  coerceValue(myResultlvar, value);
215  break;
216 
217  }
218  }
219 
220  void setParmValue(exint idx, const exint &value)
221  { doSetParmValue(idx, value); }
222  void setParmValue(exint idx, const fpreal &value)
223  { doSetParmValue(idx, value); }
224  void setParmValue(exint idx, const UT_Vector2D &value)
225  { doSetParmValue(idx, value); }
226  void setParmValue(exint idx, const UT_Vector3D &value)
227  { doSetParmValue(idx, value); }
228  void setParmValue(exint idx, const UT_Vector4D &value)
229  { doSetParmValue(idx, value); }
230  void setParmValue(exint idx, const UT_Matrix2D &value)
231  { doSetParmValue(idx, value); }
232  void setParmValue(exint idx, const UT_Matrix3D &value)
233  { doSetParmValue(idx, value); }
234  void setParmValue(exint idx, const UT_Matrix4D &value)
235  { doSetParmValue(idx, value); }
237  { doSetParmValue(idx, value); }
239  { doSetParmValue(idx, value); }
241  { doSetParmValue(idx, value); }
242 
243  virtual exint getNumParms() const
244  {
245  return 7;
246  }
247 
248  virtual const char *getParmName(exint fieldnum) const
249  {
250  switch (fieldnum)
251  {
252  case 0:
253  return "group";
254  case 1:
255  return "reduction";
256  case 2:
257  return "percentile";
258  case 3:
259  return "scaleby";
260  case 4:
261  return "result";
262  case 5:
263  return "resultattrib";
264  case 6:
265  return "resultlvar";
266 
267  }
268  return 0;
269  }
270 
271  virtual ParmType getParmType(exint fieldnum) const
272  {
273  switch (fieldnum)
274  {
275  case 0:
276  return PARM_STRING;
277  case 1:
278  return PARM_INTEGER;
279  case 2:
280  return PARM_FLOAT;
281  case 3:
282  return PARM_INTEGER;
283  case 4:
284  return PARM_INTEGER;
285  case 5:
286  return PARM_STRING;
287  case 6:
288  return PARM_STRING;
289 
290  }
291  return PARM_UNSUPPORTED;
292  }
293 
294  // Boiler plate to load individual types.
295  static void loadData(UT_IStream &is, int64 &v)
296  { is.bread(&v, 1); }
297  static void loadData(UT_IStream &is, bool &v)
298  { int64 iv; is.bread(&iv, 1); v = iv; }
299  static void loadData(UT_IStream &is, fpreal64 &v)
300  { is.bread<fpreal64>(&v, 1); }
301  static void loadData(UT_IStream &is, UT_Vector2D &v)
302  { is.bread<fpreal64>(&v.x(), 1); is.bread<fpreal64>(&v.y(), 1); }
303  static void loadData(UT_IStream &is, UT_Vector3D &v)
304  { is.bread<fpreal64>(&v.x(), 1); is.bread<fpreal64>(&v.y(), 1);
305  is.bread<fpreal64>(&v.z(), 1); }
306  static void loadData(UT_IStream &is, UT_Vector4D &v)
307  { is.bread<fpreal64>(&v.x(), 1); is.bread<fpreal64>(&v.y(), 1);
308  is.bread<fpreal64>(&v.z(), 1); is.bread<fpreal64>(&v.w(), 1); }
309  static void loadData(UT_IStream &is, UT_Matrix2D &v)
310  { for (int r = 0; r < 2; r++) for (int c = 0; c < 2; c++) is.bread<fpreal64>(&v(r, c), 1); }
311  static void loadData(UT_IStream &is, UT_Matrix3D &v)
312  { for (int r = 0; r < 3; r++) for (int c = 0; c < 3; c++) is.bread<fpreal64>(&v(r, c), 1); }
313  static void loadData(UT_IStream &is, UT_Matrix4D &v)
314  { for (int r = 0; r < 4; r++) for (int c = 0; c < 4; c++) is.bread<fpreal64>(&v(r, c), 1); }
315  static void loadData(UT_IStream &is, UT_Vector2I &v)
316  { is.bread<int64>(&v.x(), 1); is.bread<int64>(&v.y(), 1); }
317  static void loadData(UT_IStream &is, UT_Vector3I &v)
318  { is.bread<int64>(&v.x(), 1); is.bread<int64>(&v.y(), 1);
319  is.bread<int64>(&v.z(), 1); }
320  static void loadData(UT_IStream &is, UT_Vector4I &v)
321  { is.bread<int64>(&v.x(), 1); is.bread<int64>(&v.y(), 1);
322  is.bread<int64>(&v.z(), 1); is.bread<int64>(&v.w(), 1); }
324  { is.bread(v); }
326  { UT_StringHolder rampdata;
327  loadData(is, rampdata);
328  if (rampdata.isstring())
329  {
330  v.reset(new UT_Ramp());
331  UT_IStream istr((const char *) rampdata, rampdata.length(), UT_ISTREAM_ASCII);
332  v->load(istr);
333  }
334  else v.reset();
335  }
338  loadData(is, data);
339  if (data.isstring())
340  {
341  // Find the data type.
342  char *colon = UT_StringWrap(data).findChar(':');
343  if (colon)
344  {
345  int typelen = colon - data.buffer();
347  type.strncpy(data.buffer(), typelen);
348  UT_IStream istr(((const char *) data) + typelen + 1, data.length() - (typelen + 1), UT_ISTREAM_BINARY);
349 
350  v = PRM_DataFactory::parseBinary(type.buffer(), istr);
351  }
352  }
353  else v.reset();
354  }
355 
356  static void saveData(std::ostream &os, int64 v)
357  { UTwrite(os, &v); }
358  static void saveData(std::ostream &os, bool v)
359  { int64 iv = v; UTwrite(os, &iv); }
360  static void saveData(std::ostream &os, fpreal64 v)
361  { UTwrite<fpreal64>(os, &v); }
362  static void saveData(std::ostream &os, UT_Vector2D v)
363  { UTwrite<fpreal64>(os, &v.x()); UTwrite<fpreal64>(os, &v.y()); }
364  static void saveData(std::ostream &os, UT_Vector3D v)
365  { UTwrite<fpreal64>(os, &v.x()); UTwrite<fpreal64>(os, &v.y());
366  UTwrite<fpreal64>(os, &v.z()); }
367  static void saveData(std::ostream &os, UT_Vector4D v)
368  { UTwrite<fpreal64>(os, &v.x()); UTwrite<fpreal64>(os, &v.y());
369  UTwrite<fpreal64>(os, &v.z()); UTwrite<fpreal64>(os, &v.w()); }
370  static void saveData(std::ostream &os, UT_Matrix2D v)
372  static void saveData(std::ostream &os, UT_Matrix3D v)
374  static void saveData(std::ostream &os, UT_Matrix4D v)
376  static void saveData(std::ostream &os, UT_StringHolder s)
377  { UT_StringWrap(s).saveBinary(os); }
378  static void saveData(std::ostream &os, UT_SharedPtr<UT_Ramp> s)
379  { UT_StringHolder result;
380  UT_OStringStream ostr;
381  if (s) s->save(ostr);
382  result = ostr.str();
383  saveData(os, result);
384  }
385  static void saveData(std::ostream &os, PRM_DataItemHandle s)
386  { UT_StringHolder result;
387  UT_OStringStream ostr;
388  if (s)
389  {
390  ostr << s->getDataTypeToken();
391  ostr << ":";
392  s->saveBinary(ostr);
393  }
394  result = ostr.str();
395  saveData(os, result);
396  }
397 
398 
399  void save(std::ostream &os) const
400  {
401  int32 v = version();
402  UTwrite(os, &v);
403  saveData(os, myGroup);
404  saveData(os, myReduction);
405  saveData(os, myPercentile);
406  saveData(os, myScaleby);
407  saveData(os, myResult);
408  saveData(os, myResultattrib);
409  saveData(os, myResultlvar);
410 
411  }
412 
413  bool load(UT_IStream &is)
414  {
415  int32 v;
416  is.bread(&v, 1);
417  if (version() != v)
418  {
419  // Fail incompatible versions
420  return false;
421  }
422  loadData(is, myGroup);
423  loadData(is, myReduction);
424  loadData(is, myPercentile);
425  loadData(is, myScaleby);
426  loadData(is, myResult);
427  loadData(is, myResultattrib);
428  loadData(is, myResultlvar);
429 
430  return true;
431  }
432 
433  const UT_StringHolder & getGroup() const { return myGroup; }
434  void setGroup(const UT_StringHolder & val) { myGroup = val; }
436  {
437  SOP_Node *thissop = cookparms.getNode();
438  if (!thissop) return getGroup();
439  UT_StringHolder result;
440  OP_Utils::evalOpParm(result, thissop, "group", cookparms.getCookTime(), 0);
441  return result;
442  }
443  Reduction getReduction() const { return Reduction(myReduction); }
444  void setReduction(Reduction val) { myReduction = int64(val); }
446  {
447  SOP_Node *thissop = cookparms.getNode();
448  if (!thissop) return getReduction();
449  int64 result;
450  OP_Utils::evalOpParm(result, thissop, "reduction", cookparms.getCookTime(), 0);
451  return Reduction(result);
452  }
453  fpreal64 getPercentile() const { return myPercentile; }
454  void setPercentile(fpreal64 val) { myPercentile = val; }
456  {
457  SOP_Node *thissop = cookparms.getNode();
458  if (!thissop) return getPercentile();
459  fpreal64 result;
460  OP_Utils::evalOpParm(result, thissop, "percentile", cookparms.getCookTime(), 0);
461  return result;
462  }
463  Scaleby getScaleby() const { return Scaleby(myScaleby); }
464  void setScaleby(Scaleby val) { myScaleby = int64(val); }
465  Scaleby opScaleby(const SOP_NodeVerb::CookParms &cookparms) const
466  {
467  SOP_Node *thissop = cookparms.getNode();
468  if (!thissop) return getScaleby();
469  int64 result;
470  OP_Utils::evalOpParm(result, thissop, "scaleby", cookparms.getCookTime(), 0);
471  return Scaleby(result);
472  }
473  Result getResult() const { return Result(myResult); }
474  void setResult(Result val) { myResult = int64(val); }
475  Result opResult(const SOP_NodeVerb::CookParms &cookparms) const
476  {
477  SOP_Node *thissop = cookparms.getNode();
478  if (!thissop) return getResult();
479  int64 result;
480  OP_Utils::evalOpParm(result, thissop, "result", cookparms.getCookTime(), 0);
481  return Result(result);
482  }
483  const UT_StringHolder & getResultattrib() const { return myResultattrib; }
484  void setResultattrib(const UT_StringHolder & val) { myResultattrib = val; }
486  {
487  SOP_Node *thissop = cookparms.getNode();
488  if (!thissop) return getResultattrib();
489  UT_StringHolder result;
490  OP_Utils::evalOpParm(result, thissop, "resultattrib", cookparms.getCookTime(), 0);
491  return result;
492  }
493  const UT_StringHolder & getResultlvar() const { return myResultlvar; }
494  void setResultlvar(const UT_StringHolder & val) { myResultlvar = val; }
496  {
497  SOP_Node *thissop = cookparms.getNode();
498  if (!thissop) return getResultlvar();
499  UT_StringHolder result;
500  OP_Utils::evalOpParm(result, thissop, "resultlvar", cookparms.getCookTime(), 0);
501  return result;
502  }
503 
504 private:
505  UT_StringHolder myGroup;
506  int64 myReduction;
507  fpreal64 myPercentile;
508  int64 myScaleby;
509  int64 myResult;
510  UT_StringHolder myResultattrib;
511  UT_StringHolder myResultlvar;
512 
513 };
void setParmValue(exint idx, const UT_Matrix3D &value)
virtual exint getNumParms() const
void getParmValue(exint idx, UT_StringHolder &value) const
virtual ParmType getParmType(exint fieldnum) const
static void loadData(UT_IStream &is, UT_StringHolder &v)
bool operator==(const SOP_VolumeReduceParms &src) const
static void saveData(std::ostream &os, UT_Vector2D v)
void getParmValue(exint idx, UT_Vector4D &value) const
void getParmValue(exint idx, UT_Matrix3D &value) const
SOP_Node * getNode() const
Definition: SOP_NodeVerb.h:494
T & z(void)
Definition: UT_Vector4.h:379
void setParmValue(exint idx, const UT_Vector4D &value)
static void loadData(UT_IStream &is, UT_Vector3I &v)
const UT_StringHolder & getGroup() const
void getParmValue(exint idx, fpreal &value) const
exint bread(int32 *buffer, exint asize=1)
GT_API const UT_StringHolder time
fpreal getTime() const
Definition: OP_Context.h:60
const GLdouble * v
Definition: glcorearb.h:836
void getParmValue(exint idx, UT_Matrix2D &value) const
static void loadData(UT_IStream &is, UT_SharedPtr< UT_Ramp > &v)
void setReduction(Reduction val)
const UT_StringHolder & getResultattrib() const
UT_StringHolder opResultattrib(const SOP_NodeVerb::CookParms &cookparms) const
void setParmValue(exint idx, const PRM_DataItemHandle &value)
static void loadData(UT_IStream &is, UT_Vector2I &v)
static void saveData(std::ostream &os, bool v)
SYS_FORCE_INLINE const char * buffer() const
T & x(void)
Definition: UT_Vector2.h:285
void doGetParmValue(exint idx, T &value) const
const UT_StringHolder & getResultlvar() const
An output stream object that owns its own string buffer storage.
void getParmValue(exint idx, UT_Matrix4D &value) const
const UT_WorkBuffer & str() const
Returns a read-only reference to the underlying UT_WorkBuffer.
static void saveData(std::ostream &os, UT_StringHolder s)
SYS_FORCE_INLINE T & x(void)
Definition: UT_Vector3.h:498
virtual void loadFromOpSubclass(const LoadParms &loadparms)
static PRM_DataItemHandle parseBinary(const char *type, UT_IStream &is)
void setParmValue(exint idx, const UT_Vector2D &value)
bool load(UT_IStream &is)
bool operator!=(const SOP_VolumeReduceParms &src) const
SYS_FORCE_INLINE T & z(void)
Definition: UT_Vector3.h:502
void setParmValue(exint idx, const UT_StringHolder &value)
bool operator==(const BaseDimensions< T > &a, const BaseDimensions< Y > &b)
Definition: Dimensions.h:137
long long int64
Definition: SYS_Types.h:107
static void saveData(std::ostream &os, UT_Matrix3D 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
std::shared_ptr< T > UT_SharedPtr
Wrapper around std::shared_ptr.
Definition: UT_SharedPtr.h:28
UT_StringHolder opResultlvar(const SOP_NodeVerb::CookParms &cookparms) const
static void loadData(UT_IStream &is, UT_Vector4I &v)
int64 exint
Definition: SYS_Types.h:116
fpreal64 opPercentile(const SOP_NodeVerb::CookParms &cookparms) const
const OP_Node * node() const
Definition: SOP_NodeVerb.h:104
double fpreal64
Definition: SYS_Types.h:192
void setParmValue(exint idx, const UT_Vector3D &value)
static void loadData(UT_IStream &is, UT_Vector4D &v)
static void saveData(std::ostream &os, int64 v)
void save(std::ostream &os) const
virtual const char * getParmName(exint fieldnum) const
static void loadData(UT_IStream &is, UT_Matrix4D &v)
UT_StringHolder opGroup(const SOP_NodeVerb::CookParms &cookparms) const
void setParmValue(exint idx, const exint &value)
void buildFromOp(const OP_Node *node, fpreal time, DEP_MicroNode *depnode)
void getParmValue(exint idx, UT_SharedPtr< UT_Ramp > &value) const
Reduction getReduction() const
Reduction opReduction(const SOP_NodeVerb::CookParms &cookparms) const
GLboolean * data
Definition: glcorearb.h:130
int int32
Definition: SYS_Types.h:35
T & y(void)
Definition: UT_Vector4.h:377
void saveBinary(std::ostream &os) const
Save string to binary stream.
Definition: UT_String.h:294
void getParmValue(exint idx, UT_Vector3D &value) const
GT_API const UT_StringHolder version
static void saveData(std::ostream &os, UT_Vector4D v)
DEP_MicroNode * depnode() const
Definition: SOP_NodeVerb.h:111
Scaleby opScaleby(const SOP_NodeVerb::CookParms &cookparms) const
void setPercentile(fpreal64 val)
static void saveData(std::ostream &os, UT_Vector3D v)
static void loadData(UT_IStream &is, UT_Matrix2D &v)
void setParmValue(exint idx, const UT_SharedPtr< UT_Ramp > &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
void getParmValue(exint idx, PRM_DataItemHandle &value) const
virtual void copyFrom(const SOP_NodeParms *src)
void setParmValue(exint idx, const UT_Matrix4D &value)
static void loadData(UT_IStream &is, int64 &v)
static void saveData(std::ostream &os, PRM_DataItemHandle s)
Utility class for containing a color ramp.
Definition: UT_Ramp.h:84
static void saveData(std::ostream &os, UT_SharedPtr< UT_Ramp > s)
GLuint GLfloat * val
Definition: glcorearb.h:1607
void getParmValue(exint idx, exint &value) const
#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
static void loadData(UT_IStream &is, UT_Matrix3D &v)
T & x(void)
Definition: UT_Vector4.h:375
static void saveData(std::ostream &os, UT_Matrix4D v)
void setResultlvar(const UT_StringHolder &val)
T & y(void)
Definition: UT_Vector2.h:287
fpreal64 getPercentile() const
void doSetParmValue(exint idx, const T &value)
void setGroup(const UT_StringHolder &val)
static void saveData(std::ostream &os, fpreal64 v)
static void loadData(UT_IStream &is, PRM_DataItemHandle &v)
static void loadData(UT_IStream &is, UT_Vector3D &v)
GLboolean r
Definition: glcorearb.h:1221
static void loadData(UT_IStream &is, UT_Vector2D &v)
T & w(void)
Definition: UT_Vector4.h:381
static void saveData(std::ostream &os, UT_Matrix2D v)
void getParmValue(exint idx, UT_Vector2D &value) const
void setResultattrib(const UT_StringHolder &val)
const OP_Context & context() const
Definition: SOP_NodeVerb.h:109
void setParmValue(exint idx, const fpreal &value)
UT_SharedPtr< const PRM_DataItem > PRM_DataItemHandle
Definition: PRM_Parm.h:88
static void loadData(UT_IStream &is, fpreal64 &v)
SYS_FORCE_INLINE bool isstring() const
void setParmValue(exint idx, const UT_Matrix2D &value)
static void loadData(UT_IStream &is, bool &v)
SYS_FORCE_INLINE void strncpy(const char *src, exint maxlen)
GLenum src
Definition: glcorearb.h:1792
Result opResult(const SOP_NodeVerb::CookParms &cookparms) const