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 
34  getToken(Comp enum_value)
35  {
36  using namespace UT::Literal;
37  switch (enum_value) {
38  case Comp::GREATER: return "greater"_sh;
39  case Comp::LESS: return "less"_sh;
40  case Comp::GREATER_STRICT: return "greater_strict"_sh;
41  case Comp::LESS_STRICT: return "less_strict"_sh;
42  default: UT_ASSERT(false); return ""_sh;
43  }
44  }
45 
46 }
47 
48 
50 {
51 public:
52  static int version() { return 1; }
53 
55  {
56  myGroup = ""_UTsh;
57  myComp = 0;
58  myValue = 0;
59  myVoxelpad = UT_Vector3D(0,0,0);
60 
61  }
62 
63  explicit SOP_VolumeBoundParms(const SOP_VolumeBoundParms &) = default;
65  SOP_VolumeBoundParms(SOP_VolumeBoundParms &&) noexcept = default;
66  SOP_VolumeBoundParms &operator=(SOP_VolumeBoundParms &&) noexcept = default;
67 
68  ~SOP_VolumeBoundParms() override {}
69 
70  bool operator==(const SOP_VolumeBoundParms &src) const
71  {
72  if (myGroup != src.myGroup) return false;
73  if (myComp != src.myComp) return false;
74  if (myValue != src.myValue) return false;
75  if (myVoxelpad != src.myVoxelpad) return false;
76 
77  return true;
78  }
79  bool operator!=(const SOP_VolumeBoundParms &src) const
80  {
81  return !operator==(src);
82  }
84 
85 
86 
87  void buildFromOp(const OP_GraphProxy *graph, exint nodeidx, fpreal time, DEP_MicroNode *depnode)
88  {
89  myGroup = ""_UTsh;
90  if (true)
91  graph->evalOpParm(myGroup, nodeidx, "group", time, 0);
92  myComp = 0;
93  if (true)
94  graph->evalOpParm(myComp, nodeidx, "comp", time, 0);
95  myValue = 0;
96  if (true)
97  graph->evalOpParm(myValue, nodeidx, "value", time, 0);
98  myVoxelpad = UT_Vector3D(0,0,0);
99  if (true)
100  graph->evalOpParm(myVoxelpad, nodeidx, "voxelpad", time, 0);
101 
102  }
103 
104 
105  void loadFromOpSubclass(const LoadParms &loadparms) override
106  {
107  buildFromOp(loadparms.graph(), loadparms.nodeIdx(), loadparms.context().getTime(), loadparms.depnode());
108  }
109 
110 
111  void copyFrom(const OP_NodeParms *src) override
112  {
113  *this = *((const SOP_VolumeBoundParms *)src);
114  }
115 
116  template <typename T>
117  void
118  doGetParmValue(TempIndex idx, TempIndex instance, T &value) const
119  {
120  if (idx.size() < 1)
121  return;
122  UT_ASSERT(idx.size() == instance.size()+1);
123  if (idx.size() != instance.size()+1)
124  return;
125  switch (idx[0])
126  {
127  case 0:
128  coerceValue(value, myGroup);
129  break;
130  case 1:
131  coerceValue(value, myComp);
132  break;
133  case 2:
134  coerceValue(value, myValue);
135  break;
136  case 3:
137  coerceValue(value, myVoxelpad);
138  break;
139 
140  }
141  }
142 
143  bool isParmColorRamp(exint idx) const override
144  {
145  switch (idx)
146  {
147 
148  }
149  return false;
150  }
151 
152  void getNestParmValue(TempIndex idx, TempIndex instance, exint &value) const override
153  { doGetParmValue(idx, instance, value); }
154  void getNestParmValue(TempIndex idx, TempIndex instance, fpreal &value) const override
155  { doGetParmValue(idx, instance, value); }
156  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector2D &value) const override
157  { doGetParmValue(idx, instance, value); }
158  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector3D &value) const override
159  { doGetParmValue(idx, instance, value); }
160  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector4D &value) const override
161  { doGetParmValue(idx, instance, value); }
162  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix2D &value) const override
163  { doGetParmValue(idx, instance, value); }
164  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix3D &value) const override
165  { doGetParmValue(idx, instance, value); }
166  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix4D &value) const override
167  { doGetParmValue(idx, instance, value); }
168  void getNestParmValue(TempIndex idx, TempIndex instance, UT_StringHolder &value) const override
169  { doGetParmValue(idx, instance, value); }
170  void getNestParmValue(TempIndex idx, TempIndex instance, UT_SharedPtr<UT_Ramp> &value) const override
171  { doGetParmValue(idx, instance, value); }
172  void getNestParmValue(TempIndex idx, TempIndex instance, PRM_DataItemHandle &value) const override
173  { doGetParmValue(idx, instance, value); }
174 
175  template <typename T>
176  void
177  doSetParmValue(TempIndex idx, TempIndex instance, const T &value)
178  {
179  if (idx.size() < 1)
180  return;
181  UT_ASSERT(idx.size() == instance.size()+1);
182  if (idx.size() != instance.size()+1)
183  return;
184  switch (idx[0])
185  {
186  case 0:
187  coerceValue(myGroup, ( ( value ) ));
188  break;
189  case 1:
190  coerceValue(myComp, clampMinValue(0, clampMaxValue(3, value ) ));
191  break;
192  case 2:
193  coerceValue(myValue, ( ( value ) ));
194  break;
195  case 3:
196  coerceValue(myVoxelpad, ( ( value ) ));
197  break;
198 
199  }
200  }
201 
202  void setNestParmValue(TempIndex idx, TempIndex instance, const exint &value) override
203  { doSetParmValue(idx, instance, value); }
204  void setNestParmValue(TempIndex idx, TempIndex instance, const fpreal &value) override
205  { doSetParmValue(idx, instance, value); }
206  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector2D &value) override
207  { doSetParmValue(idx, instance, value); }
208  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector3D &value) override
209  { doSetParmValue(idx, instance, value); }
210  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector4D &value) override
211  { doSetParmValue(idx, instance, value); }
212  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix2D &value) override
213  { doSetParmValue(idx, instance, value); }
214  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix3D &value) override
215  { doSetParmValue(idx, instance, value); }
216  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix4D &value) override
217  { doSetParmValue(idx, instance, value); }
218  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_StringHolder &value) override
219  { doSetParmValue(idx, instance, value); }
220  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_SharedPtr<UT_Ramp> &value) override
221  { doSetParmValue(idx, instance, value); }
222  void setNestParmValue(TempIndex idx, TempIndex instance, const PRM_DataItemHandle &value) override
223  { doSetParmValue(idx, instance, value); }
224 
225  exint getNestNumParms(TempIndex idx) const override
226  {
227  if (idx.size() == 0)
228  return 4;
229  switch (idx[0])
230  {
231 
232  }
233  // Invalid
234  return 0;
235  }
236 
237  const char *getNestParmName(TempIndex fieldnum) const override
238  {
239  if (fieldnum.size() < 1)
240  return 0;
241  switch (fieldnum[0])
242  {
243  case 0:
244  return "group";
245  case 1:
246  return "comp";
247  case 2:
248  return "value";
249  case 3:
250  return "voxelpad";
251 
252  }
253  return 0;
254  }
255 
256  ParmType getNestParmType(TempIndex fieldnum) const override
257  {
258  if (fieldnum.size() < 1)
259  return PARM_UNSUPPORTED;
260  switch (fieldnum[0])
261  {
262  case 0:
263  return PARM_STRING;
264  case 1:
265  return PARM_INTEGER;
266  case 2:
267  return PARM_FLOAT;
268  case 3:
269  return PARM_VECTOR3;
270 
271  }
272  return PARM_UNSUPPORTED;
273  }
274 
275  // Boiler plate to load individual types.
276  static void loadData(UT_IStream &is, int64 &v)
277  { is.bread(&v, 1); }
278  static void loadData(UT_IStream &is, bool &v)
279  { int64 iv; is.bread(&iv, 1); v = iv; }
280  static void loadData(UT_IStream &is, fpreal64 &v)
281  { is.bread<fpreal64>(&v, 1); }
282  static void loadData(UT_IStream &is, UT_Vector2D &v)
283  { is.bread<fpreal64>(&v.x(), 1); is.bread<fpreal64>(&v.y(), 1); }
284  static void loadData(UT_IStream &is, UT_Vector3D &v)
285  { is.bread<fpreal64>(&v.x(), 1); is.bread<fpreal64>(&v.y(), 1);
286  is.bread<fpreal64>(&v.z(), 1); }
287  static void loadData(UT_IStream &is, UT_Vector4D &v)
288  { is.bread<fpreal64>(&v.x(), 1); is.bread<fpreal64>(&v.y(), 1);
289  is.bread<fpreal64>(&v.z(), 1); is.bread<fpreal64>(&v.w(), 1); }
290  static void loadData(UT_IStream &is, UT_Matrix2D &v)
291  { for (int r = 0; r < 2; r++) for (int c = 0; c < 2; c++) is.bread<fpreal64>(&v(r, c), 1); }
292  static void loadData(UT_IStream &is, UT_Matrix3D &v)
293  { for (int r = 0; r < 3; r++) for (int c = 0; c < 3; c++) is.bread<fpreal64>(&v(r, c), 1); }
294  static void loadData(UT_IStream &is, UT_Matrix4D &v)
295  { for (int r = 0; r < 4; r++) for (int c = 0; c < 4; c++) is.bread<fpreal64>(&v(r, c), 1); }
296  static void loadData(UT_IStream &is, UT_Vector2I &v)
297  { is.bread<int64>(&v.x(), 1); is.bread<int64>(&v.y(), 1); }
298  static void loadData(UT_IStream &is, UT_Vector3I &v)
299  { is.bread<int64>(&v.x(), 1); is.bread<int64>(&v.y(), 1);
300  is.bread<int64>(&v.z(), 1); }
301  static void loadData(UT_IStream &is, UT_Vector4I &v)
302  { is.bread<int64>(&v.x(), 1); is.bread<int64>(&v.y(), 1);
303  is.bread<int64>(&v.z(), 1); is.bread<int64>(&v.w(), 1); }
305  { is.bread(v); }
307  { UT_StringHolder rampdata;
308  loadData(is, rampdata);
309  if (rampdata.isstring())
310  {
311  v.reset(new UT_Ramp());
312  UT_IStream istr((const char *) rampdata, rampdata.length(), UT_ISTREAM_ASCII);
313  v->load(istr);
314  }
315  else v.reset();
316  }
319  loadData(is, data);
320  if (data.isstring())
321  {
322  // Find the data type.
323  const char *colon = UT_StringWrap(data).findChar(':');
324  if (colon)
325  {
326  int typelen = colon - data.buffer();
328  type.strncpy(data.buffer(), typelen);
329  UT_IStream istr(((const char *) data) + typelen + 1, data.length() - (typelen + 1), UT_ISTREAM_BINARY);
330 
331  v = PRM_DataFactory::parseBinary(type.buffer(), istr);
332  }
333  }
334  else v.reset();
335  }
336 
337  static void saveData(std::ostream &os, int64 v)
338  { UTwrite(os, &v); }
339  static void saveData(std::ostream &os, bool v)
340  { int64 iv = v; UTwrite(os, &iv); }
341  static void saveData(std::ostream &os, fpreal64 v)
342  { UTwrite<fpreal64>(os, &v); }
343  static void saveData(std::ostream &os, UT_Vector2D v)
344  { UTwrite<fpreal64>(os, &v.x()); UTwrite<fpreal64>(os, &v.y()); }
345  static void saveData(std::ostream &os, UT_Vector3D v)
346  { UTwrite<fpreal64>(os, &v.x()); UTwrite<fpreal64>(os, &v.y());
347  UTwrite<fpreal64>(os, &v.z()); }
348  static void saveData(std::ostream &os, UT_Vector4D v)
349  { UTwrite<fpreal64>(os, &v.x()); UTwrite<fpreal64>(os, &v.y());
350  UTwrite<fpreal64>(os, &v.z()); UTwrite<fpreal64>(os, &v.w()); }
351  static void saveData(std::ostream &os, UT_Matrix2D v)
353  static void saveData(std::ostream &os, UT_Matrix3D v)
355  static void saveData(std::ostream &os, UT_Matrix4D v)
357  static void saveData(std::ostream &os, UT_StringHolder s)
358  { UT_StringWrap(s).saveBinary(os); }
359  static void saveData(std::ostream &os, UT_SharedPtr<UT_Ramp> s)
361  UT_OStringStream ostr;
362  if (s) s->save(ostr);
363  result = ostr.str();
364  saveData(os, result);
365  }
366  static void saveData(std::ostream &os, PRM_DataItemHandle s)
368  UT_OStringStream ostr;
369  if (s)
370  {
371  ostr << s->getDataTypeToken();
372  ostr << ":";
373  s->saveBinary(ostr);
374  }
375  result = ostr.str();
376  saveData(os, result);
377  }
378 
379 
380  void save(std::ostream &os) const
381  {
382  int32 v = version();
383  UTwrite(os, &v);
384  saveData(os, myGroup);
385  saveData(os, myComp);
386  saveData(os, myValue);
387  saveData(os, myVoxelpad);
388 
389  }
390 
391  bool load(UT_IStream &is)
392  {
393  int32 v;
394  is.bread(&v, 1);
395  if (version() != v)
396  {
397  // Fail incompatible versions
398  return false;
399  }
400  loadData(is, myGroup);
401  loadData(is, myComp);
402  loadData(is, myValue);
403  loadData(is, myVoxelpad);
404 
405  return true;
406  }
407 
408  const UT_StringHolder & getGroup() const { return myGroup; }
409  void setGroup(const UT_StringHolder & val) { myGroup = val; }
411  {
412  SOP_Node *thissop = cookparms.getNode();
413  if (!thissop) return getGroup();
415  OP_Utils::evalOpParm(result, thissop, "group", cookparms.getCookTime(), 0);
416  return result;
417  }
418  Comp getComp() const { return Comp(myComp); }
419  void setComp(Comp val) { myComp = int64(val); }
420  Comp opComp(const SOP_NodeVerb::CookParms &cookparms) const
421  {
422  SOP_Node *thissop = cookparms.getNode();
423  if (!thissop) return getComp();
424  int64 result;
425  OP_Utils::evalOpParm(result, thissop, "comp", cookparms.getCookTime(), 0);
426  return Comp(result);
427  }
428  fpreal64 getValue() const { return myValue; }
429  void setValue(fpreal64 val) { myValue = val; }
430  fpreal64 opValue(const SOP_NodeVerb::CookParms &cookparms) const
431  {
432  SOP_Node *thissop = cookparms.getNode();
433  if (!thissop) return getValue();
435  OP_Utils::evalOpParm(result, thissop, "value", cookparms.getCookTime(), 0);
436  return result;
437  }
438  UT_Vector3D getVoxelpad() const { return myVoxelpad; }
439  void setVoxelpad(UT_Vector3D val) { myVoxelpad = val; }
441  {
442  SOP_Node *thissop = cookparms.getNode();
443  if (!thissop) return getVoxelpad();
445  OP_Utils::evalOpParm(result, thissop, "voxelpad", cookparms.getCookTime(), 0);
446  return result;
447  }
448 
449 private:
450  UT_StringHolder myGroup;
451  int64 myComp;
452  fpreal64 myValue;
453  UT_Vector3D myVoxelpad;
454 
455 };
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
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
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
__hostdev__ float getValue(uint32_t i) const
Definition: NanoVDB.h:5578
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
SYS_FORCE_INLINE UT_StringHolder getToken(Comp enum_value)
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
#define SYS_FORCE_INLINE
Definition: SYS_Inline.h:45
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 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)
LeafData & operator=(const LeafData &)=delete
Utility class for containing a color ramp.
Definition: UT_Ramp.h:92
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:1395
#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:97
constexpr SYS_FORCE_INLINE T & y() noexcept
Definition: UT_Vector2.h:425
SYS_FORCE_INLINE bool isstring() const
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