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