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