HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SOP_CircleFromEdges.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_CircleFromEdgesEnums
24 {
25  enum class Grouptype
26  {
27  AUTO = 0,
28  VERTICES,
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  myGetboundary = true;
46  myExplicitradius = false;
47  myRadius = 1;
48  myOutputedgegroup = ""_sh;
49 
50  }
51 
52  explicit SOP_CircleFromEdgesParms(const SOP_CircleFromEdgesParms &) = default;
53 
55 
57  {
58  if (myGroup != src.myGroup) return false;
59  if (myGrouptype != src.myGrouptype) return false;
60  if (myGetboundary != src.myGetboundary) return false;
61  if (myExplicitradius != src.myExplicitradius) return false;
62  if (myRadius != src.myRadius) return false;
63  if (myOutputedgegroup != src.myOutputedgegroup) return false;
64 
65  return true;
66  }
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  myGetboundary = true;
84  if (true && ( (!(((int64(getGrouptype())==4)))) ) )
85  graph->evalOpParm(myGetboundary, nodeidx, "getboundary", time, 0);
86  myExplicitradius = false;
87  if (true)
88  graph->evalOpParm(myExplicitradius, nodeidx, "explicitradius", time, 0);
89  myRadius = 1;
90  if (true && ( (!(((getExplicitradius()==0)))) ) )
91  graph->evalOpParm(myRadius, nodeidx, "radius", time, 0);
92  myOutputedgegroup = ""_sh;
93  if (true)
94  graph->evalOpParm(myOutputedgegroup, nodeidx, "outputedgegroup", 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_CircleFromEdgesParms *)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, myGetboundary);
129  break;
130  case 3:
131  coerceValue(value, myExplicitradius);
132  break;
133  case 4:
134  coerceValue(value, myRadius);
135  break;
136  case 5:
137  coerceValue(value, myOutputedgegroup);
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(myGetboundary, value);
185  break;
186  case 3:
187  coerceValue(myExplicitradius, value);
188  break;
189  case 4:
190  coerceValue(myRadius, value);
191  break;
192  case 5:
193  coerceValue(myOutputedgegroup, 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 "getboundary";
246  case 3:
247  return "explicitradius";
248  case 4:
249  return "radius";
250  case 5:
251  return "outputedgegroup";
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_FLOAT;
273  case 5:
274  return PARM_STRING;
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, myGetboundary);
392  saveData(os, myExplicitradius);
393  saveData(os, myRadius);
394  saveData(os, myOutputedgegroup);
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, myGetboundary);
410  loadData(is, myExplicitradius);
411  loadData(is, myRadius);
412  loadData(is, myOutputedgegroup);
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 getGetboundary() const { return myGetboundary; }
438  void setGetboundary(bool val) { myGetboundary = val; }
439  bool opGetboundary(const SOP_NodeVerb::CookParms &cookparms) const
440  {
441  SOP_Node *thissop = cookparms.getNode();
442  if (!thissop) return getGetboundary();
443  bool result;
444  OP_Utils::evalOpParm(result, thissop, "getboundary", cookparms.getCookTime(), 0);
445  return result;
446  }
447  bool getExplicitradius() const { return myExplicitradius; }
448  void setExplicitradius(bool val) { myExplicitradius = val; }
449  bool opExplicitradius(const SOP_NodeVerb::CookParms &cookparms) const
450  {
451  SOP_Node *thissop = cookparms.getNode();
452  if (!thissop) return getExplicitradius();
453  bool result;
454  OP_Utils::evalOpParm(result, thissop, "explicitradius", cookparms.getCookTime(), 0);
455  return result;
456  }
457  fpreal64 getRadius() const { return myRadius; }
458  void setRadius(fpreal64 val) { myRadius = val; }
459  fpreal64 opRadius(const SOP_NodeVerb::CookParms &cookparms) const
460  {
461  SOP_Node *thissop = cookparms.getNode();
462  if (!thissop) return getRadius();
464  OP_Utils::evalOpParm(result, thissop, "radius", cookparms.getCookTime(), 0);
465  return result;
466  }
467  const UT_StringHolder & getOutputedgegroup() const { return myOutputedgegroup; }
468  void setOutputedgegroup(const UT_StringHolder & val) { myOutputedgegroup = val; }
470  {
471  SOP_Node *thissop = cookparms.getNode();
472  if (!thissop) return getOutputedgegroup();
474  OP_Utils::evalOpParm(result, thissop, "outputedgegroup", cookparms.getCookTime(), 0);
475  return result;
476  }
477 
478 private:
479  UT_StringHolder myGroup;
480  int64 myGrouptype;
481  bool myGetboundary;
482  bool myExplicitradius;
483  fpreal64 myRadius;
484  UT_StringHolder myOutputedgegroup;
485 
486 };
GLdouble s
Definition: glew.h:1390
static void saveData(std::ostream &os, UT_Vector2D v)
exint nodeIdx() const
Definition: SOP_NodeVerb.h:114
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix2D &value) override
GLenum src
Definition: glew.h:2410
int int32
Definition: SYS_Types.h:39
SOP_Node * getNode() const
Definition: SOP_NodeVerb.h:640
static void loadData(UT_IStream &is, UT_Matrix2D &v)
static void loadData(UT_IStream &is, UT_StringHolder &v)
void setOutputedgegroup(const UT_StringHolder &val)
void setNestParmValue(TempIndex idx, TempIndex instance, const PRM_DataItemHandle &value) override
const UT_StringHolder & getGroup() const
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix3D &value) override
void copyFrom(const SOP_NodeParms *src) override
static void loadData(UT_IStream &is, UT_Vector2D &v)
exint bread(int32 *buffer, exint asize=1)
GT_API const UT_StringHolder time
fpreal getTime() const
Definition: OP_Context.h:60
GLuint const GLfloat * val
Definition: glew.h:2794
void doGetParmValue(TempIndex idx, TempIndex instance, T &value) const
void getNestParmValue(TempIndex idx, TempIndex instance, fpreal &value) const override
static void saveData(std::ostream &os, bool v)
int64 exint
Definition: SYS_Types.h:125
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix2D &value) const override
SYS_FORCE_INLINE const char * buffer() const
const SOP_GraphProxy * graph() const
Definition: SOP_NodeVerb.h:113
An output stream object that owns its own string buffer storage.
static void saveData(std::ostream &os, UT_Matrix4D v)
const GLdouble * v
Definition: glew.h:1391
const UT_StringHolder & getOutputedgegroup() const
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector3D &value) override
void setNestParmValue(TempIndex idx, TempIndex instance, const exint &value) override
static PRM_DataItemHandle parseBinary(const char *type, UT_IStream &is)
const UT_WorkBuffer & str()
Returns a read-only reference to the underlying UT_WorkBuffer.
static void loadData(UT_IStream &is, PRM_DataItemHandle &v)
Grouptype opGrouptype(const SOP_NodeVerb::CookParms &cookparms) const
void getNestParmValue(TempIndex idx, TempIndex instance, UT_SharedPtr< UT_Ramp > &value) const override
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_SharedPtr< UT_Ramp > &value) override
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector2D &value) const override
static void loadData(UT_IStream &is, UT_SharedPtr< UT_Ramp > &v)
double fpreal64
Definition: SYS_Types.h:201
static void loadData(UT_IStream &is, UT_Vector4D &v)
bool operator==(const BaseDimensions< T > &a, const BaseDimensions< Y > &b)
Definition: Dimensions.h:137
void doSetParmValue(TempIndex idx, TempIndex instance, const T &value)
ParmType getNestParmType(TempIndex fieldnum) const override
SYS_FORCE_INLINE T & y()
Definition: UT_Vector3.h:513
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix4D &value) override
exint length() const
bool operator==(const SOP_CircleFromEdgesParms &src) const
SYS_FORCE_INLINE const char * buffer() const
std::shared_ptr< T > UT_SharedPtr
Wrapper around std::shared_ptr.
Definition: UT_SharedPtr.h:28
static void saveData(std::ostream &os, UT_Vector4D v)
GLint GLenum GLsizei GLint GLsizei const void * data
Definition: glew.h:1379
static void saveData(std::ostream &os, UT_Matrix2D v)
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix3D &value) const override
SYS_FORCE_INLINE T & z()
Definition: UT_Vector3.h:515
exint getNestNumParms(TempIndex idx) const override
const GLfloat * c
Definition: glew.h:16296
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector4D &value) override
long long int64
Definition: SYS_Types.h:116
void getNestParmValue(TempIndex idx, TempIndex instance, PRM_DataItemHandle &value) const override
static void saveData(std::ostream &os, PRM_DataItemHandle s)
static void saveData(std::ostream &os, UT_Vector3D v)
static void loadData(UT_IStream &is, UT_Matrix3D &v)
bool opExplicitradius(const SOP_NodeVerb::CookParms &cookparms) const
void saveBinary(std::ostream &os) const
Save string to binary stream.
Definition: UT_String.h:294
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_StringHolder &value) override
GT_API const UT_StringHolder version
DEP_MicroNode * depnode() const
Definition: SOP_NodeVerb.h:121
static void saveData(std::ostream &os, UT_SharedPtr< UT_Ramp > s)
static void loadData(UT_IStream &is, UT_Matrix4D &v)
void setNestParmValue(TempIndex idx, TempIndex instance, const fpreal &value) override
static void saveData(std::ostream &os, fpreal64 v)
static void saveData(std::ostream &os, int64 v)
bool operator!=(const SOP_CircleFromEdgesParms &src) const
static void loadData(UT_IStream &is, UT_Vector3D &v)
void getNestParmValue(TempIndex idx, TempIndex instance, exint &value) const override
static void loadData(UT_IStream &is, int64 &v)
fpreal64 fpreal
Definition: SYS_Types.h:277
Utility class for containing a color ramp.
Definition: UT_Ramp.h:84
GLdouble GLdouble GLdouble r
Definition: glew.h:1406
void buildFromOp(const SOP_GraphProxy *graph, exint nodeidx, fpreal time, DEP_MicroNode *depnode)
#define SOP_API
Definition: SOP_API.h:10
static void loadData(UT_IStream &is, fpreal64 &v)
static void loadData(UT_IStream &is, UT_Vector3I &v)
virtual void evalOpParm(int64 &v, NodeIdx node, const char *parmname, fpreal time, DEP_MicroNode *depnode) const =0
static void saveData(std::ostream &os, UT_StringHolder s)
SYS_FORCE_INLINE T & x()
Definition: UT_Vector3.h:511
fpreal getCookTime() const
Definition: SOP_NodeVerb.h:654
fpreal64 opRadius(const SOP_NodeVerb::CookParms &cookparms) const
void save(std::ostream &os) const
GLuint64EXT * result
Definition: glew.h:14007
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix4D &value) const override
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector3D &value) const override
const char * findChar(int c) const
Definition: UT_String.h:1367
#define UT_ASSERT(ZZ)
Definition: UT_Assert.h:135
bool opGetboundary(const SOP_NodeVerb::CookParms &cookparms) const
void setGroup(const UT_StringHolder &val)
static void loadData(UT_IStream &is, UT_Vector4I &v)
static void loadData(UT_IStream &is, UT_Vector2I &v)
static void loadData(UT_IStream &is, bool &v)
void loadFromOpSubclass(const LoadParms &loadparms) override
UT_StringHolder opOutputedgegroup(const SOP_NodeVerb::CookParms &cookparms) const
const char * getNestParmName(TempIndex fieldnum) const override
GLsizei const GLfloat * value
Definition: glew.h:1849
static void saveData(std::ostream &os, UT_Matrix3D v)
const OP_Context & context() const
Definition: SOP_NodeVerb.h:119
UT_StringHolder opGroup(const SOP_NodeVerb::CookParms &cookparms) const
UT_SharedPtr< const PRM_DataItem > PRM_DataItemHandle
Definition: PRM_Parm.h:89
void getNestParmValue(TempIndex idx, TempIndex instance, UT_StringHolder &value) const override
SYS_FORCE_INLINE bool isstring() const
SYS_FORCE_INLINE void strncpy(const char *src, exint maxlen)
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector2D &value) override
type
Definition: core.h:528
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector4D &value) const override