HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SOP_Crease.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 using namespace UT::Literal;
23 
24 class DEP_MicroNode;
25 namespace SOP_CreaseEnums
26 {
27  enum class Op
28  {
29  ADDTO = 0,
30  SET,
31  DELETE
32  };
33 }
34 
35 
37 {
38 public:
39  static int version() { return 1; }
40 
42  {
43  myGroup = ""_sh;
44  myOp = 0;
45  myCrease = 1;
46  myAddcolor = false;
47  myCreaseattrib = "creaseweight"_sh;
48 
49  }
50 
51  explicit SOP_CreaseParms(const SOP_CreaseParms &) = default;
52 
53  ~SOP_CreaseParms() override {}
54 
55  bool operator==(const SOP_CreaseParms &src) const
56  {
57  if (myGroup != src.myGroup) return false;
58  if (myOp != src.myOp) return false;
59  if (myCrease != src.myCrease) return false;
60  if (myAddcolor != src.myAddcolor) return false;
61  if (myCreaseattrib != src.myCreaseattrib) return false;
62 
63  return true;
64  }
65  bool operator!=(const SOP_CreaseParms &src) const
66  {
67  return !operator==(src);
68  }
70 
71 
72 
73  void buildFromOp(const SOP_GraphProxy *graph, exint nodeidx, fpreal time, DEP_MicroNode *depnode)
74  {
75  myGroup = ""_sh;
76  if (true)
77  graph->evalOpParm(myGroup, nodeidx, "group", time, 0);
78  myOp = 0;
79  if (true)
80  graph->evalOpParm(myOp, nodeidx, "op", time, 0);
81  myCrease = 1;
82  if (true && ( (true&&!(((int64(getOp())==2)))) ) )
83  graph->evalOpParm(myCrease, nodeidx, "crease", time, 0);
84  myAddcolor = false;
85  if (true && ( (true&&!(((int64(getOp())==2)))) ) )
86  graph->evalOpParm(myAddcolor, nodeidx, "addcolor", time, 0);
87  myCreaseattrib = "creaseweight"_sh;
88  if (true)
89  graph->evalOpParm(myCreaseattrib, nodeidx, "creaseattrib", time, 0);
90 
91  }
92 
93 
94  void loadFromOpSubclass(const LoadParms &loadparms) override
95  {
96  buildFromOp(loadparms.graph(), loadparms.nodeIdx(), loadparms.context().getTime(), loadparms.depnode());
97  }
98 
99 
100  void copyFrom(const SOP_NodeParms *src) override
101  {
102  *this = *((const SOP_CreaseParms *)src);
103  }
104 
105  template <typename T>
106  void
107  doGetParmValue(TempIndex idx, TempIndex instance, T &value) const
108  {
109  if (idx.size() < 1)
110  return;
111  UT_ASSERT(idx.size() == instance.size()+1);
112  if (idx.size() != instance.size()+1)
113  return;
114  switch (idx[0])
115  {
116  case 0:
117  coerceValue(value, myGroup);
118  break;
119  case 1:
120  coerceValue(value, myOp);
121  break;
122  case 2:
123  coerceValue(value, myCrease);
124  break;
125  case 3:
126  coerceValue(value, myAddcolor);
127  break;
128  case 4:
129  coerceValue(value, myCreaseattrib);
130  break;
131 
132  }
133  }
134 
135  void getNestParmValue(TempIndex idx, TempIndex instance, exint &value) const override
136  { doGetParmValue(idx, instance, value); }
137  void getNestParmValue(TempIndex idx, TempIndex instance, fpreal &value) const override
138  { doGetParmValue(idx, instance, value); }
139  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector2D &value) const override
140  { doGetParmValue(idx, instance, value); }
141  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector3D &value) const override
142  { doGetParmValue(idx, instance, value); }
143  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector4D &value) const override
144  { doGetParmValue(idx, instance, value); }
145  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix2D &value) const override
146  { doGetParmValue(idx, instance, value); }
147  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix3D &value) const override
148  { doGetParmValue(idx, instance, value); }
149  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix4D &value) const override
150  { doGetParmValue(idx, instance, value); }
151  void getNestParmValue(TempIndex idx, TempIndex instance, UT_StringHolder &value) const override
152  { doGetParmValue(idx, instance, value); }
153  void getNestParmValue(TempIndex idx, TempIndex instance, UT_SharedPtr<UT_Ramp> &value) const override
154  { doGetParmValue(idx, instance, value); }
155  void getNestParmValue(TempIndex idx, TempIndex instance, PRM_DataItemHandle &value) const override
156  { doGetParmValue(idx, instance, value); }
157 
158  template <typename T>
159  void
160  doSetParmValue(TempIndex idx, TempIndex instance, const T &value)
161  {
162  if (idx.size() < 1)
163  return;
164  UT_ASSERT(idx.size() == instance.size()+1);
165  if (idx.size() != instance.size()+1)
166  return;
167  switch (idx[0])
168  {
169  case 0:
170  coerceValue(myGroup, ( ( value ) ));
171  break;
172  case 1:
173  coerceValue(myOp, clampMinValue(0, clampMaxValue(2, value ) ));
174  break;
175  case 2:
176  coerceValue(myCrease, ( ( value ) ));
177  break;
178  case 3:
179  coerceValue(myAddcolor, ( ( value ) ));
180  break;
181  case 4:
182  coerceValue(myCreaseattrib, ( ( value ) ));
183  break;
184 
185  }
186  }
187 
188  void setNestParmValue(TempIndex idx, TempIndex instance, const exint &value) override
189  { doSetParmValue(idx, instance, value); }
190  void setNestParmValue(TempIndex idx, TempIndex instance, const fpreal &value) override
191  { doSetParmValue(idx, instance, value); }
192  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector2D &value) override
193  { doSetParmValue(idx, instance, value); }
194  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector3D &value) override
195  { doSetParmValue(idx, instance, value); }
196  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector4D &value) override
197  { doSetParmValue(idx, instance, value); }
198  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix2D &value) override
199  { doSetParmValue(idx, instance, value); }
200  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix3D &value) override
201  { doSetParmValue(idx, instance, value); }
202  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix4D &value) override
203  { doSetParmValue(idx, instance, value); }
204  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_StringHolder &value) override
205  { doSetParmValue(idx, instance, value); }
206  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_SharedPtr<UT_Ramp> &value) override
207  { doSetParmValue(idx, instance, value); }
208  void setNestParmValue(TempIndex idx, TempIndex instance, const PRM_DataItemHandle &value) override
209  { doSetParmValue(idx, instance, value); }
210 
211  exint getNestNumParms(TempIndex idx) const override
212  {
213  if (idx.size() == 0)
214  return 5;
215  switch (idx[0])
216  {
217 
218  }
219  // Invalid
220  return 0;
221  }
222 
223  const char *getNestParmName(TempIndex fieldnum) const override
224  {
225  if (fieldnum.size() < 1)
226  return 0;
227  switch (fieldnum[0])
228  {
229  case 0:
230  return "group";
231  case 1:
232  return "op";
233  case 2:
234  return "crease";
235  case 3:
236  return "addcolor";
237  case 4:
238  return "creaseattrib";
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_FLOAT;
256  case 3:
257  return PARM_INTEGER;
258  case 4:
259  return PARM_STRING;
260 
261  }
262  return PARM_UNSUPPORTED;
263  }
264 
265  // Boiler plate to load individual types.
266  static void loadData(UT_IStream &is, int64 &v)
267  { is.bread(&v, 1); }
268  static void loadData(UT_IStream &is, bool &v)
269  { int64 iv; is.bread(&iv, 1); v = iv; }
270  static void loadData(UT_IStream &is, fpreal64 &v)
271  { is.bread<fpreal64>(&v, 1); }
272  static void loadData(UT_IStream &is, UT_Vector2D &v)
273  { is.bread<fpreal64>(&v.x(), 1); is.bread<fpreal64>(&v.y(), 1); }
274  static void loadData(UT_IStream &is, UT_Vector3D &v)
275  { is.bread<fpreal64>(&v.x(), 1); is.bread<fpreal64>(&v.y(), 1);
276  is.bread<fpreal64>(&v.z(), 1); }
277  static void loadData(UT_IStream &is, UT_Vector4D &v)
278  { is.bread<fpreal64>(&v.x(), 1); is.bread<fpreal64>(&v.y(), 1);
279  is.bread<fpreal64>(&v.z(), 1); is.bread<fpreal64>(&v.w(), 1); }
280  static void loadData(UT_IStream &is, UT_Matrix2D &v)
281  { for (int r = 0; r < 2; r++) for (int c = 0; c < 2; c++) is.bread<fpreal64>(&v(r, c), 1); }
282  static void loadData(UT_IStream &is, UT_Matrix3D &v)
283  { for (int r = 0; r < 3; r++) for (int c = 0; c < 3; c++) is.bread<fpreal64>(&v(r, c), 1); }
284  static void loadData(UT_IStream &is, UT_Matrix4D &v)
285  { for (int r = 0; r < 4; r++) for (int c = 0; c < 4; c++) is.bread<fpreal64>(&v(r, c), 1); }
286  static void loadData(UT_IStream &is, UT_Vector2I &v)
287  { is.bread<int64>(&v.x(), 1); is.bread<int64>(&v.y(), 1); }
288  static void loadData(UT_IStream &is, UT_Vector3I &v)
289  { is.bread<int64>(&v.x(), 1); is.bread<int64>(&v.y(), 1);
290  is.bread<int64>(&v.z(), 1); }
291  static void loadData(UT_IStream &is, UT_Vector4I &v)
292  { is.bread<int64>(&v.x(), 1); is.bread<int64>(&v.y(), 1);
293  is.bread<int64>(&v.z(), 1); is.bread<int64>(&v.w(), 1); }
295  { is.bread(v); }
297  { UT_StringHolder rampdata;
298  loadData(is, rampdata);
299  if (rampdata.isstring())
300  {
301  v.reset(new UT_Ramp());
302  UT_IStream istr((const char *) rampdata, rampdata.length(), UT_ISTREAM_ASCII);
303  v->load(istr);
304  }
305  else v.reset();
306  }
309  loadData(is, data);
310  if (data.isstring())
311  {
312  // Find the data type.
313  const char *colon = UT_StringWrap(data).findChar(':');
314  if (colon)
315  {
316  int typelen = colon - data.buffer();
318  type.strncpy(data.buffer(), typelen);
319  UT_IStream istr(((const char *) data) + typelen + 1, data.length() - (typelen + 1), UT_ISTREAM_BINARY);
320 
321  v = PRM_DataFactory::parseBinary(type.buffer(), istr);
322  }
323  }
324  else v.reset();
325  }
326 
327  static void saveData(std::ostream &os, int64 v)
328  { UTwrite(os, &v); }
329  static void saveData(std::ostream &os, bool v)
330  { int64 iv = v; UTwrite(os, &iv); }
331  static void saveData(std::ostream &os, fpreal64 v)
332  { UTwrite<fpreal64>(os, &v); }
333  static void saveData(std::ostream &os, UT_Vector2D v)
334  { UTwrite<fpreal64>(os, &v.x()); UTwrite<fpreal64>(os, &v.y()); }
335  static void saveData(std::ostream &os, UT_Vector3D v)
336  { UTwrite<fpreal64>(os, &v.x()); UTwrite<fpreal64>(os, &v.y());
337  UTwrite<fpreal64>(os, &v.z()); }
338  static void saveData(std::ostream &os, UT_Vector4D v)
339  { UTwrite<fpreal64>(os, &v.x()); UTwrite<fpreal64>(os, &v.y());
340  UTwrite<fpreal64>(os, &v.z()); UTwrite<fpreal64>(os, &v.w()); }
341  static void saveData(std::ostream &os, UT_Matrix2D v)
343  static void saveData(std::ostream &os, UT_Matrix3D v)
345  static void saveData(std::ostream &os, UT_Matrix4D v)
347  static void saveData(std::ostream &os, UT_StringHolder s)
348  { UT_StringWrap(s).saveBinary(os); }
349  static void saveData(std::ostream &os, UT_SharedPtr<UT_Ramp> s)
351  UT_OStringStream ostr;
352  if (s) s->save(ostr);
353  result = ostr.str();
354  saveData(os, result);
355  }
356  static void saveData(std::ostream &os, PRM_DataItemHandle s)
358  UT_OStringStream ostr;
359  if (s)
360  {
361  ostr << s->getDataTypeToken();
362  ostr << ":";
363  s->saveBinary(ostr);
364  }
365  result = ostr.str();
366  saveData(os, result);
367  }
368 
369 
370  void save(std::ostream &os) const
371  {
372  int32 v = version();
373  UTwrite(os, &v);
374  saveData(os, myGroup);
375  saveData(os, myOp);
376  saveData(os, myCrease);
377  saveData(os, myAddcolor);
378  saveData(os, myCreaseattrib);
379 
380  }
381 
382  bool load(UT_IStream &is)
383  {
384  int32 v;
385  is.bread(&v, 1);
386  if (version() != v)
387  {
388  // Fail incompatible versions
389  return false;
390  }
391  loadData(is, myGroup);
392  loadData(is, myOp);
393  loadData(is, myCrease);
394  loadData(is, myAddcolor);
395  loadData(is, myCreaseattrib);
396 
397  return true;
398  }
399 
400  const UT_StringHolder & getGroup() const { return myGroup; }
401  void setGroup(const UT_StringHolder & val) { myGroup = val; }
403  {
404  SOP_Node *thissop = cookparms.getNode();
405  if (!thissop) return getGroup();
407  OP_Utils::evalOpParm(result, thissop, "group", cookparms.getCookTime(), 0);
408  return result;
409  }
410  Op getOp() const { return Op(myOp); }
411  void setOp(Op val) { myOp = int64(val); }
412  Op opOp(const SOP_NodeVerb::CookParms &cookparms) const
413  {
414  SOP_Node *thissop = cookparms.getNode();
415  if (!thissop) return getOp();
416  int64 result;
417  OP_Utils::evalOpParm(result, thissop, "op", cookparms.getCookTime(), 0);
418  return Op(result);
419  }
420  fpreal64 getCrease() const { return myCrease; }
421  void setCrease(fpreal64 val) { myCrease = val; }
422  fpreal64 opCrease(const SOP_NodeVerb::CookParms &cookparms) const
423  {
424  SOP_Node *thissop = cookparms.getNode();
425  if (!thissop) return getCrease();
427  OP_Utils::evalOpParm(result, thissop, "crease", cookparms.getCookTime(), 0);
428  return result;
429  }
430  bool getAddcolor() const { return myAddcolor; }
431  void setAddcolor(bool val) { myAddcolor = val; }
432  bool opAddcolor(const SOP_NodeVerb::CookParms &cookparms) const
433  {
434  SOP_Node *thissop = cookparms.getNode();
435  if (!thissop) return getAddcolor();
436  bool result;
437  OP_Utils::evalOpParm(result, thissop, "addcolor", cookparms.getCookTime(), 0);
438  return result;
439  }
440  const UT_StringHolder & getCreaseattrib() const { return myCreaseattrib; }
441  void setCreaseattrib(const UT_StringHolder & val) { myCreaseattrib = val; }
443  {
444  SOP_Node *thissop = cookparms.getNode();
445  if (!thissop) return getCreaseattrib();
447  OP_Utils::evalOpParm(result, thissop, "creaseattrib", cookparms.getCookTime(), 0);
448  return result;
449  }
450 
451 private:
452  UT_StringHolder myGroup;
453  int64 myOp;
454  fpreal64 myCrease;
455  bool myAddcolor;
456  UT_StringHolder myCreaseattrib;
457 
458 };
type
Definition: core.h:977
void setNestParmValue(TempIndex idx, TempIndex instance, const exint &value) override
bool operator!=(const SOP_CreaseParms &src) const
exint nodeIdx() const
Definition: SOP_NodeVerb.h:102
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix2D &value) override
int int32
Definition: SYS_Types.h:39
SOP_Node * getNode() const
Definition: SOP_NodeVerb.h:734
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector3D &value) override
static void saveData(std::ostream &os, UT_StringHolder s)
void copyFrom(const SOP_NodeParms *src) override
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector2D &value) const override
void loadFromOpSubclass(const LoadParms &loadparms) override
static void loadData(UT_IStream &is, UT_Vector4I &v)
exint bread(int32 *buffer, exint asize=1)
GT_API const UT_StringHolder time
~SOP_CreaseParms() override
fpreal getTime() const
Definition: OP_Context.h:60
void setNestParmValue(TempIndex idx, TempIndex instance, const PRM_DataItemHandle &value) override
UT_StringHolder opGroup(const SOP_NodeVerb::CookParms &cookparms) const
const GLfloat * c
Definition: glew.h:16631
static void loadData(UT_IStream &is, bool &v)
void save(std::ostream &os) const
static void loadData(UT_IStream &is, UT_Vector2D &v)
int64 exint
Definition: SYS_Types.h:125
static void saveData(std::ostream &os, int64 v)
ParmType getNestParmType(TempIndex fieldnum) const override
static void loadData(UT_IStream &is, UT_StringHolder &v)
SYS_FORCE_INLINE const char * buffer() const
const SOP_GraphProxy * graph() const
Definition: SOP_NodeVerb.h:101
fpreal64 getCrease() const
An output stream object that owns its own string buffer storage.
Op opOp(const SOP_NodeVerb::CookParms &cookparms) const
bool operator==(const SOP_CreaseParms &src) const
static void saveData(std::ostream &os, bool v)
const char * getNestParmName(TempIndex fieldnum) const override
bool getAddcolor() const
GLenum src
Definition: glcorearb.h:1792
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_Matrix2D &v)
static void saveData(std::ostream &os, UT_Vector3D v)
static void saveData(std::ostream &os, UT_Matrix4D v)
static void loadData(UT_IStream &is, int64 &v)
static void saveData(std::ostream &os, UT_Vector2D v)
void buildFromOp(const SOP_GraphProxy *graph, exint nodeidx, fpreal time, DEP_MicroNode *depnode)
void doGetParmValue(TempIndex idx, TempIndex instance, T &value) const
double fpreal64
Definition: SYS_Types.h:201
void getNestParmValue(TempIndex idx, TempIndex instance, exint &value) const override
exint getNestNumParms(TempIndex idx) const override
static void saveData(std::ostream &os, UT_Vector4D v)
bool operator==(const BaseDimensions< T > &a, const BaseDimensions< Y > &b)
Definition: Dimensions.h:137
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix2D &value) const override
SYS_FORCE_INLINE T & y()
Definition: UT_Vector3.h:508
bool opAddcolor(const SOP_NodeVerb::CookParms &cookparms) const
exint length() const
fpreal64 opCrease(const SOP_NodeVerb::CookParms &cookparms) const
void setOp(Op val)
SYS_FORCE_INLINE const char * buffer() const
std::shared_ptr< T > UT_SharedPtr
Wrapper around std::shared_ptr.
Definition: UT_SharedPtr.h:30
UT_StringHolder opCreaseattrib(const SOP_NodeVerb::CookParms &cookparms) const
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix3D &value) override
const GLdouble * v
Definition: glcorearb.h:836
SYS_FORCE_INLINE T & z()
Definition: UT_Vector3.h:510
static void loadData(UT_IStream &is, UT_Vector3D &v)
void getNestParmValue(TempIndex idx, TempIndex instance, UT_StringHolder &value) const override
static void loadData(UT_IStream &is, UT_SharedPtr< UT_Ramp > &v)
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector3D &value) const override
long long int64
Definition: SYS_Types.h:116
static void saveData(std::ostream &os, PRM_DataItemHandle s)
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix4D &value) override
static int version()
bool load(UT_IStream &is)
void getNestParmValue(TempIndex idx, TempIndex instance, PRM_DataItemHandle &value) const override
static void saveData(std::ostream &os, UT_Matrix2D v)
void saveBinary(std::ostream &os) const
Save string to binary stream.
Definition: UT_String.h:287
void setNestParmValue(TempIndex idx, TempIndex instance, const fpreal &value) override
GT_API const UT_StringHolder version
DEP_MicroNode * depnode() const
Definition: SOP_NodeVerb.h:109
static void loadData(UT_IStream &is, UT_Vector2I &v)
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix3D &value) const override
void setAddcolor(bool val)
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix4D &value) const override
GLboolean * data
Definition: glcorearb.h:130
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector2D &value) override
static void saveData(std::ostream &os, fpreal64 v)
GLuint GLfloat * val
Definition: glcorearb.h:1607
static void loadData(UT_IStream &is, fpreal64 &v)
static void loadData(UT_IStream &is, UT_Matrix4D &v)
static void loadData(UT_IStream &is, PRM_DataItemHandle &v)
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_StringHolder &value) override
void setCreaseattrib(const UT_StringHolder &val)
fpreal64 fpreal
Definition: SYS_Types.h:277
Utility class for containing a color ramp.
Definition: UT_Ramp.h:84
void setGroup(const UT_StringHolder &val)
#define SOP_API
Definition: SOP_API.h:10
GLsizei const GLfloat * value
Definition: glcorearb.h:823
static void loadData(UT_IStream &is, UT_Matrix3D &v)
virtual void evalOpParm(int64 &v, NodeIdx node, const char *parmname, fpreal time, DEP_MicroNode *depnode) const =0
const UT_StringHolder & getCreaseattrib() const
SYS_FORCE_INLINE T & x()
Definition: UT_Vector3.h:506
const UT_StringHolder & getGroup() const
fpreal getCookTime() const
Definition: SOP_NodeVerb.h:748
void getNestParmValue(TempIndex idx, TempIndex instance, fpreal &value) const override
const char * findChar(int c) const
Definition: UT_String.h:1371
#define UT_ASSERT(ZZ)
Definition: UT_Assert.h:171
static void saveData(std::ostream &os, UT_SharedPtr< UT_Ramp > s)
static void loadData(UT_IStream &is, UT_Vector4D &v)
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_SharedPtr< UT_Ramp > &value) override
GLboolean r
Definition: glcorearb.h:1221
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector4D &value) override
static void saveData(std::ostream &os, UT_Matrix3D v)
GLdouble s
Definition: glew.h:1395
void getNestParmValue(TempIndex idx, TempIndex instance, UT_SharedPtr< UT_Ramp > &value) const override
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector4D &value) const override
void setCrease(fpreal64 val)
const OP_Context & context() const
Definition: SOP_NodeVerb.h:107
UT_SharedPtr< const PRM_DataItem > PRM_DataItemHandle
Definition: PRM_Parm.h:89
SYS_FORCE_INLINE bool isstring() const
static void loadData(UT_IStream &is, UT_Vector3I &v)
SYS_FORCE_INLINE void strncpy(const char *src, exint maxlen)
void doSetParmValue(TempIndex idx, TempIndex instance, const T &value)