HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SOP_SurfaceSplat.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  myBind_mask = "mask"_sh;
32  myNegatemask = false;
33  myBind_width = "width"_sh;
34  myBind_alpha = "alpha"_sh;
35  myBind_softedge = "softedge"_sh;
36  myBind_hit = "hit"_sh;
37  myBind_hitprim = "hitprim"_sh;
38  myBind_hituv = "hituv"_sh;
39 
40  }
41 
42  explicit SOP_SurfaceSplatParms(const SOP_SurfaceSplatParms &) = default;
43 
44  ~SOP_SurfaceSplatParms() override {}
45 
47  {
48  if (myBind_mask != src.myBind_mask) return false;
49  if (myNegatemask != src.myNegatemask) return false;
50  if (myBind_width != src.myBind_width) return false;
51  if (myBind_alpha != src.myBind_alpha) return false;
52  if (myBind_softedge != src.myBind_softedge) return false;
53  if (myBind_hit != src.myBind_hit) return false;
54  if (myBind_hitprim != src.myBind_hitprim) return false;
55  if (myBind_hituv != src.myBind_hituv) return false;
56 
57  return true;
58  }
60  {
61  return !operator==(src);
62  }
63 
64 
65 
66  void buildFromOp(const SOP_GraphProxy *graph, exint nodeidx, fpreal time, DEP_MicroNode *depnode)
67  {
68  myBind_mask = "mask"_sh;
69  if (true)
70  graph->evalOpParm(myBind_mask, nodeidx, "bind_mask", time, 0);
71  myNegatemask = false;
72  if (true)
73  graph->evalOpParm(myNegatemask, nodeidx, "negatemask", time, 0);
74  myBind_width = "width"_sh;
75  if (true)
76  graph->evalOpParm(myBind_width, nodeidx, "bind_width", time, 0);
77  myBind_alpha = "alpha"_sh;
78  if (true)
79  graph->evalOpParm(myBind_alpha, nodeidx, "bind_alpha", time, 0);
80  myBind_softedge = "softedge"_sh;
81  if (true)
82  graph->evalOpParm(myBind_softedge, nodeidx, "bind_softedge", time, 0);
83  myBind_hit = "hit"_sh;
84  if (true)
85  graph->evalOpParm(myBind_hit, nodeidx, "bind_hit", time, 0);
86  myBind_hitprim = "hitprim"_sh;
87  if (true)
88  graph->evalOpParm(myBind_hitprim, nodeidx, "bind_hitprim", time, 0);
89  myBind_hituv = "hituv"_sh;
90  if (true)
91  graph->evalOpParm(myBind_hituv, nodeidx, "bind_hituv", time, 0);
92 
93  }
94 
95 
96  void loadFromOpSubclass(const LoadParms &loadparms) override
97  {
98  buildFromOp(loadparms.graph(), loadparms.nodeIdx(), loadparms.context().getTime(), loadparms.depnode());
99  }
100 
101 
102  void copyFrom(const SOP_NodeParms *src) override
103  {
104  *this = *((const SOP_SurfaceSplatParms *)src);
105  }
106 
107  template <typename T>
108  void
109  doGetParmValue(TempIndex idx, TempIndex instance, T &value) const
110  {
111  if (idx.size() < 1)
112  return;
113  UT_ASSERT(idx.size() == instance.size()+1);
114  if (idx.size() != instance.size()+1)
115  return;
116  switch (idx[0])
117  {
118  case 0:
119  coerceValue(value, myBind_mask);
120  break;
121  case 1:
122  coerceValue(value, myNegatemask);
123  break;
124  case 2:
125  coerceValue(value, myBind_width);
126  break;
127  case 3:
128  coerceValue(value, myBind_alpha);
129  break;
130  case 4:
131  coerceValue(value, myBind_softedge);
132  break;
133  case 5:
134  coerceValue(value, myBind_hit);
135  break;
136  case 6:
137  coerceValue(value, myBind_hitprim);
138  break;
139  case 7:
140  coerceValue(value, myBind_hituv);
141  break;
142 
143  }
144  }
145 
146  void getNestParmValue(TempIndex idx, TempIndex instance, exint &value) const override
147  { doGetParmValue(idx, instance, value); }
148  void getNestParmValue(TempIndex idx, TempIndex instance, fpreal &value) const override
149  { doGetParmValue(idx, instance, value); }
150  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector2D &value) const override
151  { doGetParmValue(idx, instance, value); }
152  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector3D &value) const override
153  { doGetParmValue(idx, instance, value); }
154  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector4D &value) const override
155  { doGetParmValue(idx, instance, value); }
156  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix2D &value) const override
157  { doGetParmValue(idx, instance, value); }
158  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix3D &value) const override
159  { doGetParmValue(idx, instance, value); }
160  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix4D &value) const override
161  { doGetParmValue(idx, instance, value); }
162  void getNestParmValue(TempIndex idx, TempIndex instance, UT_StringHolder &value) const override
163  { doGetParmValue(idx, instance, value); }
164  void getNestParmValue(TempIndex idx, TempIndex instance, UT_SharedPtr<UT_Ramp> &value) const override
165  { doGetParmValue(idx, instance, value); }
166  void getNestParmValue(TempIndex idx, TempIndex instance, PRM_DataItemHandle &value) const override
167  { doGetParmValue(idx, instance, value); }
168 
169  template <typename T>
170  void
171  doSetParmValue(TempIndex idx, TempIndex instance, const T &value)
172  {
173  if (idx.size() < 1)
174  return;
175  UT_ASSERT(idx.size() == instance.size()+1);
176  if (idx.size() != instance.size()+1)
177  return;
178  switch (idx[0])
179  {
180  case 0:
181  coerceValue(myBind_mask, value);
182  break;
183  case 1:
184  coerceValue(myNegatemask, value);
185  break;
186  case 2:
187  coerceValue(myBind_width, value);
188  break;
189  case 3:
190  coerceValue(myBind_alpha, value);
191  break;
192  case 4:
193  coerceValue(myBind_softedge, value);
194  break;
195  case 5:
196  coerceValue(myBind_hit, value);
197  break;
198  case 6:
199  coerceValue(myBind_hitprim, value);
200  break;
201  case 7:
202  coerceValue(myBind_hituv, 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 8;
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 "bind_mask";
251  case 1:
252  return "negatemask";
253  case 2:
254  return "bind_width";
255  case 3:
256  return "bind_alpha";
257  case 4:
258  return "bind_softedge";
259  case 5:
260  return "bind_hit";
261  case 6:
262  return "bind_hitprim";
263  case 7:
264  return "bind_hituv";
265 
266  }
267  return 0;
268  }
269 
270  ParmType getNestParmType(TempIndex fieldnum) const override
271  {
272  if (fieldnum.size() < 1)
273  return PARM_UNSUPPORTED;
274  switch (fieldnum[0])
275  {
276  case 0:
277  return PARM_STRING;
278  case 1:
279  return PARM_INTEGER;
280  case 2:
281  return PARM_STRING;
282  case 3:
283  return PARM_STRING;
284  case 4:
285  return PARM_STRING;
286  case 5:
287  return PARM_STRING;
288  case 6:
289  return PARM_STRING;
290  case 7:
291  return PARM_STRING;
292 
293  }
294  return PARM_UNSUPPORTED;
295  }
296 
297  // Boiler plate to load individual types.
298  static void loadData(UT_IStream &is, int64 &v)
299  { is.bread(&v, 1); }
300  static void loadData(UT_IStream &is, bool &v)
301  { int64 iv; is.bread(&iv, 1); v = iv; }
302  static void loadData(UT_IStream &is, fpreal64 &v)
303  { is.bread<fpreal64>(&v, 1); }
304  static void loadData(UT_IStream &is, UT_Vector2D &v)
305  { is.bread<fpreal64>(&v.x(), 1); is.bread<fpreal64>(&v.y(), 1); }
306  static void loadData(UT_IStream &is, UT_Vector3D &v)
307  { is.bread<fpreal64>(&v.x(), 1); is.bread<fpreal64>(&v.y(), 1);
308  is.bread<fpreal64>(&v.z(), 1); }
309  static void loadData(UT_IStream &is, UT_Vector4D &v)
310  { is.bread<fpreal64>(&v.x(), 1); is.bread<fpreal64>(&v.y(), 1);
311  is.bread<fpreal64>(&v.z(), 1); is.bread<fpreal64>(&v.w(), 1); }
312  static void loadData(UT_IStream &is, UT_Matrix2D &v)
313  { for (int r = 0; r < 2; r++) for (int c = 0; c < 2; c++) is.bread<fpreal64>(&v(r, c), 1); }
314  static void loadData(UT_IStream &is, UT_Matrix3D &v)
315  { for (int r = 0; r < 3; r++) for (int c = 0; c < 3; c++) is.bread<fpreal64>(&v(r, c), 1); }
316  static void loadData(UT_IStream &is, UT_Matrix4D &v)
317  { for (int r = 0; r < 4; r++) for (int c = 0; c < 4; c++) is.bread<fpreal64>(&v(r, c), 1); }
318  static void loadData(UT_IStream &is, UT_Vector2I &v)
319  { is.bread<int64>(&v.x(), 1); is.bread<int64>(&v.y(), 1); }
320  static void loadData(UT_IStream &is, UT_Vector3I &v)
321  { is.bread<int64>(&v.x(), 1); is.bread<int64>(&v.y(), 1);
322  is.bread<int64>(&v.z(), 1); }
323  static void loadData(UT_IStream &is, UT_Vector4I &v)
324  { is.bread<int64>(&v.x(), 1); is.bread<int64>(&v.y(), 1);
325  is.bread<int64>(&v.z(), 1); is.bread<int64>(&v.w(), 1); }
327  { is.bread(v); }
329  { UT_StringHolder rampdata;
330  loadData(is, rampdata);
331  if (rampdata.isstring())
332  {
333  v.reset(new UT_Ramp());
334  UT_IStream istr((const char *) rampdata, rampdata.length(), UT_ISTREAM_ASCII);
335  v->load(istr);
336  }
337  else v.reset();
338  }
341  loadData(is, data);
342  if (data.isstring())
343  {
344  // Find the data type.
345  const char *colon = UT_StringWrap(data).findChar(':');
346  if (colon)
347  {
348  int typelen = colon - data.buffer();
350  type.strncpy(data.buffer(), typelen);
351  UT_IStream istr(((const char *) data) + typelen + 1, data.length() - (typelen + 1), UT_ISTREAM_BINARY);
352 
353  v = PRM_DataFactory::parseBinary(type.buffer(), istr);
354  }
355  }
356  else v.reset();
357  }
358 
359  static void saveData(std::ostream &os, int64 v)
360  { UTwrite(os, &v); }
361  static void saveData(std::ostream &os, bool v)
362  { int64 iv = v; UTwrite(os, &iv); }
363  static void saveData(std::ostream &os, fpreal64 v)
364  { UTwrite<fpreal64>(os, &v); }
365  static void saveData(std::ostream &os, UT_Vector2D v)
366  { UTwrite<fpreal64>(os, &v.x()); UTwrite<fpreal64>(os, &v.y()); }
367  static void saveData(std::ostream &os, UT_Vector3D v)
368  { UTwrite<fpreal64>(os, &v.x()); UTwrite<fpreal64>(os, &v.y());
369  UTwrite<fpreal64>(os, &v.z()); }
370  static void saveData(std::ostream &os, UT_Vector4D v)
371  { UTwrite<fpreal64>(os, &v.x()); UTwrite<fpreal64>(os, &v.y());
372  UTwrite<fpreal64>(os, &v.z()); UTwrite<fpreal64>(os, &v.w()); }
373  static void saveData(std::ostream &os, UT_Matrix2D v)
375  static void saveData(std::ostream &os, UT_Matrix3D v)
377  static void saveData(std::ostream &os, UT_Matrix4D v)
379  static void saveData(std::ostream &os, UT_StringHolder s)
380  { UT_StringWrap(s).saveBinary(os); }
381  static void saveData(std::ostream &os, UT_SharedPtr<UT_Ramp> s)
383  UT_OStringStream ostr;
384  if (s) s->save(ostr);
385  result = ostr.str();
386  saveData(os, result);
387  }
388  static void saveData(std::ostream &os, PRM_DataItemHandle s)
390  UT_OStringStream ostr;
391  if (s)
392  {
393  ostr << s->getDataTypeToken();
394  ostr << ":";
395  s->saveBinary(ostr);
396  }
397  result = ostr.str();
398  saveData(os, result);
399  }
400 
401 
402  void save(std::ostream &os) const
403  {
404  int32 v = version();
405  UTwrite(os, &v);
406  saveData(os, myBind_mask);
407  saveData(os, myNegatemask);
408  saveData(os, myBind_width);
409  saveData(os, myBind_alpha);
410  saveData(os, myBind_softedge);
411  saveData(os, myBind_hit);
412  saveData(os, myBind_hitprim);
413  saveData(os, myBind_hituv);
414 
415  }
416 
417  bool load(UT_IStream &is)
418  {
419  int32 v;
420  is.bread(&v, 1);
421  if (version() != v)
422  {
423  // Fail incompatible versions
424  return false;
425  }
426  loadData(is, myBind_mask);
427  loadData(is, myNegatemask);
428  loadData(is, myBind_width);
429  loadData(is, myBind_alpha);
430  loadData(is, myBind_softedge);
431  loadData(is, myBind_hit);
432  loadData(is, myBind_hitprim);
433  loadData(is, myBind_hituv);
434 
435  return true;
436  }
437 
438  const UT_StringHolder & getBind_mask() const { return myBind_mask; }
439  void setBind_mask(const UT_StringHolder & val) { myBind_mask = val; }
441  {
442  SOP_Node *thissop = cookparms.getNode();
443  if (!thissop) return getBind_mask();
445  OP_Utils::evalOpParm(result, thissop, "bind_mask", cookparms.getCookTime(), 0);
446  return result;
447  }
448  bool getNegatemask() const { return myNegatemask; }
449  void setNegatemask(bool val) { myNegatemask = val; }
450  bool opNegatemask(const SOP_NodeVerb::CookParms &cookparms) const
451  {
452  SOP_Node *thissop = cookparms.getNode();
453  if (!thissop) return getNegatemask();
454  bool result;
455  OP_Utils::evalOpParm(result, thissop, "negatemask", cookparms.getCookTime(), 0);
456  return result;
457  }
458  const UT_StringHolder & getBind_width() const { return myBind_width; }
459  void setBind_width(const UT_StringHolder & val) { myBind_width = val; }
461  {
462  SOP_Node *thissop = cookparms.getNode();
463  if (!thissop) return getBind_width();
465  OP_Utils::evalOpParm(result, thissop, "bind_width", cookparms.getCookTime(), 0);
466  return result;
467  }
468  const UT_StringHolder & getBind_alpha() const { return myBind_alpha; }
469  void setBind_alpha(const UT_StringHolder & val) { myBind_alpha = val; }
471  {
472  SOP_Node *thissop = cookparms.getNode();
473  if (!thissop) return getBind_alpha();
475  OP_Utils::evalOpParm(result, thissop, "bind_alpha", cookparms.getCookTime(), 0);
476  return result;
477  }
478  const UT_StringHolder & getBind_softedge() const { return myBind_softedge; }
479  void setBind_softedge(const UT_StringHolder & val) { myBind_softedge = val; }
481  {
482  SOP_Node *thissop = cookparms.getNode();
483  if (!thissop) return getBind_softedge();
485  OP_Utils::evalOpParm(result, thissop, "bind_softedge", cookparms.getCookTime(), 0);
486  return result;
487  }
488  const UT_StringHolder & getBind_hit() const { return myBind_hit; }
489  void setBind_hit(const UT_StringHolder & val) { myBind_hit = val; }
491  {
492  SOP_Node *thissop = cookparms.getNode();
493  if (!thissop) return getBind_hit();
495  OP_Utils::evalOpParm(result, thissop, "bind_hit", cookparms.getCookTime(), 0);
496  return result;
497  }
498  const UT_StringHolder & getBind_hitprim() const { return myBind_hitprim; }
499  void setBind_hitprim(const UT_StringHolder & val) { myBind_hitprim = val; }
501  {
502  SOP_Node *thissop = cookparms.getNode();
503  if (!thissop) return getBind_hitprim();
505  OP_Utils::evalOpParm(result, thissop, "bind_hitprim", cookparms.getCookTime(), 0);
506  return result;
507  }
508  const UT_StringHolder & getBind_hituv() const { return myBind_hituv; }
509  void setBind_hituv(const UT_StringHolder & val) { myBind_hituv = val; }
511  {
512  SOP_Node *thissop = cookparms.getNode();
513  if (!thissop) return getBind_hituv();
515  OP_Utils::evalOpParm(result, thissop, "bind_hituv", cookparms.getCookTime(), 0);
516  return result;
517  }
518 
519 private:
520  UT_StringHolder myBind_mask;
521  bool myNegatemask;
522  UT_StringHolder myBind_width;
523  UT_StringHolder myBind_alpha;
524  UT_StringHolder myBind_softedge;
525  UT_StringHolder myBind_hit;
526  UT_StringHolder myBind_hitprim;
527  UT_StringHolder myBind_hituv;
528 
529 };
GLdouble s
Definition: glew.h:1390
void loadFromOpSubclass(const LoadParms &loadparms) override
void getNestParmValue(TempIndex idx, TempIndex instance, UT_StringHolder &value) const override
void getNestParmValue(TempIndex idx, TempIndex instance, fpreal &value) const override
static void loadData(UT_IStream &is, UT_StringHolder &v)
void setBind_hituv(const UT_StringHolder &val)
static void loadData(UT_IStream &is, UT_Vector4I &v)
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_SharedPtr< UT_Ramp > &value) override
exint nodeIdx() const
Definition: SOP_NodeVerb.h:114
void save(std::ostream &os) const
static void loadData(UT_IStream &is, int64 &v)
void copyFrom(const SOP_NodeParms *src) override
GLenum src
Definition: glew.h:2410
int int32
Definition: SYS_Types.h:39
SOP_Node * getNode() const
Definition: SOP_NodeVerb.h:640
static void loadData(UT_IStream &is, UT_Vector3I &v)
static void loadData(UT_IStream &is, fpreal64 &v)
static void saveData(std::ostream &os, UT_Matrix2D v)
static void loadData(UT_IStream &is, UT_Vector3D &v)
void setNestParmValue(TempIndex idx, TempIndex instance, const exint &value) override
const UT_StringHolder & getBind_width() const
exint bread(int32 *buffer, exint asize=1)
GT_API const UT_StringHolder time
fpreal getTime() const
Definition: OP_Context.h:60
const UT_StringHolder & getBind_alpha() const
void doSetParmValue(TempIndex idx, TempIndex instance, const T &value)
const UT_StringHolder & getBind_hit() const
bool load(UT_IStream &is)
GLuint const GLfloat * val
Definition: glew.h:2794
void setNestParmValue(TempIndex idx, TempIndex instance, const PRM_DataItemHandle &value) override
void setBind_mask(const UT_StringHolder &val)
void buildFromOp(const SOP_GraphProxy *graph, exint nodeidx, fpreal time, DEP_MicroNode *depnode)
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector2D &value) 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
UT_StringHolder opBind_hituv(const SOP_NodeVerb::CookParms &cookparms) const
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector3D &value) const override
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector3D &value) override
An output stream object that owns its own string buffer storage.
UT_StringHolder opBind_hit(const SOP_NodeVerb::CookParms &cookparms) const
bool operator==(const SOP_SurfaceSplatParms &src) const
void setBind_width(const UT_StringHolder &val)
const GLdouble * v
Definition: glew.h:1391
static void saveData(std::ostream &os, int64 v)
UT_StringHolder opBind_softedge(const SOP_NodeVerb::CookParms &cookparms) const
static void loadData(UT_IStream &is, UT_Vector4D &v)
static PRM_DataItemHandle parseBinary(const char *type, UT_IStream &is)
const UT_WorkBuffer & str()
Returns a read-only reference to the underlying UT_WorkBuffer.
static void loadData(UT_IStream &is, UT_Vector2I &v)
static void loadData(UT_IStream &is, UT_SharedPtr< UT_Ramp > &v)
void getNestParmValue(TempIndex idx, TempIndex instance, exint &value) const override
void setNestParmValue(TempIndex idx, TempIndex instance, const fpreal &value) override
static void loadData(UT_IStream &is, UT_Matrix4D &v)
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix2D &value) override
void getNestParmValue(TempIndex idx, TempIndex instance, UT_SharedPtr< UT_Ramp > &value) const override
double fpreal64
Definition: SYS_Types.h:201
bool operator==(const BaseDimensions< T > &a, const BaseDimensions< Y > &b)
Definition: Dimensions.h:137
const UT_StringHolder & getBind_hituv() const
static void saveData(std::ostream &os, PRM_DataItemHandle s)
SYS_FORCE_INLINE T & y()
Definition: UT_Vector3.h:513
exint length() const
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix4D &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
static void saveData(std::ostream &os, UT_Vector2D v)
void setBind_softedge(const UT_StringHolder &val)
GLint GLenum GLsizei GLint GLsizei const void * data
Definition: glew.h:1379
void setBind_hit(const UT_StringHolder &val)
SYS_FORCE_INLINE T & z()
Definition: UT_Vector3.h:515
static void saveData(std::ostream &os, UT_Matrix3D v)
const GLfloat * c
Definition: glew.h:16296
static void loadData(UT_IStream &is, PRM_DataItemHandle &v)
const char * getNestParmName(TempIndex fieldnum) const override
long long int64
Definition: SYS_Types.h:116
static void loadData(UT_IStream &is, UT_Matrix2D &v)
exint getNestNumParms(TempIndex idx) const override
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix3D &value) const override
void setBind_hitprim(const UT_StringHolder &val)
void getNestParmValue(TempIndex idx, TempIndex instance, PRM_DataItemHandle &value) const override
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_StringHolder &value) override
UT_StringHolder opBind_alpha(const SOP_NodeVerb::CookParms &cookparms) const
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector4D &value) const override
const UT_StringHolder & getBind_mask() const
void saveBinary(std::ostream &os) const
Save string to binary stream.
Definition: UT_String.h:294
bool opNegatemask(const SOP_NodeVerb::CookParms &cookparms) const
static void saveData(std::ostream &os, UT_Vector4D v)
GT_API const UT_StringHolder version
DEP_MicroNode * depnode() const
Definition: SOP_NodeVerb.h:121
const UT_StringHolder & getBind_hitprim() const
UT_StringHolder opBind_mask(const SOP_NodeVerb::CookParms &cookparms) const
static void loadData(UT_IStream &is, UT_Matrix3D &v)
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix3D &value) override
static void saveData(std::ostream &os, UT_Matrix4D v)
ParmType getNestParmType(TempIndex fieldnum) const override
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix4D &value) const override
UT_StringHolder opBind_hitprim(const SOP_NodeVerb::CookParms &cookparms) const
static void saveData(std::ostream &os, fpreal64 v)
static void saveData(std::ostream &os, bool v)
static void loadData(UT_IStream &is, UT_Vector2D &v)
static void loadData(UT_IStream &is, bool &v)
UT_StringHolder opBind_width(const SOP_NodeVerb::CookParms &cookparms) const
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
const UT_StringHolder & getBind_softedge() 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
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix2D &value) const override
SYS_FORCE_INLINE T & x()
Definition: UT_Vector3.h:511
fpreal getCookTime() const
Definition: SOP_NodeVerb.h:654
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector2D &value) const override
GLuint64EXT * result
Definition: glew.h:14007
static void saveData(std::ostream &os, UT_SharedPtr< UT_Ramp > s)
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector4D &value) override
const char * findChar(int c) const
Definition: UT_String.h:1367
#define UT_ASSERT(ZZ)
Definition: UT_Assert.h:135
static void saveData(std::ostream &os, UT_StringHolder s)
GLsizei const GLfloat * value
Definition: glew.h:1849
static void saveData(std::ostream &os, UT_Vector3D v)
const OP_Context & context() const
Definition: SOP_NodeVerb.h:119
UT_SharedPtr< const PRM_DataItem > PRM_DataItemHandle
Definition: PRM_Parm.h:89
void doGetParmValue(TempIndex idx, TempIndex instance, T &value) const
void setBind_alpha(const UT_StringHolder &val)
SYS_FORCE_INLINE bool isstring() const
bool operator!=(const SOP_SurfaceSplatParms &src) const
SYS_FORCE_INLINE void strncpy(const char *src, exint maxlen)
type
Definition: core.h:528