HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SOP_VolumeSDF.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 <OP/OP_Utils.h>
8 #include <PRM/PRM_Parm.h>
9 #include <UT/UT_IStream.h>
10 #include <UT/UT_NTStreamUtil.h>
11 #include <UT/UT_Ramp.h>
12 #include <UT/UT_SharedPtr.h>
13 #include <UT/UT_StringHolder.h>
14 #include <UT/UT_StringStream.h>
15 #include <UT/UT_VectorTypes.h>
16 #include <SYS/SYS_Types.h>
17 
18 using namespace UT::Literal;
19 
20 class DEP_MicroNode;
21 
23 {
24 public:
25  static int version() { return 1; }
26 
28  {
29  myGroup = ""_sh;
30  myIso = 0;
31  myInvert = false;
32  myUsemaxdist = false;
33  myMaxdist = 0.1;
34  myRebuildwithfim = false;
35  myFimtolerance = .01;
36  myFimiterations = 100;
37 
38  }
39 
40  explicit SOP_VolumeSDFParms(const SOP_VolumeSDFParms &) = default;
41 
42  virtual ~SOP_VolumeSDFParms() {}
43 
44  bool operator==(const SOP_VolumeSDFParms &src) const
45  {
46  if (myGroup != src.myGroup) return false;
47  if (myIso != src.myIso) return false;
48  if (myInvert != src.myInvert) return false;
49  if (myUsemaxdist != src.myUsemaxdist) return false;
50  if (myMaxdist != src.myMaxdist) return false;
51  if (myRebuildwithfim != src.myRebuildwithfim) return false;
52  if (myFimtolerance != src.myFimtolerance) return false;
53  if (myFimiterations != src.myFimiterations) return false;
54 
55  return true;
56  }
57  bool operator!=(const SOP_VolumeSDFParms &src) const
58  {
59  return !operator==(src);
60  }
61 
62 
63 
64  void buildFromOp(const OP_Node *node, fpreal time, DEP_MicroNode *depnode)
65  {
66  if (true)
67  OP_Utils::evalOpParm(myGroup, node, "group", time, 0);
68  else myGroup = ""_sh;
69  if (true)
70  OP_Utils::evalOpParm(myIso, node, "iso", time, 0);
71  else myIso = 0;
72  if (true)
73  OP_Utils::evalOpParm(myInvert, node, "invert", time, 0);
74  else myInvert = false;
75  if (true)
76  OP_Utils::evalOpParm(myUsemaxdist, node, "usemaxdist", time, 0);
77  else myUsemaxdist = false;
78  if (true && ( (!(((getUsemaxdist()==0)))) ) )
79  OP_Utils::evalOpParm(myMaxdist, node, "maxdist", time, 0);
80  else myMaxdist = 0.1;
81  if (true)
82  OP_Utils::evalOpParm(myRebuildwithfim, node, "rebuildwithfim", time, 0);
83  else myRebuildwithfim = false;
84  if (true && ( (!(((getRebuildwithfim()==0)))) ) )
85  OP_Utils::evalOpParm(myFimtolerance, node, "fimtolerance", time, 0);
86  else myFimtolerance = .01;
87  if (true && ( (!(((getRebuildwithfim()==0)))) ) )
88  OP_Utils::evalOpParm(myFimiterations, node, "fimiterations", time, 0);
89  else myFimiterations = 100;
90 
91  }
92 
93 
94  virtual void loadFromOpSubclass(const LoadParms &loadparms)
95  {
96  buildFromOp(loadparms.node(), loadparms.context().getTime(), loadparms.depnode());
97  }
98 
99 
100  virtual void copyFrom(const SOP_NodeParms *src)
101  {
102  *this = *((const SOP_VolumeSDFParms *)src);
103  }
104 
105  template <typename T>
106  void
107  doGetParmValue(exint idx, T &value) const
108  {
109  switch (idx)
110  {
111  case 0:
112  coerceValue(value, myGroup);
113  break;
114  case 1:
115  coerceValue(value, myIso);
116  break;
117  case 2:
118  coerceValue(value, myInvert);
119  break;
120  case 3:
121  coerceValue(value, myUsemaxdist);
122  break;
123  case 4:
124  coerceValue(value, myMaxdist);
125  break;
126  case 5:
127  coerceValue(value, myRebuildwithfim);
128  break;
129  case 6:
130  coerceValue(value, myFimtolerance);
131  break;
132  case 7:
133  coerceValue(value, myFimiterations);
134  break;
135 
136  }
137  }
138 
139  void getParmValue(exint idx, exint &value) const
140  { doGetParmValue(idx, value); }
141  void getParmValue(exint idx, fpreal &value) const
142  { doGetParmValue(idx, value); }
144  { doGetParmValue(idx, value); }
146  { doGetParmValue(idx, value); }
148  { doGetParmValue(idx, value); }
150  { doGetParmValue(idx, value); }
152  { doGetParmValue(idx, value); }
154  { doGetParmValue(idx, value); }
156  { doGetParmValue(idx, value); }
158  { doGetParmValue(idx, value); }
160  { doGetParmValue(idx, value); }
161 
162  template <typename T>
163  void
164  doSetParmValue(exint idx, const T &value)
165  {
166  switch (idx)
167  {
168  case 0:
169  coerceValue(myGroup, value);
170  break;
171  case 1:
172  coerceValue(myIso, value);
173  break;
174  case 2:
175  coerceValue(myInvert, value);
176  break;
177  case 3:
178  coerceValue(myUsemaxdist, value);
179  break;
180  case 4:
181  coerceValue(myMaxdist, value);
182  break;
183  case 5:
184  coerceValue(myRebuildwithfim, value);
185  break;
186  case 6:
187  coerceValue(myFimtolerance, value);
188  break;
189  case 7:
190  coerceValue(myFimiterations, value);
191  break;
192 
193  }
194  }
195 
196  void setParmValue(exint idx, const exint &value)
197  { doSetParmValue(idx, value); }
198  void setParmValue(exint idx, const fpreal &value)
199  { doSetParmValue(idx, value); }
200  void setParmValue(exint idx, const UT_Vector2D &value)
201  { doSetParmValue(idx, value); }
202  void setParmValue(exint idx, const UT_Vector3D &value)
203  { doSetParmValue(idx, value); }
204  void setParmValue(exint idx, const UT_Vector4D &value)
205  { doSetParmValue(idx, value); }
206  void setParmValue(exint idx, const UT_Matrix2D &value)
207  { doSetParmValue(idx, value); }
208  void setParmValue(exint idx, const UT_Matrix3D &value)
209  { doSetParmValue(idx, value); }
210  void setParmValue(exint idx, const UT_Matrix4D &value)
211  { doSetParmValue(idx, value); }
213  { doSetParmValue(idx, value); }
215  { doSetParmValue(idx, value); }
217  { doSetParmValue(idx, value); }
218 
219  virtual exint getNumParms() const
220  {
221  return 8;
222  }
223 
224  virtual const char *getParmName(exint fieldnum) const
225  {
226  switch (fieldnum)
227  {
228  case 0:
229  return "group";
230  case 1:
231  return "iso";
232  case 2:
233  return "invert";
234  case 3:
235  return "usemaxdist";
236  case 4:
237  return "maxdist";
238  case 5:
239  return "rebuildwithfim";
240  case 6:
241  return "fimtolerance";
242  case 7:
243  return "fimiterations";
244 
245  }
246  return 0;
247  }
248 
249  virtual ParmType getParmType(exint fieldnum) const
250  {
251  switch (fieldnum)
252  {
253  case 0:
254  return PARM_STRING;
255  case 1:
256  return PARM_FLOAT;
257  case 2:
258  return PARM_INTEGER;
259  case 3:
260  return PARM_INTEGER;
261  case 4:
262  return PARM_FLOAT;
263  case 5:
264  return PARM_INTEGER;
265  case 6:
266  return PARM_FLOAT;
267  case 7:
268  return PARM_INTEGER;
269 
270  }
271  return PARM_UNSUPPORTED;
272  }
273 
274  // Boiler plate to load individual types.
275  static void loadData(UT_IStream &is, int64 &v)
276  { is.bread(&v, 1); }
277  static void loadData(UT_IStream &is, bool &v)
278  { int64 iv; is.bread(&iv, 1); v = iv; }
279  static void loadData(UT_IStream &is, fpreal64 &v)
280  { is.bread<fpreal64>(&v, 1); }
281  static void loadData(UT_IStream &is, UT_Vector2D &v)
282  { is.bread<fpreal64>(&v.x(), 1); is.bread<fpreal64>(&v.y(), 1); }
283  static void loadData(UT_IStream &is, UT_Vector3D &v)
284  { is.bread<fpreal64>(&v.x(), 1); is.bread<fpreal64>(&v.y(), 1);
285  is.bread<fpreal64>(&v.z(), 1); }
286  static void loadData(UT_IStream &is, UT_Vector4D &v)
287  { is.bread<fpreal64>(&v.x(), 1); is.bread<fpreal64>(&v.y(), 1);
288  is.bread<fpreal64>(&v.z(), 1); is.bread<fpreal64>(&v.w(), 1); }
289  static void loadData(UT_IStream &is, UT_Matrix2D &v)
290  { for (int r = 0; r < 2; r++) for (int c = 0; c < 2; c++) is.bread<fpreal64>(&v(r, c), 1); }
291  static void loadData(UT_IStream &is, UT_Matrix3D &v)
292  { for (int r = 0; r < 3; r++) for (int c = 0; c < 3; c++) is.bread<fpreal64>(&v(r, c), 1); }
293  static void loadData(UT_IStream &is, UT_Matrix4D &v)
294  { for (int r = 0; r < 4; r++) for (int c = 0; c < 4; c++) is.bread<fpreal64>(&v(r, c), 1); }
295  static void loadData(UT_IStream &is, UT_Vector2I &v)
296  { is.bread<int64>(&v.x(), 1); is.bread<int64>(&v.y(), 1); }
297  static void loadData(UT_IStream &is, UT_Vector3I &v)
298  { is.bread<int64>(&v.x(), 1); is.bread<int64>(&v.y(), 1);
299  is.bread<int64>(&v.z(), 1); }
300  static void loadData(UT_IStream &is, UT_Vector4I &v)
301  { is.bread<int64>(&v.x(), 1); is.bread<int64>(&v.y(), 1);
302  is.bread<int64>(&v.z(), 1); is.bread<int64>(&v.w(), 1); }
304  { is.bread(v); }
306  { UT_StringHolder rampdata;
307  loadData(is, rampdata);
308  if (rampdata.isstring())
309  {
310  v.reset(new UT_Ramp());
311  UT_IStream istr((const char *) rampdata, rampdata.length(), UT_ISTREAM_ASCII);
312  v->load(istr);
313  }
314  else v.reset();
315  }
318  loadData(is, data);
319  if (data.isstring())
320  {
321  // Find the data type.
322  char *colon = UT_StringWrap(data).findChar(':');
323  if (colon)
324  {
325  int typelen = colon - data.buffer();
327  type.strncpy(data.buffer(), typelen);
328  UT_IStream istr(((const char *) data) + typelen + 1, data.length() - (typelen + 1), UT_ISTREAM_BINARY);
329 
330  v = PRM_DataFactory::parseBinary(type.buffer(), istr);
331  }
332  }
333  else v.reset();
334  }
335 
336  static void saveData(std::ostream &os, int64 v)
337  { UTwrite(os, &v); }
338  static void saveData(std::ostream &os, bool v)
339  { int64 iv = v; UTwrite(os, &iv); }
340  static void saveData(std::ostream &os, fpreal64 v)
341  { UTwrite<fpreal64>(os, &v); }
342  static void saveData(std::ostream &os, UT_Vector2D v)
343  { UTwrite<fpreal64>(os, &v.x()); UTwrite<fpreal64>(os, &v.y()); }
344  static void saveData(std::ostream &os, UT_Vector3D v)
345  { UTwrite<fpreal64>(os, &v.x()); UTwrite<fpreal64>(os, &v.y());
346  UTwrite<fpreal64>(os, &v.z()); }
347  static void saveData(std::ostream &os, UT_Vector4D v)
348  { UTwrite<fpreal64>(os, &v.x()); UTwrite<fpreal64>(os, &v.y());
349  UTwrite<fpreal64>(os, &v.z()); UTwrite<fpreal64>(os, &v.w()); }
350  static void saveData(std::ostream &os, UT_Matrix2D v)
352  static void saveData(std::ostream &os, UT_Matrix3D v)
354  static void saveData(std::ostream &os, UT_Matrix4D v)
356  static void saveData(std::ostream &os, UT_StringHolder s)
357  { UT_StringWrap(s).saveBinary(os); }
358  static void saveData(std::ostream &os, UT_SharedPtr<UT_Ramp> s)
359  { UT_StringHolder result;
360  UT_OStringStream ostr;
361  if (s) s->save(ostr);
362  result = ostr.str();
363  saveData(os, result);
364  }
365  static void saveData(std::ostream &os, PRM_DataItemHandle s)
366  { UT_StringHolder result;
367  UT_OStringStream ostr;
368  if (s)
369  {
370  ostr << s->getDataTypeToken();
371  ostr << ":";
372  s->saveBinary(ostr);
373  }
374  result = ostr.str();
375  saveData(os, result);
376  }
377 
378 
379  void save(std::ostream &os) const
380  {
381  int32 v = version();
382  UTwrite(os, &v);
383  saveData(os, myGroup);
384  saveData(os, myIso);
385  saveData(os, myInvert);
386  saveData(os, myUsemaxdist);
387  saveData(os, myMaxdist);
388  saveData(os, myRebuildwithfim);
389  saveData(os, myFimtolerance);
390  saveData(os, myFimiterations);
391 
392  }
393 
394  bool load(UT_IStream &is)
395  {
396  int32 v;
397  is.bread(&v, 1);
398  if (version() != v)
399  {
400  // Fail incompatible versions
401  return false;
402  }
403  loadData(is, myGroup);
404  loadData(is, myIso);
405  loadData(is, myInvert);
406  loadData(is, myUsemaxdist);
407  loadData(is, myMaxdist);
408  loadData(is, myRebuildwithfim);
409  loadData(is, myFimtolerance);
410  loadData(is, myFimiterations);
411 
412  return true;
413  }
414 
415  const UT_StringHolder & getGroup() const { return myGroup; }
416  void setGroup(const UT_StringHolder & val) { myGroup = val; }
418  {
419  SOP_Node *thissop = cookparms.getNode();
420  if (!thissop) return getGroup();
421  UT_StringHolder result;
422  OP_Utils::evalOpParm(result, thissop, "group", cookparms.getCookTime(), 0);
423  return result;
424  }
425  fpreal64 getIso() const { return myIso; }
426  void setIso(fpreal64 val) { myIso = val; }
427  fpreal64 opIso(const SOP_NodeVerb::CookParms &cookparms) const
428  {
429  SOP_Node *thissop = cookparms.getNode();
430  if (!thissop) return getIso();
431  fpreal64 result;
432  OP_Utils::evalOpParm(result, thissop, "iso", cookparms.getCookTime(), 0);
433  return result;
434  }
435  bool getInvert() const { return myInvert; }
436  void setInvert(bool val) { myInvert = val; }
437  bool opInvert(const SOP_NodeVerb::CookParms &cookparms) const
438  {
439  SOP_Node *thissop = cookparms.getNode();
440  if (!thissop) return getInvert();
441  bool result;
442  OP_Utils::evalOpParm(result, thissop, "invert", cookparms.getCookTime(), 0);
443  return result;
444  }
445  bool getUsemaxdist() const { return myUsemaxdist; }
446  void setUsemaxdist(bool val) { myUsemaxdist = val; }
447  bool opUsemaxdist(const SOP_NodeVerb::CookParms &cookparms) const
448  {
449  SOP_Node *thissop = cookparms.getNode();
450  if (!thissop) return getUsemaxdist();
451  bool result;
452  OP_Utils::evalOpParm(result, thissop, "usemaxdist", cookparms.getCookTime(), 0);
453  return result;
454  }
455  fpreal64 getMaxdist() const { return myMaxdist; }
456  void setMaxdist(fpreal64 val) { myMaxdist = val; }
458  {
459  SOP_Node *thissop = cookparms.getNode();
460  if (!thissop) return getMaxdist();
461  fpreal64 result;
462  OP_Utils::evalOpParm(result, thissop, "maxdist", cookparms.getCookTime(), 0);
463  return result;
464  }
465  bool getRebuildwithfim() const { return myRebuildwithfim; }
466  void setRebuildwithfim(bool val) { myRebuildwithfim = val; }
467  bool opRebuildwithfim(const SOP_NodeVerb::CookParms &cookparms) const
468  {
469  SOP_Node *thissop = cookparms.getNode();
470  if (!thissop) return getRebuildwithfim();
471  bool result;
472  OP_Utils::evalOpParm(result, thissop, "rebuildwithfim", cookparms.getCookTime(), 0);
473  return result;
474  }
475  fpreal64 getFimtolerance() const { return myFimtolerance; }
476  void setFimtolerance(fpreal64 val) { myFimtolerance = val; }
478  {
479  SOP_Node *thissop = cookparms.getNode();
480  if (!thissop) return getFimtolerance();
481  fpreal64 result;
482  OP_Utils::evalOpParm(result, thissop, "fimtolerance", cookparms.getCookTime(), 0);
483  return result;
484  }
485  int64 getFimiterations() const { return myFimiterations; }
486  void setFimiterations(int64 val) { myFimiterations = val; }
488  {
489  SOP_Node *thissop = cookparms.getNode();
490  if (!thissop) return getFimiterations();
491  int64 result;
492  OP_Utils::evalOpParm(result, thissop, "fimiterations", cookparms.getCookTime(), 0);
493  return result;
494  }
495 
496 private:
497  UT_StringHolder myGroup;
498  fpreal64 myIso;
499  bool myInvert;
500  bool myUsemaxdist;
501  fpreal64 myMaxdist;
502  bool myRebuildwithfim;
503  fpreal64 myFimtolerance;
504  int64 myFimiterations;
505 
506 };
void setInvert(bool val)
bool load(UT_IStream &is)
void setFimtolerance(fpreal64 val)
fpreal64 opFimtolerance(const SOP_NodeVerb::CookParms &cookparms) const
static void saveData(std::ostream &os, UT_Matrix2D v)
SOP_Node * getNode() const
Definition: SOP_NodeVerb.h:494
static void loadData(UT_IStream &is, UT_Vector3I &v)
T & z(void)
Definition: UT_Vector4.h:379
static void loadData(UT_IStream &is, UT_SharedPtr< UT_Ramp > &v)
UT_StringHolder opGroup(const SOP_NodeVerb::CookParms &cookparms) const
void setMaxdist(fpreal64 val)
exint bread(int32 *buffer, exint asize=1)
void save(std::ostream &os) const
GT_API const UT_StringHolder time
fpreal getTime() const
Definition: OP_Context.h:60
const GLdouble * v
Definition: glcorearb.h:836
bool operator==(const SOP_VolumeSDFParms &src) const
void getParmValue(exint idx, UT_Vector4D &value) const
bool operator!=(const SOP_VolumeSDFParms &src) const
static void loadData(UT_IStream &is, PRM_DataItemHandle &v)
static void saveData(std::ostream &os, fpreal64 v)
SYS_FORCE_INLINE const char * buffer() const
T & x(void)
Definition: UT_Vector2.h:285
fpreal64 getMaxdist() const
static void saveData(std::ostream &os, UT_Vector3D v)
An output stream object that owns its own string buffer storage.
virtual const char * getParmName(exint fieldnum) const
int64 opFimiterations(const SOP_NodeVerb::CookParms &cookparms) const
static void loadData(UT_IStream &is, UT_Vector3D &v)
const UT_WorkBuffer & str() const
Returns a read-only reference to the underlying UT_WorkBuffer.
void getParmValue(exint idx, UT_Matrix2D &value) const
SYS_FORCE_INLINE T & x(void)
Definition: UT_Vector3.h:498
static void loadData(UT_IStream &is, UT_Vector2D &v)
fpreal64 opMaxdist(const SOP_NodeVerb::CookParms &cookparms) const
static PRM_DataItemHandle parseBinary(const char *type, UT_IStream &is)
fpreal64 getIso() const
static void loadData(UT_IStream &is, UT_Vector2I &v)
void setParmValue(exint idx, const UT_StringHolder &value)
void setParmValue(exint idx, const exint &value)
void setParmValue(exint idx, const UT_SharedPtr< UT_Ramp > &value)
void setIso(fpreal64 val)
void setParmValue(exint idx, const UT_Vector4D &value)
static void loadData(UT_IStream &is, UT_Matrix4D &v)
static void saveData(std::ostream &os, UT_SharedPtr< UT_Ramp > s)
SYS_FORCE_INLINE T & z(void)
Definition: UT_Vector3.h:502
bool operator==(const BaseDimensions< T > &a, const BaseDimensions< Y > &b)
Definition: Dimensions.h:137
long long int64
Definition: SYS_Types.h:107
virtual exint getNumParms() const
void setParmValue(exint idx, const UT_Matrix3D &value)
void setParmValue(exint idx, const UT_Vector3D &value)
void getParmValue(exint idx, UT_StringHolder &value) const
void getParmValue(exint idx, fpreal &value) const
exint length() const
char * findChar(int c) const
Find first occurrance of character. Returns NULL upon failure.
Definition: UT_String.h:550
void setParmValue(exint idx, const PRM_DataItemHandle &value)
const UT_StringHolder & getGroup() const
SYS_FORCE_INLINE const char * buffer() const
std::shared_ptr< T > UT_SharedPtr
Wrapper around std::shared_ptr.
Definition: UT_SharedPtr.h:28
int64 exint
Definition: SYS_Types.h:116
const OP_Node * node() const
Definition: SOP_NodeVerb.h:104
double fpreal64
Definition: SYS_Types.h:192
void setUsemaxdist(bool val)
static void loadData(UT_IStream &is, int64 &v)
virtual ParmType getParmType(exint fieldnum) const
static void saveData(std::ostream &os, UT_Matrix4D v)
bool opRebuildwithfim(const SOP_NodeVerb::CookParms &cookparms) const
static void saveData(std::ostream &os, UT_Vector2D v)
static void saveData(std::ostream &os, PRM_DataItemHandle s)
fpreal64 opIso(const SOP_NodeVerb::CookParms &cookparms) const
GLboolean * data
Definition: glcorearb.h:130
static void saveData(std::ostream &os, UT_Vector4D v)
static void loadData(UT_IStream &is, bool &v)
int int32
Definition: SYS_Types.h:35
T & y(void)
Definition: UT_Vector4.h:377
void setRebuildwithfim(bool val)
static void saveData(std::ostream &os, bool v)
void saveBinary(std::ostream &os) const
Save string to binary stream.
Definition: UT_String.h:294
void setParmValue(exint idx, const UT_Vector2D &value)
void setParmValue(exint idx, const UT_Matrix2D &value)
GT_API const UT_StringHolder version
DEP_MicroNode * depnode() const
Definition: SOP_NodeVerb.h:111
void setGroup(const UT_StringHolder &val)
void setParmValue(exint idx, const UT_Matrix4D &value)
SYS_FORCE_INLINE T & y(void)
Definition: UT_Vector3.h:500
GLsizei const GLfloat * value
Definition: glcorearb.h:823
double fpreal
Definition: SYS_Types.h:270
void setFimiterations(int64 val)
static void loadData(UT_IStream &is, UT_StringHolder &v)
virtual void loadFromOpSubclass(const LoadParms &loadparms)
static void loadData(UT_IStream &is, UT_Vector4I &v)
static void saveData(std::ostream &os, int64 v)
bool opInvert(const SOP_NodeVerb::CookParms &cookparms) const
void getParmValue(exint idx, UT_Vector2D &value) const
static void saveData(std::ostream &os, UT_StringHolder s)
bool getRebuildwithfim() const
Utility class for containing a color ramp.
Definition: UT_Ramp.h:84
void getParmValue(exint idx, UT_Matrix4D &value) const
GLuint GLfloat * val
Definition: glcorearb.h:1607
#define SOP_API
Definition: SOP_API.h:10
void getParmValue(exint idx, UT_Vector3D &value) const
GLint GLint GLsizei GLint GLenum GLenum type
Definition: glcorearb.h:107
fpreal getCookTime() const
Definition: SOP_NodeVerb.h:501
static void saveData(std::ostream &os, UT_Matrix3D v)
T & x(void)
Definition: UT_Vector4.h:375
void doSetParmValue(exint idx, const T &value)
T & y(void)
Definition: UT_Vector2.h:287
void getParmValue(exint idx, UT_SharedPtr< UT_Ramp > &value) const
GLboolean r
Definition: glcorearb.h:1221
void setParmValue(exint idx, const fpreal &value)
static void loadData(UT_IStream &is, UT_Vector4D &v)
bool opUsemaxdist(const SOP_NodeVerb::CookParms &cookparms) const
T & w(void)
Definition: UT_Vector4.h:381
fpreal64 getFimtolerance() const
static void loadData(UT_IStream &is, fpreal64 &v)
static void loadData(UT_IStream &is, UT_Matrix2D &v)
static void loadData(UT_IStream &is, UT_Matrix3D &v)
virtual void copyFrom(const SOP_NodeParms *src)
void getParmValue(exint idx, UT_Matrix3D &value) const
const OP_Context & context() const
Definition: SOP_NodeVerb.h:109
void doGetParmValue(exint idx, T &value) const
UT_SharedPtr< const PRM_DataItem > PRM_DataItemHandle
Definition: PRM_Parm.h:88
void getParmValue(exint idx, exint &value) const
SYS_FORCE_INLINE bool isstring() const
bool getUsemaxdist() const
SYS_FORCE_INLINE void strncpy(const char *src, exint maxlen)
void buildFromOp(const OP_Node *node, fpreal time, DEP_MicroNode *depnode)
GLenum src
Definition: glcorearb.h:1792
int64 getFimiterations() const
void getParmValue(exint idx, PRM_DataItemHandle &value) const