HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SOP_BoneCaptureBiharmonic.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_BoneCaptureBiharmonicEnums
22 {
23  enum class PointColoring
24  {
25  COLDEFAULT = 0,
26  COLREGION
27  };
28 }
29 
30 
32 {
33 public:
34  static int version() { return 1; }
35 
37  {
38  myGroup = ""_sh;
39  myMaxIterations = 1;
40  myDiffTol = 1e-4;
41  myDestroyWeights = false;
42  myBlendFactor = 1;
43  myPointColoring = 0;
44  myZeroWeightColor = UT_Vector3D(1,1,1);
45  myOutputCaptureTets = false;
46  myVerbose = false;
47 
48  }
49 
51 
53 
55  {
56  if (myGroup != src.myGroup) return false;
57  if (myMaxIterations != src.myMaxIterations) return false;
58  if (myDiffTol != src.myDiffTol) return false;
59  if (myDestroyWeights != src.myDestroyWeights) return false;
60  if (myBlendFactor != src.myBlendFactor) return false;
61  if (myPointColoring != src.myPointColoring) return false;
62  if (myZeroWeightColor != src.myZeroWeightColor) return false;
63  if (myOutputCaptureTets != src.myOutputCaptureTets) return false;
64  if (myVerbose != src.myVerbose) return false;
65 
66  return true;
67  }
69  {
70  return !operator==(src);
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(myMaxIterations, node, "maxiter", time, 0);
83  else myMaxIterations = 1;
84  if (true)
85  OP_Utils::evalOpParm(myDiffTol, node, "difftol", time, 0);
86  else myDiffTol = 1e-4;
87  if (true)
88  OP_Utils::evalOpParm(myDestroyWeights, node, "destroyweights", time, 0);
89  else myDestroyWeights = false;
90  if (true && ( (!(((getDestroyWeights()!=0)))) ) )
91  OP_Utils::evalOpParm(myBlendFactor, node, "blendfactor", time, 0);
92  else myBlendFactor = 1;
93  if (true)
94  OP_Utils::evalOpParm(myPointColoring, node, "color", time, 0);
95  else myPointColoring = 0;
96  if (true)
97  OP_Utils::evalOpParm(myZeroWeightColor, node, "zeroweightcolor", time, 0);
98  else myZeroWeightColor = UT_Vector3D(1,1,1);
99  if (true)
100  OP_Utils::evalOpParm(myOutputCaptureTets, node, "outputcapturetets", time, 0);
101  else myOutputCaptureTets = false;
102  if (true)
103  OP_Utils::evalOpParm(myVerbose, node, "verbose", time, 0);
104  else myVerbose = false;
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_BoneCaptureBiharmonicParms *)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, myMaxIterations);
131  break;
132  case 2:
133  coerceValue(value, myDiffTol);
134  break;
135  case 3:
136  coerceValue(value, myDestroyWeights);
137  break;
138  case 4:
139  coerceValue(value, myBlendFactor);
140  break;
141  case 5:
142  coerceValue(value, myPointColoring);
143  break;
144  case 6:
145  coerceValue(value, myZeroWeightColor);
146  break;
147  case 7:
148  coerceValue(value, myOutputCaptureTets);
149  break;
150  case 8:
151  coerceValue(value, myVerbose);
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(myMaxIterations, value);
191  break;
192  case 2:
193  coerceValue(myDiffTol, value);
194  break;
195  case 3:
196  coerceValue(myDestroyWeights, value);
197  break;
198  case 4:
199  coerceValue(myBlendFactor, value);
200  break;
201  case 5:
202  coerceValue(myPointColoring, value);
203  break;
204  case 6:
205  coerceValue(myZeroWeightColor, value);
206  break;
207  case 7:
208  coerceValue(myOutputCaptureTets, value);
209  break;
210  case 8:
211  coerceValue(myVerbose, 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 "maxiter";
253  case 2:
254  return "difftol";
255  case 3:
256  return "destroyweights";
257  case 4:
258  return "blendfactor";
259  case 5:
260  return "color";
261  case 6:
262  return "zeroweightcolor";
263  case 7:
264  return "outputcapturetets";
265  case 8:
266  return "verbose";
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_INTEGER;
280  case 2:
281  return PARM_FLOAT;
282  case 3:
283  return PARM_INTEGER;
284  case 4:
285  return PARM_FLOAT;
286  case 5:
287  return PARM_INTEGER;
288  case 6:
289  return PARM_VECTOR3;
290  case 7:
291  return PARM_INTEGER;
292  case 8:
293  return PARM_INTEGER;
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, myMaxIterations);
410  saveData(os, myDiffTol);
411  saveData(os, myDestroyWeights);
412  saveData(os, myBlendFactor);
413  saveData(os, myPointColoring);
414  saveData(os, myZeroWeightColor);
415  saveData(os, myOutputCaptureTets);
416  saveData(os, myVerbose);
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, myMaxIterations);
431  loadData(is, myDiffTol);
432  loadData(is, myDestroyWeights);
433  loadData(is, myBlendFactor);
434  loadData(is, myPointColoring);
435  loadData(is, myZeroWeightColor);
436  loadData(is, myOutputCaptureTets);
437  loadData(is, myVerbose);
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  int64 getMaxIterations() const { return myMaxIterations; }
453  void setMaxIterations(int64 val) { myMaxIterations = val; }
455  {
456  SOP_Node *thissop = cookparms.getNode();
457  if (!thissop) return getMaxIterations();
458  int64 result;
459  OP_Utils::evalOpParm(result, thissop, "maxiter", cookparms.getCookTime(), 0);
460  return result;
461  }
462  fpreal64 getDiffTol() const { return myDiffTol; }
463  void setDiffTol(fpreal64 val) { myDiffTol = val; }
465  {
466  SOP_Node *thissop = cookparms.getNode();
467  if (!thissop) return getDiffTol();
468  fpreal64 result;
469  OP_Utils::evalOpParm(result, thissop, "difftol", cookparms.getCookTime(), 0);
470  return result;
471  }
472  bool getDestroyWeights() const { return myDestroyWeights; }
473  void setDestroyWeights(bool val) { myDestroyWeights = val; }
474  bool opDestroyWeights(const SOP_NodeVerb::CookParms &cookparms) const
475  {
476  SOP_Node *thissop = cookparms.getNode();
477  if (!thissop) return getDestroyWeights();
478  bool result;
479  OP_Utils::evalOpParm(result, thissop, "destroyweights", cookparms.getCookTime(), 0);
480  return result;
481  }
482  fpreal64 getBlendFactor() const { return myBlendFactor; }
483  void setBlendFactor(fpreal64 val) { myBlendFactor = val; }
485  {
486  SOP_Node *thissop = cookparms.getNode();
487  if (!thissop) return getBlendFactor();
488  fpreal64 result;
489  OP_Utils::evalOpParm(result, thissop, "blendfactor", cookparms.getCookTime(), 0);
490  return result;
491  }
492  PointColoring getPointColoring() const { return PointColoring(myPointColoring); }
493  void setPointColoring(PointColoring val) { myPointColoring = int64(val); }
495  {
496  SOP_Node *thissop = cookparms.getNode();
497  if (!thissop) return getPointColoring();
498  int64 result;
499  OP_Utils::evalOpParm(result, thissop, "color", cookparms.getCookTime(), 0);
500  return PointColoring(result);
501  }
502  UT_Vector3D getZeroWeightColor() const { return myZeroWeightColor; }
503  void setZeroWeightColor(UT_Vector3D val) { myZeroWeightColor = val; }
505  {
506  SOP_Node *thissop = cookparms.getNode();
507  if (!thissop) return getZeroWeightColor();
508  UT_Vector3D result;
509  OP_Utils::evalOpParm(result, thissop, "zeroweightcolor", cookparms.getCookTime(), 0);
510  return result;
511  }
512  bool getOutputCaptureTets() const { return myOutputCaptureTets; }
513  void setOutputCaptureTets(bool val) { myOutputCaptureTets = val; }
514  bool opOutputCaptureTets(const SOP_NodeVerb::CookParms &cookparms) const
515  {
516  SOP_Node *thissop = cookparms.getNode();
517  if (!thissop) return getOutputCaptureTets();
518  bool result;
519  OP_Utils::evalOpParm(result, thissop, "outputcapturetets", cookparms.getCookTime(), 0);
520  return result;
521  }
522  bool getVerbose() const { return myVerbose; }
523  void setVerbose(bool val) { myVerbose = val; }
524  bool opVerbose(const SOP_NodeVerb::CookParms &cookparms) const
525  {
526  SOP_Node *thissop = cookparms.getNode();
527  if (!thissop) return getVerbose();
528  bool result;
529  OP_Utils::evalOpParm(result, thissop, "verbose", cookparms.getCookTime(), 0);
530  return result;
531  }
532 
533 private:
534  UT_StringHolder myGroup;
535  int64 myMaxIterations;
536  fpreal64 myDiffTol;
537  bool myDestroyWeights;
538  fpreal64 myBlendFactor;
539  int64 myPointColoring;
540  UT_Vector3D myZeroWeightColor;
541  bool myOutputCaptureTets;
542  bool myVerbose;
543 
544 };
static void loadData(UT_IStream &is, UT_StringHolder &v)
static void loadData(UT_IStream &is, UT_Vector2D &v)
void getParmValue(exint idx, UT_StringHolder &value) const
void getParmValue(exint idx, UT_SharedPtr< UT_Ramp > &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_Matrix4D &value)
static void loadData(UT_IStream &is, UT_Vector3D &v)
exint bread(int32 *buffer, exint asize=1)
static void saveData(std::ostream &os, bool v)
GT_API const UT_StringHolder time
fpreal getTime() const
Definition: OP_Context.h:60
const GLdouble * v
Definition: glcorearb.h:836
static void loadData(UT_IStream &is, UT_Vector2I &v)
void setParmValue(exint idx, const fpreal &value)
void setParmValue(exint idx, const PRM_DataItemHandle &value)
SYS_FORCE_INLINE const char * buffer() const
T & x(void)
Definition: UT_Vector2.h:285
void setParmValue(exint idx, const UT_Matrix2D &value)
static void loadData(UT_IStream &is, UT_Matrix3D &v)
An output stream object that owns its own string buffer storage.
static void loadData(UT_IStream &is, bool &v)
const UT_WorkBuffer & str() const
Returns a read-only reference to the underlying UT_WorkBuffer.
int64 opMaxIterations(const SOP_NodeVerb::CookParms &cookparms) const
static void loadData(UT_IStream &is, PRM_DataItemHandle &v)
static void loadData(UT_IStream &is, UT_Matrix2D &v)
void getParmValue(exint idx, UT_Vector2D &value) const
SYS_FORCE_INLINE T & x(void)
Definition: UT_Vector3.h:498
static void saveData(std::ostream &os, PRM_DataItemHandle s)
static PRM_DataItemHandle parseBinary(const char *type, UT_IStream &is)
void getParmValue(exint idx, PRM_DataItemHandle &value) const
static void loadData(UT_IStream &is, UT_Vector3I &v)
fpreal64 opDiffTol(const SOP_NodeVerb::CookParms &cookparms) const
bool opVerbose(const SOP_NodeVerb::CookParms &cookparms) const
static void loadData(UT_IStream &is, UT_SharedPtr< UT_Ramp > &v)
SYS_FORCE_INLINE T & z(void)
Definition: UT_Vector3.h:502
static void saveData(std::ostream &os, UT_Vector3D v)
bool operator==(const BaseDimensions< T > &a, const BaseDimensions< Y > &b)
Definition: Dimensions.h:137
void setParmValue(exint idx, const UT_SharedPtr< UT_Ramp > &value)
long long int64
Definition: SYS_Types.h:107
void getParmValue(exint idx, UT_Matrix4D &value) const
static void saveData(std::ostream &os, UT_Vector2D v)
PointColoring opPointColoring(const SOP_NodeVerb::CookParms &cookparms) const
static void saveData(std::ostream &os, UT_SharedPtr< UT_Ramp > s)
bool operator!=(const SOP_BoneCaptureBiharmonicParms &src) const
exint length() const
char * findChar(int c) const
Find first occurrance of character. Returns NULL upon failure.
Definition: UT_String.h:550
fpreal64 opBlendFactor(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
const UT_StringHolder & getGroup() const
int64 exint
Definition: SYS_Types.h:116
void setParmValue(exint idx, const UT_StringHolder &value)
const OP_Node * node() const
Definition: SOP_NodeVerb.h:104
double fpreal64
Definition: SYS_Types.h:192
static void saveData(std::ostream &os, UT_Vector4D v)
virtual ParmType getParmType(exint fieldnum) const
UT_Vector3T< fpreal64 > UT_Vector3D
void getParmValue(exint idx, UT_Matrix2D &value) const
static void saveData(std::ostream &os, int64 v)
GLboolean * data
Definition: glcorearb.h:130
static void saveData(std::ostream &os, UT_Matrix3D v)
int int32
Definition: SYS_Types.h:35
T & y(void)
Definition: UT_Vector4.h:377
bool opOutputCaptureTets(const SOP_NodeVerb::CookParms &cookparms) const
static void saveData(std::ostream &os, UT_Matrix2D v)
static void loadData(UT_IStream &is, UT_Vector4I &v)
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)
static void loadData(UT_IStream &is, int64 &v)
GT_API const UT_StringHolder version
DEP_MicroNode * depnode() const
Definition: SOP_NodeVerb.h:111
virtual void loadFromOpSubclass(const LoadParms &loadparms)
virtual const char * getParmName(exint fieldnum) const
void setParmValue(exint idx, const exint &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 setParmValue(exint idx, const UT_Matrix3D &value)
static void saveData(std::ostream &os, fpreal64 v)
Utility class for containing a color ramp.
Definition: UT_Ramp.h:84
void buildFromOp(const OP_Node *node, fpreal time, DEP_MicroNode *depnode)
GLuint GLfloat * val
Definition: glcorearb.h:1607
void setGroup(const UT_StringHolder &val)
UT_Vector3D opZeroWeightColor(const SOP_NodeVerb::CookParms &cookparms) 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
bool opDestroyWeights(const SOP_NodeVerb::CookParms &cookparms) const
T & x(void)
Definition: UT_Vector4.h:375
void getParmValue(exint idx, exint &value) const
static void loadData(UT_IStream &is, fpreal64 &v)
static void loadData(UT_IStream &is, UT_Vector4D &v)
T & y(void)
Definition: UT_Vector2.h:287
virtual void copyFrom(const SOP_NodeParms *src)
GLboolean r
Definition: glcorearb.h:1221
void getParmValue(exint idx, UT_Vector3D &value) const
T & w(void)
Definition: UT_Vector4.h:381
void doSetParmValue(exint idx, const T &value)
void doGetParmValue(exint idx, T &value) const
void setParmValue(exint idx, const UT_Vector2D &value)
void setParmValue(exint idx, const UT_Vector3D &value)
void setParmValue(exint idx, const UT_Vector4D &value)
UT_StringHolder opGroup(const SOP_NodeVerb::CookParms &cookparms) const
const OP_Context & context() const
Definition: SOP_NodeVerb.h:109
static void saveData(std::ostream &os, UT_Matrix4D v)
bool operator==(const SOP_BoneCaptureBiharmonicParms &src) const
UT_SharedPtr< const PRM_DataItem > PRM_DataItemHandle
Definition: PRM_Parm.h:88
void getParmValue(exint idx, fpreal &value) const
void getParmValue(exint idx, UT_Vector4D &value) const
SYS_FORCE_INLINE bool isstring() const
static void saveData(std::ostream &os, UT_StringHolder s)
void getParmValue(exint idx, UT_Matrix3D &value) const
SYS_FORCE_INLINE void strncpy(const char *src, exint maxlen)
GLenum src
Definition: glcorearb.h:1792