HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SOP_Solidify-2.0.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 
25 {
26 public:
27  static int version() { return 1; }
28 
30  {
31  myTetGroup = ""_UTsh;
32  myPolyGroup = ""_UTsh;
33  myKeepPolygons = false;
34  mySolidBdry = 0;
35  myOutputSolidity = false;
36  mySolidityAttrib = "solidity"_UTsh;
37 
38  }
39 
40  explicit SOP_Solidify_2_0Parms(const SOP_Solidify_2_0Parms &) = default;
42  SOP_Solidify_2_0Parms(SOP_Solidify_2_0Parms &&) noexcept = default;
43  SOP_Solidify_2_0Parms &operator=(SOP_Solidify_2_0Parms &&) noexcept = default;
44 
45  ~SOP_Solidify_2_0Parms() override {}
46 
48  {
49  if (myTetGroup != src.myTetGroup) return false;
50  if (myPolyGroup != src.myPolyGroup) return false;
51  if (myKeepPolygons != src.myKeepPolygons) return false;
52  if (mySolidBdry != src.mySolidBdry) return false;
53  if (myOutputSolidity != src.myOutputSolidity) return false;
54  if (mySolidityAttrib != src.mySolidityAttrib) return false;
55 
56  return true;
57  }
59  {
60  return !operator==(src);
61  }
62 
63 
64 
65  void buildFromOp(const OP_GraphProxy *graph, exint nodeidx, fpreal time, DEP_MicroNode *depnode)
66  {
67  myTetGroup = ""_UTsh;
68  if (true)
69  graph->evalOpParm(myTetGroup, nodeidx, "tetgroup", time, 0);
70  myPolyGroup = ""_UTsh;
71  if (true)
72  graph->evalOpParm(myPolyGroup, nodeidx, "polygroup", time, 0);
73  myKeepPolygons = false;
74  if (true)
75  graph->evalOpParm(myKeepPolygons, nodeidx, "keeppolygons", time, 0);
76  mySolidBdry = 0;
77  if (true)
78  graph->evalOpParm(mySolidBdry, nodeidx, "solidbdry", time, 0);
79  myOutputSolidity = false;
80  if (true)
81  graph->evalOpParm(myOutputSolidity, nodeidx, "outputsolidity", time, 0);
82  mySolidityAttrib = "solidity"_UTsh;
83  if (true && ( (true&&!(((getOutputSolidity()==0)))) ) )
84  graph->evalOpParm(mySolidityAttrib, nodeidx, "solidityattrib", time, 0);
85 
86  }
87 
88 
89  void loadFromOpSubclass(const LoadParms &loadparms) override
90  {
91  buildFromOp(loadparms.graph(), loadparms.nodeIdx(), loadparms.context().getTime(), loadparms.depnode());
92  }
93 
94 
95  void copyFrom(const OP_NodeParms *src) override
96  {
97  *this = *((const SOP_Solidify_2_0Parms *)src);
98  }
99 
100  template <typename T>
101  void
102  doGetParmValue(TempIndex idx, TempIndex instance, T &value) const
103  {
104  if (idx.size() < 1)
105  return;
106  UT_ASSERT(idx.size() == instance.size()+1);
107  if (idx.size() != instance.size()+1)
108  return;
109  switch (idx[0])
110  {
111  case 0:
112  coerceValue(value, myTetGroup);
113  break;
114  case 1:
115  coerceValue(value, myPolyGroup);
116  break;
117  case 2:
118  coerceValue(value, myKeepPolygons);
119  break;
120  case 3:
121  coerceValue(value, mySolidBdry);
122  break;
123  case 4:
124  coerceValue(value, myOutputSolidity);
125  break;
126  case 5:
127  coerceValue(value, mySolidityAttrib);
128  break;
129 
130  }
131  }
132 
133  bool isParmColorRamp(exint idx) const override
134  {
135  switch (idx)
136  {
137 
138  }
139  return false;
140  }
141 
142  void getNestParmValue(TempIndex idx, TempIndex instance, exint &value) const override
143  { doGetParmValue(idx, instance, value); }
144  void getNestParmValue(TempIndex idx, TempIndex instance, fpreal &value) const override
145  { doGetParmValue(idx, instance, value); }
146  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector2D &value) const override
147  { doGetParmValue(idx, instance, value); }
148  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector3D &value) const override
149  { doGetParmValue(idx, instance, value); }
150  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector4D &value) const override
151  { doGetParmValue(idx, instance, value); }
152  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix2D &value) const override
153  { doGetParmValue(idx, instance, value); }
154  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix3D &value) const override
155  { doGetParmValue(idx, instance, value); }
156  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix4D &value) const override
157  { doGetParmValue(idx, instance, value); }
158  void getNestParmValue(TempIndex idx, TempIndex instance, UT_StringHolder &value) const override
159  { doGetParmValue(idx, instance, value); }
160  void getNestParmValue(TempIndex idx, TempIndex instance, UT_SharedPtr<UT_Ramp> &value) const override
161  { doGetParmValue(idx, instance, value); }
162  void getNestParmValue(TempIndex idx, TempIndex instance, PRM_DataItemHandle &value) const override
163  { doGetParmValue(idx, instance, value); }
164 
165  template <typename T>
166  void
167  doSetParmValue(TempIndex idx, TempIndex instance, const T &value)
168  {
169  if (idx.size() < 1)
170  return;
171  UT_ASSERT(idx.size() == instance.size()+1);
172  if (idx.size() != instance.size()+1)
173  return;
174  switch (idx[0])
175  {
176  case 0:
177  coerceValue(myTetGroup, ( ( value ) ));
178  break;
179  case 1:
180  coerceValue(myPolyGroup, ( ( value ) ));
181  break;
182  case 2:
183  coerceValue(myKeepPolygons, ( ( value ) ));
184  break;
185  case 3:
186  coerceValue(mySolidBdry, ( ( value ) ));
187  break;
188  case 4:
189  coerceValue(myOutputSolidity, ( ( value ) ));
190  break;
191  case 5:
192  coerceValue(mySolidityAttrib, ( ( value ) ));
193  break;
194 
195  }
196  }
197 
198  void setNestParmValue(TempIndex idx, TempIndex instance, const exint &value) override
199  { doSetParmValue(idx, instance, value); }
200  void setNestParmValue(TempIndex idx, TempIndex instance, const fpreal &value) override
201  { doSetParmValue(idx, instance, value); }
202  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector2D &value) override
203  { doSetParmValue(idx, instance, value); }
204  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector3D &value) override
205  { doSetParmValue(idx, instance, value); }
206  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector4D &value) override
207  { doSetParmValue(idx, instance, value); }
208  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix2D &value) override
209  { doSetParmValue(idx, instance, value); }
210  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix3D &value) override
211  { doSetParmValue(idx, instance, value); }
212  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix4D &value) override
213  { doSetParmValue(idx, instance, value); }
214  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_StringHolder &value) override
215  { doSetParmValue(idx, instance, value); }
216  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_SharedPtr<UT_Ramp> &value) override
217  { doSetParmValue(idx, instance, value); }
218  void setNestParmValue(TempIndex idx, TempIndex instance, const PRM_DataItemHandle &value) override
219  { doSetParmValue(idx, instance, value); }
220 
221  exint getNestNumParms(TempIndex idx) const override
222  {
223  if (idx.size() == 0)
224  return 6;
225  switch (idx[0])
226  {
227 
228  }
229  // Invalid
230  return 0;
231  }
232 
233  const char *getNestParmName(TempIndex fieldnum) const override
234  {
235  if (fieldnum.size() < 1)
236  return 0;
237  switch (fieldnum[0])
238  {
239  case 0:
240  return "tetgroup";
241  case 1:
242  return "polygroup";
243  case 2:
244  return "keeppolygons";
245  case 3:
246  return "solidbdry";
247  case 4:
248  return "outputsolidity";
249  case 5:
250  return "solidityattrib";
251 
252  }
253  return 0;
254  }
255 
256  ParmType getNestParmType(TempIndex fieldnum) const override
257  {
258  if (fieldnum.size() < 1)
259  return PARM_UNSUPPORTED;
260  switch (fieldnum[0])
261  {
262  case 0:
263  return PARM_STRING;
264  case 1:
265  return PARM_STRING;
266  case 2:
267  return PARM_INTEGER;
268  case 3:
269  return PARM_FLOAT;
270  case 4:
271  return PARM_INTEGER;
272  case 5:
273  return PARM_STRING;
274 
275  }
276  return PARM_UNSUPPORTED;
277  }
278 
279  // Boiler plate to load individual types.
280  static void loadData(UT_IStream &is, int64 &v)
281  { is.bread(&v, 1); }
282  static void loadData(UT_IStream &is, bool &v)
283  { int64 iv; is.bread(&iv, 1); v = iv; }
284  static void loadData(UT_IStream &is, fpreal64 &v)
285  { is.bread<fpreal64>(&v, 1); }
286  static void loadData(UT_IStream &is, UT_Vector2D &v)
287  { is.bread<fpreal64>(&v.x(), 1); is.bread<fpreal64>(&v.y(), 1); }
288  static void loadData(UT_IStream &is, UT_Vector3D &v)
289  { is.bread<fpreal64>(&v.x(), 1); is.bread<fpreal64>(&v.y(), 1);
290  is.bread<fpreal64>(&v.z(), 1); }
291  static void loadData(UT_IStream &is, UT_Vector4D &v)
292  { is.bread<fpreal64>(&v.x(), 1); is.bread<fpreal64>(&v.y(), 1);
293  is.bread<fpreal64>(&v.z(), 1); is.bread<fpreal64>(&v.w(), 1); }
294  static void loadData(UT_IStream &is, UT_Matrix2D &v)
295  { for (int r = 0; r < 2; r++) for (int c = 0; c < 2; c++) is.bread<fpreal64>(&v(r, c), 1); }
296  static void loadData(UT_IStream &is, UT_Matrix3D &v)
297  { for (int r = 0; r < 3; r++) for (int c = 0; c < 3; c++) is.bread<fpreal64>(&v(r, c), 1); }
298  static void loadData(UT_IStream &is, UT_Matrix4D &v)
299  { for (int r = 0; r < 4; r++) for (int c = 0; c < 4; c++) is.bread<fpreal64>(&v(r, c), 1); }
300  static void loadData(UT_IStream &is, UT_Vector2I &v)
301  { is.bread<int64>(&v.x(), 1); is.bread<int64>(&v.y(), 1); }
302  static void loadData(UT_IStream &is, UT_Vector3I &v)
303  { is.bread<int64>(&v.x(), 1); is.bread<int64>(&v.y(), 1);
304  is.bread<int64>(&v.z(), 1); }
305  static void loadData(UT_IStream &is, UT_Vector4I &v)
306  { is.bread<int64>(&v.x(), 1); is.bread<int64>(&v.y(), 1);
307  is.bread<int64>(&v.z(), 1); is.bread<int64>(&v.w(), 1); }
309  { is.bread(v); }
311  { UT_StringHolder rampdata;
312  loadData(is, rampdata);
313  if (rampdata.isstring())
314  {
315  v.reset(new UT_Ramp());
316  UT_IStream istr((const char *) rampdata, rampdata.length(), UT_ISTREAM_ASCII);
317  v->load(istr);
318  }
319  else v.reset();
320  }
323  loadData(is, data);
324  if (data.isstring())
325  {
326  // Find the data type.
327  const char *colon = UT_StringWrap(data).findChar(':');
328  if (colon)
329  {
330  int typelen = colon - data.buffer();
332  type.strncpy(data.buffer(), typelen);
333  UT_IStream istr(((const char *) data) + typelen + 1, data.length() - (typelen + 1), UT_ISTREAM_BINARY);
334 
335  v = PRM_DataFactory::parseBinary(type.buffer(), istr);
336  }
337  }
338  else v.reset();
339  }
340 
341  static void saveData(std::ostream &os, int64 v)
342  { UTwrite(os, &v); }
343  static void saveData(std::ostream &os, bool v)
344  { int64 iv = v; UTwrite(os, &iv); }
345  static void saveData(std::ostream &os, fpreal64 v)
346  { UTwrite<fpreal64>(os, &v); }
347  static void saveData(std::ostream &os, UT_Vector2D v)
348  { UTwrite<fpreal64>(os, &v.x()); UTwrite<fpreal64>(os, &v.y()); }
349  static void saveData(std::ostream &os, UT_Vector3D v)
350  { UTwrite<fpreal64>(os, &v.x()); UTwrite<fpreal64>(os, &v.y());
351  UTwrite<fpreal64>(os, &v.z()); }
352  static void saveData(std::ostream &os, UT_Vector4D v)
353  { UTwrite<fpreal64>(os, &v.x()); UTwrite<fpreal64>(os, &v.y());
354  UTwrite<fpreal64>(os, &v.z()); UTwrite<fpreal64>(os, &v.w()); }
355  static void saveData(std::ostream &os, UT_Matrix2D v)
357  static void saveData(std::ostream &os, UT_Matrix3D v)
359  static void saveData(std::ostream &os, UT_Matrix4D v)
361  static void saveData(std::ostream &os, UT_StringHolder s)
362  { UT_StringWrap(s).saveBinary(os); }
363  static void saveData(std::ostream &os, UT_SharedPtr<UT_Ramp> s)
365  UT_OStringStream ostr;
366  if (s) s->save(ostr);
367  result = ostr.str();
368  saveData(os, result);
369  }
370  static void saveData(std::ostream &os, PRM_DataItemHandle s)
372  UT_OStringStream ostr;
373  if (s)
374  {
375  ostr << s->getDataTypeToken();
376  ostr << ":";
377  s->saveBinary(ostr);
378  }
379  result = ostr.str();
380  saveData(os, result);
381  }
382 
383 
384  void save(std::ostream &os) const
385  {
386  int32 v = version();
387  UTwrite(os, &v);
388  saveData(os, myTetGroup);
389  saveData(os, myPolyGroup);
390  saveData(os, myKeepPolygons);
391  saveData(os, mySolidBdry);
392  saveData(os, myOutputSolidity);
393  saveData(os, mySolidityAttrib);
394 
395  }
396 
397  bool load(UT_IStream &is)
398  {
399  int32 v;
400  is.bread(&v, 1);
401  if (version() != v)
402  {
403  // Fail incompatible versions
404  return false;
405  }
406  loadData(is, myTetGroup);
407  loadData(is, myPolyGroup);
408  loadData(is, myKeepPolygons);
409  loadData(is, mySolidBdry);
410  loadData(is, myOutputSolidity);
411  loadData(is, mySolidityAttrib);
412 
413  return true;
414  }
415 
416  const UT_StringHolder & getTetGroup() const { return myTetGroup; }
417  void setTetGroup(const UT_StringHolder & val) { myTetGroup = val; }
419  {
420  SOP_Node *thissop = cookparms.getNode();
421  if (!thissop) return getTetGroup();
423  OP_Utils::evalOpParm(result, thissop, "tetgroup", cookparms.getCookTime(), 0);
424  return result;
425  }
426  const UT_StringHolder & getPolyGroup() const { return myPolyGroup; }
427  void setPolyGroup(const UT_StringHolder & val) { myPolyGroup = val; }
429  {
430  SOP_Node *thissop = cookparms.getNode();
431  if (!thissop) return getPolyGroup();
433  OP_Utils::evalOpParm(result, thissop, "polygroup", cookparms.getCookTime(), 0);
434  return result;
435  }
436  bool getKeepPolygons() const { return myKeepPolygons; }
437  void setKeepPolygons(bool val) { myKeepPolygons = val; }
438  bool opKeepPolygons(const SOP_NodeVerb::CookParms &cookparms) const
439  {
440  SOP_Node *thissop = cookparms.getNode();
441  if (!thissop) return getKeepPolygons();
442  bool result;
443  OP_Utils::evalOpParm(result, thissop, "keeppolygons", cookparms.getCookTime(), 0);
444  return result;
445  }
446  fpreal64 getSolidBdry() const { return mySolidBdry; }
447  void setSolidBdry(fpreal64 val) { mySolidBdry = val; }
449  {
450  SOP_Node *thissop = cookparms.getNode();
451  if (!thissop) return getSolidBdry();
453  OP_Utils::evalOpParm(result, thissop, "solidbdry", cookparms.getCookTime(), 0);
454  return result;
455  }
456  bool getOutputSolidity() const { return myOutputSolidity; }
457  void setOutputSolidity(bool val) { myOutputSolidity = val; }
458  bool opOutputSolidity(const SOP_NodeVerb::CookParms &cookparms) const
459  {
460  SOP_Node *thissop = cookparms.getNode();
461  if (!thissop) return getOutputSolidity();
462  bool result;
463  OP_Utils::evalOpParm(result, thissop, "outputsolidity", cookparms.getCookTime(), 0);
464  return result;
465  }
466  const UT_StringHolder & getSolidityAttrib() const { return mySolidityAttrib; }
467  void setSolidityAttrib(const UT_StringHolder & val) { mySolidityAttrib = val; }
469  {
470  SOP_Node *thissop = cookparms.getNode();
471  if (!thissop) return getSolidityAttrib();
473  OP_Utils::evalOpParm(result, thissop, "solidityattrib", cookparms.getCookTime(), 0);
474  return result;
475  }
476 
477 private:
478  UT_StringHolder myTetGroup;
479  UT_StringHolder myPolyGroup;
480  bool myKeepPolygons;
481  fpreal64 mySolidBdry;
482  bool myOutputSolidity;
483  UT_StringHolder mySolidityAttrib;
484 
485 };
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector3D &value) const override
fpreal64 opSolidBdry(const SOP_NodeVerb::CookParms &cookparms) const
void setPolyGroup(const UT_StringHolder &val)
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector4D &value) override
int int32
Definition: SYS_Types.h:39
SOP_Node * getNode() const
Definition: SOP_NodeVerb.h:347
void getNestParmValue(TempIndex idx, TempIndex instance, PRM_DataItemHandle &value) const override
static void loadData(UT_IStream &is, PRM_DataItemHandle &v)
void doSetParmValue(TempIndex idx, TempIndex instance, const T &value)
void getNestParmValue(TempIndex idx, TempIndex instance, UT_StringHolder &value) const 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
const UT_StringHolder & getPolyGroup() const
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector4D &value) const override
const OP_Context & context() const
Definition: OP_NodeParms.h:97
void getNestParmValue(TempIndex idx, TempIndex instance, UT_SharedPtr< UT_Ramp > &value) const override
constexpr SYS_FORCE_INLINE T & z() noexcept
Definition: UT_Vector3.h:667
int64 exint
Definition: SYS_Types.h:125
static void loadData(UT_IStream &is, UT_Vector4D &v)
SYS_FORCE_INLINE const char * buffer() const
static void loadData(UT_IStream &is, UT_Vector2I &v)
GLdouble s
Definition: glad.h:3009
An output stream object that owns its own string buffer storage.
const UT_StringHolder & getTetGroup() const
bool opOutputSolidity(const SOP_NodeVerb::CookParms &cookparms) const
static void saveData(std::ostream &os, UT_Matrix2D v)
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector3D &value) override
**But if you need a result
Definition: thread.h:613
static void saveData(std::ostream &os, UT_Vector4D v)
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix4D &value) override
exint nodeIdx() const
Definition: OP_NodeParms.h:95
static PRM_DataItemHandle parseBinary(const char *type, UT_IStream &is)
fpreal64 getSolidBdry() const
const UT_WorkBuffer & str()
Returns a read-only reference to the underlying UT_WorkBuffer.
static void loadData(UT_IStream &is, UT_Vector4I &v)
UT_StringHolder opPolyGroup(const SOP_NodeVerb::CookParms &cookparms) const
constexpr SYS_FORCE_INLINE T & x() noexcept
Definition: UT_Vector4.h:491
bool operator==(const SOP_Solidify_2_0Parms &src) const
double fpreal64
Definition: SYS_Types.h:201
constexpr SYS_FORCE_INLINE T & x() noexcept
Definition: UT_Vector2.h:423
void setSolidityAttrib(const UT_StringHolder &val)
bool operator==(const BaseDimensions< T > &a, const BaseDimensions< Y > &b)
Definition: Dimensions.h:137
static void saveData(std::ostream &os, fpreal64 v)
void copyFrom(const OP_NodeParms *src) override
void setNestParmValue(TempIndex idx, TempIndex instance, const exint &value) override
void setTetGroup(const UT_StringHolder &val)
static void saveData(std::ostream &os, UT_Matrix3D 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
constexpr SYS_FORCE_INLINE T & z() noexcept
Definition: UT_Vector4.h:495
const char * getNestParmName(TempIndex fieldnum) const override
static void loadData(UT_IStream &is, UT_Matrix4D &v)
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector2D &value) override
const OP_GraphProxy * graph() const
Definition: OP_NodeParms.h:94
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix3D &value) override
static void loadData(UT_IStream &is, UT_Vector3D &v)
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_StringHolder &value) override
void loadFromOpSubclass(const LoadParms &loadparms) override
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix4D &value) const override
static void loadData(UT_IStream &is, UT_Matrix3D &v)
long long int64
Definition: SYS_Types.h:116
exint getNestNumParms(TempIndex idx) const override
bool isParmColorRamp(exint idx) const override
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix2D &value) override
virtual void evalOpParm(int64 &v, NodeIdx node, const char *parmname, fpreal time, DEP_MicroNode *depnode) const =0
void saveBinary(std::ostream &os) const
Save string to binary stream.
Definition: UT_String.h:296
void buildFromOp(const OP_GraphProxy *graph, exint nodeidx, fpreal time, DEP_MicroNode *depnode)
GT_API const UT_StringHolder version
bool opKeepPolygons(const SOP_NodeVerb::CookParms &cookparms) const
const UT_StringHolder & getSolidityAttrib() const
static void saveData(std::ostream &os, PRM_DataItemHandle s)
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix2D &value) const override
static void loadData(UT_IStream &is, fpreal64 &v)
void setNestParmValue(TempIndex idx, TempIndex instance, const fpreal &value) override
void coerceValue(T &result, const S &src) const
Definition: OP_NodeParms.h:301
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_SharedPtr< UT_Ramp > &value) override
void getNestParmValue(TempIndex idx, TempIndex instance, exint &value) const override
fpreal64 fpreal
Definition: SYS_Types.h:277
DEP_MicroNode * depnode() const
Definition: OP_NodeParms.h:99
static void saveData(std::ostream &os, UT_StringHolder s)
Utility class for containing a color ramp.
Definition: UT_Ramp.h:92
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector2D &value) const override
static void loadData(UT_IStream &is, int64 &v)
constexpr SYS_FORCE_INLINE T & w() noexcept
Definition: UT_Vector4.h:497
ParmType getNestParmType(TempIndex fieldnum) const override
GLuint GLfloat * val
Definition: glcorearb.h:1608
bool operator!=(const SOP_Solidify_2_0Parms &src) const
#define SOP_API
Definition: SOP_API.h:10
static void saveData(std::ostream &os, UT_Vector2D v)
fpreal getCookTime() const
Definition: SOP_NodeVerb.h:361
static void loadData(UT_IStream &is, UT_Vector3I &v)
bool load(UT_IStream &is)
void setNestParmValue(TempIndex idx, TempIndex instance, const PRM_DataItemHandle &value) override
const char * findChar(int c) const
Definition: UT_String.h:1395
#define UT_ASSERT(ZZ)
Definition: UT_Assert.h:156
static void loadData(UT_IStream &is, UT_SharedPtr< UT_Ramp > &v)
Definition: core.h:1131
void doGetParmValue(TempIndex idx, TempIndex instance, T &value) const
GLboolean r
Definition: glcorearb.h:1222
static void saveData(std::ostream &os, UT_SharedPtr< UT_Ramp > s)
void getNestParmValue(TempIndex idx, TempIndex instance, fpreal &value) const override
static void saveData(std::ostream &os, UT_Vector3D v)
UT_StringHolder opSolidityAttrib(const SOP_NodeVerb::CookParms &cookparms) const
constexpr SYS_FORCE_INLINE T & y() noexcept
Definition: UT_Vector3.h:665
type
Definition: core.h:1059
void save(std::ostream &os) const
void setSolidBdry(fpreal64 val)
UT_SharedPtr< const PRM_DataItem > PRM_DataItemHandle
Definition: PRM_Parm.h:97
constexpr SYS_FORCE_INLINE T & y() noexcept
Definition: UT_Vector2.h:425
static void loadData(UT_IStream &is, UT_Matrix2D &v)
static void loadData(UT_IStream &is, bool &v)
UT_StringHolder opTetGroup(const SOP_NodeVerb::CookParms &cookparms) const
SYS_FORCE_INLINE bool isstring() const
static void saveData(std::ostream &os, bool v)
static void saveData(std::ostream &os, UT_Matrix4D v)
OP_NodeParms & operator=(const OP_NodeParms &)=default
SYS_FORCE_INLINE void strncpy(const char *src, exint maxlen)
static void loadData(UT_IStream &is, UT_StringHolder &v)
static void saveData(std::ostream &os, int64 v)
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix3D &value) const override
GLenum src
Definition: glcorearb.h:1793
constexpr SYS_FORCE_INLINE T & x() noexcept
Definition: UT_Vector3.h:663
static void loadData(UT_IStream &is, UT_Vector2D &v)