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