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