HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SOP_Ends.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_NodeVerb.h>
7 #include <SOP/SOP_GraphProxy.h>
8 
9 #include <OP/OP_Utils.h>
10 #include <PRM/PRM_Parm.h>
11 #include <UT/UT_IStream.h>
12 #include <UT/UT_NTStreamUtil.h>
13 #include <UT/UT_Ramp.h>
14 #include <UT/UT_SharedPtr.h>
15 #include <UT/UT_StringHolder.h>
16 #include <UT/UT_StringStream.h>
17 #include <UT/UT_VectorTypes.h>
18 #include <SYS/SYS_Types.h>
19 
20 using namespace UT::Literal;
21 
22 class DEP_MicroNode;
23 namespace SOP_EndsEnums
24 {
25  enum class Closeu
26  {
27  SAMECLOSURE = 0,
28  OPEN,
29  CLOSESHARP,
30  CLOSEROUND,
31  UNROLL,
33  };
34  enum class Closev
35  {
36  SAMECLOSURE = 0,
37  OPEN,
38  CLOSESHARP,
39  CLOSEROUND,
40  UNROLL,
42  };
43  enum class Clampu
44  {
45  SAMECLAMP = 0,
46  CLAMP,
47  UNCLAMP
48  };
49  enum class Clampv
50  {
51  SAMECLAMP = 0,
52  CLAMP,
53  UNCLAMP
54  };
55 }
56 
57 
59 {
60 public:
61  static int version() { return 1; }
62 
64  {
65  myGroup = ""_sh;
66  myCloseu = 0;
67  myClosev = 0;
68  myClampu = 0;
69  myClampv = 0;
70  myPshapeu = false;
71  myPshapev = false;
72 
73  }
74 
75  explicit SOP_EndsParms(const SOP_EndsParms &) = default;
76 
77  ~SOP_EndsParms() override {}
78 
79  bool operator==(const SOP_EndsParms &src) const
80  {
81  if (myGroup != src.myGroup) return false;
82  if (myCloseu != src.myCloseu) return false;
83  if (myClosev != src.myClosev) return false;
84  if (myClampu != src.myClampu) return false;
85  if (myClampv != src.myClampv) return false;
86  if (myPshapeu != src.myPshapeu) return false;
87  if (myPshapev != src.myPshapev) return false;
88 
89  return true;
90  }
91  bool operator!=(const SOP_EndsParms &src) const
92  {
93  return !operator==(src);
94  }
99 
100 
101 
102  void buildFromOp(const SOP_GraphProxy *graph, exint nodeidx, fpreal time, DEP_MicroNode *depnode)
103  {
104  myGroup = ""_sh;
105  if (true)
106  graph->evalOpParm(myGroup, nodeidx, "group", time, 0);
107  myCloseu = 0;
108  if (true)
109  graph->evalOpParm(myCloseu, nodeidx, "closeu", time, 0);
110  myClosev = 0;
111  if (true)
112  graph->evalOpParm(myClosev, nodeidx, "closev", time, 0);
113  myClampu = 0;
114  if (true)
115  graph->evalOpParm(myClampu, nodeidx, "clampu", time, 0);
116  myClampv = 0;
117  if (true)
118  graph->evalOpParm(myClampv, nodeidx, "clampv", time, 0);
119  myPshapeu = false;
120  if (true && ( (!(((int64(getCloseu())==0)&&(int64(getClampu())==0)))) ) )
121  graph->evalOpParm(myPshapeu, nodeidx, "pshapeu", time, 0);
122  myPshapev = false;
123  if (true && ( (!(((int64(getClosev())==0)&&(int64(getClampv())==0)))) ) )
124  graph->evalOpParm(myPshapev, nodeidx, "pshapev", time, 0);
125 
126  }
127 
128 
129  void loadFromOpSubclass(const LoadParms &loadparms) override
130  {
131  buildFromOp(loadparms.graph(), loadparms.nodeIdx(), loadparms.context().getTime(), loadparms.depnode());
132  }
133 
134 
135  void copyFrom(const SOP_NodeParms *src) override
136  {
137  *this = *((const SOP_EndsParms *)src);
138  }
139 
140  template <typename T>
141  void
142  doGetParmValue(TempIndex idx, TempIndex instance, T &value) const
143  {
144  if (idx.size() < 1)
145  return;
146  UT_ASSERT(idx.size() == instance.size()+1);
147  if (idx.size() != instance.size()+1)
148  return;
149  switch (idx[0])
150  {
151  case 0:
152  coerceValue(value, myGroup);
153  break;
154  case 1:
155  coerceValue(value, myCloseu);
156  break;
157  case 2:
158  coerceValue(value, myClosev);
159  break;
160  case 3:
161  coerceValue(value, myClampu);
162  break;
163  case 4:
164  coerceValue(value, myClampv);
165  break;
166  case 5:
167  coerceValue(value, myPshapeu);
168  break;
169  case 6:
170  coerceValue(value, myPshapev);
171  break;
172 
173  }
174  }
175 
176  void getNestParmValue(TempIndex idx, TempIndex instance, exint &value) const override
177  { doGetParmValue(idx, instance, value); }
178  void getNestParmValue(TempIndex idx, TempIndex instance, fpreal &value) const override
179  { doGetParmValue(idx, instance, value); }
180  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector2D &value) const override
181  { doGetParmValue(idx, instance, value); }
182  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector3D &value) const override
183  { doGetParmValue(idx, instance, value); }
184  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector4D &value) const override
185  { doGetParmValue(idx, instance, value); }
186  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix2D &value) const override
187  { doGetParmValue(idx, instance, value); }
188  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix3D &value) const override
189  { doGetParmValue(idx, instance, value); }
190  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix4D &value) const override
191  { doGetParmValue(idx, instance, value); }
192  void getNestParmValue(TempIndex idx, TempIndex instance, UT_StringHolder &value) const override
193  { doGetParmValue(idx, instance, value); }
194  void getNestParmValue(TempIndex idx, TempIndex instance, UT_SharedPtr<UT_Ramp> &value) const override
195  { doGetParmValue(idx, instance, value); }
196  void getNestParmValue(TempIndex idx, TempIndex instance, PRM_DataItemHandle &value) const override
197  { doGetParmValue(idx, instance, value); }
198 
199  template <typename T>
200  void
201  doSetParmValue(TempIndex idx, TempIndex instance, const T &value)
202  {
203  if (idx.size() < 1)
204  return;
205  UT_ASSERT(idx.size() == instance.size()+1);
206  if (idx.size() != instance.size()+1)
207  return;
208  switch (idx[0])
209  {
210  case 0:
211  coerceValue(myGroup, value);
212  break;
213  case 1:
214  coerceValue(myCloseu, value);
215  break;
216  case 2:
217  coerceValue(myClosev, value);
218  break;
219  case 3:
220  coerceValue(myClampu, value);
221  break;
222  case 4:
223  coerceValue(myClampv, value);
224  break;
225  case 5:
226  coerceValue(myPshapeu, value);
227  break;
228  case 6:
229  coerceValue(myPshapev, value);
230  break;
231 
232  }
233  }
234 
235  void setNestParmValue(TempIndex idx, TempIndex instance, const exint &value) override
236  { doSetParmValue(idx, instance, value); }
237  void setNestParmValue(TempIndex idx, TempIndex instance, const fpreal &value) override
238  { doSetParmValue(idx, instance, value); }
239  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector2D &value) override
240  { doSetParmValue(idx, instance, value); }
241  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector3D &value) override
242  { doSetParmValue(idx, instance, value); }
243  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector4D &value) override
244  { doSetParmValue(idx, instance, value); }
245  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix2D &value) override
246  { doSetParmValue(idx, instance, value); }
247  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix3D &value) override
248  { doSetParmValue(idx, instance, value); }
249  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix4D &value) override
250  { doSetParmValue(idx, instance, value); }
251  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_StringHolder &value) override
252  { doSetParmValue(idx, instance, value); }
253  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_SharedPtr<UT_Ramp> &value) override
254  { doSetParmValue(idx, instance, value); }
255  void setNestParmValue(TempIndex idx, TempIndex instance, const PRM_DataItemHandle &value) override
256  { doSetParmValue(idx, instance, value); }
257 
258  exint getNestNumParms(TempIndex idx) const override
259  {
260  if (idx.size() == 0)
261  return 7;
262  switch (idx[0])
263  {
264 
265  }
266  // Invalid
267  return 0;
268  }
269 
270  const char *getNestParmName(TempIndex fieldnum) const override
271  {
272  if (fieldnum.size() < 1)
273  return 0;
274  switch (fieldnum[0])
275  {
276  case 0:
277  return "group";
278  case 1:
279  return "closeu";
280  case 2:
281  return "closev";
282  case 3:
283  return "clampu";
284  case 4:
285  return "clampv";
286  case 5:
287  return "pshapeu";
288  case 6:
289  return "pshapev";
290 
291  }
292  return 0;
293  }
294 
295  ParmType getNestParmType(TempIndex fieldnum) const override
296  {
297  if (fieldnum.size() < 1)
298  return PARM_UNSUPPORTED;
299  switch (fieldnum[0])
300  {
301  case 0:
302  return PARM_STRING;
303  case 1:
304  return PARM_INTEGER;
305  case 2:
306  return PARM_INTEGER;
307  case 3:
308  return PARM_INTEGER;
309  case 4:
310  return PARM_INTEGER;
311  case 5:
312  return PARM_INTEGER;
313  case 6:
314  return PARM_INTEGER;
315 
316  }
317  return PARM_UNSUPPORTED;
318  }
319 
320  // Boiler plate to load individual types.
321  static void loadData(UT_IStream &is, int64 &v)
322  { is.bread(&v, 1); }
323  static void loadData(UT_IStream &is, bool &v)
324  { int64 iv; is.bread(&iv, 1); v = iv; }
325  static void loadData(UT_IStream &is, fpreal64 &v)
326  { is.bread<fpreal64>(&v, 1); }
327  static void loadData(UT_IStream &is, UT_Vector2D &v)
328  { is.bread<fpreal64>(&v.x(), 1); is.bread<fpreal64>(&v.y(), 1); }
329  static void loadData(UT_IStream &is, UT_Vector3D &v)
330  { is.bread<fpreal64>(&v.x(), 1); is.bread<fpreal64>(&v.y(), 1);
331  is.bread<fpreal64>(&v.z(), 1); }
332  static void loadData(UT_IStream &is, UT_Vector4D &v)
333  { is.bread<fpreal64>(&v.x(), 1); is.bread<fpreal64>(&v.y(), 1);
334  is.bread<fpreal64>(&v.z(), 1); is.bread<fpreal64>(&v.w(), 1); }
335  static void loadData(UT_IStream &is, UT_Matrix2D &v)
336  { for (int r = 0; r < 2; r++) for (int c = 0; c < 2; c++) is.bread<fpreal64>(&v(r, c), 1); }
337  static void loadData(UT_IStream &is, UT_Matrix3D &v)
338  { for (int r = 0; r < 3; r++) for (int c = 0; c < 3; c++) is.bread<fpreal64>(&v(r, c), 1); }
339  static void loadData(UT_IStream &is, UT_Matrix4D &v)
340  { for (int r = 0; r < 4; r++) for (int c = 0; c < 4; c++) is.bread<fpreal64>(&v(r, c), 1); }
341  static void loadData(UT_IStream &is, UT_Vector2I &v)
342  { is.bread<int64>(&v.x(), 1); is.bread<int64>(&v.y(), 1); }
343  static void loadData(UT_IStream &is, UT_Vector3I &v)
344  { is.bread<int64>(&v.x(), 1); is.bread<int64>(&v.y(), 1);
345  is.bread<int64>(&v.z(), 1); }
346  static void loadData(UT_IStream &is, UT_Vector4I &v)
347  { is.bread<int64>(&v.x(), 1); is.bread<int64>(&v.y(), 1);
348  is.bread<int64>(&v.z(), 1); is.bread<int64>(&v.w(), 1); }
350  { is.bread(v); }
352  { UT_StringHolder rampdata;
353  loadData(is, rampdata);
354  if (rampdata.isstring())
355  {
356  v.reset(new UT_Ramp());
357  UT_IStream istr((const char *) rampdata, rampdata.length(), UT_ISTREAM_ASCII);
358  v->load(istr);
359  }
360  else v.reset();
361  }
364  loadData(is, data);
365  if (data.isstring())
366  {
367  // Find the data type.
368  const char *colon = UT_StringWrap(data).findChar(':');
369  if (colon)
370  {
371  int typelen = colon - data.buffer();
373  type.strncpy(data.buffer(), typelen);
374  UT_IStream istr(((const char *) data) + typelen + 1, data.length() - (typelen + 1), UT_ISTREAM_BINARY);
375 
376  v = PRM_DataFactory::parseBinary(type.buffer(), istr);
377  }
378  }
379  else v.reset();
380  }
381 
382  static void saveData(std::ostream &os, int64 v)
383  { UTwrite(os, &v); }
384  static void saveData(std::ostream &os, bool v)
385  { int64 iv = v; UTwrite(os, &iv); }
386  static void saveData(std::ostream &os, fpreal64 v)
387  { UTwrite<fpreal64>(os, &v); }
388  static void saveData(std::ostream &os, UT_Vector2D v)
389  { UTwrite<fpreal64>(os, &v.x()); UTwrite<fpreal64>(os, &v.y()); }
390  static void saveData(std::ostream &os, UT_Vector3D v)
391  { UTwrite<fpreal64>(os, &v.x()); UTwrite<fpreal64>(os, &v.y());
392  UTwrite<fpreal64>(os, &v.z()); }
393  static void saveData(std::ostream &os, UT_Vector4D v)
394  { UTwrite<fpreal64>(os, &v.x()); UTwrite<fpreal64>(os, &v.y());
395  UTwrite<fpreal64>(os, &v.z()); UTwrite<fpreal64>(os, &v.w()); }
396  static void saveData(std::ostream &os, UT_Matrix2D v)
398  static void saveData(std::ostream &os, UT_Matrix3D v)
400  static void saveData(std::ostream &os, UT_Matrix4D v)
402  static void saveData(std::ostream &os, UT_StringHolder s)
403  { UT_StringWrap(s).saveBinary(os); }
404  static void saveData(std::ostream &os, UT_SharedPtr<UT_Ramp> s)
406  UT_OStringStream ostr;
407  if (s) s->save(ostr);
408  result = ostr.str();
409  saveData(os, result);
410  }
411  static void saveData(std::ostream &os, PRM_DataItemHandle s)
413  UT_OStringStream ostr;
414  if (s)
415  {
416  ostr << s->getDataTypeToken();
417  ostr << ":";
418  s->saveBinary(ostr);
419  }
420  result = ostr.str();
421  saveData(os, result);
422  }
423 
424 
425  void save(std::ostream &os) const
426  {
427  int32 v = version();
428  UTwrite(os, &v);
429  saveData(os, myGroup);
430  saveData(os, myCloseu);
431  saveData(os, myClosev);
432  saveData(os, myClampu);
433  saveData(os, myClampv);
434  saveData(os, myPshapeu);
435  saveData(os, myPshapev);
436 
437  }
438 
439  bool load(UT_IStream &is)
440  {
441  int32 v;
442  is.bread(&v, 1);
443  if (version() != v)
444  {
445  // Fail incompatible versions
446  return false;
447  }
448  loadData(is, myGroup);
449  loadData(is, myCloseu);
450  loadData(is, myClosev);
451  loadData(is, myClampu);
452  loadData(is, myClampv);
453  loadData(is, myPshapeu);
454  loadData(is, myPshapev);
455 
456  return true;
457  }
458 
459  const UT_StringHolder & getGroup() const { return myGroup; }
460  void setGroup(const UT_StringHolder & val) { myGroup = val; }
462  {
463  SOP_Node *thissop = cookparms.getNode();
464  if (!thissop) return getGroup();
466  OP_Utils::evalOpParm(result, thissop, "group", cookparms.getCookTime(), 0);
467  return result;
468  }
469  Closeu getCloseu() const { return Closeu(myCloseu); }
470  void setCloseu(Closeu val) { myCloseu = int64(val); }
471  Closeu opCloseu(const SOP_NodeVerb::CookParms &cookparms) const
472  {
473  SOP_Node *thissop = cookparms.getNode();
474  if (!thissop) return getCloseu();
475  int64 result;
476  OP_Utils::evalOpParm(result, thissop, "closeu", cookparms.getCookTime(), 0);
477  return Closeu(result);
478  }
479  Closev getClosev() const { return Closev(myClosev); }
480  void setClosev(Closev val) { myClosev = int64(val); }
481  Closev opClosev(const SOP_NodeVerb::CookParms &cookparms) const
482  {
483  SOP_Node *thissop = cookparms.getNode();
484  if (!thissop) return getClosev();
485  int64 result;
486  OP_Utils::evalOpParm(result, thissop, "closev", cookparms.getCookTime(), 0);
487  return Closev(result);
488  }
489  Clampu getClampu() const { return Clampu(myClampu); }
490  void setClampu(Clampu val) { myClampu = int64(val); }
491  Clampu opClampu(const SOP_NodeVerb::CookParms &cookparms) const
492  {
493  SOP_Node *thissop = cookparms.getNode();
494  if (!thissop) return getClampu();
495  int64 result;
496  OP_Utils::evalOpParm(result, thissop, "clampu", cookparms.getCookTime(), 0);
497  return Clampu(result);
498  }
499  Clampv getClampv() const { return Clampv(myClampv); }
500  void setClampv(Clampv val) { myClampv = int64(val); }
501  Clampv opClampv(const SOP_NodeVerb::CookParms &cookparms) const
502  {
503  SOP_Node *thissop = cookparms.getNode();
504  if (!thissop) return getClampv();
505  int64 result;
506  OP_Utils::evalOpParm(result, thissop, "clampv", cookparms.getCookTime(), 0);
507  return Clampv(result);
508  }
509  bool getPshapeu() const { return myPshapeu; }
510  void setPshapeu(bool val) { myPshapeu = val; }
511  bool opPshapeu(const SOP_NodeVerb::CookParms &cookparms) const
512  {
513  SOP_Node *thissop = cookparms.getNode();
514  if (!thissop) return getPshapeu();
515  bool result;
516  OP_Utils::evalOpParm(result, thissop, "pshapeu", cookparms.getCookTime(), 0);
517  return result;
518  }
519  bool getPshapev() const { return myPshapev; }
520  void setPshapev(bool val) { myPshapev = val; }
521  bool opPshapev(const SOP_NodeVerb::CookParms &cookparms) const
522  {
523  SOP_Node *thissop = cookparms.getNode();
524  if (!thissop) return getPshapev();
525  bool result;
526  OP_Utils::evalOpParm(result, thissop, "pshapev", cookparms.getCookTime(), 0);
527  return result;
528  }
529 
530 private:
531  UT_StringHolder myGroup;
532  int64 myCloseu;
533  int64 myClosev;
534  int64 myClampu;
535  int64 myClampv;
536  bool myPshapeu;
537  bool myPshapev;
538 
539 };
GLdouble s
Definition: glew.h:1390
bool getPshapeu() const
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector4D &value) const override
void doGetParmValue(TempIndex idx, TempIndex instance, T &value) const
void setGroup(const UT_StringHolder &val)
Closeu opCloseu(const SOP_NodeVerb::CookParms &cookparms) const
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_SharedPtr< UT_Ramp > &value) override
exint nodeIdx() const
Definition: SOP_NodeVerb.h:114
Clampv getClampv() const
GLenum src
Definition: glew.h:2410
int int32
Definition: SYS_Types.h:39
SOP_Node * getNode() const
Definition: SOP_NodeVerb.h:640
void save(std::ostream &os) const
Closev opClosev(const SOP_NodeVerb::CookParms &cookparms) const
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector2D &value) const override
void setClosev(Closev val)
const char * getNestParmName(TempIndex fieldnum) const override
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector3D &value) override
void copyFrom(const SOP_NodeParms *src) override
static void loadData(UT_IStream &is, UT_Vector3D &v)
exint bread(int32 *buffer, exint asize=1)
GT_API const UT_StringHolder time
static void loadData(UT_IStream &is, UT_Matrix3D &v)
void loadFromOpSubclass(const LoadParms &loadparms) override
fpreal getTime() const
Definition: OP_Context.h:60
void getNestParmValue(TempIndex idx, TempIndex instance, exint &value) const override
GLuint const GLfloat * val
Definition: glew.h:2794
static void saveData(std::ostream &os, UT_Vector4D v)
static void saveData(std::ostream &os, PRM_DataItemHandle s)
static void loadData(UT_IStream &is, fpreal64 &v)
int64 exint
Definition: SYS_Types.h:125
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix3D &value) const override
SYS_FORCE_INLINE const char * buffer() const
const SOP_GraphProxy * graph() const
Definition: SOP_NodeVerb.h:113
exint getNestNumParms(TempIndex idx) const override
An output stream object that owns its own string buffer storage.
void setPshapeu(bool val)
static void loadData(UT_IStream &is, UT_StringHolder &v)
const GLdouble * v
Definition: glew.h:1391
static void saveData(std::ostream &os, UT_Matrix2D v)
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix3D &value) override
static PRM_DataItemHandle parseBinary(const char *type, UT_IStream &is)
void setNestParmValue(TempIndex idx, TempIndex instance, const PRM_DataItemHandle &value) override
const UT_WorkBuffer & str()
Returns a read-only reference to the underlying UT_WorkBuffer.
void setCloseu(Closeu val)
Clampu getClampu() const
bool opPshapeu(const SOP_NodeVerb::CookParms &cookparms) const
Closev getClosev() const
double fpreal64
Definition: SYS_Types.h:201
static void loadData(UT_IStream &is, UT_Matrix2D &v)
bool operator==(const BaseDimensions< T > &a, const BaseDimensions< Y > &b)
Definition: Dimensions.h:137
static void loadData(UT_IStream &is, int64 &v)
static void loadData(UT_IStream &is, UT_Vector4D &v)
void doSetParmValue(TempIndex idx, TempIndex instance, const T &value)
SYS_FORCE_INLINE T & y()
Definition: UT_Vector3.h:513
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix4D &value) const override
bool load(UT_IStream &is)
void getNestParmValue(TempIndex idx, TempIndex instance, UT_SharedPtr< UT_Ramp > &value) const override
exint length() const
static void loadData(UT_IStream &is, UT_Vector2I &v)
static void saveData(std::ostream &os, int64 v)
ParmType getNestParmType(TempIndex fieldnum) const override
SYS_FORCE_INLINE const char * buffer() const
std::shared_ptr< T > UT_SharedPtr
Wrapper around std::shared_ptr.
Definition: UT_SharedPtr.h:28
static void loadData(UT_IStream &is, UT_SharedPtr< UT_Ramp > &v)
GLint GLenum GLsizei GLint GLsizei const void * data
Definition: glew.h:1379
static void saveData(std::ostream &os, fpreal64 v)
SYS_FORCE_INLINE T & z()
Definition: UT_Vector3.h:515
const GLfloat * c
Definition: glew.h:16296
void getNestParmValue(TempIndex idx, TempIndex instance, UT_StringHolder &value) const override
static void saveData(std::ostream &os, bool v)
long long int64
Definition: SYS_Types.h:116
static void saveData(std::ostream &os, UT_Matrix3D v)
static void loadData(UT_IStream &is, UT_Vector4I &v)
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector2D &value) override
static void loadData(UT_IStream &is, UT_Vector2D &v)
static void saveData(std::ostream &os, UT_Vector3D v)
bool getPshapev() const
static void saveData(std::ostream &os, UT_Matrix4D v)
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix2D &value) const override
void saveBinary(std::ostream &os) const
Save string to binary stream.
Definition: UT_String.h:294
GT_API const UT_StringHolder version
DEP_MicroNode * depnode() const
Definition: SOP_NodeVerb.h:121
bool operator!=(const SOP_EndsParms &src) const
static int version()
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_StringHolder &value) override
void setClampu(Clampu val)
bool opPshapev(const SOP_NodeVerb::CookParms &cookparms) const
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix4D &value) override
bool operator==(const SOP_EndsParms &src) const
void getNestParmValue(TempIndex idx, TempIndex instance, fpreal &value) const override
static void loadData(UT_IStream &is, UT_Matrix4D &v)
fpreal64 fpreal
Definition: SYS_Types.h:277
Utility class for containing a color ramp.
Definition: UT_Ramp.h:84
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector4D &value) override
void setPshapev(bool val)
void getNestParmValue(TempIndex idx, TempIndex instance, PRM_DataItemHandle &value) const override
void setClampv(Clampv val)
GLdouble GLdouble GLdouble r
Definition: glew.h:1406
Closeu getCloseu() const
#define SOP_API
Definition: SOP_API.h:10
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector3D &value) const override
void setNestParmValue(TempIndex idx, TempIndex instance, const fpreal &value) override
virtual void evalOpParm(int64 &v, NodeIdx node, const char *parmname, fpreal time, DEP_MicroNode *depnode) const =0
static void saveData(std::ostream &os, UT_SharedPtr< UT_Ramp > s)
SYS_FORCE_INLINE T & x()
Definition: UT_Vector3.h:511
fpreal getCookTime() const
Definition: SOP_NodeVerb.h:654
GLuint64EXT * result
Definition: glew.h:14007
void setNestParmValue(TempIndex idx, TempIndex instance, const exint &value) override
const UT_StringHolder & getGroup() const
const char * findChar(int c) const
Definition: UT_String.h:1367
#define UT_ASSERT(ZZ)
Definition: UT_Assert.h:135
static void loadData(UT_IStream &is, bool &v)
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix2D &value) override
static void loadData(UT_IStream &is, UT_Vector3I &v)
~SOP_EndsParms() override
static void saveData(std::ostream &os, UT_StringHolder s)
Clampv opClampv(const SOP_NodeVerb::CookParms &cookparms) const
GLsizei const GLfloat * value
Definition: glew.h:1849
Clampu opClampu(const SOP_NodeVerb::CookParms &cookparms) const
static void saveData(std::ostream &os, UT_Vector2D v)
const OP_Context & context() const
Definition: SOP_NodeVerb.h:119
UT_SharedPtr< const PRM_DataItem > PRM_DataItemHandle
Definition: PRM_Parm.h:89
UT_StringHolder opGroup(const SOP_NodeVerb::CookParms &cookparms) const
SYS_FORCE_INLINE bool isstring() const
SYS_FORCE_INLINE void strncpy(const char *src, exint maxlen)
type
Definition: core.h:528
void buildFromOp(const SOP_GraphProxy *graph, exint nodeidx, fpreal time, DEP_MicroNode *depnode)
static void loadData(UT_IStream &is, PRM_DataItemHandle &v)