HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SOP_VolumeBound.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_VolumeBoundEnums
24 {
25  enum class Comp
26  {
27  GREATER = 0,
28  LESS,
31  };
32 }
33 
34 
36 {
37 public:
38  static int version() { return 1; }
39 
41  {
42  myGroup = ""_UTsh;
43  myComp = 0;
44  myValue = 0;
45  myVoxelpad = UT_Vector3D(0,0,0);
46 
47  }
48 
49  explicit SOP_VolumeBoundParms(const SOP_VolumeBoundParms &) = default;
51  SOP_VolumeBoundParms(SOP_VolumeBoundParms &&) noexcept = default;
52  SOP_VolumeBoundParms &operator=(SOP_VolumeBoundParms &&) noexcept = default;
53 
54  ~SOP_VolumeBoundParms() override {}
55 
56  bool operator==(const SOP_VolumeBoundParms &src) const
57  {
58  if (myGroup != src.myGroup) return false;
59  if (myComp != src.myComp) return false;
60  if (myValue != src.myValue) return false;
61  if (myVoxelpad != src.myVoxelpad) return false;
62 
63  return true;
64  }
65  bool operator!=(const SOP_VolumeBoundParms &src) const
66  {
67  return !operator==(src);
68  }
70 
71 
72 
73  void buildFromOp(const OP_GraphProxy *graph, exint nodeidx, fpreal time, DEP_MicroNode *depnode)
74  {
75  myGroup = ""_UTsh;
76  if (true)
77  graph->evalOpParm(myGroup, nodeidx, "group", time, 0);
78  myComp = 0;
79  if (true)
80  graph->evalOpParm(myComp, nodeidx, "comp", time, 0);
81  myValue = 0;
82  if (true)
83  graph->evalOpParm(myValue, nodeidx, "value", time, 0);
84  myVoxelpad = UT_Vector3D(0,0,0);
85  if (true)
86  graph->evalOpParm(myVoxelpad, nodeidx, "voxelpad", time, 0);
87 
88  }
89 
90 
91  void loadFromOpSubclass(const LoadParms &loadparms) override
92  {
93  buildFromOp(loadparms.graph(), loadparms.nodeIdx(), loadparms.context().getTime(), loadparms.depnode());
94  }
95 
96 
97  void copyFrom(const OP_NodeParms *src) override
98  {
99  *this = *((const SOP_VolumeBoundParms *)src);
100  }
101 
102  template <typename T>
103  void
104  doGetParmValue(TempIndex idx, TempIndex instance, T &value) const
105  {
106  if (idx.size() < 1)
107  return;
108  UT_ASSERT(idx.size() == instance.size()+1);
109  if (idx.size() != instance.size()+1)
110  return;
111  switch (idx[0])
112  {
113  case 0:
114  coerceValue(value, myGroup);
115  break;
116  case 1:
117  coerceValue(value, myComp);
118  break;
119  case 2:
120  coerceValue(value, myValue);
121  break;
122  case 3:
123  coerceValue(value, myVoxelpad);
124  break;
125 
126  }
127  }
128 
129  bool isParmColorRamp(exint idx) const override
130  {
131  switch (idx)
132  {
133 
134  }
135  return false;
136  }
137 
138  void getNestParmValue(TempIndex idx, TempIndex instance, exint &value) const override
139  { doGetParmValue(idx, instance, value); }
140  void getNestParmValue(TempIndex idx, TempIndex instance, fpreal &value) const override
141  { doGetParmValue(idx, instance, value); }
142  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector2D &value) const override
143  { doGetParmValue(idx, instance, value); }
144  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector3D &value) const override
145  { doGetParmValue(idx, instance, value); }
146  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector4D &value) const override
147  { doGetParmValue(idx, instance, value); }
148  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix2D &value) const override
149  { doGetParmValue(idx, instance, value); }
150  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix3D &value) const override
151  { doGetParmValue(idx, instance, value); }
152  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix4D &value) const override
153  { doGetParmValue(idx, instance, value); }
154  void getNestParmValue(TempIndex idx, TempIndex instance, UT_StringHolder &value) const override
155  { doGetParmValue(idx, instance, value); }
156  void getNestParmValue(TempIndex idx, TempIndex instance, UT_SharedPtr<UT_Ramp> &value) const override
157  { doGetParmValue(idx, instance, value); }
158  void getNestParmValue(TempIndex idx, TempIndex instance, PRM_DataItemHandle &value) const override
159  { doGetParmValue(idx, instance, value); }
160 
161  template <typename T>
162  void
163  doSetParmValue(TempIndex idx, TempIndex instance, const T &value)
164  {
165  if (idx.size() < 1)
166  return;
167  UT_ASSERT(idx.size() == instance.size()+1);
168  if (idx.size() != instance.size()+1)
169  return;
170  switch (idx[0])
171  {
172  case 0:
173  coerceValue(myGroup, ( ( value ) ));
174  break;
175  case 1:
176  coerceValue(myComp, clampMinValue(0, clampMaxValue(3, value ) ));
177  break;
178  case 2:
179  coerceValue(myValue, ( ( value ) ));
180  break;
181  case 3:
182  coerceValue(myVoxelpad, ( ( 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 4;
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 "comp";
233  case 2:
234  return "value";
235  case 3:
236  return "voxelpad";
237 
238  }
239  return 0;
240  }
241 
242  ParmType getNestParmType(TempIndex fieldnum) const override
243  {
244  if (fieldnum.size() < 1)
245  return PARM_UNSUPPORTED;
246  switch (fieldnum[0])
247  {
248  case 0:
249  return PARM_STRING;
250  case 1:
251  return PARM_INTEGER;
252  case 2:
253  return PARM_FLOAT;
254  case 3:
255  return PARM_VECTOR3;
256 
257  }
258  return PARM_UNSUPPORTED;
259  }
260 
261  // Boiler plate to load individual types.
262  static void loadData(UT_IStream &is, int64 &v)
263  { is.bread(&v, 1); }
264  static void loadData(UT_IStream &is, bool &v)
265  { int64 iv; is.bread(&iv, 1); v = iv; }
266  static void loadData(UT_IStream &is, fpreal64 &v)
267  { is.bread<fpreal64>(&v, 1); }
268  static void loadData(UT_IStream &is, UT_Vector2D &v)
269  { is.bread<fpreal64>(&v.x(), 1); is.bread<fpreal64>(&v.y(), 1); }
270  static void loadData(UT_IStream &is, UT_Vector3D &v)
271  { is.bread<fpreal64>(&v.x(), 1); is.bread<fpreal64>(&v.y(), 1);
272  is.bread<fpreal64>(&v.z(), 1); }
273  static void loadData(UT_IStream &is, UT_Vector4D &v)
274  { is.bread<fpreal64>(&v.x(), 1); is.bread<fpreal64>(&v.y(), 1);
275  is.bread<fpreal64>(&v.z(), 1); is.bread<fpreal64>(&v.w(), 1); }
276  static void loadData(UT_IStream &is, UT_Matrix2D &v)
277  { for (int r = 0; r < 2; r++) for (int c = 0; c < 2; c++) is.bread<fpreal64>(&v(r, c), 1); }
278  static void loadData(UT_IStream &is, UT_Matrix3D &v)
279  { for (int r = 0; r < 3; r++) for (int c = 0; c < 3; c++) is.bread<fpreal64>(&v(r, c), 1); }
280  static void loadData(UT_IStream &is, UT_Matrix4D &v)
281  { for (int r = 0; r < 4; r++) for (int c = 0; c < 4; c++) is.bread<fpreal64>(&v(r, c), 1); }
282  static void loadData(UT_IStream &is, UT_Vector2I &v)
283  { is.bread<int64>(&v.x(), 1); is.bread<int64>(&v.y(), 1); }
284  static void loadData(UT_IStream &is, UT_Vector3I &v)
285  { is.bread<int64>(&v.x(), 1); is.bread<int64>(&v.y(), 1);
286  is.bread<int64>(&v.z(), 1); }
287  static void loadData(UT_IStream &is, UT_Vector4I &v)
288  { is.bread<int64>(&v.x(), 1); is.bread<int64>(&v.y(), 1);
289  is.bread<int64>(&v.z(), 1); is.bread<int64>(&v.w(), 1); }
291  { is.bread(v); }
293  { UT_StringHolder rampdata;
294  loadData(is, rampdata);
295  if (rampdata.isstring())
296  {
297  v.reset(new UT_Ramp());
298  UT_IStream istr((const char *) rampdata, rampdata.length(), UT_ISTREAM_ASCII);
299  v->load(istr);
300  }
301  else v.reset();
302  }
305  loadData(is, data);
306  if (data.isstring())
307  {
308  // Find the data type.
309  const char *colon = UT_StringWrap(data).findChar(':');
310  if (colon)
311  {
312  int typelen = colon - data.buffer();
314  type.strncpy(data.buffer(), typelen);
315  UT_IStream istr(((const char *) data) + typelen + 1, data.length() - (typelen + 1), UT_ISTREAM_BINARY);
316 
317  v = PRM_DataFactory::parseBinary(type.buffer(), istr);
318  }
319  }
320  else v.reset();
321  }
322 
323  static void saveData(std::ostream &os, int64 v)
324  { UTwrite(os, &v); }
325  static void saveData(std::ostream &os, bool v)
326  { int64 iv = v; UTwrite(os, &iv); }
327  static void saveData(std::ostream &os, fpreal64 v)
328  { UTwrite<fpreal64>(os, &v); }
329  static void saveData(std::ostream &os, UT_Vector2D v)
330  { UTwrite<fpreal64>(os, &v.x()); UTwrite<fpreal64>(os, &v.y()); }
331  static void saveData(std::ostream &os, UT_Vector3D v)
332  { UTwrite<fpreal64>(os, &v.x()); UTwrite<fpreal64>(os, &v.y());
333  UTwrite<fpreal64>(os, &v.z()); }
334  static void saveData(std::ostream &os, UT_Vector4D v)
335  { UTwrite<fpreal64>(os, &v.x()); UTwrite<fpreal64>(os, &v.y());
336  UTwrite<fpreal64>(os, &v.z()); UTwrite<fpreal64>(os, &v.w()); }
337  static void saveData(std::ostream &os, UT_Matrix2D v)
339  static void saveData(std::ostream &os, UT_Matrix3D v)
341  static void saveData(std::ostream &os, UT_Matrix4D v)
343  static void saveData(std::ostream &os, UT_StringHolder s)
344  { UT_StringWrap(s).saveBinary(os); }
345  static void saveData(std::ostream &os, UT_SharedPtr<UT_Ramp> s)
347  UT_OStringStream ostr;
348  if (s) s->save(ostr);
349  result = ostr.str();
350  saveData(os, result);
351  }
352  static void saveData(std::ostream &os, PRM_DataItemHandle s)
354  UT_OStringStream ostr;
355  if (s)
356  {
357  ostr << s->getDataTypeToken();
358  ostr << ":";
359  s->saveBinary(ostr);
360  }
361  result = ostr.str();
362  saveData(os, result);
363  }
364 
365 
366  void save(std::ostream &os) const
367  {
368  int32 v = version();
369  UTwrite(os, &v);
370  saveData(os, myGroup);
371  saveData(os, myComp);
372  saveData(os, myValue);
373  saveData(os, myVoxelpad);
374 
375  }
376 
377  bool load(UT_IStream &is)
378  {
379  int32 v;
380  is.bread(&v, 1);
381  if (version() != v)
382  {
383  // Fail incompatible versions
384  return false;
385  }
386  loadData(is, myGroup);
387  loadData(is, myComp);
388  loadData(is, myValue);
389  loadData(is, myVoxelpad);
390 
391  return true;
392  }
393 
394  const UT_StringHolder & getGroup() const { return myGroup; }
395  void setGroup(const UT_StringHolder & val) { myGroup = val; }
397  {
398  SOP_Node *thissop = cookparms.getNode();
399  if (!thissop) return getGroup();
401  OP_Utils::evalOpParm(result, thissop, "group", cookparms.getCookTime(), 0);
402  return result;
403  }
404  Comp getComp() const { return Comp(myComp); }
405  void setComp(Comp val) { myComp = int64(val); }
406  Comp opComp(const SOP_NodeVerb::CookParms &cookparms) const
407  {
408  SOP_Node *thissop = cookparms.getNode();
409  if (!thissop) return getComp();
410  int64 result;
411  OP_Utils::evalOpParm(result, thissop, "comp", cookparms.getCookTime(), 0);
412  return Comp(result);
413  }
414  fpreal64 getValue() const { return myValue; }
415  void setValue(fpreal64 val) { myValue = val; }
416  fpreal64 opValue(const SOP_NodeVerb::CookParms &cookparms) const
417  {
418  SOP_Node *thissop = cookparms.getNode();
419  if (!thissop) return getValue();
421  OP_Utils::evalOpParm(result, thissop, "value", cookparms.getCookTime(), 0);
422  return result;
423  }
424  UT_Vector3D getVoxelpad() const { return myVoxelpad; }
425  void setVoxelpad(UT_Vector3D val) { myVoxelpad = val; }
427  {
428  SOP_Node *thissop = cookparms.getNode();
429  if (!thissop) return getVoxelpad();
431  OP_Utils::evalOpParm(result, thissop, "voxelpad", cookparms.getCookTime(), 0);
432  return result;
433  }
434 
435 private:
436  UT_StringHolder myGroup;
437  int64 myComp;
438  fpreal64 myValue;
439  UT_Vector3D myVoxelpad;
440 
441 };
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector2D &value) const override
Comp opComp(const SOP_NodeVerb::CookParms &cookparms) const
static void loadData(UT_IStream &is, fpreal64 &v)
bool isParmColorRamp(exint idx) const override
int int32
Definition: SYS_Types.h:39
SOP_Node * getNode() const
Definition: SOP_NodeVerb.h:347
static void loadData(UT_IStream &is, UT_Matrix4D &v)
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix2D &value) const override
T clampMaxValue(fpreal maxvalue, const T &src) const
Definition: OP_NodeParms.h:315
bool operator!=(const SOP_VolumeBoundParms &src) const
static void loadData(UT_IStream &is, UT_Vector4I &v)
exint bread(int32 *buffer, exint asize=1)
GLboolean * data
Definition: glcorearb.h:131
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
fpreal getTime() const
Definition: OP_Context.h:62
void setValue(fpreal64 val)
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector3D &value) const override
const OP_Context & context() const
Definition: OP_NodeParms.h:97
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
fpreal64 getValue() const
An output stream object that owns its own string buffer storage.
**But if you need a result
Definition: thread.h:613
T clampMinValue(fpreal minvalue, const T &src) const
Definition: OP_NodeParms.h:308
void copyFrom(const OP_NodeParms *src) override
bool operator==(const SOP_VolumeBoundParms &src) const
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector4D &value) const override
exint nodeIdx() const
Definition: OP_NodeParms.h:95
static PRM_DataItemHandle parseBinary(const char *type, UT_IStream &is)
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector4D &value) override
const UT_WorkBuffer & str()
Returns a read-only reference to the underlying UT_WorkBuffer.
void setNestParmValue(TempIndex idx, TempIndex instance, const fpreal &value) override
constexpr SYS_FORCE_INLINE T & x() noexcept
Definition: UT_Vector4.h:491
void setNestParmValue(TempIndex idx, TempIndex instance, const exint &value) override
static void saveData(std::ostream &os, UT_SharedPtr< UT_Ramp > s)
double fpreal64
Definition: SYS_Types.h:201
constexpr SYS_FORCE_INLINE T & x() noexcept
Definition: UT_Vector2.h:423
bool operator==(const BaseDimensions< T > &a, const BaseDimensions< Y > &b)
Definition: Dimensions.h:137
UT_Vector3D opVoxelpad(const SOP_NodeVerb::CookParms &cookparms) const
void save(std::ostream &os) const
void doGetParmValue(TempIndex idx, TempIndex instance, T &value) const
void loadFromOpSubclass(const LoadParms &loadparms) override
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix3D &value) override
exint length() const
static void loadData(UT_IStream &is, UT_Vector2D &v)
static void loadData(UT_IStream &is, UT_Vector2I &v)
static void loadData(UT_IStream &is, UT_Vector3D &v)
SYS_FORCE_INLINE const char * buffer() const
std::shared_ptr< T > UT_SharedPtr
Wrapper around std::shared_ptr.
Definition: UT_SharedPtr.h:36
constexpr SYS_FORCE_INLINE T & z() noexcept
Definition: UT_Vector4.h:495
static void saveData(std::ostream &os, UT_Vector4D v)
void buildFromOp(const OP_GraphProxy *graph, exint nodeidx, fpreal time, DEP_MicroNode *depnode)
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector3D &value) override
const OP_GraphProxy * graph() const
Definition: OP_NodeParms.h:94
static void loadData(UT_IStream &is, bool &v)
static void saveData(std::ostream &os, bool v)
UT_StringHolder opGroup(const SOP_NodeVerb::CookParms &cookparms) const
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix3D &value) const override
bool load(UT_IStream &is)
static void loadData(UT_IStream &is, UT_Matrix2D &v)
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_SharedPtr< UT_Ramp > &value) override
static void saveData(std::ostream &os, UT_Matrix3D v)
fpreal64 opValue(const SOP_NodeVerb::CookParms &cookparms) const
long long int64
Definition: SYS_Types.h:116
const UT_StringHolder & getGroup() const
void getNestParmValue(TempIndex idx, TempIndex instance, PRM_DataItemHandle &value) const override
UT_Vector3T< fpreal64 > UT_Vector3D
virtual void evalOpParm(int64 &v, NodeIdx node, const char *parmname, fpreal time, DEP_MicroNode *depnode) const =0
void setNestParmValue(TempIndex idx, TempIndex instance, const PRM_DataItemHandle &value) override
void setVoxelpad(UT_Vector3D val)
void saveBinary(std::ostream &os) const
Save string to binary stream.
Definition: UT_String.h:296
static void saveData(std::ostream &os, fpreal64 v)
GT_API const UT_StringHolder version
static void saveData(std::ostream &os, UT_StringHolder s)
const char * getNestParmName(TempIndex fieldnum) const override
void getNestParmValue(TempIndex idx, TempIndex instance, fpreal &value) const override
static void loadData(UT_IStream &is, UT_Matrix3D &v)
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector2D &value) override
static void saveData(std::ostream &os, UT_Vector3D v)
static void saveData(std::ostream &os, UT_Matrix4D v)
void coerceValue(T &result, const S &src) const
Definition: OP_NodeParms.h:301
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix4D &value) override
static void loadData(UT_IStream &is, UT_SharedPtr< UT_Ramp > &v)
fpreal64 fpreal
Definition: SYS_Types.h:277
void getNestParmValue(TempIndex idx, TempIndex instance, UT_SharedPtr< UT_Ramp > &value) const override
DEP_MicroNode * depnode() const
Definition: OP_NodeParms.h:99
static void loadData(UT_IStream &is, PRM_DataItemHandle &v)
static void saveData(std::ostream &os, UT_Matrix2D v)
Utility class for containing a color ramp.
Definition: UT_Ramp.h:88
constexpr SYS_FORCE_INLINE T & w() noexcept
Definition: UT_Vector4.h:497
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_StringHolder &value) override
static void loadData(UT_IStream &is, UT_Vector4D &v)
static void saveData(std::ostream &os, UT_Vector2D v)
GLuint GLfloat * val
Definition: glcorearb.h:1608
void getNestParmValue(TempIndex idx, TempIndex instance, exint &value) const override
#define SOP_API
Definition: SOP_API.h:10
void doSetParmValue(TempIndex idx, TempIndex instance, const T &value)
ParmType getNestParmType(TempIndex fieldnum) const override
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix4D &value) const override
exint getNestNumParms(TempIndex idx) const override
static void saveData(std::ostream &os, int64 v)
fpreal getCookTime() const
Definition: SOP_NodeVerb.h:361
void setGroup(const UT_StringHolder &val)
static void saveData(std::ostream &os, PRM_DataItemHandle s)
const char * findChar(int c) const
Definition: UT_String.h:1385
#define UT_ASSERT(ZZ)
Definition: UT_Assert.h:156
Definition: core.h:1131
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix2D &value) override
GLboolean r
Definition: glcorearb.h:1222
static void loadData(UT_IStream &is, UT_StringHolder &v)
static void loadData(UT_IStream &is, int64 &v)
constexpr SYS_FORCE_INLINE T & y() noexcept
Definition: UT_Vector3.h:665
type
Definition: core.h:1059
UT_Vector3D getVoxelpad() const
UT_SharedPtr< const PRM_DataItem > PRM_DataItemHandle
Definition: PRM_Parm.h:89
constexpr SYS_FORCE_INLINE T & y() noexcept
Definition: UT_Vector2.h:425
SYS_FORCE_INLINE bool isstring() const
OP_NodeParms & operator=(const OP_NodeParms &)=default
SYS_FORCE_INLINE void strncpy(const char *src, exint maxlen)
static void loadData(UT_IStream &is, UT_Vector3I &v)
GLenum src
Definition: glcorearb.h:1793
constexpr SYS_FORCE_INLINE T & x() noexcept
Definition: UT_Vector3.h:663
void getNestParmValue(TempIndex idx, TempIndex instance, UT_StringHolder &value) const override