HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SOP_EdgeCollapse.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 class DEP_MicroNode;
23 
25 {
26 public:
27  static int version() { return 1; }
28 
30  {
31  myGroup = ""_UTsh;
32  myRemoveDegen = true;
33  myUpdateNmls = true;
34  myConnectivityattrib = "uv"_UTsh;
35 
36  }
37 
38  explicit SOP_EdgeCollapseParms(const SOP_EdgeCollapseParms &) = default;
40  SOP_EdgeCollapseParms(SOP_EdgeCollapseParms &&) noexcept = default;
41  SOP_EdgeCollapseParms &operator=(SOP_EdgeCollapseParms &&) noexcept = default;
42 
43  ~SOP_EdgeCollapseParms() override {}
44 
46  {
47  if (myGroup != src.myGroup) return false;
48  if (myRemoveDegen != src.myRemoveDegen) return false;
49  if (myUpdateNmls != src.myUpdateNmls) return false;
50  if (myConnectivityattrib != src.myConnectivityattrib) return false;
51 
52  return true;
53  }
55  {
56  return !operator==(src);
57  }
58 
59 
60 
61  void buildFromOp(const OP_GraphProxy *graph, exint nodeidx, fpreal time, DEP_MicroNode *depnode)
62  {
63  myGroup = ""_UTsh;
64  if (true)
65  graph->evalOpParm(myGroup, nodeidx, "group", time, 0);
66  myRemoveDegen = true;
67  if (true)
68  graph->evalOpParm(myRemoveDegen, nodeidx, "removedegen", time, 0);
69  myUpdateNmls = true;
70  if (true)
71  graph->evalOpParm(myUpdateNmls, nodeidx, "updatenmls", time, 0);
72  myConnectivityattrib = "uv"_UTsh;
73  if (true)
74  graph->evalOpParm(myConnectivityattrib, nodeidx, "connectivityattrib", time, 0);
75 
76  }
77 
78 
79  void loadFromOpSubclass(const LoadParms &loadparms) override
80  {
81  buildFromOp(loadparms.graph(), loadparms.nodeIdx(), loadparms.context().getTime(), loadparms.depnode());
82  }
83 
84 
85  void copyFrom(const OP_NodeParms *src) override
86  {
87  *this = *((const SOP_EdgeCollapseParms *)src);
88  }
89 
90  template <typename T>
91  void
92  doGetParmValue(TempIndex idx, TempIndex instance, T &value) const
93  {
94  if (idx.size() < 1)
95  return;
96  UT_ASSERT(idx.size() == instance.size()+1);
97  if (idx.size() != instance.size()+1)
98  return;
99  switch (idx[0])
100  {
101  case 0:
102  coerceValue(value, myGroup);
103  break;
104  case 1:
105  coerceValue(value, myRemoveDegen);
106  break;
107  case 2:
108  coerceValue(value, myUpdateNmls);
109  break;
110  case 3:
111  coerceValue(value, myConnectivityattrib);
112  break;
113 
114  }
115  }
116 
117  bool isParmColorRamp(exint idx) const override
118  {
119  switch (idx)
120  {
121 
122  }
123  return false;
124  }
125 
126  void getNestParmValue(TempIndex idx, TempIndex instance, exint &value) const override
127  { doGetParmValue(idx, instance, value); }
128  void getNestParmValue(TempIndex idx, TempIndex instance, fpreal &value) const override
129  { doGetParmValue(idx, instance, value); }
130  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector2D &value) const override
131  { doGetParmValue(idx, instance, value); }
132  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector3D &value) const override
133  { doGetParmValue(idx, instance, value); }
134  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector4D &value) const override
135  { doGetParmValue(idx, instance, value); }
136  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix2D &value) const override
137  { doGetParmValue(idx, instance, value); }
138  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix3D &value) const override
139  { doGetParmValue(idx, instance, value); }
140  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix4D &value) const override
141  { doGetParmValue(idx, instance, value); }
142  void getNestParmValue(TempIndex idx, TempIndex instance, UT_StringHolder &value) const override
143  { doGetParmValue(idx, instance, value); }
144  void getNestParmValue(TempIndex idx, TempIndex instance, UT_SharedPtr<UT_Ramp> &value) const override
145  { doGetParmValue(idx, instance, value); }
146  void getNestParmValue(TempIndex idx, TempIndex instance, PRM_DataItemHandle &value) const override
147  { doGetParmValue(idx, instance, value); }
148 
149  template <typename T>
150  void
151  doSetParmValue(TempIndex idx, TempIndex instance, const T &value)
152  {
153  if (idx.size() < 1)
154  return;
155  UT_ASSERT(idx.size() == instance.size()+1);
156  if (idx.size() != instance.size()+1)
157  return;
158  switch (idx[0])
159  {
160  case 0:
161  coerceValue(myGroup, ( ( value ) ));
162  break;
163  case 1:
164  coerceValue(myRemoveDegen, ( ( value ) ));
165  break;
166  case 2:
167  coerceValue(myUpdateNmls, ( ( value ) ));
168  break;
169  case 3:
170  coerceValue(myConnectivityattrib, ( ( value ) ));
171  break;
172 
173  }
174  }
175 
176  void setNestParmValue(TempIndex idx, TempIndex instance, const exint &value) override
177  { doSetParmValue(idx, instance, value); }
178  void setNestParmValue(TempIndex idx, TempIndex instance, const fpreal &value) override
179  { doSetParmValue(idx, instance, value); }
180  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector2D &value) override
181  { doSetParmValue(idx, instance, value); }
182  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector3D &value) override
183  { doSetParmValue(idx, instance, value); }
184  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector4D &value) override
185  { doSetParmValue(idx, instance, value); }
186  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix2D &value) override
187  { doSetParmValue(idx, instance, value); }
188  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix3D &value) override
189  { doSetParmValue(idx, instance, value); }
190  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix4D &value) override
191  { doSetParmValue(idx, instance, value); }
192  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_StringHolder &value) override
193  { doSetParmValue(idx, instance, value); }
194  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_SharedPtr<UT_Ramp> &value) override
195  { doSetParmValue(idx, instance, value); }
196  void setNestParmValue(TempIndex idx, TempIndex instance, const PRM_DataItemHandle &value) override
197  { doSetParmValue(idx, instance, value); }
198 
199  exint getNestNumParms(TempIndex idx) const override
200  {
201  if (idx.size() == 0)
202  return 4;
203  switch (idx[0])
204  {
205 
206  }
207  // Invalid
208  return 0;
209  }
210 
211  const char *getNestParmName(TempIndex fieldnum) const override
212  {
213  if (fieldnum.size() < 1)
214  return 0;
215  switch (fieldnum[0])
216  {
217  case 0:
218  return "group";
219  case 1:
220  return "removedegen";
221  case 2:
222  return "updatenmls";
223  case 3:
224  return "connectivityattrib";
225 
226  }
227  return 0;
228  }
229 
230  ParmType getNestParmType(TempIndex fieldnum) const override
231  {
232  if (fieldnum.size() < 1)
233  return PARM_UNSUPPORTED;
234  switch (fieldnum[0])
235  {
236  case 0:
237  return PARM_STRING;
238  case 1:
239  return PARM_INTEGER;
240  case 2:
241  return PARM_INTEGER;
242  case 3:
243  return PARM_STRING;
244 
245  }
246  return PARM_UNSUPPORTED;
247  }
248 
249  // Boiler plate to load individual types.
250  static void loadData(UT_IStream &is, int64 &v)
251  { is.bread(&v, 1); }
252  static void loadData(UT_IStream &is, bool &v)
253  { int64 iv; is.bread(&iv, 1); v = iv; }
254  static void loadData(UT_IStream &is, fpreal64 &v)
255  { is.bread<fpreal64>(&v, 1); }
256  static void loadData(UT_IStream &is, UT_Vector2D &v)
257  { is.bread<fpreal64>(&v.x(), 1); is.bread<fpreal64>(&v.y(), 1); }
258  static void loadData(UT_IStream &is, UT_Vector3D &v)
259  { is.bread<fpreal64>(&v.x(), 1); is.bread<fpreal64>(&v.y(), 1);
260  is.bread<fpreal64>(&v.z(), 1); }
261  static void loadData(UT_IStream &is, UT_Vector4D &v)
262  { is.bread<fpreal64>(&v.x(), 1); is.bread<fpreal64>(&v.y(), 1);
263  is.bread<fpreal64>(&v.z(), 1); is.bread<fpreal64>(&v.w(), 1); }
264  static void loadData(UT_IStream &is, UT_Matrix2D &v)
265  { for (int r = 0; r < 2; r++) for (int c = 0; c < 2; c++) is.bread<fpreal64>(&v(r, c), 1); }
266  static void loadData(UT_IStream &is, UT_Matrix3D &v)
267  { for (int r = 0; r < 3; r++) for (int c = 0; c < 3; c++) is.bread<fpreal64>(&v(r, c), 1); }
268  static void loadData(UT_IStream &is, UT_Matrix4D &v)
269  { for (int r = 0; r < 4; r++) for (int c = 0; c < 4; c++) is.bread<fpreal64>(&v(r, c), 1); }
270  static void loadData(UT_IStream &is, UT_Vector2I &v)
271  { is.bread<int64>(&v.x(), 1); is.bread<int64>(&v.y(), 1); }
272  static void loadData(UT_IStream &is, UT_Vector3I &v)
273  { is.bread<int64>(&v.x(), 1); is.bread<int64>(&v.y(), 1);
274  is.bread<int64>(&v.z(), 1); }
275  static void loadData(UT_IStream &is, UT_Vector4I &v)
276  { is.bread<int64>(&v.x(), 1); is.bread<int64>(&v.y(), 1);
277  is.bread<int64>(&v.z(), 1); is.bread<int64>(&v.w(), 1); }
279  { is.bread(v); }
281  { UT_StringHolder rampdata;
282  loadData(is, rampdata);
283  if (rampdata.isstring())
284  {
285  v.reset(new UT_Ramp());
286  UT_IStream istr((const char *) rampdata, rampdata.length(), UT_ISTREAM_ASCII);
287  v->load(istr);
288  }
289  else v.reset();
290  }
293  loadData(is, data);
294  if (data.isstring())
295  {
296  // Find the data type.
297  const char *colon = UT_StringWrap(data).findChar(':');
298  if (colon)
299  {
300  int typelen = colon - data.buffer();
302  type.strncpy(data.buffer(), typelen);
303  UT_IStream istr(((const char *) data) + typelen + 1, data.length() - (typelen + 1), UT_ISTREAM_BINARY);
304 
305  v = PRM_DataFactory::parseBinary(type.buffer(), istr);
306  }
307  }
308  else v.reset();
309  }
310 
311  static void saveData(std::ostream &os, int64 v)
312  { UTwrite(os, &v); }
313  static void saveData(std::ostream &os, bool v)
314  { int64 iv = v; UTwrite(os, &iv); }
315  static void saveData(std::ostream &os, fpreal64 v)
316  { UTwrite<fpreal64>(os, &v); }
317  static void saveData(std::ostream &os, UT_Vector2D v)
318  { UTwrite<fpreal64>(os, &v.x()); UTwrite<fpreal64>(os, &v.y()); }
319  static void saveData(std::ostream &os, UT_Vector3D v)
320  { UTwrite<fpreal64>(os, &v.x()); UTwrite<fpreal64>(os, &v.y());
321  UTwrite<fpreal64>(os, &v.z()); }
322  static void saveData(std::ostream &os, UT_Vector4D v)
323  { UTwrite<fpreal64>(os, &v.x()); UTwrite<fpreal64>(os, &v.y());
324  UTwrite<fpreal64>(os, &v.z()); UTwrite<fpreal64>(os, &v.w()); }
325  static void saveData(std::ostream &os, UT_Matrix2D v)
327  static void saveData(std::ostream &os, UT_Matrix3D v)
329  static void saveData(std::ostream &os, UT_Matrix4D v)
331  static void saveData(std::ostream &os, UT_StringHolder s)
332  { UT_StringWrap(s).saveBinary(os); }
333  static void saveData(std::ostream &os, UT_SharedPtr<UT_Ramp> s)
335  UT_OStringStream ostr;
336  if (s) s->save(ostr);
337  result = ostr.str();
338  saveData(os, result);
339  }
340  static void saveData(std::ostream &os, PRM_DataItemHandle s)
342  UT_OStringStream ostr;
343  if (s)
344  {
345  ostr << s->getDataTypeToken();
346  ostr << ":";
347  s->saveBinary(ostr);
348  }
349  result = ostr.str();
350  saveData(os, result);
351  }
352 
353 
354  void save(std::ostream &os) const
355  {
356  int32 v = version();
357  UTwrite(os, &v);
358  saveData(os, myGroup);
359  saveData(os, myRemoveDegen);
360  saveData(os, myUpdateNmls);
361  saveData(os, myConnectivityattrib);
362 
363  }
364 
365  bool load(UT_IStream &is)
366  {
367  int32 v;
368  is.bread(&v, 1);
369  if (version() != v)
370  {
371  // Fail incompatible versions
372  return false;
373  }
374  loadData(is, myGroup);
375  loadData(is, myRemoveDegen);
376  loadData(is, myUpdateNmls);
377  loadData(is, myConnectivityattrib);
378 
379  return true;
380  }
381 
382  const UT_StringHolder & getGroup() const { return myGroup; }
383  void setGroup(const UT_StringHolder & val) { myGroup = val; }
385  {
386  SOP_Node *thissop = cookparms.getNode();
387  if (!thissop) return getGroup();
389  OP_Utils::evalOpParm(result, thissop, "group", cookparms.getCookTime(), 0);
390  return result;
391  }
392  bool getRemoveDegen() const { return myRemoveDegen; }
393  void setRemoveDegen(bool val) { myRemoveDegen = val; }
394  bool opRemoveDegen(const SOP_NodeVerb::CookParms &cookparms) const
395  {
396  SOP_Node *thissop = cookparms.getNode();
397  if (!thissop) return getRemoveDegen();
398  bool result;
399  OP_Utils::evalOpParm(result, thissop, "removedegen", cookparms.getCookTime(), 0);
400  return result;
401  }
402  bool getUpdateNmls() const { return myUpdateNmls; }
403  void setUpdateNmls(bool val) { myUpdateNmls = val; }
404  bool opUpdateNmls(const SOP_NodeVerb::CookParms &cookparms) const
405  {
406  SOP_Node *thissop = cookparms.getNode();
407  if (!thissop) return getUpdateNmls();
408  bool result;
409  OP_Utils::evalOpParm(result, thissop, "updatenmls", cookparms.getCookTime(), 0);
410  return result;
411  }
412  const UT_StringHolder & getConnectivityattrib() const { return myConnectivityattrib; }
413  void setConnectivityattrib(const UT_StringHolder & val) { myConnectivityattrib = val; }
415  {
416  SOP_Node *thissop = cookparms.getNode();
417  if (!thissop) return getConnectivityattrib();
419  OP_Utils::evalOpParm(result, thissop, "connectivityattrib", cookparms.getCookTime(), 0);
420  return result;
421  }
422 
423 private:
424  UT_StringHolder myGroup;
425  bool myRemoveDegen;
426  bool myUpdateNmls;
427  UT_StringHolder myConnectivityattrib;
428 
429 };
static void loadData(UT_IStream &is, UT_Vector3D &v)
static void loadData(UT_IStream &is, UT_Matrix4D &v)
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix3D &value) const override
static void saveData(std::ostream &os, UT_Vector2D v)
void buildFromOp(const OP_GraphProxy *graph, exint nodeidx, fpreal time, DEP_MicroNode *depnode)
void setConnectivityattrib(const UT_StringHolder &val)
static void saveData(std::ostream &os, UT_Vector4D v)
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector4D &value) override
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix3D &value) override
int int32
Definition: SYS_Types.h:39
SOP_Node * getNode() const
Definition: SOP_NodeVerb.h:347
static void saveData(std::ostream &os, UT_StringHolder s)
void loadFromOpSubclass(const LoadParms &loadparms) override
exint bread(int32 *buffer, exint asize=1)
GLboolean * data
Definition: glcorearb.h:131
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector4D &value) const override
GT_API const UT_StringHolder time
constexpr SYS_FORCE_INLINE T & y() noexcept
Definition: UT_Vector4.h:493
const GLdouble * v
Definition: glcorearb.h:837
fpreal getTime() const
Definition: OP_Context.h:62
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector2D &value) const override
void setGroup(const UT_StringHolder &val)
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector3D &value) const override
bool isParmColorRamp(exint idx) const override
void setNestParmValue(TempIndex idx, TempIndex instance, const PRM_DataItemHandle &value) override
const OP_Context & context() const
Definition: OP_NodeParms.h:97
constexpr SYS_FORCE_INLINE T & z() noexcept
Definition: UT_Vector3.h:667
int64 exint
Definition: SYS_Types.h:125
const char * getNestParmName(TempIndex fieldnum) const override
SYS_FORCE_INLINE const char * buffer() const
static void loadData(UT_IStream &is, UT_SharedPtr< UT_Ramp > &v)
GLdouble s
Definition: glad.h:3009
An output stream object that owns its own string buffer storage.
void getNestParmValue(TempIndex idx, TempIndex instance, PRM_DataItemHandle &value) const override
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix2D &value) const override
void setNestParmValue(TempIndex idx, TempIndex instance, const exint &value) override
exint getNestNumParms(TempIndex idx) const override
**But if you need a result
Definition: thread.h:613
void doGetParmValue(TempIndex idx, TempIndex instance, T &value) const
void getNestParmValue(TempIndex idx, TempIndex instance, fpreal &value) const override
static void loadData(UT_IStream &is, UT_Vector2D &v)
void getNestParmValue(TempIndex idx, TempIndex instance, UT_SharedPtr< UT_Ramp > &value) const override
exint nodeIdx() const
Definition: OP_NodeParms.h:95
static PRM_DataItemHandle parseBinary(const char *type, UT_IStream &is)
const UT_WorkBuffer & str()
Returns a read-only reference to the underlying UT_WorkBuffer.
constexpr SYS_FORCE_INLINE T & x() noexcept
Definition: UT_Vector4.h:491
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix4D &value) const override
static void loadData(UT_IStream &is, UT_Vector4D &v)
double fpreal64
Definition: SYS_Types.h:201
UT_StringHolder opConnectivityattrib(const SOP_NodeVerb::CookParms &cookparms) const
static void saveData(std::ostream &os, UT_Vector3D v)
constexpr SYS_FORCE_INLINE T & x() noexcept
Definition: UT_Vector2.h:423
bool operator!=(const SOP_EdgeCollapseParms &src) const
bool operator==(const SOP_EdgeCollapseParms &src) const
bool operator==(const BaseDimensions< T > &a, const BaseDimensions< Y > &b)
Definition: Dimensions.h:137
void setNestParmValue(TempIndex idx, TempIndex instance, const fpreal &value) override
static void loadData(UT_IStream &is, UT_Vector2I &v)
void copyFrom(const OP_NodeParms *src) override
exint length() const
static void loadData(UT_IStream &is, UT_Vector3I &v)
static void saveData(std::ostream &os, fpreal64 v)
SYS_FORCE_INLINE const char * buffer() const
std::shared_ptr< T > UT_SharedPtr
Wrapper around std::shared_ptr.
Definition: UT_SharedPtr.h:36
constexpr SYS_FORCE_INLINE T & z() noexcept
Definition: UT_Vector4.h:495
const OP_GraphProxy * graph() const
Definition: OP_NodeParms.h:94
static void saveData(std::ostream &os, int64 v)
static void loadData(UT_IStream &is, UT_Matrix2D &v)
void doSetParmValue(TempIndex idx, TempIndex instance, const T &value)
const UT_StringHolder & getConnectivityattrib() const
long long int64
Definition: SYS_Types.h:116
void getNestParmValue(TempIndex idx, TempIndex instance, exint &value) const override
virtual void evalOpParm(int64 &v, NodeIdx node, const char *parmname, fpreal time, DEP_MicroNode *depnode) const =0
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix4D &value) override
bool load(UT_IStream &is)
void saveBinary(std::ostream &os) const
Save string to binary stream.
Definition: UT_String.h:296
GT_API const UT_StringHolder version
static void loadData(UT_IStream &is, int64 &v)
void getNestParmValue(TempIndex idx, TempIndex instance, UT_StringHolder &value) const override
static void loadData(UT_IStream &is, fpreal64 &v)
void coerceValue(T &result, const S &src) const
Definition: OP_NodeParms.h:301
UT_StringHolder opGroup(const SOP_NodeVerb::CookParms &cookparms) const
static void loadData(UT_IStream &is, bool &v)
fpreal64 fpreal
Definition: SYS_Types.h:277
DEP_MicroNode * depnode() const
Definition: OP_NodeParms.h:99
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_SharedPtr< UT_Ramp > &value) override
Utility class for containing a color ramp.
Definition: UT_Ramp.h:88
static void loadData(UT_IStream &is, UT_Matrix3D &v)
ParmType getNestParmType(TempIndex fieldnum) const override
constexpr SYS_FORCE_INLINE T & w() noexcept
Definition: UT_Vector4.h:497
static void saveData(std::ostream &os, UT_Matrix3D v)
GLuint GLfloat * val
Definition: glcorearb.h:1608
static void saveData(std::ostream &os, UT_Matrix2D v)
#define SOP_API
Definition: SOP_API.h:10
static void saveData(std::ostream &os, PRM_DataItemHandle s)
static void saveData(std::ostream &os, UT_Matrix4D v)
fpreal getCookTime() const
Definition: SOP_NodeVerb.h:361
static void saveData(std::ostream &os, UT_SharedPtr< UT_Ramp > s)
static void saveData(std::ostream &os, bool v)
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector3D &value) override
const char * findChar(int c) const
Definition: UT_String.h:1385
#define UT_ASSERT(ZZ)
Definition: UT_Assert.h:156
Definition: core.h:1131
void save(std::ostream &os) const
GLboolean r
Definition: glcorearb.h:1222
static void loadData(UT_IStream &is, UT_StringHolder &v)
constexpr SYS_FORCE_INLINE T & y() noexcept
Definition: UT_Vector3.h:665
type
Definition: core.h:1059
bool opRemoveDegen(const SOP_NodeVerb::CookParms &cookparms) const
UT_SharedPtr< const PRM_DataItem > PRM_DataItemHandle
Definition: PRM_Parm.h:89
constexpr SYS_FORCE_INLINE T & y() noexcept
Definition: UT_Vector2.h:425
SYS_FORCE_INLINE bool isstring() const
static void loadData(UT_IStream &is, PRM_DataItemHandle &v)
OP_NodeParms & operator=(const OP_NodeParms &)=default
SYS_FORCE_INLINE void strncpy(const char *src, exint maxlen)
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix2D &value) override
const UT_StringHolder & getGroup() const
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_StringHolder &value) override
bool opUpdateNmls(const SOP_NodeVerb::CookParms &cookparms) const
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector2D &value) override
static void loadData(UT_IStream &is, UT_Vector4I &v)
GLenum src
Definition: glcorearb.h:1793
constexpr SYS_FORCE_INLINE T & x() noexcept
Definition: UT_Vector3.h:663