HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SOP_DeltaMushParms.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 
25 {
26 public:
27  static int version() { return 1; }
28 
30  {
31  myGroup = ""_sh;
32  myIterations = 10;
33  myStepSize = 0.5;
34  myMethod = 0;
35  myPinBorder = false;
36  myRecomputeNormals = true;
37  myClampStepSize = true;
38 
39  }
40 
41  explicit SOP_DeltaMushParms(const SOP_DeltaMushParms &) = default;
42 
43  ~SOP_DeltaMushParms() override {}
44 
45  bool operator==(const SOP_DeltaMushParms &src) const
46  {
47  if (myGroup != src.myGroup) return false;
48  if (myIterations != src.myIterations) return false;
49  if (myStepSize != src.myStepSize) return false;
50  if (myMethod != src.myMethod) return false;
51  if (myPinBorder != src.myPinBorder) return false;
52  if (myRecomputeNormals != src.myRecomputeNormals) return false;
53  if (myClampStepSize != src.myClampStepSize) return false;
54 
55  return true;
56  }
57  bool operator!=(const SOP_DeltaMushParms &src) const
58  {
59  return !operator==(src);
60  }
61 
62 
63 
64  void buildFromOp(const SOP_GraphProxy *graph, exint nodeidx, fpreal time, DEP_MicroNode *depnode)
65  {
66  myGroup = ""_sh;
67  if (true)
68  graph->evalOpParm(myGroup, nodeidx, "group", time, 0);
69  myIterations = 10;
70  if (true)
71  graph->evalOpParm(myIterations, nodeidx, "iterations", time, 0);
72  myStepSize = 0.5;
73  if (true)
74  graph->evalOpParm(myStepSize, nodeidx, "stepsize", time, 0);
75  myMethod = 0;
76  if (true)
77  graph->evalOpParm(myMethod, nodeidx, "method", time, 0);
78  myPinBorder = false;
79  if (true)
80  graph->evalOpParm(myPinBorder, nodeidx, "pinborder", time, 0);
81  myRecomputeNormals = true;
82  if (true)
83  graph->evalOpParm(myRecomputeNormals, nodeidx, "updateaffectednmls", time, 0);
84  myClampStepSize = true;
85  if (true)
86  graph->evalOpParm(myClampStepSize, nodeidx, "clampstepsize", time, 0);
87 
88  }
89 
90 
91  void loadFromOpSubclass(const LoadParms &loadparms) override
92  {
93  buildFromOp(loadparms.graph(), loadparms.nodeIdx(), loadparms.context().getTime(), loadparms.depnode());
94  }
95 
96 
97  void copyFrom(const SOP_NodeParms *src) override
98  {
99  *this = *((const SOP_DeltaMushParms *)src);
100  }
101 
102  template <typename T>
103  void
104  doGetParmValue(TempIndex idx, TempIndex instance, T &value) const
105  {
106  if (idx.size() < 1)
107  return;
108  UT_ASSERT(idx.size() == instance.size()+1);
109  if (idx.size() != instance.size()+1)
110  return;
111  switch (idx[0])
112  {
113  case 0:
114  coerceValue(value, myGroup);
115  break;
116  case 1:
117  coerceValue(value, myIterations);
118  break;
119  case 2:
120  coerceValue(value, myStepSize);
121  break;
122  case 3:
123  coerceValue(value, myMethod);
124  break;
125  case 4:
126  coerceValue(value, myPinBorder);
127  break;
128  case 5:
129  coerceValue(value, myRecomputeNormals);
130  break;
131  case 6:
132  coerceValue(value, myClampStepSize);
133  break;
134 
135  }
136  }
137 
138  void getNestParmValue(TempIndex idx, TempIndex instance, exint &value) const override
139  { doGetParmValue(idx, instance, value); }
140  void getNestParmValue(TempIndex idx, TempIndex instance, fpreal &value) const override
141  { doGetParmValue(idx, instance, value); }
142  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector2D &value) const override
143  { doGetParmValue(idx, instance, value); }
144  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector3D &value) const override
145  { doGetParmValue(idx, instance, value); }
146  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector4D &value) const override
147  { doGetParmValue(idx, instance, value); }
148  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix2D &value) const override
149  { doGetParmValue(idx, instance, value); }
150  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix3D &value) const override
151  { doGetParmValue(idx, instance, value); }
152  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix4D &value) const override
153  { doGetParmValue(idx, instance, value); }
154  void getNestParmValue(TempIndex idx, TempIndex instance, UT_StringHolder &value) const override
155  { doGetParmValue(idx, instance, value); }
156  void getNestParmValue(TempIndex idx, TempIndex instance, UT_SharedPtr<UT_Ramp> &value) const override
157  { doGetParmValue(idx, instance, value); }
158  void getNestParmValue(TempIndex idx, TempIndex instance, PRM_DataItemHandle &value) const override
159  { doGetParmValue(idx, instance, value); }
160 
161  template <typename T>
162  void
163  doSetParmValue(TempIndex idx, TempIndex instance, const T &value)
164  {
165  if (idx.size() < 1)
166  return;
167  UT_ASSERT(idx.size() == instance.size()+1);
168  if (idx.size() != instance.size()+1)
169  return;
170  switch (idx[0])
171  {
172  case 0:
173  coerceValue(myGroup, value);
174  break;
175  case 1:
176  coerceValue(myIterations, value);
177  break;
178  case 2:
179  coerceValue(myStepSize, value);
180  break;
181  case 3:
182  coerceValue(myMethod, value);
183  break;
184  case 4:
185  coerceValue(myPinBorder, value);
186  break;
187  case 5:
188  coerceValue(myRecomputeNormals, value);
189  break;
190  case 6:
191  coerceValue(myClampStepSize, value);
192  break;
193 
194  }
195  }
196 
197  void setNestParmValue(TempIndex idx, TempIndex instance, const exint &value) override
198  { doSetParmValue(idx, instance, value); }
199  void setNestParmValue(TempIndex idx, TempIndex instance, const fpreal &value) override
200  { doSetParmValue(idx, instance, value); }
201  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector2D &value) override
202  { doSetParmValue(idx, instance, value); }
203  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector3D &value) override
204  { doSetParmValue(idx, instance, value); }
205  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector4D &value) override
206  { doSetParmValue(idx, instance, value); }
207  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix2D &value) override
208  { doSetParmValue(idx, instance, value); }
209  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix3D &value) override
210  { doSetParmValue(idx, instance, value); }
211  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix4D &value) override
212  { doSetParmValue(idx, instance, value); }
213  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_StringHolder &value) override
214  { doSetParmValue(idx, instance, value); }
215  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_SharedPtr<UT_Ramp> &value) override
216  { doSetParmValue(idx, instance, value); }
217  void setNestParmValue(TempIndex idx, TempIndex instance, const PRM_DataItemHandle &value) override
218  { doSetParmValue(idx, instance, value); }
219 
220  exint getNestNumParms(TempIndex idx) const override
221  {
222  if (idx.size() == 0)
223  return 7;
224  switch (idx[0])
225  {
226 
227  }
228  // Invalid
229  return 0;
230  }
231 
232  const char *getNestParmName(TempIndex fieldnum) const override
233  {
234  if (fieldnum.size() < 1)
235  return 0;
236  switch (fieldnum[0])
237  {
238  case 0:
239  return "group";
240  case 1:
241  return "iterations";
242  case 2:
243  return "stepsize";
244  case 3:
245  return "method";
246  case 4:
247  return "pinborder";
248  case 5:
249  return "updateaffectednmls";
250  case 6:
251  return "clampstepsize";
252 
253  }
254  return 0;
255  }
256 
257  ParmType getNestParmType(TempIndex fieldnum) const override
258  {
259  if (fieldnum.size() < 1)
260  return PARM_UNSUPPORTED;
261  switch (fieldnum[0])
262  {
263  case 0:
264  return PARM_STRING;
265  case 1:
266  return PARM_INTEGER;
267  case 2:
268  return PARM_FLOAT;
269  case 3:
270  return PARM_INTEGER;
271  case 4:
272  return PARM_INTEGER;
273  case 5:
274  return PARM_INTEGER;
275  case 6:
276  return PARM_INTEGER;
277 
278  }
279  return PARM_UNSUPPORTED;
280  }
281 
282  // Boiler plate to load individual types.
283  static void loadData(UT_IStream &is, int64 &v)
284  { is.bread(&v, 1); }
285  static void loadData(UT_IStream &is, bool &v)
286  { int64 iv; is.bread(&iv, 1); v = iv; }
287  static void loadData(UT_IStream &is, fpreal64 &v)
288  { is.bread<fpreal64>(&v, 1); }
289  static void loadData(UT_IStream &is, UT_Vector2D &v)
290  { is.bread<fpreal64>(&v.x(), 1); is.bread<fpreal64>(&v.y(), 1); }
291  static void loadData(UT_IStream &is, UT_Vector3D &v)
292  { is.bread<fpreal64>(&v.x(), 1); is.bread<fpreal64>(&v.y(), 1);
293  is.bread<fpreal64>(&v.z(), 1); }
294  static void loadData(UT_IStream &is, UT_Vector4D &v)
295  { is.bread<fpreal64>(&v.x(), 1); is.bread<fpreal64>(&v.y(), 1);
296  is.bread<fpreal64>(&v.z(), 1); is.bread<fpreal64>(&v.w(), 1); }
297  static void loadData(UT_IStream &is, UT_Matrix2D &v)
298  { for (int r = 0; r < 2; r++) for (int c = 0; c < 2; c++) is.bread<fpreal64>(&v(r, c), 1); }
299  static void loadData(UT_IStream &is, UT_Matrix3D &v)
300  { for (int r = 0; r < 3; r++) for (int c = 0; c < 3; c++) is.bread<fpreal64>(&v(r, c), 1); }
301  static void loadData(UT_IStream &is, UT_Matrix4D &v)
302  { for (int r = 0; r < 4; r++) for (int c = 0; c < 4; c++) is.bread<fpreal64>(&v(r, c), 1); }
303  static void loadData(UT_IStream &is, UT_Vector2I &v)
304  { is.bread<int64>(&v.x(), 1); is.bread<int64>(&v.y(), 1); }
305  static void loadData(UT_IStream &is, UT_Vector3I &v)
306  { is.bread<int64>(&v.x(), 1); is.bread<int64>(&v.y(), 1);
307  is.bread<int64>(&v.z(), 1); }
308  static void loadData(UT_IStream &is, UT_Vector4I &v)
309  { is.bread<int64>(&v.x(), 1); is.bread<int64>(&v.y(), 1);
310  is.bread<int64>(&v.z(), 1); is.bread<int64>(&v.w(), 1); }
312  { is.bread(v); }
314  { UT_StringHolder rampdata;
315  loadData(is, rampdata);
316  if (rampdata.isstring())
317  {
318  v.reset(new UT_Ramp());
319  UT_IStream istr((const char *) rampdata, rampdata.length(), UT_ISTREAM_ASCII);
320  v->load(istr);
321  }
322  else v.reset();
323  }
326  loadData(is, data);
327  if (data.isstring())
328  {
329  // Find the data type.
330  const char *colon = UT_StringWrap(data).findChar(':');
331  if (colon)
332  {
333  int typelen = colon - data.buffer();
335  type.strncpy(data.buffer(), typelen);
336  UT_IStream istr(((const char *) data) + typelen + 1, data.length() - (typelen + 1), UT_ISTREAM_BINARY);
337 
338  v = PRM_DataFactory::parseBinary(type.buffer(), istr);
339  }
340  }
341  else v.reset();
342  }
343 
344  static void saveData(std::ostream &os, int64 v)
345  { UTwrite(os, &v); }
346  static void saveData(std::ostream &os, bool v)
347  { int64 iv = v; UTwrite(os, &iv); }
348  static void saveData(std::ostream &os, fpreal64 v)
349  { UTwrite<fpreal64>(os, &v); }
350  static void saveData(std::ostream &os, UT_Vector2D v)
351  { UTwrite<fpreal64>(os, &v.x()); UTwrite<fpreal64>(os, &v.y()); }
352  static void saveData(std::ostream &os, UT_Vector3D v)
353  { UTwrite<fpreal64>(os, &v.x()); UTwrite<fpreal64>(os, &v.y());
354  UTwrite<fpreal64>(os, &v.z()); }
355  static void saveData(std::ostream &os, UT_Vector4D v)
356  { UTwrite<fpreal64>(os, &v.x()); UTwrite<fpreal64>(os, &v.y());
357  UTwrite<fpreal64>(os, &v.z()); UTwrite<fpreal64>(os, &v.w()); }
358  static void saveData(std::ostream &os, UT_Matrix2D v)
360  static void saveData(std::ostream &os, UT_Matrix3D v)
362  static void saveData(std::ostream &os, UT_Matrix4D v)
364  static void saveData(std::ostream &os, UT_StringHolder s)
365  { UT_StringWrap(s).saveBinary(os); }
366  static void saveData(std::ostream &os, UT_SharedPtr<UT_Ramp> s)
368  UT_OStringStream ostr;
369  if (s) s->save(ostr);
370  result = ostr.str();
371  saveData(os, result);
372  }
373  static void saveData(std::ostream &os, PRM_DataItemHandle s)
375  UT_OStringStream ostr;
376  if (s)
377  {
378  ostr << s->getDataTypeToken();
379  ostr << ":";
380  s->saveBinary(ostr);
381  }
382  result = ostr.str();
383  saveData(os, result);
384  }
385 
386 
387  void save(std::ostream &os) const
388  {
389  int32 v = version();
390  UTwrite(os, &v);
391  saveData(os, myGroup);
392  saveData(os, myIterations);
393  saveData(os, myStepSize);
394  saveData(os, myMethod);
395  saveData(os, myPinBorder);
396  saveData(os, myRecomputeNormals);
397  saveData(os, myClampStepSize);
398 
399  }
400 
401  bool load(UT_IStream &is)
402  {
403  int32 v;
404  is.bread(&v, 1);
405  if (version() != v)
406  {
407  // Fail incompatible versions
408  return false;
409  }
410  loadData(is, myGroup);
411  loadData(is, myIterations);
412  loadData(is, myStepSize);
413  loadData(is, myMethod);
414  loadData(is, myPinBorder);
415  loadData(is, myRecomputeNormals);
416  loadData(is, myClampStepSize);
417 
418  return true;
419  }
420 
421  const UT_StringHolder & getGroup() const { return myGroup; }
422  void setGroup(const UT_StringHolder & val) { myGroup = val; }
424  {
425  SOP_Node *thissop = cookparms.getNode();
426  if (!thissop) return getGroup();
428  OP_Utils::evalOpParm(result, thissop, "group", cookparms.getCookTime(), 0);
429  return result;
430  }
431  int64 getIterations() const { return myIterations; }
432  void setIterations(int64 val) { myIterations = val; }
434  {
435  SOP_Node *thissop = cookparms.getNode();
436  if (!thissop) return getIterations();
437  int64 result;
438  OP_Utils::evalOpParm(result, thissop, "iterations", cookparms.getCookTime(), 0);
439  return result;
440  }
441  fpreal64 getStepSize() const { return myStepSize; }
442  void setStepSize(fpreal64 val) { myStepSize = val; }
444  {
445  SOP_Node *thissop = cookparms.getNode();
446  if (!thissop) return getStepSize();
448  OP_Utils::evalOpParm(result, thissop, "stepsize", cookparms.getCookTime(), 0);
449  return result;
450  }
451  int64 getMethod() const { return myMethod; }
452  void setMethod(int64 val) { myMethod = val; }
453  int64 opMethod(const SOP_NodeVerb::CookParms &cookparms) const
454  {
455  SOP_Node *thissop = cookparms.getNode();
456  if (!thissop) return getMethod();
457  int64 result;
458  OP_Utils::evalOpParm(result, thissop, "method", cookparms.getCookTime(), 0);
459  return result;
460  }
461  bool getPinBorder() const { return myPinBorder; }
462  void setPinBorder(bool val) { myPinBorder = val; }
463  bool opPinBorder(const SOP_NodeVerb::CookParms &cookparms) const
464  {
465  SOP_Node *thissop = cookparms.getNode();
466  if (!thissop) return getPinBorder();
467  bool result;
468  OP_Utils::evalOpParm(result, thissop, "pinborder", cookparms.getCookTime(), 0);
469  return result;
470  }
471  bool getRecomputeNormals() const { return myRecomputeNormals; }
472  void setRecomputeNormals(bool val) { myRecomputeNormals = val; }
473  bool opRecomputeNormals(const SOP_NodeVerb::CookParms &cookparms) const
474  {
475  SOP_Node *thissop = cookparms.getNode();
476  if (!thissop) return getRecomputeNormals();
477  bool result;
478  OP_Utils::evalOpParm(result, thissop, "updateaffectednmls", cookparms.getCookTime(), 0);
479  return result;
480  }
481  bool getClampStepSize() const { return myClampStepSize; }
482  void setClampStepSize(bool val) { myClampStepSize = val; }
483  bool opClampStepSize(const SOP_NodeVerb::CookParms &cookparms) const
484  {
485  SOP_Node *thissop = cookparms.getNode();
486  if (!thissop) return getClampStepSize();
487  bool result;
488  OP_Utils::evalOpParm(result, thissop, "clampstepsize", cookparms.getCookTime(), 0);
489  return result;
490  }
491 
492 private:
493  UT_StringHolder myGroup;
494  int64 myIterations;
495  fpreal64 myStepSize;
496  int64 myMethod;
497  bool myPinBorder;
498  bool myRecomputeNormals;
499  bool myClampStepSize;
500 
501 };
GLdouble s
Definition: glew.h:1390
static void loadData(UT_IStream &is, UT_Matrix2D &v)
int64 opMethod(const SOP_NodeVerb::CookParms &cookparms) const
static void saveData(std::ostream &os, bool v)
exint nodeIdx() const
Definition: SOP_NodeVerb.h:114
static void saveData(std::ostream &os, UT_Vector3D v)
GLenum src
Definition: glew.h:2410
int int32
Definition: SYS_Types.h:39
SOP_Node * getNode() const
Definition: SOP_NodeVerb.h:640
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector2D &value) override
bool load(UT_IStream &is)
static void saveData(std::ostream &os, UT_Vector4D v)
void save(std::ostream &os) const
exint bread(int32 *buffer, exint asize=1)
GT_API const UT_StringHolder time
static void loadData(UT_IStream &is, UT_StringHolder &v)
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix3D &value) override
const char * getNestParmName(TempIndex fieldnum) const override
fpreal getTime() const
Definition: OP_Context.h:60
void setRecomputeNormals(bool val)
GLuint const GLfloat * val
Definition: glew.h:2794
static void saveData(std::ostream &os, UT_Matrix4D v)
void getNestParmValue(TempIndex idx, TempIndex instance, exint &value) const override
int64 exint
Definition: SYS_Types.h:125
SYS_FORCE_INLINE const char * buffer() const
const SOP_GraphProxy * graph() const
Definition: SOP_NodeVerb.h:113
static void saveData(std::ostream &os, UT_SharedPtr< UT_Ramp > s)
An output stream object that owns its own string buffer storage.
static void loadData(UT_IStream &is, UT_Matrix3D &v)
const GLdouble * v
Definition: glew.h:1391
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector4D &value) const override
static void loadData(UT_IStream &is, UT_Vector4D &v)
void doSetParmValue(TempIndex idx, TempIndex instance, const T &value)
static PRM_DataItemHandle parseBinary(const char *type, UT_IStream &is)
const UT_WorkBuffer & str()
Returns a read-only reference to the underlying UT_WorkBuffer.
exint getNestNumParms(TempIndex idx) const 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
double fpreal64
Definition: SYS_Types.h:201
void setNestParmValue(TempIndex idx, TempIndex instance, const PRM_DataItemHandle &value) override
static void saveData(std::ostream &os, UT_Vector2D v)
bool opClampStepSize(const SOP_NodeVerb::CookParms &cookparms) const
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector2D &value) const override
bool operator==(const BaseDimensions< T > &a, const BaseDimensions< Y > &b)
Definition: Dimensions.h:137
static void loadData(UT_IStream &is, UT_Vector3I &v)
SYS_FORCE_INLINE T & y()
Definition: UT_Vector3.h:513
void doGetParmValue(TempIndex idx, TempIndex instance, T &value) const
void getNestParmValue(TempIndex idx, TempIndex instance, fpreal &value) const override
exint length() const
static void loadData(UT_IStream &is, UT_Vector4I &v)
SYS_FORCE_INLINE const char * buffer() const
std::shared_ptr< T > UT_SharedPtr
Wrapper around std::shared_ptr.
Definition: UT_SharedPtr.h:28
void setStepSize(fpreal64 val)
static void saveData(std::ostream &os, int64 v)
static void loadData(UT_IStream &is, UT_Vector2I &v)
GLint GLenum GLsizei GLint GLsizei const void * data
Definition: glew.h:1379
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector4D &value) override
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector3D &value) override
SYS_FORCE_INLINE T & z()
Definition: UT_Vector3.h:515
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix4D &value) override
const GLfloat * c
Definition: glew.h:16296
static void saveData(std::ostream &os, UT_Matrix3D v)
static void loadData(UT_IStream &is, UT_SharedPtr< UT_Ramp > &v)
long long int64
Definition: SYS_Types.h:116
static void loadData(UT_IStream &is, bool &v)
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix3D &value) const override
static void loadData(UT_IStream &is, UT_Vector2D &v)
static void saveData(std::ostream &os, UT_StringHolder s)
void saveBinary(std::ostream &os) const
Save string to binary stream.
Definition: UT_String.h:294
void copyFrom(const SOP_NodeParms *src) override
static void loadData(UT_IStream &is, UT_Matrix4D &v)
static void saveData(std::ostream &os, UT_Matrix2D v)
GT_API const UT_StringHolder version
DEP_MicroNode * depnode() const
Definition: SOP_NodeVerb.h:121
void setGroup(const UT_StringHolder &val)
void getNestParmValue(TempIndex idx, TempIndex instance, UT_StringHolder &value) const override
void loadFromOpSubclass(const LoadParms &loadparms) override
void setNestParmValue(TempIndex idx, TempIndex instance, const fpreal &value) override
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector3D &value) const override
static void loadData(UT_IStream &is, fpreal64 &v)
fpreal64 fpreal
Definition: SYS_Types.h:277
const UT_StringHolder & getGroup() const
Utility class for containing a color ramp.
Definition: UT_Ramp.h:84
bool opPinBorder(const SOP_NodeVerb::CookParms &cookparms) const
bool opRecomputeNormals(const SOP_NodeVerb::CookParms &cookparms) const
int64 opIterations(const SOP_NodeVerb::CookParms &cookparms) const
GLdouble GLdouble GLdouble r
Definition: glew.h:1406
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix4D &value) const override
bool operator!=(const SOP_DeltaMushParms &src) const
static void loadData(UT_IStream &is, UT_Vector3D &v)
#define SOP_API
Definition: SOP_API.h:10
void setNestParmValue(TempIndex idx, TempIndex instance, const exint &value) override
virtual void evalOpParm(int64 &v, NodeIdx node, const char *parmname, fpreal time, DEP_MicroNode *depnode) const =0
static void saveData(std::ostream &os, PRM_DataItemHandle s)
SYS_FORCE_INLINE T & x()
Definition: UT_Vector3.h:511
fpreal getCookTime() const
Definition: SOP_NodeVerb.h:654
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_StringHolder &value) override
GLuint64EXT * result
Definition: glew.h:14007
const char * findChar(int c) const
Definition: UT_String.h:1367
#define UT_ASSERT(ZZ)
Definition: UT_Assert.h:135
void buildFromOp(const SOP_GraphProxy *graph, exint nodeidx, fpreal time, DEP_MicroNode *depnode)
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_SharedPtr< UT_Ramp > &value) override
fpreal64 opStepSize(const SOP_NodeVerb::CookParms &cookparms) const
UT_StringHolder opGroup(const SOP_NodeVerb::CookParms &cookparms) const
static void saveData(std::ostream &os, fpreal64 v)
ParmType getNestParmType(TempIndex fieldnum) const override
GLsizei const GLfloat * value
Definition: glew.h:1849
fpreal64 getStepSize() const
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix2D &value) override
const OP_Context & context() const
Definition: SOP_NodeVerb.h:119
UT_SharedPtr< const PRM_DataItem > PRM_DataItemHandle
Definition: PRM_Parm.h:89
SYS_FORCE_INLINE bool isstring() const
static void loadData(UT_IStream &is, int64 &v)
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix2D &value) const override
SYS_FORCE_INLINE void strncpy(const char *src, exint maxlen)
type
Definition: core.h:528
bool operator==(const SOP_DeltaMushParms &src) const
static void loadData(UT_IStream &is, PRM_DataItemHandle &v)