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_NodeVerb.h>
7 #include <SOP/SOP_GraphProxy.h>
8 
9 #include <OP/OP_Utils.h>
10 #include <PRM/PRM_Parm.h>
11 #include <UT/UT_IStream.h>
12 #include <UT/UT_NTStreamUtil.h>
13 #include <UT/UT_Ramp.h>
14 #include <UT/UT_SharedPtr.h>
15 #include <UT/UT_StringHolder.h>
16 #include <UT/UT_StringStream.h>
17 #include <UT/UT_VectorTypes.h>
18 #include <SYS/SYS_Types.h>
19 
20 using namespace UT::Literal;
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 = ""_sh;
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;
51 
52  ~SOP_VolumeFFTParms() override {}
53 
54  bool operator==(const SOP_VolumeFFTParms &src) const
55  {
56  if (myGroup != src.myGroup) return false;
57  if (myCenterDC != src.myCenterDC) return false;
58  if (myInvert != src.myInvert) return false;
59  if (myNormalize != src.myNormalize) return false;
60  if (mySlices != src.mySlices) return false;
61  if (myVoxelplane != src.myVoxelplane) return false;
62 
63  return true;
64  }
65  bool operator!=(const SOP_VolumeFFTParms &src) const
66  {
67  return !operator==(src);
68  }
70 
71 
72 
73  void buildFromOp(const SOP_GraphProxy *graph, exint nodeidx, fpreal time, DEP_MicroNode *depnode)
74  {
75  myGroup = ""_sh;
76  if (true)
77  graph->evalOpParm(myGroup, nodeidx, "group", time, 0);
78  myCenterDC = false;
79  if (true)
80  graph->evalOpParm(myCenterDC, nodeidx, "centerdc", time, 0);
81  myInvert = false;
82  if (true)
83  graph->evalOpParm(myInvert, nodeidx, "invert", time, 0);
84  myNormalize = true;
85  if (true)
86  graph->evalOpParm(myNormalize, nodeidx, "normalize", time, 0);
87  mySlices = false;
88  if (true)
89  graph->evalOpParm(mySlices, nodeidx, "slices", time, 0);
90  myVoxelplane = 0;
91  if (true && ( (!(((getSlices()==0)))) ) )
92  graph->evalOpParm(myVoxelplane, nodeidx, "voxelplane", time, 0);
93 
94  }
95 
96 
97  void loadFromOpSubclass(const LoadParms &loadparms) override
98  {
99  buildFromOp(loadparms.graph(), loadparms.nodeIdx(), loadparms.context().getTime(), loadparms.depnode());
100  }
101 
102 
103  void copyFrom(const SOP_NodeParms *src) override
104  {
105  *this = *((const SOP_VolumeFFTParms *)src);
106  }
107 
108  template <typename T>
109  void
110  doGetParmValue(TempIndex idx, TempIndex instance, T &value) const
111  {
112  if (idx.size() < 1)
113  return;
114  UT_ASSERT(idx.size() == instance.size()+1);
115  if (idx.size() != instance.size()+1)
116  return;
117  switch (idx[0])
118  {
119  case 0:
120  coerceValue(value, myGroup);
121  break;
122  case 1:
123  coerceValue(value, myCenterDC);
124  break;
125  case 2:
126  coerceValue(value, myInvert);
127  break;
128  case 3:
129  coerceValue(value, myNormalize);
130  break;
131  case 4:
132  coerceValue(value, mySlices);
133  break;
134  case 5:
135  coerceValue(value, myVoxelplane);
136  break;
137 
138  }
139  }
140 
141  void getNestParmValue(TempIndex idx, TempIndex instance, exint &value) const override
142  { doGetParmValue(idx, instance, value); }
143  void getNestParmValue(TempIndex idx, TempIndex instance, fpreal &value) const override
144  { doGetParmValue(idx, instance, value); }
145  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector2D &value) const override
146  { doGetParmValue(idx, instance, value); }
147  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector3D &value) const override
148  { doGetParmValue(idx, instance, value); }
149  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector4D &value) const override
150  { doGetParmValue(idx, instance, value); }
151  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix2D &value) const override
152  { doGetParmValue(idx, instance, value); }
153  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix3D &value) const override
154  { doGetParmValue(idx, instance, value); }
155  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix4D &value) const override
156  { doGetParmValue(idx, instance, value); }
157  void getNestParmValue(TempIndex idx, TempIndex instance, UT_StringHolder &value) const override
158  { doGetParmValue(idx, instance, value); }
159  void getNestParmValue(TempIndex idx, TempIndex instance, UT_SharedPtr<UT_Ramp> &value) const override
160  { doGetParmValue(idx, instance, value); }
161  void getNestParmValue(TempIndex idx, TempIndex instance, PRM_DataItemHandle &value) const override
162  { doGetParmValue(idx, instance, value); }
163 
164  template <typename T>
165  void
166  doSetParmValue(TempIndex idx, TempIndex instance, const T &value)
167  {
168  if (idx.size() < 1)
169  return;
170  UT_ASSERT(idx.size() == instance.size()+1);
171  if (idx.size() != instance.size()+1)
172  return;
173  switch (idx[0])
174  {
175  case 0:
176  coerceValue(myGroup, value);
177  break;
178  case 1:
179  coerceValue(myCenterDC, value);
180  break;
181  case 2:
182  coerceValue(myInvert, value);
183  break;
184  case 3:
185  coerceValue(myNormalize, value);
186  break;
187  case 4:
188  coerceValue(mySlices, value);
189  break;
190  case 5:
191  coerceValue(myVoxelplane, value);
192  break;
193 
194  }
195  }
196 
197  void setNestParmValue(TempIndex idx, TempIndex instance, const exint &value) override
198  { doSetParmValue(idx, instance, value); }
199  void setNestParmValue(TempIndex idx, TempIndex instance, const fpreal &value) override
200  { doSetParmValue(idx, instance, value); }
201  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector2D &value) override
202  { doSetParmValue(idx, instance, value); }
203  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector3D &value) override
204  { doSetParmValue(idx, instance, value); }
205  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector4D &value) override
206  { doSetParmValue(idx, instance, value); }
207  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix2D &value) override
208  { doSetParmValue(idx, instance, value); }
209  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix3D &value) override
210  { doSetParmValue(idx, instance, value); }
211  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix4D &value) override
212  { doSetParmValue(idx, instance, value); }
213  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_StringHolder &value) override
214  { doSetParmValue(idx, instance, value); }
215  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_SharedPtr<UT_Ramp> &value) override
216  { doSetParmValue(idx, instance, value); }
217  void setNestParmValue(TempIndex idx, TempIndex instance, const PRM_DataItemHandle &value) override
218  { doSetParmValue(idx, instance, value); }
219 
220  exint getNestNumParms(TempIndex idx) const override
221  {
222  if (idx.size() == 0)
223  return 6;
224  switch (idx[0])
225  {
226 
227  }
228  // Invalid
229  return 0;
230  }
231 
232  const char *getNestParmName(TempIndex fieldnum) const override
233  {
234  if (fieldnum.size() < 1)
235  return 0;
236  switch (fieldnum[0])
237  {
238  case 0:
239  return "group";
240  case 1:
241  return "centerdc";
242  case 2:
243  return "invert";
244  case 3:
245  return "normalize";
246  case 4:
247  return "slices";
248  case 5:
249  return "voxelplane";
250 
251  }
252  return 0;
253  }
254 
255  ParmType getNestParmType(TempIndex fieldnum) const override
256  {
257  if (fieldnum.size() < 1)
258  return PARM_UNSUPPORTED;
259  switch (fieldnum[0])
260  {
261  case 0:
262  return PARM_STRING;
263  case 1:
264  return PARM_INTEGER;
265  case 2:
266  return PARM_INTEGER;
267  case 3:
268  return PARM_INTEGER;
269  case 4:
270  return PARM_INTEGER;
271  case 5:
272  return PARM_INTEGER;
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, myCenterDC);
389  saveData(os, myInvert);
390  saveData(os, myNormalize);
391  saveData(os, mySlices);
392  saveData(os, myVoxelplane);
393 
394  }
395 
396  bool load(UT_IStream &is)
397  {
398  int32 v;
399  is.bread(&v, 1);
400  if (version() != v)
401  {
402  // Fail incompatible versions
403  return false;
404  }
405  loadData(is, myGroup);
406  loadData(is, myCenterDC);
407  loadData(is, myInvert);
408  loadData(is, myNormalize);
409  loadData(is, mySlices);
410  loadData(is, myVoxelplane);
411 
412  return true;
413  }
414 
415  const UT_StringHolder & getGroup() const { return myGroup; }
416  void setGroup(const UT_StringHolder & val) { myGroup = val; }
418  {
419  SOP_Node *thissop = cookparms.getNode();
420  if (!thissop) return getGroup();
422  OP_Utils::evalOpParm(result, thissop, "group", cookparms.getCookTime(), 0);
423  return result;
424  }
425  bool getCenterDC() const { return myCenterDC; }
426  void setCenterDC(bool val) { myCenterDC = val; }
427  bool opCenterDC(const SOP_NodeVerb::CookParms &cookparms) const
428  {
429  SOP_Node *thissop = cookparms.getNode();
430  if (!thissop) return getCenterDC();
431  bool result;
432  OP_Utils::evalOpParm(result, thissop, "centerdc", cookparms.getCookTime(), 0);
433  return result;
434  }
435  bool getInvert() const { return myInvert; }
436  void setInvert(bool val) { myInvert = val; }
437  bool opInvert(const SOP_NodeVerb::CookParms &cookparms) const
438  {
439  SOP_Node *thissop = cookparms.getNode();
440  if (!thissop) return getInvert();
441  bool result;
442  OP_Utils::evalOpParm(result, thissop, "invert", cookparms.getCookTime(), 0);
443  return result;
444  }
445  bool getNormalize() const { return myNormalize; }
446  void setNormalize(bool val) { myNormalize = val; }
447  bool opNormalize(const SOP_NodeVerb::CookParms &cookparms) const
448  {
449  SOP_Node *thissop = cookparms.getNode();
450  if (!thissop) return getNormalize();
451  bool result;
452  OP_Utils::evalOpParm(result, thissop, "normalize", cookparms.getCookTime(), 0);
453  return result;
454  }
455  bool getSlices() const { return mySlices; }
456  void setSlices(bool val) { mySlices = val; }
457  bool opSlices(const SOP_NodeVerb::CookParms &cookparms) const
458  {
459  SOP_Node *thissop = cookparms.getNode();
460  if (!thissop) return getSlices();
461  bool result;
462  OP_Utils::evalOpParm(result, thissop, "slices", cookparms.getCookTime(), 0);
463  return result;
464  }
465  Voxelplane getVoxelplane() const { return Voxelplane(myVoxelplane); }
466  void setVoxelplane(Voxelplane val) { myVoxelplane = int64(val); }
468  {
469  SOP_Node *thissop = cookparms.getNode();
470  if (!thissop) return getVoxelplane();
471  int64 result;
472  OP_Utils::evalOpParm(result, thissop, "voxelplane", cookparms.getCookTime(), 0);
473  return Voxelplane(result);
474  }
475 
476 private:
477  UT_StringHolder myGroup;
478  bool myCenterDC;
479  bool myInvert;
480  bool myNormalize;
481  bool mySlices;
482  int64 myVoxelplane;
483 
484 };
GLdouble s
Definition: glew.h:1390
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix2D &value) const override
static void loadData(UT_IStream &is, UT_Vector2I &v)
exint nodeIdx() const
Definition: SOP_NodeVerb.h:114
GLenum src
Definition: glew.h:2410
int int32
Definition: SYS_Types.h:39
SOP_Node * getNode() const
Definition: SOP_NodeVerb.h:640
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)
exint bread(int32 *buffer, exint asize=1)
GT_API const UT_StringHolder time
fpreal getTime() const
Definition: OP_Context.h:60
void getNestParmValue(TempIndex idx, TempIndex instance, exint &value) const override
GLuint const GLfloat * val
Definition: glew.h:2794
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)
int64 exint
Definition: SYS_Types.h:125
SYS_FORCE_INLINE const char * buffer() const
static void saveData(std::ostream &os, UT_Vector3D v)
const SOP_GraphProxy * graph() const
Definition: SOP_NodeVerb.h:113
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)
const GLdouble * v
Definition: glew.h:1391
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector3D &value) const override
void doGetParmValue(TempIndex idx, TempIndex instance, T &value) const
Voxelplane getVoxelplane() const
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
double fpreal64
Definition: SYS_Types.h:201
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)
SYS_FORCE_INLINE T & y()
Definition: UT_Vector3.h:513
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:28
static void saveData(std::ostream &os, UT_Vector4D v)
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector2D &value) const override
GLint GLenum GLsizei GLint GLsizei const void * data
Definition: glew.h:1379
SYS_FORCE_INLINE T & z()
Definition: UT_Vector3.h:515
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector2D &value) override
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix4D &value) const override
const GLfloat * c
Definition: glew.h:16296
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)
bool opNormalize(const SOP_NodeVerb::CookParms &cookparms) const
void saveBinary(std::ostream &os) const
Save string to binary stream.
Definition: UT_String.h:294
void setVoxelplane(Voxelplane val)
static void loadData(UT_IStream &is, UT_StringHolder &v)
GT_API const UT_StringHolder version
DEP_MicroNode * depnode() const
Definition: SOP_NodeVerb.h:121
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
static void loadData(UT_IStream &is, UT_Vector4D &v)
void setSlices(bool val)
Utility class for containing a color ramp.
Definition: UT_Ramp.h:84
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
GLdouble GLdouble GLdouble r
Definition: glew.h:1406
static void saveData(std::ostream &os, UT_StringHolder s)
#define SOP_API
Definition: SOP_API.h:10
void getNestParmValue(TempIndex idx, TempIndex instance, UT_StringHolder &value) const override
virtual void evalOpParm(int64 &v, NodeIdx node, const char *parmname, fpreal time, DEP_MicroNode *depnode) const =0
SYS_FORCE_INLINE T & x()
Definition: UT_Vector3.h:511
fpreal getCookTime() const
Definition: SOP_NodeVerb.h:654
GLuint64EXT * result
Definition: glew.h:14007
void buildFromOp(const SOP_GraphProxy *graph, exint nodeidx, fpreal time, DEP_MicroNode *depnode)
static void loadData(UT_IStream &is, int64 &v)
const char * findChar(int c) const
Definition: UT_String.h:1367
#define UT_ASSERT(ZZ)
Definition: UT_Assert.h:135
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
bool opSlices(const SOP_NodeVerb::CookParms &cookparms) const
bool opCenterDC(const SOP_NodeVerb::CookParms &cookparms) const
void copyFrom(const SOP_NodeParms *src) override
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)
GLsizei const GLfloat * value
Definition: glew.h:1849
void setNormalize(bool val)
const OP_Context & context() const
Definition: SOP_NodeVerb.h:119
static void loadData(UT_IStream &is, PRM_DataItemHandle &v)
UT_SharedPtr< const PRM_DataItem > PRM_DataItemHandle
Definition: PRM_Parm.h:89
~SOP_VolumeFFTParms() override
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)
type
Definition: core.h:528
const UT_StringHolder & getGroup() const
void setNestParmValue(TempIndex idx, TempIndex instance, const fpreal &value) override