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 <OP/OP_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 
95  if (baseGetSignature() != src.baseGetSignature()) return false;
96 
97  return true;
98  }
100  {
101  return !operator==(src);
102  }
105 
106 
107 
108  void buildFromOp(const OP_GraphProxy *graph, exint nodeidx, fpreal time, DEP_MicroNode *depnode)
109  {
110  myGroup = ""_UTsh;
111  if (true)
112  graph->evalOpParm(myGroup, nodeidx, "group", time, graph->isDirect()?nullptr:depnode);
113  mySmoothingMethod = 0;
114  if (true)
115  graph->evalOpParm(mySmoothingMethod, nodeidx, "smoothingmethod", time, graph->isDirect()?nullptr:depnode);
116  mySmoothingLevel = 1;
117  if (true)
118  graph->evalOpParm(mySmoothingLevel, nodeidx, "smoothinglevel", time, graph->isDirect()?nullptr:depnode);
119  myTetMeshTreatment = 0;
120  if (true)
121  graph->evalOpParm(myTetMeshTreatment, nodeidx, "tetmeshtreatment", time, graph->isDirect()?nullptr:depnode);
122 
123  }
124 
125 
126  void loadFromOpSubclass(const LoadParms &loadparms) override
127  {
128  buildFromOp(loadparms.graph(), loadparms.nodeIdx(), loadparms.context().getTime(), loadparms.depnode());
129  }
130 
131 
132  void copyFrom(const OP_NodeParms *src) override
133  {
134  *this = *((const SOP_SimplexRefineParms *)src);
135  }
136 
137  template <typename T>
138  void
139  doGetParmValue(TempIndex idx, TempIndex instance, T &value) const
140  {
141  if (idx.size() < 1)
142  return;
143  UT_ASSERT(idx.size() == instance.size()+1);
144  if (idx.size() != instance.size()+1)
145  return;
146  switch (idx[0])
147  {
148  case 0:
149  coerceValue(value, myGroup);
150  break;
151  case 1:
152  coerceValue(value, mySmoothingMethod);
153  break;
154  case 2:
155  coerceValue(value, mySmoothingLevel);
156  break;
157  case 3:
158  coerceValue(value, myTetMeshTreatment);
159  break;
160 
161  }
162  }
163 
164  bool isParmColorRamp(exint idx) const override
165  {
166  switch (idx)
167  {
168 
169  }
170  return false;
171  }
172 
173  void getNestParmValue(TempIndex idx, TempIndex instance, exint &value) const override
174  { doGetParmValue(idx, instance, value); }
175  void getNestParmValue(TempIndex idx, TempIndex instance, fpreal &value) const override
176  { doGetParmValue(idx, instance, value); }
177  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector2D &value) const override
178  { doGetParmValue(idx, instance, value); }
179  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector3D &value) const override
180  { doGetParmValue(idx, instance, value); }
181  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector4D &value) const override
182  { doGetParmValue(idx, instance, value); }
183  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix2D &value) const override
184  { doGetParmValue(idx, instance, value); }
185  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix3D &value) const override
186  { doGetParmValue(idx, instance, value); }
187  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix4D &value) const override
188  { doGetParmValue(idx, instance, value); }
189  void getNestParmValue(TempIndex idx, TempIndex instance, UT_StringHolder &value) const override
190  { doGetParmValue(idx, instance, value); }
191  void getNestParmValue(TempIndex idx, TempIndex instance, UT_SharedPtr<UT_Ramp> &value) const override
192  { doGetParmValue(idx, instance, value); }
193  void getNestParmValue(TempIndex idx, TempIndex instance, PRM_DataItemHandle &value) const override
194  { doGetParmValue(idx, instance, value); }
195 
196  template <typename T>
197  void
198  doSetParmValue(TempIndex idx, TempIndex instance, const T &value)
199  {
200  if (idx.size() < 1)
201  return;
202  UT_ASSERT(idx.size() == instance.size()+1);
203  if (idx.size() != instance.size()+1)
204  return;
205  switch (idx[0])
206  {
207  case 0:
208  coerceValue(myGroup, ( ( value ) ));
209  break;
210  case 1:
211  coerceValue(mySmoothingMethod, clampMinValue(0, clampMaxValue(2, value ) ));
212  break;
213  case 2:
214  coerceValue(mySmoothingLevel, clampMinValue(0, ( value ) ));
215  break;
216  case 3:
217  coerceValue(myTetMeshTreatment, clampMinValue(0, clampMaxValue(2, value ) ));
218  break;
219 
220  }
221  }
222 
223  void setNestParmValue(TempIndex idx, TempIndex instance, const exint &value) override
224  { doSetParmValue(idx, instance, value); }
225  void setNestParmValue(TempIndex idx, TempIndex instance, const fpreal &value) override
226  { doSetParmValue(idx, instance, value); }
227  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector2D &value) override
228  { doSetParmValue(idx, instance, value); }
229  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector3D &value) override
230  { doSetParmValue(idx, instance, value); }
231  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector4D &value) override
232  { doSetParmValue(idx, instance, value); }
233  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix2D &value) override
234  { doSetParmValue(idx, instance, value); }
235  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix3D &value) override
236  { doSetParmValue(idx, instance, value); }
237  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix4D &value) override
238  { doSetParmValue(idx, instance, value); }
239  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_StringHolder &value) override
240  { doSetParmValue(idx, instance, value); }
241  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_SharedPtr<UT_Ramp> &value) override
242  { doSetParmValue(idx, instance, value); }
243  void setNestParmValue(TempIndex idx, TempIndex instance, const PRM_DataItemHandle &value) override
244  { doSetParmValue(idx, instance, value); }
245 
246  exint getNestNumParms(TempIndex idx) const override
247  {
248  if (idx.size() == 0)
249  return 4;
250  switch (idx[0])
251  {
252 
253  }
254  // Invalid
255  return 0;
256  }
257 
258  const char *getNestParmName(TempIndex fieldnum) const override
259  {
260  if (fieldnum.size() < 1)
261  return 0;
262  switch (fieldnum[0])
263  {
264  case 0:
265  return "group";
266  case 1:
267  return "smoothingmethod";
268  case 2:
269  return "smoothinglevel";
270  case 3:
271  return "tetmeshtreatment";
272 
273  }
274  return 0;
275  }
276 
277  ParmType getNestParmType(TempIndex fieldnum) const override
278  {
279  if (fieldnum.size() < 1)
280  return PARM_UNSUPPORTED;
281  switch (fieldnum[0])
282  {
283  case 0:
284  return PARM_STRING;
285  case 1:
286  return PARM_INTEGER;
287  case 2:
288  return PARM_INTEGER;
289  case 3:
290  return PARM_INTEGER;
291 
292  }
293  return PARM_UNSUPPORTED;
294  }
295 
296  // Boiler plate to load individual types.
297  static void loadData(UT_IStream &is, int64 &v)
298  { is.bread(&v, 1); }
299  static void loadData(UT_IStream &is, bool &v)
300  { int64 iv; is.bread(&iv, 1); v = iv; }
301  static void loadData(UT_IStream &is, fpreal64 &v)
302  { is.bread<fpreal64>(&v, 1); }
303  static void loadData(UT_IStream &is, UT_Vector2D &v)
304  { is.bread<fpreal64>(&v.x(), 1); is.bread<fpreal64>(&v.y(), 1); }
305  static void loadData(UT_IStream &is, UT_Vector3D &v)
306  { is.bread<fpreal64>(&v.x(), 1); is.bread<fpreal64>(&v.y(), 1);
307  is.bread<fpreal64>(&v.z(), 1); }
308  static void loadData(UT_IStream &is, UT_Vector4D &v)
309  { is.bread<fpreal64>(&v.x(), 1); is.bread<fpreal64>(&v.y(), 1);
310  is.bread<fpreal64>(&v.z(), 1); is.bread<fpreal64>(&v.w(), 1); }
311  static void loadData(UT_IStream &is, UT_Matrix2D &v)
312  { for (int r = 0; r < 2; r++) for (int c = 0; c < 2; c++) is.bread<fpreal64>(&v(r, c), 1); }
313  static void loadData(UT_IStream &is, UT_Matrix3D &v)
314  { for (int r = 0; r < 3; r++) for (int c = 0; c < 3; c++) is.bread<fpreal64>(&v(r, c), 1); }
315  static void loadData(UT_IStream &is, UT_Matrix4D &v)
316  { for (int r = 0; r < 4; r++) for (int c = 0; c < 4; c++) is.bread<fpreal64>(&v(r, c), 1); }
317  static void loadData(UT_IStream &is, UT_Vector2I &v)
318  { is.bread<int64>(&v.x(), 1); is.bread<int64>(&v.y(), 1); }
319  static void loadData(UT_IStream &is, UT_Vector3I &v)
320  { is.bread<int64>(&v.x(), 1); is.bread<int64>(&v.y(), 1);
321  is.bread<int64>(&v.z(), 1); }
322  static void loadData(UT_IStream &is, UT_Vector4I &v)
323  { is.bread<int64>(&v.x(), 1); is.bread<int64>(&v.y(), 1);
324  is.bread<int64>(&v.z(), 1); is.bread<int64>(&v.w(), 1); }
326  { is.bread(v); }
328  { UT_StringHolder rampdata;
329  loadData(is, rampdata);
330  if (rampdata.isstring())
331  {
332  v.reset(new UT_Ramp());
333  UT_IStream istr((const char *) rampdata, rampdata.length(), UT_ISTREAM_ASCII);
334  v->load(istr);
335  }
336  else v.reset();
337  }
340  loadData(is, data);
341  if (data.isstring())
342  {
343  // Find the data type.
344  const char *colon = UT_StringWrap(data).findChar(':');
345  if (colon)
346  {
347  int typelen = colon - data.buffer();
349  type.strncpy(data.buffer(), typelen);
350  UT_IStream istr(((const char *) data) + typelen + 1, data.length() - (typelen + 1), UT_ISTREAM_BINARY);
351 
352  v = PRM_DataFactory::parseBinary(type.buffer(), istr);
353  }
354  }
355  else v.reset();
356  }
357 
358  static void saveData(std::ostream &os, int64 v)
359  { UTwrite(os, &v); }
360  static void saveData(std::ostream &os, bool v)
361  { int64 iv = v; UTwrite(os, &iv); }
362  static void saveData(std::ostream &os, fpreal64 v)
363  { UTwrite<fpreal64>(os, &v); }
364  static void saveData(std::ostream &os, UT_Vector2D v)
365  { UTwrite<fpreal64>(os, &v.x()); UTwrite<fpreal64>(os, &v.y()); }
366  static void saveData(std::ostream &os, UT_Vector3D v)
367  { UTwrite<fpreal64>(os, &v.x()); UTwrite<fpreal64>(os, &v.y());
368  UTwrite<fpreal64>(os, &v.z()); }
369  static void saveData(std::ostream &os, UT_Vector4D v)
370  { UTwrite<fpreal64>(os, &v.x()); UTwrite<fpreal64>(os, &v.y());
371  UTwrite<fpreal64>(os, &v.z()); UTwrite<fpreal64>(os, &v.w()); }
372  static void saveData(std::ostream &os, UT_Matrix2D v)
374  static void saveData(std::ostream &os, UT_Matrix3D v)
376  static void saveData(std::ostream &os, UT_Matrix4D v)
378  static void saveData(std::ostream &os, UT_StringHolder s)
379  { UT_StringWrap(s).saveBinary(os); }
380  static void saveData(std::ostream &os, UT_SharedPtr<UT_Ramp> s)
382  UT_OStringStream ostr;
383  if (s) s->save(ostr);
384  result = ostr.str();
385  saveData(os, result);
386  }
387  static void saveData(std::ostream &os, PRM_DataItemHandle s)
389  UT_OStringStream ostr;
390  if (s)
391  {
392  ostr << s->getDataTypeToken();
393  ostr << ":";
394  s->saveBinary(ostr);
395  }
396  result = ostr.str();
397  saveData(os, result);
398  }
399 
400 
401  void save(std::ostream &os) const
402  {
403  int32 v = version();
404  UTwrite(os, &v);
405  saveData(os, myGroup);
406  saveData(os, mySmoothingMethod);
407  saveData(os, mySmoothingLevel);
408  saveData(os, myTetMeshTreatment);
409 
410  }
411 
412  bool load(UT_IStream &is)
413  {
414  int32 v;
415  is.bread(&v, 1);
416  if (version() != v)
417  {
418  // Fail incompatible versions
419  return false;
420  }
421  loadData(is, myGroup);
422  loadData(is, mySmoothingMethod);
423  loadData(is, mySmoothingLevel);
424  loadData(is, myTetMeshTreatment);
425 
426  return true;
427  }
428 
429  const UT_StringHolder & getGroup() const { return myGroup; }
430  void setGroup(const UT_StringHolder & val) { myGroup = val; }
432  {
433  SOP_Node *thissop = cookparms.getNode();
434  if (!thissop) return getGroup();
436  OP_Utils::evalOpParm(result, thissop, "group", cookparms.getCookTime(), 0);
437  return result;
438  }
439  SmoothingMethod getSmoothingMethod() const { return SmoothingMethod(mySmoothingMethod); }
440  void setSmoothingMethod(SmoothingMethod val) { mySmoothingMethod = int64(val); }
442  {
443  SOP_Node *thissop = cookparms.getNode();
444  if (!thissop) return getSmoothingMethod();
445  int64 result;
446  OP_Utils::evalOpParm(result, thissop, "smoothingmethod", cookparms.getCookTime(), 0);
447  return SmoothingMethod(result);
448  }
449  int64 getSmoothingLevel() const { return mySmoothingLevel; }
450  void setSmoothingLevel(int64 val) { mySmoothingLevel = val; }
452  {
453  SOP_Node *thissop = cookparms.getNode();
454  if (!thissop) return getSmoothingLevel();
455  int64 result;
456  OP_Utils::evalOpParm(result, thissop, "smoothinglevel", cookparms.getCookTime(), 0);
457  return result;
458  }
459  TetMeshTreatment getTetMeshTreatment() const { return TetMeshTreatment(myTetMeshTreatment); }
460  void setTetMeshTreatment(TetMeshTreatment val) { myTetMeshTreatment = int64(val); }
462  {
463  SOP_Node *thissop = cookparms.getNode();
464  if (!thissop) return getTetMeshTreatment();
465  int64 result;
466  OP_Utils::evalOpParm(result, thissop, "tetmeshtreatment", cookparms.getCookTime(), 0);
467  return TetMeshTreatment(result);
468  }
469 
470 private:
471  UT_StringHolder myGroup;
472  int64 mySmoothingMethod;
473  int64 mySmoothingLevel;
474  int64 myTetMeshTreatment;
475 
476 };
static void saveData(std::ostream &os, UT_Matrix3D v)
type
Definition: core.h:556
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:63
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)
GLsizei const GLfloat * value
Definition: glcorearb.h:824
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:622
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
UT_SharedPtr< const PRM_DataItem > PRM_DataItemHandle
Definition: APEX_Include.h:55
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:303
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:278
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:96
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
virtual UT_StringHolder baseGetSignature() const
Definition: OP_NodeParms.h:294
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:372
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:1401
#define UT_ASSERT(ZZ)
Definition: UT_Assert.h:156
GLboolean r
Definition: glcorearb.h:1222
constexpr SYS_FORCE_INLINE T & y() noexcept
Definition: UT_Vector3.h:665
virtual bool isDirect() const =0
Direct proxies mirror actual nodes:
const UT_StringHolder & getGroup() const
void setTetMeshTreatment(TetMeshTreatment val)
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