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