HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SOP_MLExampleCreateCore.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  myUsePackedInputComponent = false;
32  myUsePackedTargetComponent = false;
33  myInputValidityAttribute = "isvalid"_UTsh;
34  myTargetValidityAttribute = "isvalid"_UTsh;
35 
36  }
37 
41  SOP_MLExampleCreateCoreParms &operator=(SOP_MLExampleCreateCoreParms &&) noexcept = default;
42 
44 
46  {
47  if (myUsePackedInputComponent != src.myUsePackedInputComponent) return false;
48  if (myUsePackedTargetComponent != src.myUsePackedTargetComponent) return false;
49  if (myInputValidityAttribute != src.myInputValidityAttribute) return false;
50  if (myTargetValidityAttribute != src.myTargetValidityAttribute) 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  myUsePackedInputComponent = false;
64  if (true)
65  graph->evalOpParm(myUsePackedInputComponent, nodeidx, "usepackedinputcomponent", time, 0);
66  myUsePackedTargetComponent = false;
67  if (true)
68  graph->evalOpParm(myUsePackedTargetComponent, nodeidx, "usepackedtargetcomponent", time, 0);
69  myInputValidityAttribute = "isvalid"_UTsh;
70  if (true)
71  graph->evalOpParm(myInputValidityAttribute, nodeidx, "inputvalidityattribute", time, 0);
72  myTargetValidityAttribute = "isvalid"_UTsh;
73  if (true)
74  graph->evalOpParm(myTargetValidityAttribute, nodeidx, "targetvalidityattribute", 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_MLExampleCreateCoreParms *)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, myUsePackedInputComponent);
103  break;
104  case 1:
105  coerceValue(value, myUsePackedTargetComponent);
106  break;
107  case 2:
108  coerceValue(value, myInputValidityAttribute);
109  break;
110  case 3:
111  coerceValue(value, myTargetValidityAttribute);
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(myUsePackedInputComponent, ( ( value ) ));
162  break;
163  case 1:
164  coerceValue(myUsePackedTargetComponent, ( ( value ) ));
165  break;
166  case 2:
167  coerceValue(myInputValidityAttribute, ( ( value ) ));
168  break;
169  case 3:
170  coerceValue(myTargetValidityAttribute, ( ( 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 "usepackedinputcomponent";
219  case 1:
220  return "usepackedtargetcomponent";
221  case 2:
222  return "inputvalidityattribute";
223  case 3:
224  return "targetvalidityattribute";
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_INTEGER;
238  case 1:
239  return PARM_INTEGER;
240  case 2:
241  return PARM_STRING;
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, myUsePackedInputComponent);
359  saveData(os, myUsePackedTargetComponent);
360  saveData(os, myInputValidityAttribute);
361  saveData(os, myTargetValidityAttribute);
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, myUsePackedInputComponent);
375  loadData(is, myUsePackedTargetComponent);
376  loadData(is, myInputValidityAttribute);
377  loadData(is, myTargetValidityAttribute);
378 
379  return true;
380  }
381 
382  bool getUsePackedInputComponent() const { return myUsePackedInputComponent; }
383  void setUsePackedInputComponent(bool val) { myUsePackedInputComponent = val; }
385  {
386  SOP_Node *thissop = cookparms.getNode();
387  if (!thissop) return getUsePackedInputComponent();
388  bool result;
389  OP_Utils::evalOpParm(result, thissop, "usepackedinputcomponent", cookparms.getCookTime(), 0);
390  return result;
391  }
392  bool getUsePackedTargetComponent() const { return myUsePackedTargetComponent; }
393  void setUsePackedTargetComponent(bool val) { myUsePackedTargetComponent = val; }
395  {
396  SOP_Node *thissop = cookparms.getNode();
397  if (!thissop) return getUsePackedTargetComponent();
398  bool result;
399  OP_Utils::evalOpParm(result, thissop, "usepackedtargetcomponent", cookparms.getCookTime(), 0);
400  return result;
401  }
402  const UT_StringHolder & getInputValidityAttribute() const { return myInputValidityAttribute; }
403  void setInputValidityAttribute(const UT_StringHolder & val) { myInputValidityAttribute = val; }
405  {
406  SOP_Node *thissop = cookparms.getNode();
407  if (!thissop) return getInputValidityAttribute();
409  OP_Utils::evalOpParm(result, thissop, "inputvalidityattribute", cookparms.getCookTime(), 0);
410  return result;
411  }
412  const UT_StringHolder & getTargetValidityAttribute() const { return myTargetValidityAttribute; }
413  void setTargetValidityAttribute(const UT_StringHolder & val) { myTargetValidityAttribute = val; }
415  {
416  SOP_Node *thissop = cookparms.getNode();
417  if (!thissop) return getTargetValidityAttribute();
419  OP_Utils::evalOpParm(result, thissop, "targetvalidityattribute", cookparms.getCookTime(), 0);
420  return result;
421  }
422 
423 private:
424  bool myUsePackedInputComponent;
425  bool myUsePackedTargetComponent;
426  UT_StringHolder myInputValidityAttribute;
427  UT_StringHolder myTargetValidityAttribute;
428 
429 };
exint getNestNumParms(TempIndex idx) const override
void setTargetValidityAttribute(const UT_StringHolder &val)
const UT_StringHolder & getInputValidityAttribute() const
static void saveData(std::ostream &os, bool v)
const UT_StringHolder & getTargetValidityAttribute() const
int int32
Definition: SYS_Types.h:39
SOP_Node * getNode() const
Definition: SOP_NodeVerb.h:347
void copyFrom(const OP_NodeParms *src) override
void setNestParmValue(TempIndex idx, TempIndex instance, const fpreal &value) override
static void saveData(std::ostream &os, UT_Vector2D v)
static void loadData(UT_IStream &is, PRM_DataItemHandle &v)
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix2D &value) override
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix3D &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
bool operator!=(const SOP_MLExampleCreateCoreParms &src) 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
static void loadData(UT_IStream &is, UT_Vector3D &v)
SYS_FORCE_INLINE const char * buffer() const
GLdouble s
Definition: glad.h:3009
static void saveData(std::ostream &os, PRM_DataItemHandle s)
An output stream object that owns its own string buffer storage.
**But if you need a result
Definition: thread.h:613
void save(std::ostream &os) const
void setNestParmValue(TempIndex idx, TempIndex instance, const exint &value) override
static void saveData(std::ostream &os, UT_Matrix3D v)
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
static void loadData(UT_IStream &is, UT_Vector3I &v)
ParmType getNestParmType(TempIndex fieldnum) const override
double fpreal64
Definition: SYS_Types.h:201
constexpr SYS_FORCE_INLINE T & x() noexcept
Definition: UT_Vector2.h:423
void getNestParmValue(TempIndex idx, TempIndex instance, UT_StringHolder &value) const override
void getNestParmValue(TempIndex idx, TempIndex instance, UT_SharedPtr< UT_Ramp > &value) const override
bool operator==(const BaseDimensions< T > &a, const BaseDimensions< Y > &b)
Definition: Dimensions.h:137
static void loadData(UT_IStream &is, int64 &v)
static void loadData(UT_IStream &is, UT_StringHolder &v)
static void loadData(UT_IStream &is, UT_Vector4D &v)
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix4D &value) override
bool operator==(const SOP_MLExampleCreateCoreParms &src) const
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
constexpr SYS_FORCE_INLINE T & z() noexcept
Definition: UT_Vector4.h:495
bool isParmColorRamp(exint idx) const override
static void saveData(std::ostream &os, UT_Matrix2D v)
static void loadData(UT_IStream &is, bool &v)
const OP_GraphProxy * graph() const
Definition: OP_NodeParms.h:94
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix3D &value) override
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix2D &value) const override
static void saveData(std::ostream &os, int64 v)
long long int64
Definition: SYS_Types.h:116
void setInputValidityAttribute(const UT_StringHolder &val)
virtual void evalOpParm(int64 &v, NodeIdx node, const char *parmname, fpreal time, DEP_MicroNode *depnode) const =0
void getNestParmValue(TempIndex idx, TempIndex instance, PRM_DataItemHandle &value) const override
static void saveData(std::ostream &os, UT_SharedPtr< UT_Ramp > s)
static void saveData(std::ostream &os, fpreal64 v)
void saveBinary(std::ostream &os) const
Save string to binary stream.
Definition: UT_String.h:296
void loadFromOpSubclass(const LoadParms &loadparms) override
bool opUsePackedTargetComponent(const SOP_NodeVerb::CookParms &cookparms) const
GT_API const UT_StringHolder version
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector2D &value) const override
static void loadData(UT_IStream &is, UT_SharedPtr< UT_Ramp > &v)
static void saveData(std::ostream &os, UT_Matrix4D v)
void coerceValue(T &result, const S &src) const
Definition: OP_NodeParms.h:301
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_StringHolder &value) override
static void loadData(UT_IStream &is, UT_Vector4I &v)
UT_StringHolder opInputValidityAttribute(const SOP_NodeVerb::CookParms &cookparms) const
fpreal64 fpreal
Definition: SYS_Types.h:277
DEP_MicroNode * depnode() const
Definition: OP_NodeParms.h:99
bool opUsePackedInputComponent(const SOP_NodeVerb::CookParms &cookparms) const
static void loadData(UT_IStream &is, UT_Matrix2D &v)
static void loadData(UT_IStream &is, fpreal64 &v)
Utility class for containing a color ramp.
Definition: UT_Ramp.h:92
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
fpreal getCookTime() const
Definition: SOP_NodeVerb.h:361
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix4D &value) const override
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_SharedPtr< UT_Ramp > &value) override
const char * findChar(int c) const
Definition: UT_String.h:1395
#define UT_ASSERT(ZZ)
Definition: UT_Assert.h:156
static void saveData(std::ostream &os, UT_Vector3D v)
Definition: core.h:1131
void buildFromOp(const OP_GraphProxy *graph, exint nodeidx, fpreal time, DEP_MicroNode *depnode)
static void loadData(UT_IStream &is, UT_Matrix3D &v)
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector3D &value) override
GLboolean r
Definition: glcorearb.h:1222
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector2D &value) override
const char * getNestParmName(TempIndex fieldnum) const override
UT_StringHolder opTargetValidityAttribute(const SOP_NodeVerb::CookParms &cookparms) const
void getNestParmValue(TempIndex idx, TempIndex instance, fpreal &value) const override
void setNestParmValue(TempIndex idx, TempIndex instance, const PRM_DataItemHandle &value) override
constexpr SYS_FORCE_INLINE T & y() noexcept
Definition: UT_Vector3.h:665
void doSetParmValue(TempIndex idx, TempIndex instance, const T &value)
void doGetParmValue(TempIndex idx, TempIndex instance, T &value) const
type
Definition: core.h:1059
static void loadData(UT_IStream &is, UT_Vector2D &v)
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector4D &value) const override
static void saveData(std::ostream &os, UT_StringHolder s)
static void loadData(UT_IStream &is, UT_Matrix4D &v)
static void loadData(UT_IStream &is, UT_Vector2I &v)
UT_SharedPtr< const PRM_DataItem > PRM_DataItemHandle
Definition: PRM_Parm.h:97
static void saveData(std::ostream &os, UT_Vector4D v)
constexpr SYS_FORCE_INLINE T & y() noexcept
Definition: UT_Vector2.h:425
SYS_FORCE_INLINE bool isstring() const
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector3D &value) const override
OP_NodeParms & operator=(const OP_NodeParms &)=default
SYS_FORCE_INLINE void strncpy(const char *src, exint maxlen)
void getNestParmValue(TempIndex idx, TempIndex instance, exint &value) const override
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector4D &value) override
GLenum src
Definition: glcorearb.h:1793
constexpr SYS_FORCE_INLINE T & x() noexcept
Definition: UT_Vector3.h:663