HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SOP_VertexSplit.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  myAttribname = ""_UTsh;
33  myTol = 0.001;
34  myPromote = false;
35 
36  }
37 
38  explicit SOP_VertexSplitParms(const SOP_VertexSplitParms &) = default;
40  SOP_VertexSplitParms(SOP_VertexSplitParms &&) noexcept = default;
41  SOP_VertexSplitParms &operator=(SOP_VertexSplitParms &&) noexcept = default;
42 
43  ~SOP_VertexSplitParms() override {}
44 
45  bool operator==(const SOP_VertexSplitParms &src) const
46  {
47  if (myGroup != src.myGroup) return false;
48  if (myAttribname != src.myAttribname) return false;
49  if (myTol != src.myTol) return false;
50  if (myPromote != src.myPromote) return false;
51 
52  return true;
53  }
54  bool operator!=(const SOP_VertexSplitParms &src) const
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  myAttribname = ""_UTsh;
67  if (true)
68  graph->evalOpParm(myAttribname, nodeidx, "attribname", time, 0);
69  myTol = 0.001;
70  if (true)
71  graph->evalOpParm(myTol, nodeidx, "tol", time, 0);
72  myPromote = false;
73  if (true)
74  graph->evalOpParm(myPromote, nodeidx, "promote", 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_VertexSplitParms *)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, myAttribname);
106  break;
107  case 2:
108  coerceValue(value, myTol);
109  break;
110  case 3:
111  coerceValue(value, myPromote);
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(myAttribname, ( ( value ) ));
165  break;
166  case 2:
167  coerceValue(myTol, clampMinValue(0, ( value ) ));
168  break;
169  case 3:
170  coerceValue(myPromote, ( ( 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 "attribname";
221  case 2:
222  return "tol";
223  case 3:
224  return "promote";
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_STRING;
240  case 2:
241  return PARM_FLOAT;
242  case 3:
243  return PARM_INTEGER;
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, myAttribname);
360  saveData(os, myTol);
361  saveData(os, myPromote);
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, myAttribname);
376  loadData(is, myTol);
377  loadData(is, myPromote);
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  const UT_StringHolder & getAttribname() const { return myAttribname; }
393  void setAttribname(const UT_StringHolder & val) { myAttribname = val; }
395  {
396  SOP_Node *thissop = cookparms.getNode();
397  if (!thissop) return getAttribname();
399  OP_Utils::evalOpParm(result, thissop, "attribname", cookparms.getCookTime(), 0);
400  return result;
401  }
402  fpreal64 getTol() const { return myTol; }
403  void setTol(fpreal64 val) { myTol = val; }
404  fpreal64 opTol(const SOP_NodeVerb::CookParms &cookparms) const
405  {
406  SOP_Node *thissop = cookparms.getNode();
407  if (!thissop) return getTol();
409  OP_Utils::evalOpParm(result, thissop, "tol", cookparms.getCookTime(), 0);
410  return result;
411  }
412  bool getPromote() const { return myPromote; }
413  void setPromote(bool val) { myPromote = val; }
414  bool opPromote(const SOP_NodeVerb::CookParms &cookparms) const
415  {
416  SOP_Node *thissop = cookparms.getNode();
417  if (!thissop) return getPromote();
418  bool result;
419  OP_Utils::evalOpParm(result, thissop, "promote", cookparms.getCookTime(), 0);
420  return result;
421  }
422 
423 private:
424  UT_StringHolder myGroup;
425  UT_StringHolder myAttribname;
426  fpreal64 myTol;
427  bool myPromote;
428 
429 };
static void loadData(UT_IStream &is, UT_Matrix4D &v)
void setTol(fpreal64 val)
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector3D &value) override
void buildFromOp(const OP_GraphProxy *graph, exint nodeidx, fpreal time, DEP_MicroNode *depnode)
void getNestParmValue(TempIndex idx, TempIndex instance, fpreal &value) const override
void setNestParmValue(TempIndex idx, TempIndex instance, const exint &value) override
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector3D &value) const override
int int32
Definition: SYS_Types.h:39
SOP_Node * getNode() const
Definition: SOP_NodeVerb.h:347
static void saveData(std::ostream &os, PRM_DataItemHandle s)
void getNestParmValue(TempIndex idx, TempIndex instance, exint &value) const override
void getNestParmValue(TempIndex idx, TempIndex instance, UT_StringHolder &value) const override
exint bread(int32 *buffer, exint asize=1)
GLboolean * data
Definition: glcorearb.h:131
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 setNestParmValue(TempIndex idx, TempIndex instance, const PRM_DataItemHandle &value) override
void setNestParmValue(TempIndex idx, TempIndex instance, const fpreal &value) override
const UT_StringHolder & getAttribname() const
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
SYS_FORCE_INLINE const char * buffer() const
static void saveData(std::ostream &os, fpreal64 v)
GLdouble s
Definition: glad.h:3009
static void saveData(std::ostream &os, UT_Vector3D v)
An output stream object that owns its own string buffer storage.
static void saveData(std::ostream &os, UT_SharedPtr< UT_Ramp > s)
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix3D &value) const override
bool operator!=(const SOP_VertexSplitParms &src) const
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix4D &value) override
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix2D &value) const override
**But if you need a result
Definition: thread.h:613
static void loadData(UT_IStream &is, bool &v)
void copyFrom(const OP_NodeParms *src) override
void save(std::ostream &os) const
T clampMinValue(fpreal minvalue, const T &src) const
Definition: OP_NodeParms.h:308
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
double fpreal64
Definition: SYS_Types.h:201
constexpr SYS_FORCE_INLINE T & x() noexcept
Definition: UT_Vector2.h:423
const char * getNestParmName(TempIndex fieldnum) const override
static void loadData(UT_IStream &is, PRM_DataItemHandle &v)
bool operator==(const BaseDimensions< T > &a, const BaseDimensions< Y > &b)
Definition: Dimensions.h:137
bool operator==(const SOP_VertexSplitParms &src) const
static void loadData(UT_IStream &is, UT_Matrix2D &v)
static void loadData(UT_IStream &is, UT_Vector3I &v)
static void loadData(UT_IStream &is, UT_Vector3D &v)
exint length() const
void loadFromOpSubclass(const LoadParms &loadparms) override
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
exint getNestNumParms(TempIndex idx) const override
static void saveData(std::ostream &os, UT_Vector2D v)
bool isParmColorRamp(exint idx) const override
fpreal64 opTol(const SOP_NodeVerb::CookParms &cookparms) const
static void loadData(UT_IStream &is, UT_Vector4D &v)
long long int64
Definition: SYS_Types.h:116
static void saveData(std::ostream &os, UT_StringHolder s)
static void loadData(UT_IStream &is, int64 &v)
static void loadData(UT_IStream &is, UT_Vector2D &v)
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix3D &value) override
virtual void evalOpParm(int64 &v, NodeIdx node, const char *parmname, fpreal time, DEP_MicroNode *depnode) const =0
static void loadData(UT_IStream &is, fpreal64 &v)
static void loadData(UT_IStream &is, UT_Vector2I &v)
ParmType getNestParmType(TempIndex fieldnum) const override
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector4D &value) override
void saveBinary(std::ostream &os) const
Save string to binary stream.
Definition: UT_String.h:296
UT_StringHolder opGroup(const SOP_NodeVerb::CookParms &cookparms) const
GT_API const UT_StringHolder version
void getNestParmValue(TempIndex idx, TempIndex instance, PRM_DataItemHandle &value) const override
const UT_StringHolder & getGroup() const
bool opPromote(const SOP_NodeVerb::CookParms &cookparms) const
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector2D &value) override
static void saveData(std::ostream &os, bool v)
static void saveData(std::ostream &os, UT_Matrix2D v)
void coerceValue(T &result, const S &src) const
Definition: OP_NodeParms.h:301
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix4D &value) const override
void doSetParmValue(TempIndex idx, TempIndex instance, const T &value)
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:92
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix2D &value) override
constexpr SYS_FORCE_INLINE T & w() noexcept
Definition: UT_Vector4.h:497
GLuint GLfloat * val
Definition: glcorearb.h:1608
#define SOP_API
Definition: SOP_API.h:10
void setAttribname(const UT_StringHolder &val)
static void saveData(std::ostream &os, UT_Vector4D v)
fpreal getCookTime() const
Definition: SOP_NodeVerb.h:361
bool load(UT_IStream &is)
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector4D &value) const override
static void saveData(std::ostream &os, UT_Matrix4D v)
const char * findChar(int c) const
Definition: UT_String.h:1395
#define UT_ASSERT(ZZ)
Definition: UT_Assert.h:156
Definition: core.h:1131
static void loadData(UT_IStream &is, UT_SharedPtr< UT_Ramp > &v)
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
static void saveData(std::ostream &os, int64 v)
static void loadData(UT_IStream &is, UT_Matrix3D &v)
void setGroup(const UT_StringHolder &val)
static void saveData(std::ostream &os, UT_Matrix3D v)
type
Definition: core.h:1059
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_StringHolder &value) override
void getNestParmValue(TempIndex idx, TempIndex instance, UT_SharedPtr< UT_Ramp > &value) const override
UT_SharedPtr< const PRM_DataItem > PRM_DataItemHandle
Definition: PRM_Parm.h:97
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector2D &value) const override
constexpr SYS_FORCE_INLINE T & y() noexcept
Definition: UT_Vector2.h:425
SYS_FORCE_INLINE bool isstring() const
static void loadData(UT_IStream &is, UT_Vector4I &v)
OP_NodeParms & operator=(const OP_NodeParms &)=default
SYS_FORCE_INLINE void strncpy(const char *src, exint maxlen)
UT_StringHolder opAttribname(const SOP_NodeVerb::CookParms &cookparms) const
GLenum src
Definition: glcorearb.h:1793
constexpr SYS_FORCE_INLINE T & x() noexcept
Definition: UT_Vector3.h:663
void doGetParmValue(TempIndex idx, TempIndex instance, T &value) const