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 <SOP/SOP_GraphProxy.h>
8 
9 #include <OP/OP_Utils.h>
10 #include <PRM/PRM_Parm.h>
11 #include <UT/UT_IStream.h>
12 #include <UT/UT_NTStreamUtil.h>
13 #include <UT/UT_Ramp.h>
14 #include <UT/UT_SharedPtr.h>
15 #include <UT/UT_StringHolder.h>
16 #include <UT/UT_StringStream.h>
17 #include <UT/UT_VectorTypes.h>
18 #include <SYS/SYS_Types.h>
19 
20 using namespace UT::Literal;
21 
22 class DEP_MicroNode;
23 namespace SOP_BoneCaptureBiharmonicEnums
24 {
25  enum class PointColoring
26  {
27  COLDEFAULT = 0,
28  COLREGION
29  };
30 }
31 
32 
34 {
35 public:
36  static int version() { return 1; }
37 
39  {
40  myGroup = ""_sh;
41  myMaxIterations = 1;
42  myDiffTol = 1e-4;
43  myDestroyWeights = true;
44  myBlendFactor = 1;
45  myPointColoring = 0;
46  myZeroWeightColor = UT_Vector3D(1,1,1);
47  myOutputCaptureTets = false;
48  myVerbose = false;
49 
50  }
51 
53 
55 
57  {
58  if (myGroup != src.myGroup) return false;
59  if (myMaxIterations != src.myMaxIterations) return false;
60  if (myDiffTol != src.myDiffTol) return false;
61  if (myDestroyWeights != src.myDestroyWeights) return false;
62  if (myBlendFactor != src.myBlendFactor) return false;
63  if (myPointColoring != src.myPointColoring) return false;
64  if (myZeroWeightColor != src.myZeroWeightColor) return false;
65  if (myOutputCaptureTets != src.myOutputCaptureTets) return false;
66  if (myVerbose != src.myVerbose) return false;
67 
68  return true;
69  }
71  {
72  return !operator==(src);
73  }
75 
76 
77 
78  void buildFromOp(const SOP_GraphProxy *graph, exint nodeidx, fpreal time, DEP_MicroNode *depnode)
79  {
80  myGroup = ""_sh;
81  if (true)
82  graph->evalOpParm(myGroup, nodeidx, "group", time, 0);
83  myMaxIterations = 1;
84  if (true)
85  graph->evalOpParm(myMaxIterations, nodeidx, "maxiter", time, 0);
86  myDiffTol = 1e-4;
87  if (true)
88  graph->evalOpParm(myDiffTol, nodeidx, "difftol", time, 0);
89  myDestroyWeights = true;
90  if (true)
91  graph->evalOpParm(myDestroyWeights, nodeidx, "destroyweights", time, 0);
92  myBlendFactor = 1;
93  if (true && ( (!(((getDestroyWeights()!=0)))) ) )
94  graph->evalOpParm(myBlendFactor, nodeidx, "blendfactor", time, 0);
95  myPointColoring = 0;
96  if (true)
97  graph->evalOpParm(myPointColoring, nodeidx, "color", time, 0);
98  myZeroWeightColor = UT_Vector3D(1,1,1);
99  if (true)
100  graph->evalOpParm(myZeroWeightColor, nodeidx, "zeroweightcolor", time, 0);
101  myOutputCaptureTets = false;
102  if (true)
103  graph->evalOpParm(myOutputCaptureTets, nodeidx, "outputcapturetets", time, 0);
104  myVerbose = false;
105  if (true)
106  graph->evalOpParm(myVerbose, nodeidx, "verbose", time, 0);
107 
108  }
109 
110 
111  void loadFromOpSubclass(const LoadParms &loadparms) override
112  {
113  buildFromOp(loadparms.graph(), loadparms.nodeIdx(), loadparms.context().getTime(), loadparms.depnode());
114  }
115 
116 
117  void copyFrom(const SOP_NodeParms *src) override
118  {
119  *this = *((const SOP_BoneCaptureBiharmonicParms *)src);
120  }
121 
122  template <typename T>
123  void
124  doGetParmValue(TempIndex idx, TempIndex instance, T &value) const
125  {
126  if (idx.size() < 1)
127  return;
128  UT_ASSERT(idx.size() == instance.size()+1);
129  if (idx.size() != instance.size()+1)
130  return;
131  switch (idx[0])
132  {
133  case 0:
134  coerceValue(value, myGroup);
135  break;
136  case 1:
137  coerceValue(value, myMaxIterations);
138  break;
139  case 2:
140  coerceValue(value, myDiffTol);
141  break;
142  case 3:
143  coerceValue(value, myDestroyWeights);
144  break;
145  case 4:
146  coerceValue(value, myBlendFactor);
147  break;
148  case 5:
149  coerceValue(value, myPointColoring);
150  break;
151  case 6:
152  coerceValue(value, myZeroWeightColor);
153  break;
154  case 7:
155  coerceValue(value, myOutputCaptureTets);
156  break;
157  case 8:
158  coerceValue(value, myVerbose);
159  break;
160 
161  }
162  }
163 
164  void getNestParmValue(TempIndex idx, TempIndex instance, exint &value) const override
165  { doGetParmValue(idx, instance, value); }
166  void getNestParmValue(TempIndex idx, TempIndex instance, fpreal &value) const override
167  { doGetParmValue(idx, instance, value); }
168  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector2D &value) const override
169  { doGetParmValue(idx, instance, value); }
170  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector3D &value) const override
171  { doGetParmValue(idx, instance, value); }
172  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector4D &value) const override
173  { doGetParmValue(idx, instance, value); }
174  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix2D &value) const override
175  { doGetParmValue(idx, instance, value); }
176  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix3D &value) const override
177  { doGetParmValue(idx, instance, value); }
178  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix4D &value) const override
179  { doGetParmValue(idx, instance, value); }
180  void getNestParmValue(TempIndex idx, TempIndex instance, UT_StringHolder &value) const override
181  { doGetParmValue(idx, instance, value); }
182  void getNestParmValue(TempIndex idx, TempIndex instance, UT_SharedPtr<UT_Ramp> &value) const override
183  { doGetParmValue(idx, instance, value); }
184  void getNestParmValue(TempIndex idx, TempIndex instance, PRM_DataItemHandle &value) const override
185  { doGetParmValue(idx, instance, value); }
186 
187  template <typename T>
188  void
189  doSetParmValue(TempIndex idx, TempIndex instance, const T &value)
190  {
191  if (idx.size() < 1)
192  return;
193  UT_ASSERT(idx.size() == instance.size()+1);
194  if (idx.size() != instance.size()+1)
195  return;
196  switch (idx[0])
197  {
198  case 0:
199  coerceValue(myGroup, value);
200  break;
201  case 1:
202  coerceValue(myMaxIterations, value);
203  break;
204  case 2:
205  coerceValue(myDiffTol, value);
206  break;
207  case 3:
208  coerceValue(myDestroyWeights, value);
209  break;
210  case 4:
211  coerceValue(myBlendFactor, value);
212  break;
213  case 5:
214  coerceValue(myPointColoring, value);
215  break;
216  case 6:
217  coerceValue(myZeroWeightColor, value);
218  break;
219  case 7:
220  coerceValue(myOutputCaptureTets, value);
221  break;
222  case 8:
223  coerceValue(myVerbose, value);
224  break;
225 
226  }
227  }
228 
229  void setNestParmValue(TempIndex idx, TempIndex instance, const exint &value) override
230  { doSetParmValue(idx, instance, value); }
231  void setNestParmValue(TempIndex idx, TempIndex instance, const fpreal &value) override
232  { doSetParmValue(idx, instance, value); }
233  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector2D &value) override
234  { doSetParmValue(idx, instance, value); }
235  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector3D &value) override
236  { doSetParmValue(idx, instance, value); }
237  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector4D &value) override
238  { doSetParmValue(idx, instance, value); }
239  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix2D &value) override
240  { doSetParmValue(idx, instance, value); }
241  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix3D &value) override
242  { doSetParmValue(idx, instance, value); }
243  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix4D &value) override
244  { doSetParmValue(idx, instance, value); }
245  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_StringHolder &value) override
246  { doSetParmValue(idx, instance, value); }
247  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_SharedPtr<UT_Ramp> &value) override
248  { doSetParmValue(idx, instance, value); }
249  void setNestParmValue(TempIndex idx, TempIndex instance, const PRM_DataItemHandle &value) override
250  { doSetParmValue(idx, instance, value); }
251 
252  exint getNestNumParms(TempIndex idx) const override
253  {
254  if (idx.size() == 0)
255  return 9;
256  switch (idx[0])
257  {
258 
259  }
260  // Invalid
261  return 0;
262  }
263 
264  const char *getNestParmName(TempIndex fieldnum) const override
265  {
266  if (fieldnum.size() < 1)
267  return 0;
268  switch (fieldnum[0])
269  {
270  case 0:
271  return "group";
272  case 1:
273  return "maxiter";
274  case 2:
275  return "difftol";
276  case 3:
277  return "destroyweights";
278  case 4:
279  return "blendfactor";
280  case 5:
281  return "color";
282  case 6:
283  return "zeroweightcolor";
284  case 7:
285  return "outputcapturetets";
286  case 8:
287  return "verbose";
288 
289  }
290  return 0;
291  }
292 
293  ParmType getNestParmType(TempIndex fieldnum) const override
294  {
295  if (fieldnum.size() < 1)
296  return PARM_UNSUPPORTED;
297  switch (fieldnum[0])
298  {
299  case 0:
300  return PARM_STRING;
301  case 1:
302  return PARM_INTEGER;
303  case 2:
304  return PARM_FLOAT;
305  case 3:
306  return PARM_INTEGER;
307  case 4:
308  return PARM_FLOAT;
309  case 5:
310  return PARM_INTEGER;
311  case 6:
312  return PARM_VECTOR3;
313  case 7:
314  return PARM_INTEGER;
315  case 8:
316  return PARM_INTEGER;
317 
318  }
319  return PARM_UNSUPPORTED;
320  }
321 
322  // Boiler plate to load individual types.
323  static void loadData(UT_IStream &is, int64 &v)
324  { is.bread(&v, 1); }
325  static void loadData(UT_IStream &is, bool &v)
326  { int64 iv; is.bread(&iv, 1); v = iv; }
327  static void loadData(UT_IStream &is, fpreal64 &v)
328  { is.bread<fpreal64>(&v, 1); }
329  static void loadData(UT_IStream &is, UT_Vector2D &v)
330  { is.bread<fpreal64>(&v.x(), 1); is.bread<fpreal64>(&v.y(), 1); }
331  static void loadData(UT_IStream &is, UT_Vector3D &v)
332  { is.bread<fpreal64>(&v.x(), 1); is.bread<fpreal64>(&v.y(), 1);
333  is.bread<fpreal64>(&v.z(), 1); }
334  static void loadData(UT_IStream &is, UT_Vector4D &v)
335  { is.bread<fpreal64>(&v.x(), 1); is.bread<fpreal64>(&v.y(), 1);
336  is.bread<fpreal64>(&v.z(), 1); is.bread<fpreal64>(&v.w(), 1); }
337  static void loadData(UT_IStream &is, UT_Matrix2D &v)
338  { for (int r = 0; r < 2; r++) for (int c = 0; c < 2; c++) is.bread<fpreal64>(&v(r, c), 1); }
339  static void loadData(UT_IStream &is, UT_Matrix3D &v)
340  { for (int r = 0; r < 3; r++) for (int c = 0; c < 3; c++) is.bread<fpreal64>(&v(r, c), 1); }
341  static void loadData(UT_IStream &is, UT_Matrix4D &v)
342  { for (int r = 0; r < 4; r++) for (int c = 0; c < 4; c++) is.bread<fpreal64>(&v(r, c), 1); }
343  static void loadData(UT_IStream &is, UT_Vector2I &v)
344  { is.bread<int64>(&v.x(), 1); is.bread<int64>(&v.y(), 1); }
345  static void loadData(UT_IStream &is, UT_Vector3I &v)
346  { is.bread<int64>(&v.x(), 1); is.bread<int64>(&v.y(), 1);
347  is.bread<int64>(&v.z(), 1); }
348  static void loadData(UT_IStream &is, UT_Vector4I &v)
349  { is.bread<int64>(&v.x(), 1); is.bread<int64>(&v.y(), 1);
350  is.bread<int64>(&v.z(), 1); is.bread<int64>(&v.w(), 1); }
352  { is.bread(v); }
354  { UT_StringHolder rampdata;
355  loadData(is, rampdata);
356  if (rampdata.isstring())
357  {
358  v.reset(new UT_Ramp());
359  UT_IStream istr((const char *) rampdata, rampdata.length(), UT_ISTREAM_ASCII);
360  v->load(istr);
361  }
362  else v.reset();
363  }
366  loadData(is, data);
367  if (data.isstring())
368  {
369  // Find the data type.
370  const char *colon = UT_StringWrap(data).findChar(':');
371  if (colon)
372  {
373  int typelen = colon - data.buffer();
375  type.strncpy(data.buffer(), typelen);
376  UT_IStream istr(((const char *) data) + typelen + 1, data.length() - (typelen + 1), UT_ISTREAM_BINARY);
377 
378  v = PRM_DataFactory::parseBinary(type.buffer(), istr);
379  }
380  }
381  else v.reset();
382  }
383 
384  static void saveData(std::ostream &os, int64 v)
385  { UTwrite(os, &v); }
386  static void saveData(std::ostream &os, bool v)
387  { int64 iv = v; UTwrite(os, &iv); }
388  static void saveData(std::ostream &os, fpreal64 v)
389  { UTwrite<fpreal64>(os, &v); }
390  static void saveData(std::ostream &os, UT_Vector2D v)
391  { UTwrite<fpreal64>(os, &v.x()); UTwrite<fpreal64>(os, &v.y()); }
392  static void saveData(std::ostream &os, UT_Vector3D v)
393  { UTwrite<fpreal64>(os, &v.x()); UTwrite<fpreal64>(os, &v.y());
394  UTwrite<fpreal64>(os, &v.z()); }
395  static void saveData(std::ostream &os, UT_Vector4D v)
396  { UTwrite<fpreal64>(os, &v.x()); UTwrite<fpreal64>(os, &v.y());
397  UTwrite<fpreal64>(os, &v.z()); UTwrite<fpreal64>(os, &v.w()); }
398  static void saveData(std::ostream &os, UT_Matrix2D v)
400  static void saveData(std::ostream &os, UT_Matrix3D v)
402  static void saveData(std::ostream &os, UT_Matrix4D v)
404  static void saveData(std::ostream &os, UT_StringHolder s)
405  { UT_StringWrap(s).saveBinary(os); }
406  static void saveData(std::ostream &os, UT_SharedPtr<UT_Ramp> s)
408  UT_OStringStream ostr;
409  if (s) s->save(ostr);
410  result = ostr.str();
411  saveData(os, result);
412  }
413  static void saveData(std::ostream &os, PRM_DataItemHandle s)
415  UT_OStringStream ostr;
416  if (s)
417  {
418  ostr << s->getDataTypeToken();
419  ostr << ":";
420  s->saveBinary(ostr);
421  }
422  result = ostr.str();
423  saveData(os, result);
424  }
425 
426 
427  void save(std::ostream &os) const
428  {
429  int32 v = version();
430  UTwrite(os, &v);
431  saveData(os, myGroup);
432  saveData(os, myMaxIterations);
433  saveData(os, myDiffTol);
434  saveData(os, myDestroyWeights);
435  saveData(os, myBlendFactor);
436  saveData(os, myPointColoring);
437  saveData(os, myZeroWeightColor);
438  saveData(os, myOutputCaptureTets);
439  saveData(os, myVerbose);
440 
441  }
442 
443  bool load(UT_IStream &is)
444  {
445  int32 v;
446  is.bread(&v, 1);
447  if (version() != v)
448  {
449  // Fail incompatible versions
450  return false;
451  }
452  loadData(is, myGroup);
453  loadData(is, myMaxIterations);
454  loadData(is, myDiffTol);
455  loadData(is, myDestroyWeights);
456  loadData(is, myBlendFactor);
457  loadData(is, myPointColoring);
458  loadData(is, myZeroWeightColor);
459  loadData(is, myOutputCaptureTets);
460  loadData(is, myVerbose);
461 
462  return true;
463  }
464 
465  const UT_StringHolder & getGroup() const { return myGroup; }
466  void setGroup(const UT_StringHolder & val) { myGroup = val; }
468  {
469  SOP_Node *thissop = cookparms.getNode();
470  if (!thissop) return getGroup();
472  OP_Utils::evalOpParm(result, thissop, "group", cookparms.getCookTime(), 0);
473  return result;
474  }
475  int64 getMaxIterations() const { return myMaxIterations; }
476  void setMaxIterations(int64 val) { myMaxIterations = val; }
478  {
479  SOP_Node *thissop = cookparms.getNode();
480  if (!thissop) return getMaxIterations();
481  int64 result;
482  OP_Utils::evalOpParm(result, thissop, "maxiter", cookparms.getCookTime(), 0);
483  return result;
484  }
485  fpreal64 getDiffTol() const { return myDiffTol; }
486  void setDiffTol(fpreal64 val) { myDiffTol = val; }
488  {
489  SOP_Node *thissop = cookparms.getNode();
490  if (!thissop) return getDiffTol();
492  OP_Utils::evalOpParm(result, thissop, "difftol", cookparms.getCookTime(), 0);
493  return result;
494  }
495  bool getDestroyWeights() const { return myDestroyWeights; }
496  void setDestroyWeights(bool val) { myDestroyWeights = val; }
497  bool opDestroyWeights(const SOP_NodeVerb::CookParms &cookparms) const
498  {
499  SOP_Node *thissop = cookparms.getNode();
500  if (!thissop) return getDestroyWeights();
501  bool result;
502  OP_Utils::evalOpParm(result, thissop, "destroyweights", cookparms.getCookTime(), 0);
503  return result;
504  }
505  fpreal64 getBlendFactor() const { return myBlendFactor; }
506  void setBlendFactor(fpreal64 val) { myBlendFactor = val; }
508  {
509  SOP_Node *thissop = cookparms.getNode();
510  if (!thissop) return getBlendFactor();
512  OP_Utils::evalOpParm(result, thissop, "blendfactor", cookparms.getCookTime(), 0);
513  return result;
514  }
515  PointColoring getPointColoring() const { return PointColoring(myPointColoring); }
516  void setPointColoring(PointColoring val) { myPointColoring = int64(val); }
518  {
519  SOP_Node *thissop = cookparms.getNode();
520  if (!thissop) return getPointColoring();
521  int64 result;
522  OP_Utils::evalOpParm(result, thissop, "color", cookparms.getCookTime(), 0);
523  return PointColoring(result);
524  }
525  UT_Vector3D getZeroWeightColor() const { return myZeroWeightColor; }
526  void setZeroWeightColor(UT_Vector3D val) { myZeroWeightColor = val; }
528  {
529  SOP_Node *thissop = cookparms.getNode();
530  if (!thissop) return getZeroWeightColor();
532  OP_Utils::evalOpParm(result, thissop, "zeroweightcolor", cookparms.getCookTime(), 0);
533  return result;
534  }
535  bool getOutputCaptureTets() const { return myOutputCaptureTets; }
536  void setOutputCaptureTets(bool val) { myOutputCaptureTets = val; }
537  bool opOutputCaptureTets(const SOP_NodeVerb::CookParms &cookparms) const
538  {
539  SOP_Node *thissop = cookparms.getNode();
540  if (!thissop) return getOutputCaptureTets();
541  bool result;
542  OP_Utils::evalOpParm(result, thissop, "outputcapturetets", cookparms.getCookTime(), 0);
543  return result;
544  }
545  bool getVerbose() const { return myVerbose; }
546  void setVerbose(bool val) { myVerbose = val; }
547  bool opVerbose(const SOP_NodeVerb::CookParms &cookparms) const
548  {
549  SOP_Node *thissop = cookparms.getNode();
550  if (!thissop) return getVerbose();
551  bool result;
552  OP_Utils::evalOpParm(result, thissop, "verbose", cookparms.getCookTime(), 0);
553  return result;
554  }
555 
556 private:
557  UT_StringHolder myGroup;
558  int64 myMaxIterations;
559  fpreal64 myDiffTol;
560  bool myDestroyWeights;
561  fpreal64 myBlendFactor;
562  int64 myPointColoring;
563  UT_Vector3D myZeroWeightColor;
564  bool myOutputCaptureTets;
565  bool myVerbose;
566 
567 };
GLdouble s
Definition: glew.h:1390
static void loadData(UT_IStream &is, UT_StringHolder &v)
static void loadData(UT_IStream &is, UT_Vector2D &v)
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector2D &value) const override
exint nodeIdx() const
Definition: SOP_NodeVerb.h:114
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix3D &value) override
GLenum src
Definition: glew.h:2410
int int32
Definition: SYS_Types.h:39
SOP_Node * getNode() const
Definition: SOP_NodeVerb.h:640
void getNestParmValue(TempIndex idx, TempIndex instance, exint &value) const override
void getNestParmValue(TempIndex idx, TempIndex instance, fpreal &value) const override
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
GLuint const GLfloat * val
Definition: glew.h:2794
static void loadData(UT_IStream &is, UT_Vector2I &v)
int64 exint
Definition: SYS_Types.h:125
exint getNestNumParms(TempIndex idx) const override
SYS_FORCE_INLINE const char * buffer() const
const SOP_GraphProxy * graph() const
Definition: SOP_NodeVerb.h:113
static void loadData(UT_IStream &is, UT_Matrix3D &v)
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix4D &value) override
void getNestParmValue(TempIndex idx, TempIndex instance, UT_SharedPtr< UT_Ramp > &value) const override
void getNestParmValue(TempIndex idx, TempIndex instance, PRM_DataItemHandle &value) const override
An output stream object that owns its own string buffer storage.
static void loadData(UT_IStream &is, bool &v)
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector4D &value) override
void doSetParmValue(TempIndex idx, TempIndex instance, const T &value)
const GLdouble * v
Definition: glew.h:1391
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)
static void saveData(std::ostream &os, PRM_DataItemHandle s)
static PRM_DataItemHandle parseBinary(const char *type, UT_IStream &is)
const UT_WorkBuffer & str()
Returns a read-only reference to the underlying UT_WorkBuffer.
void setNestParmValue(TempIndex idx, TempIndex instance, const PRM_DataItemHandle &value) override
static void loadData(UT_IStream &is, UT_Vector3I &v)
void buildFromOp(const SOP_GraphProxy *graph, exint nodeidx, fpreal time, DEP_MicroNode *depnode)
fpreal64 opDiffTol(const SOP_NodeVerb::CookParms &cookparms) const
bool opVerbose(const SOP_NodeVerb::CookParms &cookparms) const
double fpreal64
Definition: SYS_Types.h:201
static void loadData(UT_IStream &is, UT_SharedPtr< UT_Ramp > &v)
static void saveData(std::ostream &os, UT_Vector3D v)
bool operator==(const BaseDimensions< T > &a, const BaseDimensions< Y > &b)
Definition: Dimensions.h:137
static void saveData(std::ostream &os, UT_Vector2D v)
PointColoring opPointColoring(const SOP_NodeVerb::CookParms &cookparms) const
SYS_FORCE_INLINE T & y()
Definition: UT_Vector3.h:513
static void saveData(std::ostream &os, UT_SharedPtr< UT_Ramp > s)
bool operator!=(const SOP_BoneCaptureBiharmonicParms &src) const
exint length() const
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix3D &value) const override
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
GLint GLenum GLsizei GLint GLsizei const void * data
Definition: glew.h:1379
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix2D &value) override
SYS_FORCE_INLINE T & z()
Definition: UT_Vector3.h:515
static void saveData(std::ostream &os, UT_Vector4D v)
void setNestParmValue(TempIndex idx, TempIndex instance, const exint &value) override
const GLfloat * c
Definition: glew.h:16296
void setNestParmValue(TempIndex idx, TempIndex instance, const fpreal &value) override
long long int64
Definition: SYS_Types.h:116
UT_Vector3T< fpreal64 > UT_Vector3D
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_SharedPtr< UT_Ramp > &value) override
static void saveData(std::ostream &os, int64 v)
const char * getNestParmName(TempIndex fieldnum) const override
void getNestParmValue(TempIndex idx, TempIndex instance, UT_StringHolder &value) const override
static void saveData(std::ostream &os, UT_Matrix3D v)
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)
void loadFromOpSubclass(const LoadParms &loadparms) override
GT_API const UT_StringHolder version
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix4D &value) const override
DEP_MicroNode * depnode() const
Definition: SOP_NodeVerb.h:121
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector2D &value) override
fpreal64 fpreal
Definition: SYS_Types.h:277
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector3D &value) override
static void saveData(std::ostream &os, fpreal64 v)
Utility class for containing a color ramp.
Definition: UT_Ramp.h:84
GLdouble GLdouble GLdouble r
Definition: glew.h:1406
void setGroup(const UT_StringHolder &val)
UT_Vector3D opZeroWeightColor(const SOP_NodeVerb::CookParms &cookparms) const
#define SOP_API
Definition: SOP_API.h:10
virtual void evalOpParm(int64 &v, NodeIdx node, const char *parmname, fpreal time, DEP_MicroNode *depnode) const =0
SYS_FORCE_INLINE T & x()
Definition: UT_Vector3.h:511
fpreal getCookTime() const
Definition: SOP_NodeVerb.h:654
bool opDestroyWeights(const SOP_NodeVerb::CookParms &cookparms) const
GLuint64EXT * result
Definition: glew.h:14007
static void loadData(UT_IStream &is, fpreal64 &v)
void doGetParmValue(TempIndex idx, TempIndex instance, T &value) const
static void loadData(UT_IStream &is, UT_Vector4D &v)
ParmType getNestParmType(TempIndex fieldnum) const override
const char * findChar(int c) const
Definition: UT_String.h:1367
#define UT_ASSERT(ZZ)
Definition: UT_Assert.h:135
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix2D &value) const override
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_StringHolder &value) override
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector3D &value) const override
GLsizei const GLfloat * value
Definition: glew.h:1849
UT_StringHolder opGroup(const SOP_NodeVerb::CookParms &cookparms) const
const OP_Context & context() const
Definition: SOP_NodeVerb.h:119
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:89
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector4D &value) const override
SYS_FORCE_INLINE bool isstring() const
static void saveData(std::ostream &os, UT_StringHolder s)
SYS_FORCE_INLINE void strncpy(const char *src, exint maxlen)
void copyFrom(const SOP_NodeParms *src) override
type
Definition: core.h:528