HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SOP_TransformByAttrib.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 <OP/OP_Utils.h>
8 #include <PRM/PRM_Parm.h>
9 #include <UT/UT_IStream.h>
10 #include <UT/UT_NTStreamUtil.h>
11 #include <UT/UT_Ramp.h>
12 #include <UT/UT_SharedPtr.h>
13 #include <UT/UT_StringHolder.h>
14 #include <UT/UT_StringStream.h>
15 #include <UT/UT_VectorTypes.h>
16 #include <SYS/SYS_Types.h>
17 
18 using namespace UT::Literal;
19 
20 class DEP_MicroNode;
21 namespace SOP_TransformByAttribEnums
22 {
23  enum class Grouptype
24  {
25  GUESS = 0,
26  BREAKPOINTS,
27  EDGES,
28  POINTS,
29  PRIMS
30  };
31 }
32 
33 
35 {
36 public:
37  static int version() { return 1; }
38 
40  {
41  myGroup = ""_sh;
42  myGrouptype = 0;
43  myXformattrib = "xform"_sh;
44  myInvertXform = false;
45  myAttribs = "*"_sh;
46  myUpdateaffectednmls = false;
47  myVlength = false;
48  myDeletexform = false;
49 
50  }
51 
52  explicit SOP_TransformByAttribParms(const SOP_TransformByAttribParms &) = default;
53 
55 
57  {
58  if (myGroup != src.myGroup) return false;
59  if (myGrouptype != src.myGrouptype) return false;
60  if (myXformattrib != src.myXformattrib) return false;
61  if (myInvertXform != src.myInvertXform) return false;
62  if (myAttribs != src.myAttribs) return false;
63  if (myUpdateaffectednmls != src.myUpdateaffectednmls) return false;
64  if (myVlength != src.myVlength) return false;
65  if (myDeletexform != src.myDeletexform) return false;
66 
67  return true;
68  }
70  {
71  return !operator==(src);
72  }
74 
75 
76 
77  void buildFromOp(const OP_Node *node, fpreal time, DEP_MicroNode *depnode)
78  {
79  if (true)
80  OP_Utils::evalOpParm(myGroup, node, "group", time, 0);
81  else myGroup = ""_sh;
82  if (true)
83  OP_Utils::evalOpParm(myGrouptype, node, "grouptype", time, 0);
84  else myGrouptype = 0;
85  if (true)
86  OP_Utils::evalOpParm(myXformattrib, node, "xformattrib", time, 0);
87  else myXformattrib = "xform"_sh;
88  if (true)
89  OP_Utils::evalOpParm(myInvertXform, node, "invertxform", time, 0);
90  else myInvertXform = false;
91  if (true)
92  OP_Utils::evalOpParm(myAttribs, node, "attribs", time, 0);
93  else myAttribs = "*"_sh;
94  if (true)
95  OP_Utils::evalOpParm(myUpdateaffectednmls, node, "updateaffectednmls", time, 0);
96  else myUpdateaffectednmls = false;
97  if (true)
98  OP_Utils::evalOpParm(myVlength, node, "vlength", time, 0);
99  else myVlength = false;
100  if (true)
101  OP_Utils::evalOpParm(myDeletexform, node, "deletexform", time, 0);
102  else myDeletexform = false;
103 
104  }
105 
106 
107  virtual void loadFromOpSubclass(const LoadParms &loadparms)
108  {
109  buildFromOp(loadparms.node(), loadparms.context().getTime(), loadparms.depnode());
110  }
111 
112 
113  virtual void copyFrom(const SOP_NodeParms *src)
114  {
115  *this = *((const SOP_TransformByAttribParms *)src);
116  }
117 
118  template <typename T>
119  void
120  doGetParmValue(exint idx, T &value) const
121  {
122  switch (idx)
123  {
124  case 0:
125  coerceValue(value, myGroup);
126  break;
127  case 1:
128  coerceValue(value, myGrouptype);
129  break;
130  case 2:
131  coerceValue(value, myXformattrib);
132  break;
133  case 3:
134  coerceValue(value, myInvertXform);
135  break;
136  case 4:
137  coerceValue(value, myAttribs);
138  break;
139  case 5:
140  coerceValue(value, myUpdateaffectednmls);
141  break;
142  case 6:
143  coerceValue(value, myVlength);
144  break;
145  case 7:
146  coerceValue(value, myDeletexform);
147  break;
148 
149  }
150  }
151 
152  void getParmValue(exint idx, exint &value) const
153  { doGetParmValue(idx, value); }
154  void getParmValue(exint idx, fpreal &value) const
155  { doGetParmValue(idx, value); }
157  { doGetParmValue(idx, value); }
159  { doGetParmValue(idx, value); }
161  { doGetParmValue(idx, value); }
163  { doGetParmValue(idx, value); }
165  { doGetParmValue(idx, value); }
167  { doGetParmValue(idx, value); }
169  { doGetParmValue(idx, value); }
171  { doGetParmValue(idx, value); }
173  { doGetParmValue(idx, value); }
174 
175  template <typename T>
176  void
177  doSetParmValue(exint idx, const T &value)
178  {
179  switch (idx)
180  {
181  case 0:
182  coerceValue(myGroup, value);
183  break;
184  case 1:
185  coerceValue(myGrouptype, value);
186  break;
187  case 2:
188  coerceValue(myXformattrib, value);
189  break;
190  case 3:
191  coerceValue(myInvertXform, value);
192  break;
193  case 4:
194  coerceValue(myAttribs, value);
195  break;
196  case 5:
197  coerceValue(myUpdateaffectednmls, value);
198  break;
199  case 6:
200  coerceValue(myVlength, value);
201  break;
202  case 7:
203  coerceValue(myDeletexform, value);
204  break;
205 
206  }
207  }
208 
209  void setParmValue(exint idx, const exint &value)
210  { doSetParmValue(idx, value); }
211  void setParmValue(exint idx, const fpreal &value)
212  { doSetParmValue(idx, value); }
213  void setParmValue(exint idx, const UT_Vector2D &value)
214  { doSetParmValue(idx, value); }
215  void setParmValue(exint idx, const UT_Vector3D &value)
216  { doSetParmValue(idx, value); }
217  void setParmValue(exint idx, const UT_Vector4D &value)
218  { doSetParmValue(idx, value); }
219  void setParmValue(exint idx, const UT_Matrix2D &value)
220  { doSetParmValue(idx, value); }
221  void setParmValue(exint idx, const UT_Matrix3D &value)
222  { doSetParmValue(idx, value); }
223  void setParmValue(exint idx, const UT_Matrix4D &value)
224  { doSetParmValue(idx, value); }
226  { doSetParmValue(idx, value); }
228  { doSetParmValue(idx, value); }
230  { doSetParmValue(idx, value); }
231 
232  virtual exint getNumParms() const
233  {
234  return 8;
235  }
236 
237  virtual const char *getParmName(exint fieldnum) const
238  {
239  switch (fieldnum)
240  {
241  case 0:
242  return "group";
243  case 1:
244  return "grouptype";
245  case 2:
246  return "xformattrib";
247  case 3:
248  return "invertxform";
249  case 4:
250  return "attribs";
251  case 5:
252  return "updateaffectednmls";
253  case 6:
254  return "vlength";
255  case 7:
256  return "deletexform";
257 
258  }
259  return 0;
260  }
261 
262  virtual ParmType getParmType(exint fieldnum) const
263  {
264  switch (fieldnum)
265  {
266  case 0:
267  return PARM_STRING;
268  case 1:
269  return PARM_INTEGER;
270  case 2:
271  return PARM_STRING;
272  case 3:
273  return PARM_INTEGER;
274  case 4:
275  return PARM_STRING;
276  case 5:
277  return PARM_INTEGER;
278  case 6:
279  return PARM_INTEGER;
280  case 7:
281  return PARM_INTEGER;
282 
283  }
284  return PARM_UNSUPPORTED;
285  }
286 
287  // Boiler plate to load individual types.
288  static void loadData(UT_IStream &is, int64 &v)
289  { is.bread(&v, 1); }
290  static void loadData(UT_IStream &is, bool &v)
291  { int64 iv; is.bread(&iv, 1); v = iv; }
292  static void loadData(UT_IStream &is, fpreal64 &v)
293  { is.bread<fpreal64>(&v, 1); }
294  static void loadData(UT_IStream &is, UT_Vector2D &v)
295  { is.bread<fpreal64>(&v.x(), 1); is.bread<fpreal64>(&v.y(), 1); }
296  static void loadData(UT_IStream &is, UT_Vector3D &v)
297  { is.bread<fpreal64>(&v.x(), 1); is.bread<fpreal64>(&v.y(), 1);
298  is.bread<fpreal64>(&v.z(), 1); }
299  static void loadData(UT_IStream &is, UT_Vector4D &v)
300  { is.bread<fpreal64>(&v.x(), 1); is.bread<fpreal64>(&v.y(), 1);
301  is.bread<fpreal64>(&v.z(), 1); is.bread<fpreal64>(&v.w(), 1); }
302  static void loadData(UT_IStream &is, UT_Matrix2D &v)
303  { for (int r = 0; r < 2; r++) for (int c = 0; c < 2; c++) is.bread<fpreal64>(&v(r, c), 1); }
304  static void loadData(UT_IStream &is, UT_Matrix3D &v)
305  { for (int r = 0; r < 3; r++) for (int c = 0; c < 3; c++) is.bread<fpreal64>(&v(r, c), 1); }
306  static void loadData(UT_IStream &is, UT_Matrix4D &v)
307  { for (int r = 0; r < 4; r++) for (int c = 0; c < 4; c++) is.bread<fpreal64>(&v(r, c), 1); }
308  static void loadData(UT_IStream &is, UT_Vector2I &v)
309  { is.bread<int64>(&v.x(), 1); is.bread<int64>(&v.y(), 1); }
310  static void loadData(UT_IStream &is, UT_Vector3I &v)
311  { is.bread<int64>(&v.x(), 1); is.bread<int64>(&v.y(), 1);
312  is.bread<int64>(&v.z(), 1); }
313  static void loadData(UT_IStream &is, UT_Vector4I &v)
314  { is.bread<int64>(&v.x(), 1); is.bread<int64>(&v.y(), 1);
315  is.bread<int64>(&v.z(), 1); is.bread<int64>(&v.w(), 1); }
317  { is.bread(v); }
319  { UT_StringHolder rampdata;
320  loadData(is, rampdata);
321  if (rampdata.isstring())
322  {
323  v.reset(new UT_Ramp());
324  UT_IStream istr((const char *) rampdata, rampdata.length(), UT_ISTREAM_ASCII);
325  v->load(istr);
326  }
327  else v.reset();
328  }
331  loadData(is, data);
332  if (data.isstring())
333  {
334  // Find the data type.
335  char *colon = UT_StringWrap(data).findChar(':');
336  if (colon)
337  {
338  int typelen = colon - data.buffer();
340  type.strncpy(data.buffer(), typelen);
341  UT_IStream istr(((const char *) data) + typelen + 1, data.length() - (typelen + 1), UT_ISTREAM_BINARY);
342 
343  v = PRM_DataFactory::parseBinary(type.buffer(), istr);
344  }
345  }
346  else v.reset();
347  }
348 
349  static void saveData(std::ostream &os, int64 v)
350  { UTwrite(os, &v); }
351  static void saveData(std::ostream &os, bool v)
352  { int64 iv = v; UTwrite(os, &iv); }
353  static void saveData(std::ostream &os, fpreal64 v)
354  { UTwrite<fpreal64>(os, &v); }
355  static void saveData(std::ostream &os, UT_Vector2D v)
356  { UTwrite<fpreal64>(os, &v.x()); UTwrite<fpreal64>(os, &v.y()); }
357  static void saveData(std::ostream &os, UT_Vector3D v)
358  { UTwrite<fpreal64>(os, &v.x()); UTwrite<fpreal64>(os, &v.y());
359  UTwrite<fpreal64>(os, &v.z()); }
360  static void saveData(std::ostream &os, UT_Vector4D v)
361  { UTwrite<fpreal64>(os, &v.x()); UTwrite<fpreal64>(os, &v.y());
362  UTwrite<fpreal64>(os, &v.z()); UTwrite<fpreal64>(os, &v.w()); }
363  static void saveData(std::ostream &os, UT_Matrix2D v)
365  static void saveData(std::ostream &os, UT_Matrix3D v)
367  static void saveData(std::ostream &os, UT_Matrix4D v)
369  static void saveData(std::ostream &os, UT_StringHolder s)
370  { UT_StringWrap(s).saveBinary(os); }
371  static void saveData(std::ostream &os, UT_SharedPtr<UT_Ramp> s)
372  { UT_StringHolder result;
373  UT_OStringStream ostr;
374  if (s) s->save(ostr);
375  result = ostr.str();
376  saveData(os, result);
377  }
378  static void saveData(std::ostream &os, PRM_DataItemHandle s)
379  { UT_StringHolder result;
380  UT_OStringStream ostr;
381  if (s)
382  {
383  ostr << s->getDataTypeToken();
384  ostr << ":";
385  s->saveBinary(ostr);
386  }
387  result = ostr.str();
388  saveData(os, result);
389  }
390 
391 
392  void save(std::ostream &os) const
393  {
394  int32 v = version();
395  UTwrite(os, &v);
396  saveData(os, myGroup);
397  saveData(os, myGrouptype);
398  saveData(os, myXformattrib);
399  saveData(os, myInvertXform);
400  saveData(os, myAttribs);
401  saveData(os, myUpdateaffectednmls);
402  saveData(os, myVlength);
403  saveData(os, myDeletexform);
404 
405  }
406 
407  bool load(UT_IStream &is)
408  {
409  int32 v;
410  is.bread(&v, 1);
411  if (version() != v)
412  {
413  // Fail incompatible versions
414  return false;
415  }
416  loadData(is, myGroup);
417  loadData(is, myGrouptype);
418  loadData(is, myXformattrib);
419  loadData(is, myInvertXform);
420  loadData(is, myAttribs);
421  loadData(is, myUpdateaffectednmls);
422  loadData(is, myVlength);
423  loadData(is, myDeletexform);
424 
425  return true;
426  }
427 
428  const UT_StringHolder & getGroup() const { return myGroup; }
429  void setGroup(const UT_StringHolder & val) { myGroup = val; }
431  {
432  SOP_Node *thissop = cookparms.getNode();
433  if (!thissop) return getGroup();
434  UT_StringHolder result;
435  OP_Utils::evalOpParm(result, thissop, "group", cookparms.getCookTime(), 0);
436  return result;
437  }
438  Grouptype getGrouptype() const { return Grouptype(myGrouptype); }
439  void setGrouptype(Grouptype val) { myGrouptype = int64(val); }
441  {
442  SOP_Node *thissop = cookparms.getNode();
443  if (!thissop) return getGrouptype();
444  int64 result;
445  OP_Utils::evalOpParm(result, thissop, "grouptype", cookparms.getCookTime(), 0);
446  return Grouptype(result);
447  }
448  const UT_StringHolder & getXformattrib() const { return myXformattrib; }
449  void setXformattrib(const UT_StringHolder & val) { myXformattrib = val; }
451  {
452  SOP_Node *thissop = cookparms.getNode();
453  if (!thissop) return getXformattrib();
454  UT_StringHolder result;
455  OP_Utils::evalOpParm(result, thissop, "xformattrib", cookparms.getCookTime(), 0);
456  return result;
457  }
458  bool getInvertXform() const { return myInvertXform; }
459  void setInvertXform(bool val) { myInvertXform = val; }
460  bool opInvertXform(const SOP_NodeVerb::CookParms &cookparms) const
461  {
462  SOP_Node *thissop = cookparms.getNode();
463  if (!thissop) return getInvertXform();
464  bool result;
465  OP_Utils::evalOpParm(result, thissop, "invertxform", cookparms.getCookTime(), 0);
466  return result;
467  }
468  const UT_StringHolder & getAttribs() const { return myAttribs; }
469  void setAttribs(const UT_StringHolder & val) { myAttribs = val; }
471  {
472  SOP_Node *thissop = cookparms.getNode();
473  if (!thissop) return getAttribs();
474  UT_StringHolder result;
475  OP_Utils::evalOpParm(result, thissop, "attribs", cookparms.getCookTime(), 0);
476  return result;
477  }
478  bool getUpdateaffectednmls() const { return myUpdateaffectednmls; }
479  void setUpdateaffectednmls(bool val) { myUpdateaffectednmls = val; }
480  bool opUpdateaffectednmls(const SOP_NodeVerb::CookParms &cookparms) const
481  {
482  SOP_Node *thissop = cookparms.getNode();
483  if (!thissop) return getUpdateaffectednmls();
484  bool result;
485  OP_Utils::evalOpParm(result, thissop, "updateaffectednmls", cookparms.getCookTime(), 0);
486  return result;
487  }
488  bool getVlength() const { return myVlength; }
489  void setVlength(bool val) { myVlength = val; }
490  bool opVlength(const SOP_NodeVerb::CookParms &cookparms) const
491  {
492  SOP_Node *thissop = cookparms.getNode();
493  if (!thissop) return getVlength();
494  bool result;
495  OP_Utils::evalOpParm(result, thissop, "vlength", cookparms.getCookTime(), 0);
496  return result;
497  }
498  bool getDeletexform() const { return myDeletexform; }
499  void setDeletexform(bool val) { myDeletexform = val; }
500  bool opDeletexform(const SOP_NodeVerb::CookParms &cookparms) const
501  {
502  SOP_Node *thissop = cookparms.getNode();
503  if (!thissop) return getDeletexform();
504  bool result;
505  OP_Utils::evalOpParm(result, thissop, "deletexform", cookparms.getCookTime(), 0);
506  return result;
507  }
508 
509 private:
510  UT_StringHolder myGroup;
511  int64 myGrouptype;
512  UT_StringHolder myXformattrib;
513  bool myInvertXform;
514  UT_StringHolder myAttribs;
515  bool myUpdateaffectednmls;
516  bool myVlength;
517  bool myDeletexform;
518 
519 };
static void saveData(std::ostream &os, UT_SharedPtr< UT_Ramp > s)
static void loadData(UT_IStream &is, PRM_DataItemHandle &v)
static void loadData(UT_IStream &is, UT_Vector3D &v)
static void loadData(UT_IStream &is, UT_Vector2I &v)
SOP_Node * getNode() const
Definition: SOP_NodeVerb.h:494
void getParmValue(exint idx, UT_Vector2D &value) const
T & z(void)
Definition: UT_Vector4.h:379
void setParmValue(exint idx, const UT_StringHolder &value)
static void saveData(std::ostream &os, PRM_DataItemHandle s)
const UT_StringHolder & getAttribs() const
const UT_StringHolder & getXformattrib() const
UT_StringHolder opGroup(const SOP_NodeVerb::CookParms &cookparms) const
exint bread(int32 *buffer, exint asize=1)
void getParmValue(exint idx, UT_Matrix3D &value) const
bool operator!=(const SOP_TransformByAttribParms &src) const
GT_API const UT_StringHolder time
fpreal getTime() const
Definition: OP_Context.h:60
const GLdouble * v
Definition: glcorearb.h:836
const UT_StringHolder & getGroup() const
static void saveData(std::ostream &os, UT_Matrix4D v)
void setParmValue(exint idx, const UT_Vector2D &value)
SYS_FORCE_INLINE const char * buffer() const
T & x(void)
Definition: UT_Vector2.h:285
bool opVlength(const SOP_NodeVerb::CookParms &cookparms) const
void setParmValue(exint idx, const UT_Vector3D &value)
bool opUpdateaffectednmls(const SOP_NodeVerb::CookParms &cookparms) const
An output stream object that owns its own string buffer storage.
static void loadData(UT_IStream &is, bool &v)
const UT_WorkBuffer & str() const
Returns a read-only reference to the underlying UT_WorkBuffer.
static void saveData(std::ostream &os, UT_Vector4D v)
static void loadData(UT_IStream &is, UT_Vector4D &v)
virtual void loadFromOpSubclass(const LoadParms &loadparms)
SYS_FORCE_INLINE T & x(void)
Definition: UT_Vector3.h:498
void setParmValue(exint idx, const UT_SharedPtr< UT_Ramp > &value)
static void saveData(std::ostream &os, bool v)
bool opInvertXform(const SOP_NodeVerb::CookParms &cookparms) const
static PRM_DataItemHandle parseBinary(const char *type, UT_IStream &is)
void setParmValue(exint idx, const UT_Matrix2D &value)
void doGetParmValue(exint idx, T &value) const
static void loadData(UT_IStream &is, UT_Vector4I &v)
UT_StringHolder opAttribs(const SOP_NodeVerb::CookParms &cookparms) const
static void loadData(UT_IStream &is, UT_SharedPtr< UT_Ramp > &v)
SYS_FORCE_INLINE T & z(void)
Definition: UT_Vector3.h:502
bool operator==(const BaseDimensions< T > &a, const BaseDimensions< Y > &b)
Definition: Dimensions.h:137
long long int64
Definition: SYS_Types.h:107
static void loadData(UT_IStream &is, fpreal64 &v)
void setParmValue(exint idx, const UT_Vector4D &value)
virtual void copyFrom(const SOP_NodeParms *src)
Grouptype opGrouptype(const SOP_NodeVerb::CookParms &cookparms) const
static void loadData(UT_IStream &is, UT_StringHolder &v)
exint length() const
char * findChar(int c) const
Find first occurrance of character. Returns NULL upon failure.
Definition: UT_String.h:550
SYS_FORCE_INLINE const char * buffer() const
std::shared_ptr< T > UT_SharedPtr
Wrapper around std::shared_ptr.
Definition: UT_SharedPtr.h:28
virtual ParmType getParmType(exint fieldnum) const
int64 exint
Definition: SYS_Types.h:116
static void loadData(UT_IStream &is, UT_Matrix2D &v)
static void saveData(std::ostream &os, UT_Vector3D v)
const OP_Node * node() const
Definition: SOP_NodeVerb.h:104
double fpreal64
Definition: SYS_Types.h:192
static void loadData(UT_IStream &is, UT_Matrix3D &v)
void getParmValue(exint idx, UT_Vector4D &value) const
void getParmValue(exint idx, UT_SharedPtr< UT_Ramp > &value) const
GLboolean * data
Definition: glcorearb.h:130
static void loadData(UT_IStream &is, UT_Vector2D &v)
void setParmValue(exint idx, const UT_Matrix4D &value)
int int32
Definition: SYS_Types.h:35
T & y(void)
Definition: UT_Vector4.h:377
void setParmValue(exint idx, const UT_Matrix3D &value)
bool opDeletexform(const SOP_NodeVerb::CookParms &cookparms) const
void doSetParmValue(exint idx, const T &value)
void getParmValue(exint idx, UT_StringHolder &value) const
void saveBinary(std::ostream &os) const
Save string to binary stream.
Definition: UT_String.h:294
static void saveData(std::ostream &os, int64 v)
GT_API const UT_StringHolder version
DEP_MicroNode * depnode() const
Definition: SOP_NodeVerb.h:111
void getParmValue(exint idx, fpreal &value) const
static void saveData(std::ostream &os, UT_Matrix2D v)
SYS_FORCE_INLINE T & y(void)
Definition: UT_Vector3.h:500
GLsizei const GLfloat * value
Definition: glcorearb.h:823
double fpreal
Definition: SYS_Types.h:270
static void saveData(std::ostream &os, fpreal64 v)
Utility class for containing a color ramp.
Definition: UT_Ramp.h:84
GLuint GLfloat * val
Definition: glcorearb.h:1607
void setParmValue(exint idx, const fpreal &value)
#define SOP_API
Definition: SOP_API.h:10
static void saveData(std::ostream &os, UT_Vector2D v)
static void saveData(std::ostream &os, UT_StringHolder s)
GLint GLint GLsizei GLint GLenum GLenum type
Definition: glcorearb.h:107
fpreal getCookTime() const
Definition: SOP_NodeVerb.h:501
T & x(void)
Definition: UT_Vector4.h:375
void setGroup(const UT_StringHolder &val)
static void saveData(std::ostream &os, UT_Matrix3D v)
T & y(void)
Definition: UT_Vector2.h:287
virtual const char * getParmName(exint fieldnum) const
void buildFromOp(const OP_Node *node, fpreal time, DEP_MicroNode *depnode)
GLboolean r
Definition: glcorearb.h:1221
void save(std::ostream &os) const
void getParmValue(exint idx, exint &value) const
void setParmValue(exint idx, const exint &value)
void setParmValue(exint idx, const PRM_DataItemHandle &value)
T & w(void)
Definition: UT_Vector4.h:381
void getParmValue(exint idx, PRM_DataItemHandle &value) const
static void loadData(UT_IStream &is, int64 &v)
void getParmValue(exint idx, UT_Vector3D &value) const
void getParmValue(exint idx, UT_Matrix4D &value) const
UT_StringHolder opXformattrib(const SOP_NodeVerb::CookParms &cookparms) const
void getParmValue(exint idx, UT_Matrix2D &value) const
const OP_Context & context() const
Definition: SOP_NodeVerb.h:109
UT_SharedPtr< const PRM_DataItem > PRM_DataItemHandle
Definition: PRM_Parm.h:88
bool operator==(const SOP_TransformByAttribParms &src) const
static void loadData(UT_IStream &is, UT_Vector3I &v)
SYS_FORCE_INLINE bool isstring() const
static void loadData(UT_IStream &is, UT_Matrix4D &v)
void setAttribs(const UT_StringHolder &val)
void setXformattrib(const UT_StringHolder &val)
SYS_FORCE_INLINE void strncpy(const char *src, exint maxlen)
GLenum src
Definition: glcorearb.h:1792