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