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