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