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_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  myTetGroup = ""_sh;
32  myPolyGroup = ""_sh;
33  myKeepPolygons = false;
34  mySolidBdry = 0;
35  myOutputSolidity = false;
36  mySolidityAttrib = "solidity"_sh;
37 
38  }
39 
40  explicit SOP_Solidify_2_0Parms(const SOP_Solidify_2_0Parms &) = default;
41 
42  ~SOP_Solidify_2_0Parms() override {}
43 
45  {
46  if (myTetGroup != src.myTetGroup) return false;
47  if (myPolyGroup != src.myPolyGroup) return false;
48  if (myKeepPolygons != src.myKeepPolygons) return false;
49  if (mySolidBdry != src.mySolidBdry) return false;
50  if (myOutputSolidity != src.myOutputSolidity) return false;
51  if (mySolidityAttrib != src.mySolidityAttrib) return false;
52 
53  return true;
54  }
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  myTetGroup = ""_sh;
65  if (true)
66  graph->evalOpParm(myTetGroup, nodeidx, "tetgroup", time, 0);
67  myPolyGroup = ""_sh;
68  if (true)
69  graph->evalOpParm(myPolyGroup, nodeidx, "polygroup", time, 0);
70  myKeepPolygons = false;
71  if (true)
72  graph->evalOpParm(myKeepPolygons, nodeidx, "keeppolygons", time, 0);
73  mySolidBdry = 0;
74  if (true)
75  graph->evalOpParm(mySolidBdry, nodeidx, "solidbdry", time, 0);
76  myOutputSolidity = false;
77  if (true)
78  graph->evalOpParm(myOutputSolidity, nodeidx, "outputsolidity", time, 0);
79  mySolidityAttrib = "solidity"_sh;
80  if (true && ( (!(((getOutputSolidity()==0)))) ) )
81  graph->evalOpParm(mySolidityAttrib, nodeidx, "solidityattrib", 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_Solidify_2_0Parms *)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, myTetGroup);
110  break;
111  case 1:
112  coerceValue(value, myPolyGroup);
113  break;
114  case 2:
115  coerceValue(value, myKeepPolygons);
116  break;
117  case 3:
118  coerceValue(value, mySolidBdry);
119  break;
120  case 4:
121  coerceValue(value, myOutputSolidity);
122  break;
123  case 5:
124  coerceValue(value, mySolidityAttrib);
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(myTetGroup, value);
166  break;
167  case 1:
168  coerceValue(myPolyGroup, value);
169  break;
170  case 2:
171  coerceValue(myKeepPolygons, value);
172  break;
173  case 3:
174  coerceValue(mySolidBdry, value);
175  break;
176  case 4:
177  coerceValue(myOutputSolidity, value);
178  break;
179  case 5:
180  coerceValue(mySolidityAttrib, 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 "tetgroup";
229  case 1:
230  return "polygroup";
231  case 2:
232  return "keeppolygons";
233  case 3:
234  return "solidbdry";
235  case 4:
236  return "outputsolidity";
237  case 5:
238  return "solidityattrib";
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_INTEGER;
256  case 3:
257  return PARM_FLOAT;
258  case 4:
259  return PARM_INTEGER;
260  case 5:
261  return PARM_STRING;
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, myTetGroup);
377  saveData(os, myPolyGroup);
378  saveData(os, myKeepPolygons);
379  saveData(os, mySolidBdry);
380  saveData(os, myOutputSolidity);
381  saveData(os, mySolidityAttrib);
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, myTetGroup);
395  loadData(is, myPolyGroup);
396  loadData(is, myKeepPolygons);
397  loadData(is, mySolidBdry);
398  loadData(is, myOutputSolidity);
399  loadData(is, mySolidityAttrib);
400 
401  return true;
402  }
403 
404  const UT_StringHolder & getTetGroup() const { return myTetGroup; }
405  void setTetGroup(const UT_StringHolder & val) { myTetGroup = val; }
407  {
408  SOP_Node *thissop = cookparms.getNode();
409  if (!thissop) return getTetGroup();
411  OP_Utils::evalOpParm(result, thissop, "tetgroup", cookparms.getCookTime(), 0);
412  return result;
413  }
414  const UT_StringHolder & getPolyGroup() const { return myPolyGroup; }
415  void setPolyGroup(const UT_StringHolder & val) { myPolyGroup = val; }
417  {
418  SOP_Node *thissop = cookparms.getNode();
419  if (!thissop) return getPolyGroup();
421  OP_Utils::evalOpParm(result, thissop, "polygroup", cookparms.getCookTime(), 0);
422  return result;
423  }
424  bool getKeepPolygons() const { return myKeepPolygons; }
425  void setKeepPolygons(bool val) { myKeepPolygons = val; }
426  bool opKeepPolygons(const SOP_NodeVerb::CookParms &cookparms) const
427  {
428  SOP_Node *thissop = cookparms.getNode();
429  if (!thissop) return getKeepPolygons();
430  bool result;
431  OP_Utils::evalOpParm(result, thissop, "keeppolygons", cookparms.getCookTime(), 0);
432  return result;
433  }
434  fpreal64 getSolidBdry() const { return mySolidBdry; }
435  void setSolidBdry(fpreal64 val) { mySolidBdry = val; }
437  {
438  SOP_Node *thissop = cookparms.getNode();
439  if (!thissop) return getSolidBdry();
441  OP_Utils::evalOpParm(result, thissop, "solidbdry", cookparms.getCookTime(), 0);
442  return result;
443  }
444  bool getOutputSolidity() const { return myOutputSolidity; }
445  void setOutputSolidity(bool val) { myOutputSolidity = val; }
446  bool opOutputSolidity(const SOP_NodeVerb::CookParms &cookparms) const
447  {
448  SOP_Node *thissop = cookparms.getNode();
449  if (!thissop) return getOutputSolidity();
450  bool result;
451  OP_Utils::evalOpParm(result, thissop, "outputsolidity", cookparms.getCookTime(), 0);
452  return result;
453  }
454  const UT_StringHolder & getSolidityAttrib() const { return mySolidityAttrib; }
455  void setSolidityAttrib(const UT_StringHolder & val) { mySolidityAttrib = val; }
457  {
458  SOP_Node *thissop = cookparms.getNode();
459  if (!thissop) return getSolidityAttrib();
461  OP_Utils::evalOpParm(result, thissop, "solidityattrib", cookparms.getCookTime(), 0);
462  return result;
463  }
464 
465 private:
466  UT_StringHolder myTetGroup;
467  UT_StringHolder myPolyGroup;
468  bool myKeepPolygons;
469  fpreal64 mySolidBdry;
470  bool myOutputSolidity;
471  UT_StringHolder mySolidityAttrib;
472 
473 };
GLdouble s
Definition: glew.h:1390
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector3D &value) const override
fpreal64 opSolidBdry(const SOP_NodeVerb::CookParms &cookparms) const
exint nodeIdx() const
Definition: SOP_NodeVerb.h:114
void setPolyGroup(const UT_StringHolder &val)
GLenum src
Definition: glew.h:2410
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:640
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)
GT_API const UT_StringHolder time
fpreal getTime() const
Definition: OP_Context.h:60
const UT_StringHolder & getPolyGroup() const
GLuint const GLfloat * val
Definition: glew.h:2794
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector4D &value) const override
void getNestParmValue(TempIndex idx, TempIndex instance, UT_SharedPtr< UT_Ramp > &value) const override
int64 exint
Definition: SYS_Types.h:125
static void loadData(UT_IStream &is, UT_Vector4D &v)
SYS_FORCE_INLINE const char * buffer() const
const SOP_GraphProxy * graph() const
Definition: SOP_NodeVerb.h:113
static void loadData(UT_IStream &is, UT_Vector2I &v)
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)
const GLdouble * v
Definition: glew.h:1391
void copyFrom(const SOP_NodeParms *src) override
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector3D &value) override
static void saveData(std::ostream &os, UT_Vector4D v)
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix4D &value) override
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
bool operator==(const SOP_Solidify_2_0Parms &src) const
double fpreal64
Definition: SYS_Types.h:201
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 setNestParmValue(TempIndex idx, TempIndex instance, const exint &value) override
SYS_FORCE_INLINE T & y()
Definition: UT_Vector3.h:513
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:28
const char * getNestParmName(TempIndex fieldnum) const override
GLint GLenum GLsizei GLint GLsizei const void * data
Definition: glew.h:1379
static void loadData(UT_IStream &is, UT_Matrix4D &v)
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector2D &value) override
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix3D &value) override
SYS_FORCE_INLINE T & z()
Definition: UT_Vector3.h:515
static void loadData(UT_IStream &is, UT_Vector3D &v)
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_StringHolder &value) override
const GLfloat * c
Definition: glew.h:16296
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
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix2D &value) 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
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
void buildFromOp(const SOP_GraphProxy *graph, exint nodeidx, fpreal time, DEP_MicroNode *depnode)
static void loadData(UT_IStream &is, fpreal64 &v)
void setNestParmValue(TempIndex idx, TempIndex instance, const fpreal &value) override
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
static void saveData(std::ostream &os, UT_StringHolder s)
Utility class for containing a color ramp.
Definition: UT_Ramp.h:84
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector2D &value) const override
static void loadData(UT_IStream &is, int64 &v)
GLdouble GLdouble GLdouble r
Definition: glew.h:1406
ParmType getNestParmType(TempIndex fieldnum) const override
bool operator!=(const SOP_Solidify_2_0Parms &src) const
#define SOP_API
Definition: SOP_API.h:10
virtual void evalOpParm(int64 &v, NodeIdx node, const char *parmname, fpreal time, DEP_MicroNode *depnode) const =0
static void saveData(std::ostream &os, UT_Vector2D v)
SYS_FORCE_INLINE T & x()
Definition: UT_Vector3.h:511
fpreal getCookTime() const
Definition: SOP_NodeVerb.h:654
GLuint64EXT * result
Definition: glew.h:14007
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:1367
#define UT_ASSERT(ZZ)
Definition: UT_Assert.h:135
static void loadData(UT_IStream &is, UT_SharedPtr< UT_Ramp > &v)
void doGetParmValue(TempIndex idx, TempIndex instance, T &value) const
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
void save(std::ostream &os) const
void setSolidBdry(fpreal64 val)
GLsizei const GLfloat * value
Definition: glew.h:1849
const OP_Context & context() const
Definition: SOP_NodeVerb.h:119
UT_SharedPtr< const PRM_DataItem > PRM_DataItemHandle
Definition: PRM_Parm.h:89
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)
SYS_FORCE_INLINE void strncpy(const char *src, exint maxlen)
type
Definition: core.h:528
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
static void loadData(UT_IStream &is, UT_Vector2D &v)