HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SOP_BoneDeform.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_BoneDeformEnums
24 {
25  enum class Method
26  {
27  LINEAR = 0,
28  DUALQUAT,
31  };
32 }
33 
34 
36 {
37 public:
38  static int version() { return 1; }
39 
41  {
42  myGroup = ""_sh;
43  mySkeletonRootPath = ""_sh;
44  myMethod = 0;
45  myDualQuaternionBlendAttrib = ""_sh;
46  myBoneTransformPath = ""_sh;
47  myBoneTransformTargetPath = ""_sh;
48  myBoneTransformRegionPath = ""_sh;
49  myOtherAttribs = ""_sh;
50  myDoNormals = true;
51  myDeleteCaptureAttrib = true;
52  myDeletePointColors = false;
53 
54  }
55 
56  explicit SOP_BoneDeformParms(const SOP_BoneDeformParms &) = default;
57 
58  ~SOP_BoneDeformParms() override {}
59 
60  bool operator==(const SOP_BoneDeformParms &src) const
61  {
62  if (myGroup != src.myGroup) return false;
63  if (mySkeletonRootPath != src.mySkeletonRootPath) return false;
64  if (myMethod != src.myMethod) return false;
65  if (myDualQuaternionBlendAttrib != src.myDualQuaternionBlendAttrib) return false;
66  if (myBoneTransformPath != src.myBoneTransformPath) return false;
67  if (myBoneTransformTargetPath != src.myBoneTransformTargetPath) return false;
68  if (myBoneTransformRegionPath != src.myBoneTransformRegionPath) return false;
69  if (myOtherAttribs != src.myOtherAttribs) return false;
70  if (myDoNormals != src.myDoNormals) return false;
71  if (myDeleteCaptureAttrib != src.myDeleteCaptureAttrib) return false;
72  if (myDeletePointColors != src.myDeletePointColors) return false;
73 
74  return true;
75  }
76  bool operator!=(const SOP_BoneDeformParms &src) const
77  {
78  return !operator==(src);
79  }
81 
82 
83 
84  void buildFromOp(const SOP_GraphProxy *graph, exint nodeidx, fpreal time, DEP_MicroNode *depnode)
85  {
86  myGroup = ""_sh;
87  if (true)
88  graph->evalOpParm(myGroup, nodeidx, "group", time, 0);
89  mySkeletonRootPath = ""_sh;
90  if (true)
91  graph->evalOpParm(mySkeletonRootPath, nodeidx, "skelrootpath", time, 0);
92  myMethod = 0;
93  if (true)
94  graph->evalOpParm(myMethod, nodeidx, "method", time, 0);
95  myDualQuaternionBlendAttrib = ""_sh;
96  if (true && ( (!(((int64(getMethod())!=2)))) ) )
97  graph->evalOpParm(myDualQuaternionBlendAttrib, nodeidx, "dqblendattrib", time, 0);
98  myBoneTransformPath = ""_sh;
99  if (true)
100  graph->evalOpParm(myBoneTransformPath, nodeidx, "bonetransformpath", time, 0);
101  myBoneTransformTargetPath = ""_sh;
102  if (true && ( (!(((getBoneTransformPath()=="")))) ) )
103  graph->evalOpParm(myBoneTransformTargetPath, nodeidx, "bonetransformtargetpath", time, 0);
104  myBoneTransformRegionPath = ""_sh;
105  if (true && ( (!(((getBoneTransformPath()=="")))) ) )
106  graph->evalOpParm(myBoneTransformRegionPath, nodeidx, "bonetransformregionpath", time, 0);
107  myOtherAttribs = ""_sh;
108  if (true)
109  graph->evalOpParm(myOtherAttribs, nodeidx, "otherattribs", time, 0);
110  myDoNormals = true;
111  if (true)
112  graph->evalOpParm(myDoNormals, nodeidx, "donormal", time, 0);
113  myDeleteCaptureAttrib = true;
114  if (true)
115  graph->evalOpParm(myDeleteCaptureAttrib, nodeidx, "deletecaptureattrib", time, 0);
116  myDeletePointColors = false;
117  if (true)
118  graph->evalOpParm(myDeletePointColors, nodeidx, "deletepointtcolors", time, 0);
119 
120  }
121 
122 
123  void loadFromOpSubclass(const LoadParms &loadparms) override
124  {
125  buildFromOp(loadparms.graph(), loadparms.nodeIdx(), loadparms.context().getTime(), loadparms.depnode());
126  }
127 
128 
129  void copyFrom(const SOP_NodeParms *src) override
130  {
131  *this = *((const SOP_BoneDeformParms *)src);
132  }
133 
134  template <typename T>
135  void
136  doGetParmValue(TempIndex idx, TempIndex instance, T &value) const
137  {
138  if (idx.size() < 1)
139  return;
140  UT_ASSERT(idx.size() == instance.size()+1);
141  if (idx.size() != instance.size()+1)
142  return;
143  switch (idx[0])
144  {
145  case 0:
146  coerceValue(value, myGroup);
147  break;
148  case 1:
149  coerceValue(value, mySkeletonRootPath);
150  break;
151  case 2:
152  coerceValue(value, myMethod);
153  break;
154  case 3:
155  coerceValue(value, myDualQuaternionBlendAttrib);
156  break;
157  case 4:
158  coerceValue(value, myBoneTransformPath);
159  break;
160  case 5:
161  coerceValue(value, myBoneTransformTargetPath);
162  break;
163  case 6:
164  coerceValue(value, myBoneTransformRegionPath);
165  break;
166  case 7:
167  coerceValue(value, myOtherAttribs);
168  break;
169  case 8:
170  coerceValue(value, myDoNormals);
171  break;
172  case 9:
173  coerceValue(value, myDeleteCaptureAttrib);
174  break;
175  case 10:
176  coerceValue(value, myDeletePointColors);
177  break;
178 
179  }
180  }
181 
182  void getNestParmValue(TempIndex idx, TempIndex instance, exint &value) const override
183  { doGetParmValue(idx, instance, value); }
184  void getNestParmValue(TempIndex idx, TempIndex instance, fpreal &value) const override
185  { doGetParmValue(idx, instance, value); }
186  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector2D &value) const override
187  { doGetParmValue(idx, instance, value); }
188  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector3D &value) const override
189  { doGetParmValue(idx, instance, value); }
190  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector4D &value) const override
191  { doGetParmValue(idx, instance, value); }
192  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix2D &value) const override
193  { doGetParmValue(idx, instance, value); }
194  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix3D &value) const override
195  { doGetParmValue(idx, instance, value); }
196  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix4D &value) const override
197  { doGetParmValue(idx, instance, value); }
198  void getNestParmValue(TempIndex idx, TempIndex instance, UT_StringHolder &value) const override
199  { doGetParmValue(idx, instance, value); }
200  void getNestParmValue(TempIndex idx, TempIndex instance, UT_SharedPtr<UT_Ramp> &value) const override
201  { doGetParmValue(idx, instance, value); }
202  void getNestParmValue(TempIndex idx, TempIndex instance, PRM_DataItemHandle &value) const override
203  { doGetParmValue(idx, instance, value); }
204 
205  template <typename T>
206  void
207  doSetParmValue(TempIndex idx, TempIndex instance, const T &value)
208  {
209  if (idx.size() < 1)
210  return;
211  UT_ASSERT(idx.size() == instance.size()+1);
212  if (idx.size() != instance.size()+1)
213  return;
214  switch (idx[0])
215  {
216  case 0:
217  coerceValue(myGroup, value);
218  break;
219  case 1:
220  coerceValue(mySkeletonRootPath, value);
221  break;
222  case 2:
223  coerceValue(myMethod, value);
224  break;
225  case 3:
226  coerceValue(myDualQuaternionBlendAttrib, value);
227  break;
228  case 4:
229  coerceValue(myBoneTransformPath, value);
230  break;
231  case 5:
232  coerceValue(myBoneTransformTargetPath, value);
233  break;
234  case 6:
235  coerceValue(myBoneTransformRegionPath, value);
236  break;
237  case 7:
238  coerceValue(myOtherAttribs, value);
239  break;
240  case 8:
241  coerceValue(myDoNormals, value);
242  break;
243  case 9:
244  coerceValue(myDeleteCaptureAttrib, value);
245  break;
246  case 10:
247  coerceValue(myDeletePointColors, value);
248  break;
249 
250  }
251  }
252 
253  void setNestParmValue(TempIndex idx, TempIndex instance, const exint &value) override
254  { doSetParmValue(idx, instance, value); }
255  void setNestParmValue(TempIndex idx, TempIndex instance, const fpreal &value) override
256  { doSetParmValue(idx, instance, value); }
257  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector2D &value) override
258  { doSetParmValue(idx, instance, value); }
259  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector3D &value) override
260  { doSetParmValue(idx, instance, value); }
261  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector4D &value) override
262  { doSetParmValue(idx, instance, value); }
263  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix2D &value) override
264  { doSetParmValue(idx, instance, value); }
265  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix3D &value) override
266  { doSetParmValue(idx, instance, value); }
267  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix4D &value) override
268  { doSetParmValue(idx, instance, value); }
269  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_StringHolder &value) override
270  { doSetParmValue(idx, instance, value); }
271  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_SharedPtr<UT_Ramp> &value) override
272  { doSetParmValue(idx, instance, value); }
273  void setNestParmValue(TempIndex idx, TempIndex instance, const PRM_DataItemHandle &value) override
274  { doSetParmValue(idx, instance, value); }
275 
276  exint getNestNumParms(TempIndex idx) const override
277  {
278  if (idx.size() == 0)
279  return 11;
280  switch (idx[0])
281  {
282 
283  }
284  // Invalid
285  return 0;
286  }
287 
288  const char *getNestParmName(TempIndex fieldnum) const override
289  {
290  if (fieldnum.size() < 1)
291  return 0;
292  switch (fieldnum[0])
293  {
294  case 0:
295  return "group";
296  case 1:
297  return "skelrootpath";
298  case 2:
299  return "method";
300  case 3:
301  return "dqblendattrib";
302  case 4:
303  return "bonetransformpath";
304  case 5:
305  return "bonetransformtargetpath";
306  case 6:
307  return "bonetransformregionpath";
308  case 7:
309  return "otherattribs";
310  case 8:
311  return "donormal";
312  case 9:
313  return "deletecaptureattrib";
314  case 10:
315  return "deletepointtcolors";
316 
317  }
318  return 0;
319  }
320 
321  ParmType getNestParmType(TempIndex fieldnum) const override
322  {
323  if (fieldnum.size() < 1)
324  return PARM_UNSUPPORTED;
325  switch (fieldnum[0])
326  {
327  case 0:
328  return PARM_STRING;
329  case 1:
330  return PARM_STRING;
331  case 2:
332  return PARM_INTEGER;
333  case 3:
334  return PARM_STRING;
335  case 4:
336  return PARM_STRING;
337  case 5:
338  return PARM_STRING;
339  case 6:
340  return PARM_STRING;
341  case 7:
342  return PARM_STRING;
343  case 8:
344  return PARM_INTEGER;
345  case 9:
346  return PARM_INTEGER;
347  case 10:
348  return PARM_INTEGER;
349 
350  }
351  return PARM_UNSUPPORTED;
352  }
353 
354  // Boiler plate to load individual types.
355  static void loadData(UT_IStream &is, int64 &v)
356  { is.bread(&v, 1); }
357  static void loadData(UT_IStream &is, bool &v)
358  { int64 iv; is.bread(&iv, 1); v = iv; }
359  static void loadData(UT_IStream &is, fpreal64 &v)
360  { is.bread<fpreal64>(&v, 1); }
361  static void loadData(UT_IStream &is, UT_Vector2D &v)
362  { is.bread<fpreal64>(&v.x(), 1); is.bread<fpreal64>(&v.y(), 1); }
363  static void loadData(UT_IStream &is, UT_Vector3D &v)
364  { is.bread<fpreal64>(&v.x(), 1); is.bread<fpreal64>(&v.y(), 1);
365  is.bread<fpreal64>(&v.z(), 1); }
366  static void loadData(UT_IStream &is, UT_Vector4D &v)
367  { is.bread<fpreal64>(&v.x(), 1); is.bread<fpreal64>(&v.y(), 1);
368  is.bread<fpreal64>(&v.z(), 1); is.bread<fpreal64>(&v.w(), 1); }
369  static void loadData(UT_IStream &is, UT_Matrix2D &v)
370  { for (int r = 0; r < 2; r++) for (int c = 0; c < 2; c++) is.bread<fpreal64>(&v(r, c), 1); }
371  static void loadData(UT_IStream &is, UT_Matrix3D &v)
372  { for (int r = 0; r < 3; r++) for (int c = 0; c < 3; c++) is.bread<fpreal64>(&v(r, c), 1); }
373  static void loadData(UT_IStream &is, UT_Matrix4D &v)
374  { for (int r = 0; r < 4; r++) for (int c = 0; c < 4; c++) is.bread<fpreal64>(&v(r, c), 1); }
375  static void loadData(UT_IStream &is, UT_Vector2I &v)
376  { is.bread<int64>(&v.x(), 1); is.bread<int64>(&v.y(), 1); }
377  static void loadData(UT_IStream &is, UT_Vector3I &v)
378  { is.bread<int64>(&v.x(), 1); is.bread<int64>(&v.y(), 1);
379  is.bread<int64>(&v.z(), 1); }
380  static void loadData(UT_IStream &is, UT_Vector4I &v)
381  { is.bread<int64>(&v.x(), 1); is.bread<int64>(&v.y(), 1);
382  is.bread<int64>(&v.z(), 1); is.bread<int64>(&v.w(), 1); }
384  { is.bread(v); }
386  { UT_StringHolder rampdata;
387  loadData(is, rampdata);
388  if (rampdata.isstring())
389  {
390  v.reset(new UT_Ramp());
391  UT_IStream istr((const char *) rampdata, rampdata.length(), UT_ISTREAM_ASCII);
392  v->load(istr);
393  }
394  else v.reset();
395  }
398  loadData(is, data);
399  if (data.isstring())
400  {
401  // Find the data type.
402  const char *colon = UT_StringWrap(data).findChar(':');
403  if (colon)
404  {
405  int typelen = colon - data.buffer();
407  type.strncpy(data.buffer(), typelen);
408  UT_IStream istr(((const char *) data) + typelen + 1, data.length() - (typelen + 1), UT_ISTREAM_BINARY);
409 
410  v = PRM_DataFactory::parseBinary(type.buffer(), istr);
411  }
412  }
413  else v.reset();
414  }
415 
416  static void saveData(std::ostream &os, int64 v)
417  { UTwrite(os, &v); }
418  static void saveData(std::ostream &os, bool v)
419  { int64 iv = v; UTwrite(os, &iv); }
420  static void saveData(std::ostream &os, fpreal64 v)
421  { UTwrite<fpreal64>(os, &v); }
422  static void saveData(std::ostream &os, UT_Vector2D v)
423  { UTwrite<fpreal64>(os, &v.x()); UTwrite<fpreal64>(os, &v.y()); }
424  static void saveData(std::ostream &os, UT_Vector3D v)
425  { UTwrite<fpreal64>(os, &v.x()); UTwrite<fpreal64>(os, &v.y());
426  UTwrite<fpreal64>(os, &v.z()); }
427  static void saveData(std::ostream &os, UT_Vector4D v)
428  { UTwrite<fpreal64>(os, &v.x()); UTwrite<fpreal64>(os, &v.y());
429  UTwrite<fpreal64>(os, &v.z()); UTwrite<fpreal64>(os, &v.w()); }
430  static void saveData(std::ostream &os, UT_Matrix2D v)
432  static void saveData(std::ostream &os, UT_Matrix3D v)
434  static void saveData(std::ostream &os, UT_Matrix4D v)
436  static void saveData(std::ostream &os, UT_StringHolder s)
437  { UT_StringWrap(s).saveBinary(os); }
438  static void saveData(std::ostream &os, UT_SharedPtr<UT_Ramp> s)
440  UT_OStringStream ostr;
441  if (s) s->save(ostr);
442  result = ostr.str();
443  saveData(os, result);
444  }
445  static void saveData(std::ostream &os, PRM_DataItemHandle s)
447  UT_OStringStream ostr;
448  if (s)
449  {
450  ostr << s->getDataTypeToken();
451  ostr << ":";
452  s->saveBinary(ostr);
453  }
454  result = ostr.str();
455  saveData(os, result);
456  }
457 
458 
459  void save(std::ostream &os) const
460  {
461  int32 v = version();
462  UTwrite(os, &v);
463  saveData(os, myGroup);
464  saveData(os, mySkeletonRootPath);
465  saveData(os, myMethod);
466  saveData(os, myDualQuaternionBlendAttrib);
467  saveData(os, myBoneTransformPath);
468  saveData(os, myBoneTransformTargetPath);
469  saveData(os, myBoneTransformRegionPath);
470  saveData(os, myOtherAttribs);
471  saveData(os, myDoNormals);
472  saveData(os, myDeleteCaptureAttrib);
473  saveData(os, myDeletePointColors);
474 
475  }
476 
477  bool load(UT_IStream &is)
478  {
479  int32 v;
480  is.bread(&v, 1);
481  if (version() != v)
482  {
483  // Fail incompatible versions
484  return false;
485  }
486  loadData(is, myGroup);
487  loadData(is, mySkeletonRootPath);
488  loadData(is, myMethod);
489  loadData(is, myDualQuaternionBlendAttrib);
490  loadData(is, myBoneTransformPath);
491  loadData(is, myBoneTransformTargetPath);
492  loadData(is, myBoneTransformRegionPath);
493  loadData(is, myOtherAttribs);
494  loadData(is, myDoNormals);
495  loadData(is, myDeleteCaptureAttrib);
496  loadData(is, myDeletePointColors);
497 
498  return true;
499  }
500 
501  const UT_StringHolder & getGroup() const { return myGroup; }
502  void setGroup(const UT_StringHolder & val) { myGroup = val; }
504  {
505  SOP_Node *thissop = cookparms.getNode();
506  if (!thissop) return getGroup();
508  OP_Utils::evalOpParm(result, thissop, "group", cookparms.getCookTime(), 0);
509  return result;
510  }
511  const UT_StringHolder & getSkeletonRootPath() const { return mySkeletonRootPath; }
512  void setSkeletonRootPath(const UT_StringHolder & val) { mySkeletonRootPath = val; }
514  {
515  SOP_Node *thissop = cookparms.getNode();
516  if (!thissop) return getSkeletonRootPath();
518  OP_Utils::evalOpParm(result, thissop, "skelrootpath", cookparms.getCookTime(), 0);
519  return result;
520  }
521  Method getMethod() const { return Method(myMethod); }
522  void setMethod(Method val) { myMethod = int64(val); }
523  Method opMethod(const SOP_NodeVerb::CookParms &cookparms) const
524  {
525  SOP_Node *thissop = cookparms.getNode();
526  if (!thissop) return getMethod();
527  int64 result;
528  OP_Utils::evalOpParm(result, thissop, "method", cookparms.getCookTime(), 0);
529  return Method(result);
530  }
531  const UT_StringHolder & getDualQuaternionBlendAttrib() const { return myDualQuaternionBlendAttrib; }
532  void setDualQuaternionBlendAttrib(const UT_StringHolder & val) { myDualQuaternionBlendAttrib = val; }
534  {
535  SOP_Node *thissop = cookparms.getNode();
536  if (!thissop) return getDualQuaternionBlendAttrib();
538  OP_Utils::evalOpParm(result, thissop, "dqblendattrib", cookparms.getCookTime(), 0);
539  return result;
540  }
541  const UT_StringHolder & getBoneTransformPath() const { return myBoneTransformPath; }
542  void setBoneTransformPath(const UT_StringHolder & val) { myBoneTransformPath = val; }
544  {
545  SOP_Node *thissop = cookparms.getNode();
546  if (!thissop) return getBoneTransformPath();
548  OP_Utils::evalOpParm(result, thissop, "bonetransformpath", cookparms.getCookTime(), 0);
549  return result;
550  }
551  const UT_StringHolder & getBoneTransformTargetPath() const { return myBoneTransformTargetPath; }
552  void setBoneTransformTargetPath(const UT_StringHolder & val) { myBoneTransformTargetPath = val; }
554  {
555  SOP_Node *thissop = cookparms.getNode();
556  if (!thissop) return getBoneTransformTargetPath();
558  OP_Utils::evalOpParm(result, thissop, "bonetransformtargetpath", cookparms.getCookTime(), 0);
559  return result;
560  }
561  const UT_StringHolder & getBoneTransformRegionPath() const { return myBoneTransformRegionPath; }
562  void setBoneTransformRegionPath(const UT_StringHolder & val) { myBoneTransformRegionPath = val; }
564  {
565  SOP_Node *thissop = cookparms.getNode();
566  if (!thissop) return getBoneTransformRegionPath();
568  OP_Utils::evalOpParm(result, thissop, "bonetransformregionpath", cookparms.getCookTime(), 0);
569  return result;
570  }
571  const UT_StringHolder & getOtherAttribs() const { return myOtherAttribs; }
572  void setOtherAttribs(const UT_StringHolder & val) { myOtherAttribs = val; }
574  {
575  SOP_Node *thissop = cookparms.getNode();
576  if (!thissop) return getOtherAttribs();
578  OP_Utils::evalOpParm(result, thissop, "otherattribs", cookparms.getCookTime(), 0);
579  return result;
580  }
581  bool getDoNormals() const { return myDoNormals; }
582  void setDoNormals(bool val) { myDoNormals = val; }
583  bool opDoNormals(const SOP_NodeVerb::CookParms &cookparms) const
584  {
585  SOP_Node *thissop = cookparms.getNode();
586  if (!thissop) return getDoNormals();
587  bool result;
588  OP_Utils::evalOpParm(result, thissop, "donormal", cookparms.getCookTime(), 0);
589  return result;
590  }
591  bool getDeleteCaptureAttrib() const { return myDeleteCaptureAttrib; }
592  void setDeleteCaptureAttrib(bool val) { myDeleteCaptureAttrib = val; }
593  bool opDeleteCaptureAttrib(const SOP_NodeVerb::CookParms &cookparms) const
594  {
595  SOP_Node *thissop = cookparms.getNode();
596  if (!thissop) return getDeleteCaptureAttrib();
597  bool result;
598  OP_Utils::evalOpParm(result, thissop, "deletecaptureattrib", cookparms.getCookTime(), 0);
599  return result;
600  }
601  bool getDeletePointColors() const { return myDeletePointColors; }
602  void setDeletePointColors(bool val) { myDeletePointColors = val; }
603  bool opDeletePointColors(const SOP_NodeVerb::CookParms &cookparms) const
604  {
605  SOP_Node *thissop = cookparms.getNode();
606  if (!thissop) return getDeletePointColors();
607  bool result;
608  OP_Utils::evalOpParm(result, thissop, "deletepointtcolors", cookparms.getCookTime(), 0);
609  return result;
610  }
611 
612 private:
613  UT_StringHolder myGroup;
614  UT_StringHolder mySkeletonRootPath;
615  int64 myMethod;
616  UT_StringHolder myDualQuaternionBlendAttrib;
617  UT_StringHolder myBoneTransformPath;
618  UT_StringHolder myBoneTransformTargetPath;
619  UT_StringHolder myBoneTransformRegionPath;
620  UT_StringHolder myOtherAttribs;
621  bool myDoNormals;
622  bool myDeleteCaptureAttrib;
623  bool myDeletePointColors;
624 
625 };
void setNestParmValue(TempIndex idx, TempIndex instance, const PRM_DataItemHandle &value) override
GLdouble s
Definition: glew.h:1390
bool opDoNormals(const SOP_NodeVerb::CookParms &cookparms) const
static void loadData(UT_IStream &is, UT_Vector3D &v)
exint nodeIdx() const
Definition: SOP_NodeVerb.h:114
void setBoneTransformRegionPath(const UT_StringHolder &val)
bool opDeleteCaptureAttrib(const SOP_NodeVerb::CookParms &cookparms) const
GLenum src
Definition: glew.h:2410
int int32
Definition: SYS_Types.h:39
SOP_Node * getNode() const
Definition: SOP_NodeVerb.h:640
void copyFrom(const SOP_NodeParms *src) override
void save(std::ostream &os) const
static void loadData(UT_IStream &is, UT_Vector2D &v)
static void loadData(UT_IStream &is, bool &v)
void setDeleteCaptureAttrib(bool val)
exint bread(int32 *buffer, exint asize=1)
GT_API const UT_StringHolder time
static void loadData(UT_IStream &is, UT_Matrix2D &v)
static void loadData(UT_IStream &is, UT_StringHolder &v)
fpreal getTime() const
Definition: OP_Context.h:60
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector3D &value) const override
GLuint const GLfloat * val
Definition: glew.h:2794
UT_StringHolder opBoneTransformPath(const SOP_NodeVerb::CookParms &cookparms) const
static void saveData(std::ostream &os, UT_Vector4D v)
UT_StringHolder opBoneTransformRegionPath(const SOP_NodeVerb::CookParms &cookparms) const
void setDeletePointColors(bool val)
int64 exint
Definition: SYS_Types.h:125
static void saveData(std::ostream &os, fpreal64 v)
SYS_FORCE_INLINE const char * buffer() const
const SOP_GraphProxy * graph() const
Definition: SOP_NodeVerb.h:113
void doSetParmValue(TempIndex idx, TempIndex instance, const T &value)
const UT_StringHolder & getBoneTransformPath() const
void getNestParmValue(TempIndex idx, TempIndex instance, fpreal &value) const override
void getNestParmValue(TempIndex idx, TempIndex instance, UT_StringHolder &value) const override
static void loadData(UT_IStream &is, UT_Vector2I &v)
An output stream object that owns its own string buffer storage.
const GLdouble * v
Definition: glew.h:1391
static void loadData(UT_IStream &is, int64 &v)
Method opMethod(const SOP_NodeVerb::CookParms &cookparms) const
static void loadData(UT_IStream &is, UT_Vector4I &v)
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_StringHolder &value) override
static void saveData(std::ostream &os, UT_Matrix4D v)
const UT_StringHolder & getBoneTransformRegionPath() const
static PRM_DataItemHandle parseBinary(const char *type, UT_IStream &is)
void setBoneTransformTargetPath(const UT_StringHolder &val)
const UT_WorkBuffer & str()
Returns a read-only reference to the underlying UT_WorkBuffer.
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_SharedPtr< UT_Ramp > &value) override
const UT_StringHolder & getGroup() const
void doGetParmValue(TempIndex idx, TempIndex instance, T &value) const
const char * getNestParmName(TempIndex fieldnum) const override
bool getDeletePointColors() const
static void loadData(UT_IStream &is, UT_Vector4D &v)
static void loadData(UT_IStream &is, UT_SharedPtr< UT_Ramp > &v)
void setDualQuaternionBlendAttrib(const UT_StringHolder &val)
double fpreal64
Definition: SYS_Types.h:201
UT_StringHolder opBoneTransformTargetPath(const SOP_NodeVerb::CookParms &cookparms) const
void getNestParmValue(TempIndex idx, TempIndex instance, PRM_DataItemHandle &value) const override
bool operator==(const BaseDimensions< T > &a, const BaseDimensions< Y > &b)
Definition: Dimensions.h:137
bool operator!=(const SOP_BoneDeformParms &src) const
void setOtherAttribs(const UT_StringHolder &val)
void setNestParmValue(TempIndex idx, TempIndex instance, const exint &value) override
void getNestParmValue(TempIndex idx, TempIndex instance, exint &value) const override
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix3D &value) const override
SYS_FORCE_INLINE T & y()
Definition: UT_Vector3.h:513
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix4D &value) const override
UT_StringHolder opGroup(const SOP_NodeVerb::CookParms &cookparms) const
exint length() const
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix2D &value) override
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 opOtherAttribs(const SOP_NodeVerb::CookParms &cookparms) const
GLint GLenum GLsizei GLint GLsizei const void * data
Definition: glew.h:1379
SYS_FORCE_INLINE T & z()
Definition: UT_Vector3.h:515
static void saveData(std::ostream &os, PRM_DataItemHandle s)
const GLfloat * c
Definition: glew.h:16296
void getNestParmValue(TempIndex idx, TempIndex instance, UT_SharedPtr< UT_Ramp > &value) const override
long long int64
Definition: SYS_Types.h:116
ParmType getNestParmType(TempIndex fieldnum) const override
bool load(UT_IStream &is)
void setSkeletonRootPath(const UT_StringHolder &val)
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix4D &value) override
const UT_StringHolder & getSkeletonRootPath() const
UT_StringHolder opDualQuaternionBlendAttrib(const SOP_NodeVerb::CookParms &cookparms) const
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix2D &value) const override
void saveBinary(std::ostream &os) const
Save string to binary stream.
Definition: UT_String.h:294
const UT_StringHolder & getOtherAttribs() const
static void saveData(std::ostream &os, UT_Matrix2D v)
GT_API const UT_StringHolder version
DEP_MicroNode * depnode() const
Definition: SOP_NodeVerb.h:121
static void saveData(std::ostream &os, UT_Vector3D v)
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector4D &value) override
static void loadData(UT_IStream &is, PRM_DataItemHandle &v)
fpreal64 fpreal
Definition: SYS_Types.h:277
Utility class for containing a color ramp.
Definition: UT_Ramp.h:84
void setGroup(const UT_StringHolder &val)
GLdouble GLdouble GLdouble r
Definition: glew.h:1406
const UT_StringHolder & getBoneTransformTargetPath() const
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix3D &value) override
#define SOP_API
Definition: SOP_API.h:10
static void saveData(std::ostream &os, bool v)
virtual void evalOpParm(int64 &v, NodeIdx node, const char *parmname, fpreal time, DEP_MicroNode *depnode) const =0
static void loadData(UT_IStream &is, UT_Vector3I &v)
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector4D &value) const override
bool operator==(const SOP_BoneDeformParms &src) const
SYS_FORCE_INLINE T & x()
Definition: UT_Vector3.h:511
fpreal getCookTime() const
Definition: SOP_NodeVerb.h:654
GLuint64EXT * result
Definition: glew.h:14007
static void loadData(UT_IStream &is, UT_Matrix3D &v)
static void saveData(std::ostream &os, UT_Matrix3D v)
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector2D &value) override
const char * findChar(int c) const
Definition: UT_String.h:1367
#define UT_ASSERT(ZZ)
Definition: UT_Assert.h:135
void setNestParmValue(TempIndex idx, TempIndex instance, const fpreal &value) override
void buildFromOp(const SOP_GraphProxy *graph, exint nodeidx, fpreal time, DEP_MicroNode *depnode)
static void loadData(UT_IStream &is, UT_Matrix4D &v)
void loadFromOpSubclass(const LoadParms &loadparms) override
void setBoneTransformPath(const UT_StringHolder &val)
static void saveData(std::ostream &os, UT_SharedPtr< UT_Ramp > s)
UT_StringHolder opSkeletonRootPath(const SOP_NodeVerb::CookParms &cookparms) const
bool getDeleteCaptureAttrib() const
void setMethod(Method val)
static void saveData(std::ostream &os, UT_Vector2D v)
bool opDeletePointColors(const SOP_NodeVerb::CookParms &cookparms) const
static void loadData(UT_IStream &is, fpreal64 &v)
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector3D &value) override
const UT_StringHolder & getDualQuaternionBlendAttrib() const
GLsizei const GLfloat * value
Definition: glew.h:1849
static void saveData(std::ostream &os, int64 v)
const OP_Context & context() const
Definition: SOP_NodeVerb.h:119
UT_SharedPtr< const PRM_DataItem > PRM_DataItemHandle
Definition: PRM_Parm.h:89
exint getNestNumParms(TempIndex idx) const override
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector2D &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)
type
Definition: core.h:528