HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SOP_VolumeFFT.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_VolumeFFTEnums
24 {
25  enum class Voxelplane
26  {
27  XY = 0,
28  YZ,
29  ZX
30  };
31 
33  getToken(Voxelplane enum_value)
34  {
35  using namespace UT::Literal;
36  switch (enum_value) {
37  case Voxelplane::XY: return "xy"_sh;
38  case Voxelplane::YZ: return "yz"_sh;
39  case Voxelplane::ZX: return "zx"_sh;
40  default: UT_ASSERT(false); return ""_sh;
41  }
42  }
43 
44 }
45 
46 
48 {
49 public:
50  static int version() { return 1; }
51 
53  {
54  myGroup = ""_UTsh;
55  myCenterDC = false;
56  myInvert = false;
57  myNormalize = true;
58  mySlices = false;
59  myVoxelplane = 0;
60 
61  }
62 
63  explicit SOP_VolumeFFTParms(const SOP_VolumeFFTParms &) = default;
65  SOP_VolumeFFTParms(SOP_VolumeFFTParms &&) noexcept = default;
66  SOP_VolumeFFTParms &operator=(SOP_VolumeFFTParms &&) noexcept = default;
67 
68  ~SOP_VolumeFFTParms() override {}
69 
70  bool operator==(const SOP_VolumeFFTParms &src) const
71  {
72  if (myGroup != src.myGroup) return false;
73  if (myCenterDC != src.myCenterDC) return false;
74  if (myInvert != src.myInvert) return false;
75  if (myNormalize != src.myNormalize) return false;
76  if (mySlices != src.mySlices) return false;
77  if (myVoxelplane != src.myVoxelplane) return false;
78 
79  return true;
80  }
81  bool operator!=(const SOP_VolumeFFTParms &src) const
82  {
83  return !operator==(src);
84  }
86 
87 
88 
89  void buildFromOp(const OP_GraphProxy *graph, exint nodeidx, fpreal time, DEP_MicroNode *depnode)
90  {
91  myGroup = ""_UTsh;
92  if (true)
93  graph->evalOpParm(myGroup, nodeidx, "group", time, 0);
94  myCenterDC = false;
95  if (true)
96  graph->evalOpParm(myCenterDC, nodeidx, "centerdc", time, 0);
97  myInvert = false;
98  if (true)
99  graph->evalOpParm(myInvert, nodeidx, "invert", time, 0);
100  myNormalize = true;
101  if (true)
102  graph->evalOpParm(myNormalize, nodeidx, "normalize", time, 0);
103  mySlices = false;
104  if (true)
105  graph->evalOpParm(mySlices, nodeidx, "slices", time, 0);
106  myVoxelplane = 0;
107  if (true && ( (true&&!(((getSlices()==0)))) ) )
108  graph->evalOpParm(myVoxelplane, nodeidx, "voxelplane", time, 0);
109 
110  }
111 
112 
113  void loadFromOpSubclass(const LoadParms &loadparms) override
114  {
115  buildFromOp(loadparms.graph(), loadparms.nodeIdx(), loadparms.context().getTime(), loadparms.depnode());
116  }
117 
118 
119  void copyFrom(const OP_NodeParms *src) override
120  {
121  *this = *((const SOP_VolumeFFTParms *)src);
122  }
123 
124  template <typename T>
125  void
126  doGetParmValue(TempIndex idx, TempIndex instance, T &value) const
127  {
128  if (idx.size() < 1)
129  return;
130  UT_ASSERT(idx.size() == instance.size()+1);
131  if (idx.size() != instance.size()+1)
132  return;
133  switch (idx[0])
134  {
135  case 0:
136  coerceValue(value, myGroup);
137  break;
138  case 1:
139  coerceValue(value, myCenterDC);
140  break;
141  case 2:
142  coerceValue(value, myInvert);
143  break;
144  case 3:
145  coerceValue(value, myNormalize);
146  break;
147  case 4:
148  coerceValue(value, mySlices);
149  break;
150  case 5:
151  coerceValue(value, myVoxelplane);
152  break;
153 
154  }
155  }
156 
157  bool isParmColorRamp(exint idx) const override
158  {
159  switch (idx)
160  {
161 
162  }
163  return false;
164  }
165 
166  void getNestParmValue(TempIndex idx, TempIndex instance, exint &value) const override
167  { doGetParmValue(idx, instance, value); }
168  void getNestParmValue(TempIndex idx, TempIndex instance, fpreal &value) const override
169  { doGetParmValue(idx, instance, value); }
170  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector2D &value) const override
171  { doGetParmValue(idx, instance, value); }
172  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector3D &value) const override
173  { doGetParmValue(idx, instance, value); }
174  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector4D &value) const override
175  { doGetParmValue(idx, instance, value); }
176  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix2D &value) const override
177  { doGetParmValue(idx, instance, value); }
178  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix3D &value) const override
179  { doGetParmValue(idx, instance, value); }
180  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix4D &value) const override
181  { doGetParmValue(idx, instance, value); }
182  void getNestParmValue(TempIndex idx, TempIndex instance, UT_StringHolder &value) const override
183  { doGetParmValue(idx, instance, value); }
184  void getNestParmValue(TempIndex idx, TempIndex instance, UT_SharedPtr<UT_Ramp> &value) const override
185  { doGetParmValue(idx, instance, value); }
186  void getNestParmValue(TempIndex idx, TempIndex instance, PRM_DataItemHandle &value) const override
187  { doGetParmValue(idx, instance, value); }
188 
189  template <typename T>
190  void
191  doSetParmValue(TempIndex idx, TempIndex instance, const T &value)
192  {
193  if (idx.size() < 1)
194  return;
195  UT_ASSERT(idx.size() == instance.size()+1);
196  if (idx.size() != instance.size()+1)
197  return;
198  switch (idx[0])
199  {
200  case 0:
201  coerceValue(myGroup, ( ( value ) ));
202  break;
203  case 1:
204  coerceValue(myCenterDC, ( ( value ) ));
205  break;
206  case 2:
207  coerceValue(myInvert, ( ( value ) ));
208  break;
209  case 3:
210  coerceValue(myNormalize, ( ( value ) ));
211  break;
212  case 4:
213  coerceValue(mySlices, ( ( value ) ));
214  break;
215  case 5:
216  coerceValue(myVoxelplane, clampMinValue(0, clampMaxValue(2, value ) ));
217  break;
218 
219  }
220  }
221 
222  void setNestParmValue(TempIndex idx, TempIndex instance, const exint &value) override
223  { doSetParmValue(idx, instance, value); }
224  void setNestParmValue(TempIndex idx, TempIndex instance, const fpreal &value) override
225  { doSetParmValue(idx, instance, value); }
226  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector2D &value) override
227  { doSetParmValue(idx, instance, value); }
228  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector3D &value) override
229  { doSetParmValue(idx, instance, value); }
230  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector4D &value) override
231  { doSetParmValue(idx, instance, value); }
232  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix2D &value) override
233  { doSetParmValue(idx, instance, value); }
234  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix3D &value) override
235  { doSetParmValue(idx, instance, value); }
236  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix4D &value) override
237  { doSetParmValue(idx, instance, value); }
238  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_StringHolder &value) override
239  { doSetParmValue(idx, instance, value); }
240  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_SharedPtr<UT_Ramp> &value) override
241  { doSetParmValue(idx, instance, value); }
242  void setNestParmValue(TempIndex idx, TempIndex instance, const PRM_DataItemHandle &value) override
243  { doSetParmValue(idx, instance, value); }
244 
245  exint getNestNumParms(TempIndex idx) const override
246  {
247  if (idx.size() == 0)
248  return 6;
249  switch (idx[0])
250  {
251 
252  }
253  // Invalid
254  return 0;
255  }
256 
257  const char *getNestParmName(TempIndex fieldnum) const override
258  {
259  if (fieldnum.size() < 1)
260  return 0;
261  switch (fieldnum[0])
262  {
263  case 0:
264  return "group";
265  case 1:
266  return "centerdc";
267  case 2:
268  return "invert";
269  case 3:
270  return "normalize";
271  case 4:
272  return "slices";
273  case 5:
274  return "voxelplane";
275 
276  }
277  return 0;
278  }
279 
280  ParmType getNestParmType(TempIndex fieldnum) const override
281  {
282  if (fieldnum.size() < 1)
283  return PARM_UNSUPPORTED;
284  switch (fieldnum[0])
285  {
286  case 0:
287  return PARM_STRING;
288  case 1:
289  return PARM_INTEGER;
290  case 2:
291  return PARM_INTEGER;
292  case 3:
293  return PARM_INTEGER;
294  case 4:
295  return PARM_INTEGER;
296  case 5:
297  return PARM_INTEGER;
298 
299  }
300  return PARM_UNSUPPORTED;
301  }
302 
303  // Boiler plate to load individual types.
304  static void loadData(UT_IStream &is, int64 &v)
305  { is.bread(&v, 1); }
306  static void loadData(UT_IStream &is, bool &v)
307  { int64 iv; is.bread(&iv, 1); v = iv; }
308  static void loadData(UT_IStream &is, fpreal64 &v)
309  { is.bread<fpreal64>(&v, 1); }
310  static void loadData(UT_IStream &is, UT_Vector2D &v)
311  { is.bread<fpreal64>(&v.x(), 1); is.bread<fpreal64>(&v.y(), 1); }
312  static void loadData(UT_IStream &is, UT_Vector3D &v)
313  { is.bread<fpreal64>(&v.x(), 1); is.bread<fpreal64>(&v.y(), 1);
314  is.bread<fpreal64>(&v.z(), 1); }
315  static void loadData(UT_IStream &is, UT_Vector4D &v)
316  { is.bread<fpreal64>(&v.x(), 1); is.bread<fpreal64>(&v.y(), 1);
317  is.bread<fpreal64>(&v.z(), 1); is.bread<fpreal64>(&v.w(), 1); }
318  static void loadData(UT_IStream &is, UT_Matrix2D &v)
319  { for (int r = 0; r < 2; r++) for (int c = 0; c < 2; c++) is.bread<fpreal64>(&v(r, c), 1); }
320  static void loadData(UT_IStream &is, UT_Matrix3D &v)
321  { for (int r = 0; r < 3; r++) for (int c = 0; c < 3; c++) is.bread<fpreal64>(&v(r, c), 1); }
322  static void loadData(UT_IStream &is, UT_Matrix4D &v)
323  { for (int r = 0; r < 4; r++) for (int c = 0; c < 4; c++) is.bread<fpreal64>(&v(r, c), 1); }
324  static void loadData(UT_IStream &is, UT_Vector2I &v)
325  { is.bread<int64>(&v.x(), 1); is.bread<int64>(&v.y(), 1); }
326  static void loadData(UT_IStream &is, UT_Vector3I &v)
327  { is.bread<int64>(&v.x(), 1); is.bread<int64>(&v.y(), 1);
328  is.bread<int64>(&v.z(), 1); }
329  static void loadData(UT_IStream &is, UT_Vector4I &v)
330  { is.bread<int64>(&v.x(), 1); is.bread<int64>(&v.y(), 1);
331  is.bread<int64>(&v.z(), 1); is.bread<int64>(&v.w(), 1); }
333  { is.bread(v); }
335  { UT_StringHolder rampdata;
336  loadData(is, rampdata);
337  if (rampdata.isstring())
338  {
339  v.reset(new UT_Ramp());
340  UT_IStream istr((const char *) rampdata, rampdata.length(), UT_ISTREAM_ASCII);
341  v->load(istr);
342  }
343  else v.reset();
344  }
347  loadData(is, data);
348  if (data.isstring())
349  {
350  // Find the data type.
351  const char *colon = UT_StringWrap(data).findChar(':');
352  if (colon)
353  {
354  int typelen = colon - data.buffer();
356  type.strncpy(data.buffer(), typelen);
357  UT_IStream istr(((const char *) data) + typelen + 1, data.length() - (typelen + 1), UT_ISTREAM_BINARY);
358 
359  v = PRM_DataFactory::parseBinary(type.buffer(), istr);
360  }
361  }
362  else v.reset();
363  }
364 
365  static void saveData(std::ostream &os, int64 v)
366  { UTwrite(os, &v); }
367  static void saveData(std::ostream &os, bool v)
368  { int64 iv = v; UTwrite(os, &iv); }
369  static void saveData(std::ostream &os, fpreal64 v)
370  { UTwrite<fpreal64>(os, &v); }
371  static void saveData(std::ostream &os, UT_Vector2D v)
372  { UTwrite<fpreal64>(os, &v.x()); UTwrite<fpreal64>(os, &v.y()); }
373  static void saveData(std::ostream &os, UT_Vector3D v)
374  { UTwrite<fpreal64>(os, &v.x()); UTwrite<fpreal64>(os, &v.y());
375  UTwrite<fpreal64>(os, &v.z()); }
376  static void saveData(std::ostream &os, UT_Vector4D v)
377  { UTwrite<fpreal64>(os, &v.x()); UTwrite<fpreal64>(os, &v.y());
378  UTwrite<fpreal64>(os, &v.z()); UTwrite<fpreal64>(os, &v.w()); }
379  static void saveData(std::ostream &os, UT_Matrix2D v)
381  static void saveData(std::ostream &os, UT_Matrix3D v)
383  static void saveData(std::ostream &os, UT_Matrix4D v)
385  static void saveData(std::ostream &os, UT_StringHolder s)
386  { UT_StringWrap(s).saveBinary(os); }
387  static void saveData(std::ostream &os, UT_SharedPtr<UT_Ramp> s)
389  UT_OStringStream ostr;
390  if (s) s->save(ostr);
391  result = ostr.str();
392  saveData(os, result);
393  }
394  static void saveData(std::ostream &os, PRM_DataItemHandle s)
396  UT_OStringStream ostr;
397  if (s)
398  {
399  ostr << s->getDataTypeToken();
400  ostr << ":";
401  s->saveBinary(ostr);
402  }
403  result = ostr.str();
404  saveData(os, result);
405  }
406 
407 
408  void save(std::ostream &os) const
409  {
410  int32 v = version();
411  UTwrite(os, &v);
412  saveData(os, myGroup);
413  saveData(os, myCenterDC);
414  saveData(os, myInvert);
415  saveData(os, myNormalize);
416  saveData(os, mySlices);
417  saveData(os, myVoxelplane);
418 
419  }
420 
421  bool load(UT_IStream &is)
422  {
423  int32 v;
424  is.bread(&v, 1);
425  if (version() != v)
426  {
427  // Fail incompatible versions
428  return false;
429  }
430  loadData(is, myGroup);
431  loadData(is, myCenterDC);
432  loadData(is, myInvert);
433  loadData(is, myNormalize);
434  loadData(is, mySlices);
435  loadData(is, myVoxelplane);
436 
437  return true;
438  }
439 
440  const UT_StringHolder & getGroup() const { return myGroup; }
441  void setGroup(const UT_StringHolder & val) { myGroup = val; }
443  {
444  SOP_Node *thissop = cookparms.getNode();
445  if (!thissop) return getGroup();
447  OP_Utils::evalOpParm(result, thissop, "group", cookparms.getCookTime(), 0);
448  return result;
449  }
450  bool getCenterDC() const { return myCenterDC; }
451  void setCenterDC(bool val) { myCenterDC = val; }
452  bool opCenterDC(const SOP_NodeVerb::CookParms &cookparms) const
453  {
454  SOP_Node *thissop = cookparms.getNode();
455  if (!thissop) return getCenterDC();
456  bool result;
457  OP_Utils::evalOpParm(result, thissop, "centerdc", cookparms.getCookTime(), 0);
458  return result;
459  }
460  bool getInvert() const { return myInvert; }
461  void setInvert(bool val) { myInvert = val; }
462  bool opInvert(const SOP_NodeVerb::CookParms &cookparms) const
463  {
464  SOP_Node *thissop = cookparms.getNode();
465  if (!thissop) return getInvert();
466  bool result;
467  OP_Utils::evalOpParm(result, thissop, "invert", cookparms.getCookTime(), 0);
468  return result;
469  }
470  bool getNormalize() const { return myNormalize; }
471  void setNormalize(bool val) { myNormalize = val; }
472  bool opNormalize(const SOP_NodeVerb::CookParms &cookparms) const
473  {
474  SOP_Node *thissop = cookparms.getNode();
475  if (!thissop) return getNormalize();
476  bool result;
477  OP_Utils::evalOpParm(result, thissop, "normalize", cookparms.getCookTime(), 0);
478  return result;
479  }
480  bool getSlices() const { return mySlices; }
481  void setSlices(bool val) { mySlices = val; }
482  bool opSlices(const SOP_NodeVerb::CookParms &cookparms) const
483  {
484  SOP_Node *thissop = cookparms.getNode();
485  if (!thissop) return getSlices();
486  bool result;
487  OP_Utils::evalOpParm(result, thissop, "slices", cookparms.getCookTime(), 0);
488  return result;
489  }
490  Voxelplane getVoxelplane() const { return Voxelplane(myVoxelplane); }
491  void setVoxelplane(Voxelplane val) { myVoxelplane = int64(val); }
493  {
494  SOP_Node *thissop = cookparms.getNode();
495  if (!thissop) return getVoxelplane();
496  int64 result;
497  OP_Utils::evalOpParm(result, thissop, "voxelplane", cookparms.getCookTime(), 0);
498  return Voxelplane(result);
499  }
500 
501 private:
502  UT_StringHolder myGroup;
503  bool myCenterDC;
504  bool myInvert;
505  bool myNormalize;
506  bool mySlices;
507  int64 myVoxelplane;
508 
509 };
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix2D &value) const override
static void loadData(UT_IStream &is, UT_Vector2I &v)
int int32
Definition: SYS_Types.h:39
SOP_Node * getNode() const
Definition: SOP_NodeVerb.h:347
static void loadData(UT_IStream &is, fpreal64 &v)
static void loadData(UT_IStream &is, UT_SharedPtr< UT_Ramp > &v)
void setCenterDC(bool val)
static void saveData(std::ostream &os, bool v)
bool isParmColorRamp(exint idx) const override
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 getNestParmValue(TempIndex idx, TempIndex instance, exint &value) const override
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_StringHolder &value) override
bool opInvert(const SOP_NodeVerb::CookParms &cookparms) const
static void loadData(UT_IStream &is, UT_Vector3D &v)
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
static void saveData(std::ostream &os, UT_Vector3D v)
GLdouble s
Definition: glad.h:3009
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix3D &value) const override
An output stream object that owns its own string buffer storage.
static void saveData(std::ostream &os, fpreal64 v)
**But if you need a result
Definition: thread.h:613
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector3D &value) const override
void doGetParmValue(TempIndex idx, TempIndex instance, T &value) const
Voxelplane getVoxelplane() const
exint nodeIdx() const
Definition: OP_NodeParms.h:95
static PRM_DataItemHandle parseBinary(const char *type, UT_IStream &is)
exint getNestNumParms(TempIndex idx) const override
const UT_WorkBuffer & str()
Returns a read-only reference to the underlying UT_WorkBuffer.
ParmType getNestParmType(TempIndex fieldnum) const override
void setNestParmValue(TempIndex idx, TempIndex instance, const PRM_DataItemHandle &value) override
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector3D &value) override
void getNestParmValue(TempIndex idx, TempIndex instance, UT_SharedPtr< UT_Ramp > &value) const override
constexpr SYS_FORCE_INLINE T & x() noexcept
Definition: UT_Vector4.h:491
double fpreal64
Definition: SYS_Types.h:201
constexpr SYS_FORCE_INLINE T & x() noexcept
Definition: UT_Vector2.h:423
void save(std::ostream &os) const
bool operator==(const BaseDimensions< T > &a, const BaseDimensions< Y > &b)
Definition: Dimensions.h:137
bool getNormalize() const
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix4D &value) override
static void saveData(std::ostream &os, UT_Vector2D v)
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix2D &value) override
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_SharedPtr< UT_Ramp > &value) override
static void saveData(std::ostream &os, UT_Matrix2D v)
Voxelplane opVoxelplane(const SOP_NodeVerb::CookParms &cookparms) const
static void saveData(std::ostream &os, UT_SharedPtr< UT_Ramp > s)
exint length() const
SYS_FORCE_INLINE const char * buffer() const
std::shared_ptr< T > UT_SharedPtr
Wrapper around std::shared_ptr.
Definition: UT_SharedPtr.h:36
static void saveData(std::ostream &os, UT_Vector4D v)
constexpr SYS_FORCE_INLINE T & z() noexcept
Definition: UT_Vector4.h:495
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector2D &value) const override
const OP_GraphProxy * graph() const
Definition: OP_NodeParms.h:94
#define SYS_FORCE_INLINE
Definition: SYS_Inline.h:45
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector2D &value) override
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix4D &value) const override
static void loadData(UT_IStream &is, UT_Matrix3D &v)
bool operator==(const SOP_VolumeFFTParms &src) const
long long int64
Definition: SYS_Types.h:116
bool load(UT_IStream &is)
SYS_FORCE_INLINE UT_StringHolder getToken(Voxelplane enum_value)
static void loadData(UT_IStream &is, UT_Matrix4D &v)
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix3D &value) override
static void loadData(UT_IStream &is, UT_Vector2D &v)
virtual void evalOpParm(int64 &v, NodeIdx node, const char *parmname, fpreal time, DEP_MicroNode *depnode) const =0
bool opNormalize(const SOP_NodeVerb::CookParms &cookparms) const
void copyFrom(const OP_NodeParms *src) override
void saveBinary(std::ostream &os) const
Save string to binary stream.
Definition: UT_String.h:296
void setVoxelplane(Voxelplane val)
static void loadData(UT_IStream &is, UT_StringHolder &v)
GT_API const UT_StringHolder version
void setNestParmValue(TempIndex idx, TempIndex instance, const exint &value) override
void doSetParmValue(TempIndex idx, TempIndex instance, const T &value)
void getNestParmValue(TempIndex idx, TempIndex instance, PRM_DataItemHandle &value) const override
void loadFromOpSubclass(const LoadParms &loadparms) override
void getNestParmValue(TempIndex idx, TempIndex instance, fpreal &value) const override
static void loadData(UT_IStream &is, UT_Vector4I &v)
void setInvert(bool val)
void setGroup(const UT_StringHolder &val)
fpreal64 fpreal
Definition: SYS_Types.h:277
DEP_MicroNode * depnode() const
Definition: OP_NodeParms.h:99
static void loadData(UT_IStream &is, UT_Vector4D &v)
void setSlices(bool val)
LeafData & operator=(const LeafData &)=delete
Utility class for containing a color ramp.
Definition: UT_Ramp.h:92
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector4D &value) const override
static void saveData(std::ostream &os, PRM_DataItemHandle s)
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector4D &value) override
constexpr SYS_FORCE_INLINE T & w() noexcept
Definition: UT_Vector4.h:497
static void saveData(std::ostream &os, UT_StringHolder s)
GLuint GLfloat * val
Definition: glcorearb.h:1608
#define SOP_API
Definition: SOP_API.h:10
void getNestParmValue(TempIndex idx, TempIndex instance, UT_StringHolder &value) const override
fpreal getCookTime() const
Definition: SOP_NodeVerb.h:361
static void loadData(UT_IStream &is, int64 &v)
const char * findChar(int c) const
Definition: UT_String.h:1395
#define UT_ASSERT(ZZ)
Definition: UT_Assert.h:156
Definition: core.h:1131
static void saveData(std::ostream &os, int64 v)
static void saveData(std::ostream &os, UT_Matrix3D v)
static void saveData(std::ostream &os, UT_Matrix4D v)
UT_StringHolder opGroup(const SOP_NodeVerb::CookParms &cookparms) const
GLboolean r
Definition: glcorearb.h:1222
bool opSlices(const SOP_NodeVerb::CookParms &cookparms) const
constexpr SYS_FORCE_INLINE T & y() noexcept
Definition: UT_Vector3.h:665
bool opCenterDC(const SOP_NodeVerb::CookParms &cookparms) const
type
Definition: core.h:1059
static void loadData(UT_IStream &is, UT_Matrix2D &v)
const char * getNestParmName(TempIndex fieldnum) const override
bool operator!=(const SOP_VolumeFFTParms &src) const
static void loadData(UT_IStream &is, bool &v)
void setNormalize(bool val)
static void loadData(UT_IStream &is, PRM_DataItemHandle &v)
UT_SharedPtr< const PRM_DataItem > PRM_DataItemHandle
Definition: PRM_Parm.h:97
void buildFromOp(const OP_GraphProxy *graph, exint nodeidx, fpreal time, DEP_MicroNode *depnode)
constexpr SYS_FORCE_INLINE T & y() noexcept
Definition: UT_Vector2.h:425
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)
const UT_StringHolder & getGroup() const
GLenum src
Definition: glcorearb.h:1793
constexpr SYS_FORCE_INLINE T & x() noexcept
Definition: UT_Vector3.h:663
void setNestParmValue(TempIndex idx, TempIndex instance, const fpreal &value) override