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