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