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 
35  getToken(Grouptype enum_value)
36  {
37  using namespace UT::Literal;
38  switch (enum_value) {
39  case Grouptype::GUESS: return "guess"_sh;
40  case Grouptype::BREAKPOINTS: return "breakpoints"_sh;
41  case Grouptype::EDGES: return "edges"_sh;
42  case Grouptype::POINTS: return "points"_sh;
43  case Grouptype::PRIMS: return "prims"_sh;
44  default: UT_ASSERT(false); return ""_sh;
45  }
46  }
47 
48 }
49 
50 
52 {
53 public:
54  static int version() { return 1; }
55 
57  {
58  myGroup = ""_UTsh;
59  myGrouptype = 0;
60  myDist = 0;
61  myUpdatenmls = true;
62 
63  }
64 
65  explicit SOP_PeakParms(const SOP_PeakParms &) = default;
66  SOP_PeakParms &operator=(const SOP_PeakParms &) = default;
67  SOP_PeakParms(SOP_PeakParms &&) noexcept = default;
68  SOP_PeakParms &operator=(SOP_PeakParms &&) noexcept = default;
69 
70  ~SOP_PeakParms() override {}
71 
72  bool operator==(const SOP_PeakParms &src) const
73  {
74  if (myGroup != src.myGroup) return false;
75  if (myGrouptype != src.myGrouptype) return false;
76  if (myDist != src.myDist) return false;
77  if (myUpdatenmls != src.myUpdatenmls) return false;
78 
79  return true;
80  }
81  bool operator!=(const SOP_PeakParms &src) const
82  {
83  return !operator==(src);
84  }
86 
87 
88 
89  void buildFromOp(const OP_GraphProxy *graph, exint nodeidx, fpreal time, DEP_MicroNode *depnode)
90  {
91  myGroup = ""_UTsh;
92  if (true)
93  graph->evalOpParm(myGroup, nodeidx, "group", time, 0);
94  myGrouptype = 0;
95  if (true)
96  graph->evalOpParm(myGrouptype, nodeidx, "grouptype", time, 0);
97  myDist = 0;
98  if (true)
99  graph->evalOpParm(myDist, nodeidx, "dist", time, 0);
100  myUpdatenmls = true;
101  if (true)
102  graph->evalOpParm(myUpdatenmls, nodeidx, "updatenmls", time, 0);
103 
104  }
105 
106 
107  void loadFromOpSubclass(const LoadParms &loadparms) override
108  {
109  buildFromOp(loadparms.graph(), loadparms.nodeIdx(), loadparms.context().getTime(), loadparms.depnode());
110  }
111 
112 
113  void copyFrom(const OP_NodeParms *src) override
114  {
115  *this = *((const SOP_PeakParms *)src);
116  }
117 
118  template <typename T>
119  void
120  doGetParmValue(TempIndex idx, TempIndex instance, T &value) const
121  {
122  if (idx.size() < 1)
123  return;
124  UT_ASSERT(idx.size() == instance.size()+1);
125  if (idx.size() != instance.size()+1)
126  return;
127  switch (idx[0])
128  {
129  case 0:
130  coerceValue(value, myGroup);
131  break;
132  case 1:
133  coerceValue(value, myGrouptype);
134  break;
135  case 2:
136  coerceValue(value, myDist);
137  break;
138  case 3:
139  coerceValue(value, myUpdatenmls);
140  break;
141 
142  }
143  }
144 
145  bool isParmColorRamp(exint idx) const override
146  {
147  switch (idx)
148  {
149 
150  }
151  return false;
152  }
153 
154  void getNestParmValue(TempIndex idx, TempIndex instance, exint &value) const override
155  { doGetParmValue(idx, instance, value); }
156  void getNestParmValue(TempIndex idx, TempIndex instance, fpreal &value) const override
157  { doGetParmValue(idx, instance, value); }
158  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector2D &value) const override
159  { doGetParmValue(idx, instance, value); }
160  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector3D &value) const override
161  { doGetParmValue(idx, instance, value); }
162  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector4D &value) const override
163  { doGetParmValue(idx, instance, value); }
164  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix2D &value) const override
165  { doGetParmValue(idx, instance, value); }
166  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix3D &value) const override
167  { doGetParmValue(idx, instance, value); }
168  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix4D &value) const override
169  { doGetParmValue(idx, instance, value); }
170  void getNestParmValue(TempIndex idx, TempIndex instance, UT_StringHolder &value) const override
171  { doGetParmValue(idx, instance, value); }
172  void getNestParmValue(TempIndex idx, TempIndex instance, UT_SharedPtr<UT_Ramp> &value) const override
173  { doGetParmValue(idx, instance, value); }
174  void getNestParmValue(TempIndex idx, TempIndex instance, PRM_DataItemHandle &value) const override
175  { doGetParmValue(idx, instance, value); }
176 
177  template <typename T>
178  void
179  doSetParmValue(TempIndex idx, TempIndex instance, const T &value)
180  {
181  if (idx.size() < 1)
182  return;
183  UT_ASSERT(idx.size() == instance.size()+1);
184  if (idx.size() != instance.size()+1)
185  return;
186  switch (idx[0])
187  {
188  case 0:
189  coerceValue(myGroup, ( ( value ) ));
190  break;
191  case 1:
192  coerceValue(myGrouptype, clampMinValue(0, clampMaxValue(4, value ) ));
193  break;
194  case 2:
195  coerceValue(myDist, ( ( value ) ));
196  break;
197  case 3:
198  coerceValue(myUpdatenmls, ( ( value ) ));
199  break;
200 
201  }
202  }
203 
204  void setNestParmValue(TempIndex idx, TempIndex instance, const exint &value) override
205  { doSetParmValue(idx, instance, value); }
206  void setNestParmValue(TempIndex idx, TempIndex instance, const fpreal &value) override
207  { doSetParmValue(idx, instance, value); }
208  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector2D &value) override
209  { doSetParmValue(idx, instance, value); }
210  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector3D &value) override
211  { doSetParmValue(idx, instance, value); }
212  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector4D &value) override
213  { doSetParmValue(idx, instance, value); }
214  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix2D &value) override
215  { doSetParmValue(idx, instance, value); }
216  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix3D &value) override
217  { doSetParmValue(idx, instance, value); }
218  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix4D &value) override
219  { doSetParmValue(idx, instance, value); }
220  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_StringHolder &value) override
221  { doSetParmValue(idx, instance, value); }
222  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_SharedPtr<UT_Ramp> &value) override
223  { doSetParmValue(idx, instance, value); }
224  void setNestParmValue(TempIndex idx, TempIndex instance, const PRM_DataItemHandle &value) override
225  { doSetParmValue(idx, instance, value); }
226 
227  exint getNestNumParms(TempIndex idx) const override
228  {
229  if (idx.size() == 0)
230  return 4;
231  switch (idx[0])
232  {
233 
234  }
235  // Invalid
236  return 0;
237  }
238 
239  const char *getNestParmName(TempIndex fieldnum) const override
240  {
241  if (fieldnum.size() < 1)
242  return 0;
243  switch (fieldnum[0])
244  {
245  case 0:
246  return "group";
247  case 1:
248  return "grouptype";
249  case 2:
250  return "dist";
251  case 3:
252  return "updatenmls";
253 
254  }
255  return 0;
256  }
257 
258  ParmType getNestParmType(TempIndex fieldnum) const override
259  {
260  if (fieldnum.size() < 1)
261  return PARM_UNSUPPORTED;
262  switch (fieldnum[0])
263  {
264  case 0:
265  return PARM_STRING;
266  case 1:
267  return PARM_INTEGER;
268  case 2:
269  return PARM_FLOAT;
270  case 3:
271  return PARM_INTEGER;
272 
273  }
274  return PARM_UNSUPPORTED;
275  }
276 
277  // Boiler plate to load individual types.
278  static void loadData(UT_IStream &is, int64 &v)
279  { is.bread(&v, 1); }
280  static void loadData(UT_IStream &is, bool &v)
281  { int64 iv; is.bread(&iv, 1); v = iv; }
282  static void loadData(UT_IStream &is, fpreal64 &v)
283  { is.bread<fpreal64>(&v, 1); }
284  static void loadData(UT_IStream &is, UT_Vector2D &v)
285  { is.bread<fpreal64>(&v.x(), 1); is.bread<fpreal64>(&v.y(), 1); }
286  static void loadData(UT_IStream &is, UT_Vector3D &v)
287  { is.bread<fpreal64>(&v.x(), 1); is.bread<fpreal64>(&v.y(), 1);
288  is.bread<fpreal64>(&v.z(), 1); }
289  static void loadData(UT_IStream &is, UT_Vector4D &v)
290  { is.bread<fpreal64>(&v.x(), 1); is.bread<fpreal64>(&v.y(), 1);
291  is.bread<fpreal64>(&v.z(), 1); is.bread<fpreal64>(&v.w(), 1); }
292  static void loadData(UT_IStream &is, UT_Matrix2D &v)
293  { for (int r = 0; r < 2; r++) for (int c = 0; c < 2; c++) is.bread<fpreal64>(&v(r, c), 1); }
294  static void loadData(UT_IStream &is, UT_Matrix3D &v)
295  { for (int r = 0; r < 3; r++) for (int c = 0; c < 3; c++) is.bread<fpreal64>(&v(r, c), 1); }
296  static void loadData(UT_IStream &is, UT_Matrix4D &v)
297  { for (int r = 0; r < 4; r++) for (int c = 0; c < 4; c++) is.bread<fpreal64>(&v(r, c), 1); }
298  static void loadData(UT_IStream &is, UT_Vector2I &v)
299  { is.bread<int64>(&v.x(), 1); is.bread<int64>(&v.y(), 1); }
300  static void loadData(UT_IStream &is, UT_Vector3I &v)
301  { is.bread<int64>(&v.x(), 1); is.bread<int64>(&v.y(), 1);
302  is.bread<int64>(&v.z(), 1); }
303  static void loadData(UT_IStream &is, UT_Vector4I &v)
304  { is.bread<int64>(&v.x(), 1); is.bread<int64>(&v.y(), 1);
305  is.bread<int64>(&v.z(), 1); is.bread<int64>(&v.w(), 1); }
307  { is.bread(v); }
309  { UT_StringHolder rampdata;
310  loadData(is, rampdata);
311  if (rampdata.isstring())
312  {
313  v.reset(new UT_Ramp());
314  UT_IStream istr((const char *) rampdata, rampdata.length(), UT_ISTREAM_ASCII);
315  v->load(istr);
316  }
317  else v.reset();
318  }
321  loadData(is, data);
322  if (data.isstring())
323  {
324  // Find the data type.
325  const char *colon = UT_StringWrap(data).findChar(':');
326  if (colon)
327  {
328  int typelen = colon - data.buffer();
330  type.strncpy(data.buffer(), typelen);
331  UT_IStream istr(((const char *) data) + typelen + 1, data.length() - (typelen + 1), UT_ISTREAM_BINARY);
332 
333  v = PRM_DataFactory::parseBinary(type.buffer(), istr);
334  }
335  }
336  else v.reset();
337  }
338 
339  static void saveData(std::ostream &os, int64 v)
340  { UTwrite(os, &v); }
341  static void saveData(std::ostream &os, bool v)
342  { int64 iv = v; UTwrite(os, &iv); }
343  static void saveData(std::ostream &os, fpreal64 v)
344  { UTwrite<fpreal64>(os, &v); }
345  static void saveData(std::ostream &os, UT_Vector2D v)
346  { UTwrite<fpreal64>(os, &v.x()); UTwrite<fpreal64>(os, &v.y()); }
347  static void saveData(std::ostream &os, UT_Vector3D v)
348  { UTwrite<fpreal64>(os, &v.x()); UTwrite<fpreal64>(os, &v.y());
349  UTwrite<fpreal64>(os, &v.z()); }
350  static void saveData(std::ostream &os, UT_Vector4D v)
351  { UTwrite<fpreal64>(os, &v.x()); UTwrite<fpreal64>(os, &v.y());
352  UTwrite<fpreal64>(os, &v.z()); UTwrite<fpreal64>(os, &v.w()); }
353  static void saveData(std::ostream &os, UT_Matrix2D v)
355  static void saveData(std::ostream &os, UT_Matrix3D v)
357  static void saveData(std::ostream &os, UT_Matrix4D v)
359  static void saveData(std::ostream &os, UT_StringHolder s)
360  { UT_StringWrap(s).saveBinary(os); }
361  static void saveData(std::ostream &os, UT_SharedPtr<UT_Ramp> s)
363  UT_OStringStream ostr;
364  if (s) s->save(ostr);
365  result = ostr.str();
366  saveData(os, result);
367  }
368  static void saveData(std::ostream &os, PRM_DataItemHandle s)
370  UT_OStringStream ostr;
371  if (s)
372  {
373  ostr << s->getDataTypeToken();
374  ostr << ":";
375  s->saveBinary(ostr);
376  }
377  result = ostr.str();
378  saveData(os, result);
379  }
380 
381 
382  void save(std::ostream &os) const
383  {
384  int32 v = version();
385  UTwrite(os, &v);
386  saveData(os, myGroup);
387  saveData(os, myGrouptype);
388  saveData(os, myDist);
389  saveData(os, myUpdatenmls);
390 
391  }
392 
393  bool load(UT_IStream &is)
394  {
395  int32 v;
396  is.bread(&v, 1);
397  if (version() != v)
398  {
399  // Fail incompatible versions
400  return false;
401  }
402  loadData(is, myGroup);
403  loadData(is, myGrouptype);
404  loadData(is, myDist);
405  loadData(is, myUpdatenmls);
406 
407  return true;
408  }
409 
410  const UT_StringHolder & getGroup() const { return myGroup; }
411  void setGroup(const UT_StringHolder & val) { myGroup = val; }
413  {
414  SOP_Node *thissop = cookparms.getNode();
415  if (!thissop) return getGroup();
417  OP_Utils::evalOpParm(result, thissop, "group", cookparms.getCookTime(), 0);
418  return result;
419  }
420  Grouptype getGrouptype() const { return Grouptype(myGrouptype); }
421  void setGrouptype(Grouptype val) { myGrouptype = int64(val); }
423  {
424  SOP_Node *thissop = cookparms.getNode();
425  if (!thissop) return getGrouptype();
426  int64 result;
427  OP_Utils::evalOpParm(result, thissop, "grouptype", cookparms.getCookTime(), 0);
428  return Grouptype(result);
429  }
430  fpreal64 getDist() const { return myDist; }
431  void setDist(fpreal64 val) { myDist = val; }
432  fpreal64 opDist(const SOP_NodeVerb::CookParms &cookparms) const
433  {
434  SOP_Node *thissop = cookparms.getNode();
435  if (!thissop) return getDist();
437  OP_Utils::evalOpParm(result, thissop, "dist", cookparms.getCookTime(), 0);
438  return result;
439  }
440  bool getUpdatenmls() const { return myUpdatenmls; }
441  void setUpdatenmls(bool val) { myUpdatenmls = val; }
442  bool opUpdatenmls(const SOP_NodeVerb::CookParms &cookparms) const
443  {
444  SOP_Node *thissop = cookparms.getNode();
445  if (!thissop) return getUpdatenmls();
446  bool result;
447  OP_Utils::evalOpParm(result, thissop, "updatenmls", cookparms.getCookTime(), 0);
448  return result;
449  }
450 
451 private:
452  UT_StringHolder myGroup;
453  int64 myGrouptype;
454  fpreal64 myDist;
455  bool myUpdatenmls;
456 
457 };
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
SYS_FORCE_INLINE UT_StringHolder getToken(Grouptype enum_value)
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)
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
#define SYS_FORCE_INLINE
Definition: SYS_Inline.h:45
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
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
LeafData & operator=(const LeafData &)=delete
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 setUpdatenmls(bool val)
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, 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:97
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
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