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