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