HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SOP_SimplexRefine.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_API.h>
7 #include <SOP/SOP_NodeVerb.h>
8 #include <SOP/SOP_GraphProxy.h>
9 
10 #include <OP/OP_Utils.h>
11 #include <PRM/PRM_Parm.h>
12 #include <UT/UT_IStream.h>
13 #include <UT/UT_NTStreamUtil.h>
14 #include <UT/UT_Ramp.h>
15 #include <UT/UT_SharedPtr.h>
16 #include <UT/UT_StringHolder.h>
17 #include <UT/UT_StringStream.h>
18 #include <UT/UT_VectorTypes.h>
19 #include <UT/UT_EnvControl.h>
20 #include <SYS/SYS_Types.h>
21 
22 class DEP_MicroNode;
23 namespace SOP_SimplexRefineEnums
24 {
25  enum class SmoothingMethod
26  {
27  APPROXIMATING = 0,
29  NONE
30  };
31 
34  {
35  using namespace UT::Literal;
36  switch (enum_value) {
37  case SmoothingMethod::APPROXIMATING: return "approximating"_sh;
38  case SmoothingMethod::INTERPOLATING: return "interpolating"_sh;
39  case SmoothingMethod::NONE: return "none"_sh;
40  default: UT_ASSERT(false); return ""_sh;
41  }
42  }
43 
44  enum class TetMeshTreatment
45  {
46  AS_SURFACE = 0,
47  AS_SOLID,
48  NONE
49  };
50 
53  {
54  using namespace UT::Literal;
55  switch (enum_value) {
56  case TetMeshTreatment::AS_SURFACE: return "as_surface"_sh;
57  case TetMeshTreatment::AS_SOLID: return "as_solid"_sh;
58  case TetMeshTreatment::NONE: return "none"_sh;
59  default: UT_ASSERT(false); return ""_sh;
60  }
61  }
62 
63 }
64 
65 
67 {
68 public:
69  static int version() { return 1; }
70 
72  {
73  myGroup = ""_UTsh;
74  mySmoothingMethod = 0;
75  mySmoothingLevel = 1;
76  myTetMeshTreatment = 0;
77 
78  }
79 
80  explicit SOP_SimplexRefineParms(const SOP_SimplexRefineParms &) = default;
82  SOP_SimplexRefineParms(SOP_SimplexRefineParms &&) noexcept = default;
83  SOP_SimplexRefineParms &operator=(SOP_SimplexRefineParms &&) noexcept = default;
84 
85  ~SOP_SimplexRefineParms() override {}
86 
88  {
89  if (myGroup != src.myGroup) return false;
90  if (mySmoothingMethod != src.mySmoothingMethod) return false;
91  if (mySmoothingLevel != src.mySmoothingLevel) return false;
92  if (myTetMeshTreatment != src.myTetMeshTreatment) return false;
93 
94  return true;
95  }
97  {
98  return !operator==(src);
99  }
102 
103 
104 
105  void buildFromOp(const OP_GraphProxy *graph, exint nodeidx, fpreal time, DEP_MicroNode *depnode)
106  {
107  myGroup = ""_UTsh;
108  if (true)
109  graph->evalOpParm(myGroup, nodeidx, "group", time, 0);
110  mySmoothingMethod = 0;
111  if (true)
112  graph->evalOpParm(mySmoothingMethod, nodeidx, "smoothingmethod", time, 0);
113  mySmoothingLevel = 1;
114  if (true)
115  graph->evalOpParm(mySmoothingLevel, nodeidx, "smoothinglevel", time, 0);
116  myTetMeshTreatment = 0;
117  if (true)
118  graph->evalOpParm(myTetMeshTreatment, nodeidx, "tetmeshtreatment", time, 0);
119 
120  }
121 
122 
123  void loadFromOpSubclass(const LoadParms &loadparms) override
124  {
125  buildFromOp(loadparms.graph(), loadparms.nodeIdx(), loadparms.context().getTime(), loadparms.depnode());
126  }
127 
128 
129  void copyFrom(const OP_NodeParms *src) override
130  {
131  *this = *((const SOP_SimplexRefineParms *)src);
132  }
133 
134  template <typename T>
135  void
136  doGetParmValue(TempIndex idx, TempIndex instance, T &value) const
137  {
138  if (idx.size() < 1)
139  return;
140  UT_ASSERT(idx.size() == instance.size()+1);
141  if (idx.size() != instance.size()+1)
142  return;
143  switch (idx[0])
144  {
145  case 0:
146  coerceValue(value, myGroup);
147  break;
148  case 1:
149  coerceValue(value, mySmoothingMethod);
150  break;
151  case 2:
152  coerceValue(value, mySmoothingLevel);
153  break;
154  case 3:
155  coerceValue(value, myTetMeshTreatment);
156  break;
157 
158  }
159  }
160 
161  bool isParmColorRamp(exint idx) const override
162  {
163  switch (idx)
164  {
165 
166  }
167  return false;
168  }
169 
170  void getNestParmValue(TempIndex idx, TempIndex instance, exint &value) const override
171  { doGetParmValue(idx, instance, value); }
172  void getNestParmValue(TempIndex idx, TempIndex instance, fpreal &value) const override
173  { doGetParmValue(idx, instance, value); }
174  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector2D &value) const override
175  { doGetParmValue(idx, instance, value); }
176  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector3D &value) const override
177  { doGetParmValue(idx, instance, value); }
178  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector4D &value) const override
179  { doGetParmValue(idx, instance, value); }
180  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix2D &value) const override
181  { doGetParmValue(idx, instance, value); }
182  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix3D &value) const override
183  { doGetParmValue(idx, instance, value); }
184  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix4D &value) const override
185  { doGetParmValue(idx, instance, value); }
186  void getNestParmValue(TempIndex idx, TempIndex instance, UT_StringHolder &value) const override
187  { doGetParmValue(idx, instance, value); }
188  void getNestParmValue(TempIndex idx, TempIndex instance, UT_SharedPtr<UT_Ramp> &value) const override
189  { doGetParmValue(idx, instance, value); }
190  void getNestParmValue(TempIndex idx, TempIndex instance, PRM_DataItemHandle &value) const override
191  { doGetParmValue(idx, instance, value); }
192 
193  template <typename T>
194  void
195  doSetParmValue(TempIndex idx, TempIndex instance, const T &value)
196  {
197  if (idx.size() < 1)
198  return;
199  UT_ASSERT(idx.size() == instance.size()+1);
200  if (idx.size() != instance.size()+1)
201  return;
202  switch (idx[0])
203  {
204  case 0:
205  coerceValue(myGroup, ( ( value ) ));
206  break;
207  case 1:
208  coerceValue(mySmoothingMethod, clampMinValue(0, clampMaxValue(2, value ) ));
209  break;
210  case 2:
211  coerceValue(mySmoothingLevel, clampMinValue(0, ( value ) ));
212  break;
213  case 3:
214  coerceValue(myTetMeshTreatment, clampMinValue(0, clampMaxValue(2, value ) ));
215  break;
216 
217  }
218  }
219 
220  void setNestParmValue(TempIndex idx, TempIndex instance, const exint &value) override
221  { doSetParmValue(idx, instance, value); }
222  void setNestParmValue(TempIndex idx, TempIndex instance, const fpreal &value) override
223  { doSetParmValue(idx, instance, value); }
224  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector2D &value) override
225  { doSetParmValue(idx, instance, value); }
226  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector3D &value) override
227  { doSetParmValue(idx, instance, value); }
228  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector4D &value) override
229  { doSetParmValue(idx, instance, value); }
230  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix2D &value) override
231  { doSetParmValue(idx, instance, value); }
232  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix3D &value) override
233  { doSetParmValue(idx, instance, value); }
234  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix4D &value) override
235  { doSetParmValue(idx, instance, value); }
236  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_StringHolder &value) override
237  { doSetParmValue(idx, instance, value); }
238  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_SharedPtr<UT_Ramp> &value) override
239  { doSetParmValue(idx, instance, value); }
240  void setNestParmValue(TempIndex idx, TempIndex instance, const PRM_DataItemHandle &value) override
241  { doSetParmValue(idx, instance, value); }
242 
243  exint getNestNumParms(TempIndex idx) const override
244  {
245  if (idx.size() == 0)
246  return 4;
247  switch (idx[0])
248  {
249 
250  }
251  // Invalid
252  return 0;
253  }
254 
255  const char *getNestParmName(TempIndex fieldnum) const override
256  {
257  if (fieldnum.size() < 1)
258  return 0;
259  switch (fieldnum[0])
260  {
261  case 0:
262  return "group";
263  case 1:
264  return "smoothingmethod";
265  case 2:
266  return "smoothinglevel";
267  case 3:
268  return "tetmeshtreatment";
269 
270  }
271  return 0;
272  }
273 
274  ParmType getNestParmType(TempIndex fieldnum) const override
275  {
276  if (fieldnum.size() < 1)
277  return PARM_UNSUPPORTED;
278  switch (fieldnum[0])
279  {
280  case 0:
281  return PARM_STRING;
282  case 1:
283  return PARM_INTEGER;
284  case 2:
285  return PARM_INTEGER;
286  case 3:
287  return PARM_INTEGER;
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, myGroup);
403  saveData(os, mySmoothingMethod);
404  saveData(os, mySmoothingLevel);
405  saveData(os, myTetMeshTreatment);
406 
407  }
408 
409  bool load(UT_IStream &is)
410  {
411  int32 v;
412  is.bread(&v, 1);
413  if (version() != v)
414  {
415  // Fail incompatible versions
416  return false;
417  }
418  loadData(is, myGroup);
419  loadData(is, mySmoothingMethod);
420  loadData(is, mySmoothingLevel);
421  loadData(is, myTetMeshTreatment);
422 
423  return true;
424  }
425 
426  const UT_StringHolder & getGroup() const { return myGroup; }
427  void setGroup(const UT_StringHolder & val) { myGroup = val; }
429  {
430  SOP_Node *thissop = cookparms.getNode();
431  if (!thissop) return getGroup();
433  OP_Utils::evalOpParm(result, thissop, "group", cookparms.getCookTime(), 0);
434  return result;
435  }
436  SmoothingMethod getSmoothingMethod() const { return SmoothingMethod(mySmoothingMethod); }
437  void setSmoothingMethod(SmoothingMethod val) { mySmoothingMethod = int64(val); }
439  {
440  SOP_Node *thissop = cookparms.getNode();
441  if (!thissop) return getSmoothingMethod();
442  int64 result;
443  OP_Utils::evalOpParm(result, thissop, "smoothingmethod", cookparms.getCookTime(), 0);
444  return SmoothingMethod(result);
445  }
446  int64 getSmoothingLevel() const { return mySmoothingLevel; }
447  void setSmoothingLevel(int64 val) { mySmoothingLevel = val; }
449  {
450  SOP_Node *thissop = cookparms.getNode();
451  if (!thissop) return getSmoothingLevel();
452  int64 result;
453  OP_Utils::evalOpParm(result, thissop, "smoothinglevel", cookparms.getCookTime(), 0);
454  return result;
455  }
456  TetMeshTreatment getTetMeshTreatment() const { return TetMeshTreatment(myTetMeshTreatment); }
457  void setTetMeshTreatment(TetMeshTreatment val) { myTetMeshTreatment = int64(val); }
459  {
460  SOP_Node *thissop = cookparms.getNode();
461  if (!thissop) return getTetMeshTreatment();
462  int64 result;
463  OP_Utils::evalOpParm(result, thissop, "tetmeshtreatment", cookparms.getCookTime(), 0);
464  return TetMeshTreatment(result);
465  }
466 
467 private:
468  UT_StringHolder myGroup;
469  int64 mySmoothingMethod;
470  int64 mySmoothingLevel;
471  int64 myTetMeshTreatment;
472 
473 };
static void saveData(std::ostream &os, UT_Matrix3D v)
SYS_FORCE_INLINE UT_StringHolder getToken(SmoothingMethod enum_value)
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix3D &value) override
ParmType getNestParmType(TempIndex fieldnum) const override
int int32
Definition: SYS_Types.h:39
SOP_Node * getNode() const
Definition: SOP_NodeVerb.h:347
void doSetParmValue(TempIndex idx, TempIndex instance, const T &value)
static void loadData(UT_IStream &is, UT_Matrix3D &v)
static void saveData(std::ostream &os, int64 v)
static void loadData(UT_IStream &is, UT_Vector2I &v)
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector4D &value) override
exint bread(int32 *buffer, exint asize=1)
GLboolean * data
Definition: glcorearb.h:131
GT_API const UT_StringHolder time
constexpr SYS_FORCE_INLINE T & y() noexcept
Definition: UT_Vector4.h:493
const GLdouble * v
Definition: glcorearb.h:837
fpreal getTime() const
Definition: OP_Context.h:62
void getNestParmValue(TempIndex idx, TempIndex instance, UT_StringHolder &value) const override
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix4D &value) const override
static void loadData(UT_IStream &is, UT_Vector3D &v)
void buildFromOp(const OP_GraphProxy *graph, exint nodeidx, fpreal time, DEP_MicroNode *depnode)
static void loadData(UT_IStream &is, UT_Vector3I &v)
const OP_Context & context() const
Definition: OP_NodeParms.h:97
constexpr SYS_FORCE_INLINE T & z() noexcept
Definition: UT_Vector3.h:667
int64 exint
Definition: SYS_Types.h:125
SYS_FORCE_INLINE const char * buffer() const
GLdouble s
Definition: glad.h:3009
An output stream object that owns its own string buffer storage.
static void loadData(UT_IStream &is, fpreal64 &v)
static void saveData(std::ostream &os, UT_Vector4D v)
void getNestParmValue(TempIndex idx, TempIndex instance, PRM_DataItemHandle &value) const override
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix2D &value) override
void loadFromOpSubclass(const LoadParms &loadparms) override
**But if you need a result
Definition: thread.h:613
void setNestParmValue(TempIndex idx, TempIndex instance, const exint &value) override
static void loadData(UT_IStream &is, UT_SharedPtr< UT_Ramp > &v)
SmoothingMethod opSmoothingMethod(const SOP_NodeVerb::CookParms &cookparms) const
static void loadData(UT_IStream &is, UT_Matrix2D &v)
static void saveData(std::ostream &os, UT_Matrix2D v)
exint nodeIdx() const
Definition: OP_NodeParms.h:95
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, UT_SharedPtr< UT_Ramp > &value) const override
constexpr SYS_FORCE_INLINE T & x() noexcept
Definition: UT_Vector4.h:491
double fpreal64
Definition: SYS_Types.h:201
constexpr SYS_FORCE_INLINE T & x() noexcept
Definition: UT_Vector2.h:423
bool isParmColorRamp(exint idx) const override
bool operator==(const BaseDimensions< T > &a, const BaseDimensions< Y > &b)
Definition: Dimensions.h:137
static void saveData(std::ostream &os, fpreal64 v)
static void loadData(UT_IStream &is, UT_Vector4I &v)
static void loadData(UT_IStream &is, UT_Vector4D &v)
static void saveData(std::ostream &os, UT_SharedPtr< UT_Ramp > s)
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix4D &value) override
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix2D &value) const override
void setNestParmValue(TempIndex idx, TempIndex instance, const PRM_DataItemHandle &value) override
static void loadData(UT_IStream &is, UT_Matrix4D &v)
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:36
TetMeshTreatment opTetMeshTreatment(const SOP_NodeVerb::CookParms &cookparms) const
static void saveData(std::ostream &os, PRM_DataItemHandle s)
constexpr SYS_FORCE_INLINE T & z() noexcept
Definition: UT_Vector4.h:495
SmoothingMethod getSmoothingMethod() const
const OP_GraphProxy * graph() const
Definition: OP_NodeParms.h:94
#define SYS_FORCE_INLINE
Definition: SYS_Inline.h:45
static void saveData(std::ostream &os, UT_Vector3D v)
void copyFrom(const OP_NodeParms *src) override
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix3D &value) const override
void doGetParmValue(TempIndex idx, TempIndex instance, T &value) const
long long int64
Definition: SYS_Types.h:116
void setNestParmValue(TempIndex idx, TempIndex instance, const fpreal &value) override
exint getNestNumParms(TempIndex idx) const override
static void saveData(std::ostream &os, bool v)
virtual void evalOpParm(int64 &v, NodeIdx node, const char *parmname, fpreal time, DEP_MicroNode *depnode) const =0
bool operator==(const SOP_SimplexRefineParms &src) const
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector2D &value) const override
void getNestParmValue(TempIndex idx, TempIndex instance, fpreal &value) const override
UT_StringHolder opGroup(const SOP_NodeVerb::CookParms &cookparms) const
static void loadData(UT_IStream &is, int64 &v)
void saveBinary(std::ostream &os) const
Save string to binary stream.
Definition: UT_String.h:296
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector3D &value) override
static void saveData(std::ostream &os, UT_Vector2D v)
GT_API const UT_StringHolder version
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_StringHolder &value) override
static void saveData(std::ostream &os, UT_Matrix4D v)
static void loadData(UT_IStream &is, UT_Vector2D &v)
bool operator!=(const SOP_SimplexRefineParms &src) const
int64 opSmoothingLevel(const SOP_NodeVerb::CookParms &cookparms) const
void getNestParmValue(TempIndex idx, TempIndex instance, exint &value) const override
const char * getNestParmName(TempIndex fieldnum) const override
static void loadData(UT_IStream &is, PRM_DataItemHandle &v)
void setGroup(const UT_StringHolder &val)
fpreal64 fpreal
Definition: SYS_Types.h:277
static void loadData(UT_IStream &is, UT_StringHolder &v)
DEP_MicroNode * depnode() const
Definition: OP_NodeParms.h:99
LeafData & operator=(const LeafData &)=delete
Utility class for containing a color ramp.
Definition: UT_Ramp.h:92
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_SharedPtr< UT_Ramp > &value) override
void setSmoothingMethod(SmoothingMethod val)
constexpr SYS_FORCE_INLINE T & w() noexcept
Definition: UT_Vector4.h:497
GLuint GLfloat * val
Definition: glcorearb.h:1608
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector2D &value) override
TetMeshTreatment getTetMeshTreatment() const
#define SOP_API
Definition: SOP_API.h:10
static void saveData(std::ostream &os, UT_StringHolder s)
fpreal getCookTime() const
Definition: SOP_NodeVerb.h:361
void save(std::ostream &os) const
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector3D &value) const override
const char * findChar(int c) const
Definition: UT_String.h:1395
#define UT_ASSERT(ZZ)
Definition: UT_Assert.h:156
Definition: core.h:1131
GLboolean r
Definition: glcorearb.h:1222
constexpr SYS_FORCE_INLINE T & y() noexcept
Definition: UT_Vector3.h:665
type
Definition: core.h:1059
const UT_StringHolder & getGroup() const
void setTetMeshTreatment(TetMeshTreatment val)
UT_SharedPtr< const PRM_DataItem > PRM_DataItemHandle
Definition: PRM_Parm.h:97
static void loadData(UT_IStream &is, bool &v)
constexpr SYS_FORCE_INLINE T & y() noexcept
Definition: UT_Vector2.h:425
SYS_FORCE_INLINE bool isstring() const
SYS_FORCE_INLINE void strncpy(const char *src, exint maxlen)
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector4D &value) const override
GLenum src
Definition: glcorearb.h:1793
constexpr SYS_FORCE_INLINE T & x() noexcept
Definition: UT_Vector3.h:663