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