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