HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SOP_PointCloudSurface.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_PointCloudSurfaceEnums
24 {
25  enum class Boundary
26  {
27  CLOSED = 0,
28  OPEN
29  };
30 
32  getToken(Boundary enum_value)
33  {
34  using namespace UT::Literal;
35  switch (enum_value) {
36  case Boundary::CLOSED: return "closed"_sh;
37  case Boundary::OPEN: return "open"_sh;
38  default: UT_ASSERT(false); return ""_sh;
39  }
40  }
41 
42 }
43 
44 
46 {
47 public:
48  static int version() { return 1; }
49 
51  {
52  mySubdivisions = 8;
53  mySampletarget = 2.0;
54  myIterations = 4;
55  myBoundary = 0;
56 
57  }
58 
59  explicit SOP_PointCloudSurfaceParms(const SOP_PointCloudSurfaceParms &) = default;
62  SOP_PointCloudSurfaceParms &operator=(SOP_PointCloudSurfaceParms &&) noexcept = default;
63 
65 
67  {
68  if (mySubdivisions != src.mySubdivisions) return false;
69  if (mySampletarget != src.mySampletarget) return false;
70  if (myIterations != src.myIterations) return false;
71  if (myBoundary != src.myBoundary) return false;
72 
73 
74  if (baseGetSignature() != src.baseGetSignature()) return false;
75 
76  return true;
77  }
79  {
80  return !operator==(src);
81  }
83 
84 
85 
86  void buildFromOp(const OP_GraphProxy *graph, exint nodeidx, fpreal time, DEP_MicroNode *depnode)
87  {
88  mySubdivisions = 8;
89  if (true)
90  graph->evalOpParm(mySubdivisions, nodeidx, "subdivisions", time, graph->isDirect()?nullptr:depnode);
91  mySampletarget = 2.0;
92  if (true)
93  graph->evalOpParm(mySampletarget, nodeidx, "sampletarget", time, graph->isDirect()?nullptr:depnode);
94  myIterations = 4;
95  if (true)
96  graph->evalOpParm(myIterations, nodeidx, "iterations", time, graph->isDirect()?nullptr:depnode);
97  myBoundary = 0;
98  if (true)
99  graph->evalOpParm(myBoundary, nodeidx, "boundary", time, graph->isDirect()?nullptr:depnode);
100 
101  }
102 
103 
104  void loadFromOpSubclass(const LoadParms &loadparms) override
105  {
106  buildFromOp(loadparms.graph(), loadparms.nodeIdx(), loadparms.context().getTime(), loadparms.depnode());
107  }
108 
109 
110  void copyFrom(const OP_NodeParms *src) override
111  {
112  *this = *((const SOP_PointCloudSurfaceParms *)src);
113  }
114 
115  template <typename T>
116  void
117  doGetParmValue(TempIndex idx, TempIndex instance, T &value) const
118  {
119  if (idx.size() < 1)
120  return;
121  UT_ASSERT(idx.size() == instance.size()+1);
122  if (idx.size() != instance.size()+1)
123  return;
124  switch (idx[0])
125  {
126  case 0:
127  coerceValue(value, mySubdivisions);
128  break;
129  case 1:
130  coerceValue(value, mySampletarget);
131  break;
132  case 2:
133  coerceValue(value, myIterations);
134  break;
135  case 3:
136  coerceValue(value, myBoundary);
137  break;
138 
139  }
140  }
141 
142  bool isParmColorRamp(exint idx) const override
143  {
144  switch (idx)
145  {
146 
147  }
148  return false;
149  }
150 
151  void getNestParmValue(TempIndex idx, TempIndex instance, exint &value) const override
152  { doGetParmValue(idx, instance, value); }
153  void getNestParmValue(TempIndex idx, TempIndex instance, fpreal &value) const override
154  { doGetParmValue(idx, instance, value); }
155  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector2D &value) const override
156  { doGetParmValue(idx, instance, value); }
157  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector3D &value) const override
158  { doGetParmValue(idx, instance, value); }
159  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector4D &value) const override
160  { doGetParmValue(idx, instance, value); }
161  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix2D &value) const override
162  { doGetParmValue(idx, instance, value); }
163  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix3D &value) const override
164  { doGetParmValue(idx, instance, value); }
165  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix4D &value) const override
166  { doGetParmValue(idx, instance, value); }
167  void getNestParmValue(TempIndex idx, TempIndex instance, UT_StringHolder &value) const override
168  { doGetParmValue(idx, instance, value); }
169  void getNestParmValue(TempIndex idx, TempIndex instance, UT_SharedPtr<UT_Ramp> &value) const override
170  { doGetParmValue(idx, instance, value); }
171  void getNestParmValue(TempIndex idx, TempIndex instance, PRM_DataItemHandle &value) const override
172  { doGetParmValue(idx, instance, value); }
173 
174  template <typename T>
175  void
176  doSetParmValue(TempIndex idx, TempIndex instance, const T &value)
177  {
178  if (idx.size() < 1)
179  return;
180  UT_ASSERT(idx.size() == instance.size()+1);
181  if (idx.size() != instance.size()+1)
182  return;
183  switch (idx[0])
184  {
185  case 0:
186  coerceValue(mySubdivisions, clampMinValue(1, clampMaxValue(19, value ) ));
187  break;
188  case 1:
189  coerceValue(mySampletarget, clampMinValue(0, ( value ) ));
190  break;
191  case 2:
192  coerceValue(myIterations, clampMinValue(1, ( value ) ));
193  break;
194  case 3:
195  coerceValue(myBoundary, clampMinValue(0, clampMaxValue(1, value ) ));
196  break;
197 
198  }
199  }
200 
201  void setNestParmValue(TempIndex idx, TempIndex instance, const exint &value) override
202  { doSetParmValue(idx, instance, value); }
203  void setNestParmValue(TempIndex idx, TempIndex instance, const fpreal &value) override
204  { doSetParmValue(idx, instance, value); }
205  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector2D &value) override
206  { doSetParmValue(idx, instance, value); }
207  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector3D &value) override
208  { doSetParmValue(idx, instance, value); }
209  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector4D &value) override
210  { doSetParmValue(idx, instance, value); }
211  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix2D &value) override
212  { doSetParmValue(idx, instance, value); }
213  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix3D &value) override
214  { doSetParmValue(idx, instance, value); }
215  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix4D &value) override
216  { doSetParmValue(idx, instance, value); }
217  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_StringHolder &value) override
218  { doSetParmValue(idx, instance, value); }
219  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_SharedPtr<UT_Ramp> &value) override
220  { doSetParmValue(idx, instance, value); }
221  void setNestParmValue(TempIndex idx, TempIndex instance, const PRM_DataItemHandle &value) override
222  { doSetParmValue(idx, instance, value); }
223 
224  exint getNestNumParms(TempIndex idx) const override
225  {
226  if (idx.size() == 0)
227  return 4;
228  switch (idx[0])
229  {
230 
231  }
232  // Invalid
233  return 0;
234  }
235 
236  const char *getNestParmName(TempIndex fieldnum) const override
237  {
238  if (fieldnum.size() < 1)
239  return 0;
240  switch (fieldnum[0])
241  {
242  case 0:
243  return "subdivisions";
244  case 1:
245  return "sampletarget";
246  case 2:
247  return "iterations";
248  case 3:
249  return "boundary";
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_INTEGER;
263  case 1:
264  return PARM_FLOAT;
265  case 2:
266  return PARM_INTEGER;
267  case 3:
268  return PARM_INTEGER;
269 
270  }
271  return PARM_UNSUPPORTED;
272  }
273 
274  // Boiler plate to load individual types.
275  static void loadData(UT_IStream &is, int64 &v)
276  { is.bread(&v, 1); }
277  static void loadData(UT_IStream &is, bool &v)
278  { int64 iv; is.bread(&iv, 1); v = iv; }
279  static void loadData(UT_IStream &is, fpreal64 &v)
280  { is.bread<fpreal64>(&v, 1); }
281  static void loadData(UT_IStream &is, UT_Vector2D &v)
282  { is.bread<fpreal64>(&v.x(), 1); is.bread<fpreal64>(&v.y(), 1); }
283  static void loadData(UT_IStream &is, UT_Vector3D &v)
284  { is.bread<fpreal64>(&v.x(), 1); is.bread<fpreal64>(&v.y(), 1);
285  is.bread<fpreal64>(&v.z(), 1); }
286  static void loadData(UT_IStream &is, UT_Vector4D &v)
287  { is.bread<fpreal64>(&v.x(), 1); is.bread<fpreal64>(&v.y(), 1);
288  is.bread<fpreal64>(&v.z(), 1); is.bread<fpreal64>(&v.w(), 1); }
289  static void loadData(UT_IStream &is, UT_Matrix2D &v)
290  { for (int r = 0; r < 2; r++) for (int c = 0; c < 2; c++) is.bread<fpreal64>(&v(r, c), 1); }
291  static void loadData(UT_IStream &is, UT_Matrix3D &v)
292  { for (int r = 0; r < 3; r++) for (int c = 0; c < 3; c++) is.bread<fpreal64>(&v(r, c), 1); }
293  static void loadData(UT_IStream &is, UT_Matrix4D &v)
294  { for (int r = 0; r < 4; r++) for (int c = 0; c < 4; c++) is.bread<fpreal64>(&v(r, c), 1); }
295  static void loadData(UT_IStream &is, UT_Vector2I &v)
296  { is.bread<int64>(&v.x(), 1); is.bread<int64>(&v.y(), 1); }
297  static void loadData(UT_IStream &is, UT_Vector3I &v)
298  { is.bread<int64>(&v.x(), 1); is.bread<int64>(&v.y(), 1);
299  is.bread<int64>(&v.z(), 1); }
300  static void loadData(UT_IStream &is, UT_Vector4I &v)
301  { is.bread<int64>(&v.x(), 1); is.bread<int64>(&v.y(), 1);
302  is.bread<int64>(&v.z(), 1); is.bread<int64>(&v.w(), 1); }
304  { is.bread(v); }
306  { UT_StringHolder rampdata;
307  loadData(is, rampdata);
308  if (rampdata.isstring())
309  {
310  v.reset(new UT_Ramp());
311  UT_IStream istr((const char *) rampdata, rampdata.length(), UT_ISTREAM_ASCII);
312  v->load(istr);
313  }
314  else v.reset();
315  }
318  loadData(is, data);
319  if (data.isstring())
320  {
321  // Find the data type.
322  const char *colon = UT_StringWrap(data).findChar(':');
323  if (colon)
324  {
325  int typelen = colon - data.buffer();
327  type.strncpy(data.buffer(), typelen);
328  UT_IStream istr(((const char *) data) + typelen + 1, data.length() - (typelen + 1), UT_ISTREAM_BINARY);
329 
330  v = PRM_DataFactory::parseBinary(type.buffer(), istr);
331  }
332  }
333  else v.reset();
334  }
335 
336  static void saveData(std::ostream &os, int64 v)
337  { UTwrite(os, &v); }
338  static void saveData(std::ostream &os, bool v)
339  { int64 iv = v; UTwrite(os, &iv); }
340  static void saveData(std::ostream &os, fpreal64 v)
341  { UTwrite<fpreal64>(os, &v); }
342  static void saveData(std::ostream &os, UT_Vector2D v)
343  { UTwrite<fpreal64>(os, &v.x()); UTwrite<fpreal64>(os, &v.y()); }
344  static void saveData(std::ostream &os, UT_Vector3D v)
345  { UTwrite<fpreal64>(os, &v.x()); UTwrite<fpreal64>(os, &v.y());
346  UTwrite<fpreal64>(os, &v.z()); }
347  static void saveData(std::ostream &os, UT_Vector4D v)
348  { UTwrite<fpreal64>(os, &v.x()); UTwrite<fpreal64>(os, &v.y());
349  UTwrite<fpreal64>(os, &v.z()); UTwrite<fpreal64>(os, &v.w()); }
350  static void saveData(std::ostream &os, UT_Matrix2D v)
352  static void saveData(std::ostream &os, UT_Matrix3D v)
354  static void saveData(std::ostream &os, UT_Matrix4D v)
356  static void saveData(std::ostream &os, UT_StringHolder s)
357  { UT_StringWrap(s).saveBinary(os); }
358  static void saveData(std::ostream &os, UT_SharedPtr<UT_Ramp> s)
360  UT_OStringStream ostr;
361  if (s) s->save(ostr);
362  result = ostr.str();
363  saveData(os, result);
364  }
365  static void saveData(std::ostream &os, PRM_DataItemHandle s)
367  UT_OStringStream ostr;
368  if (s)
369  {
370  ostr << s->getDataTypeToken();
371  ostr << ":";
372  s->saveBinary(ostr);
373  }
374  result = ostr.str();
375  saveData(os, result);
376  }
377 
378 
379  void save(std::ostream &os) const
380  {
381  int32 v = version();
382  UTwrite(os, &v);
383  saveData(os, mySubdivisions);
384  saveData(os, mySampletarget);
385  saveData(os, myIterations);
386  saveData(os, myBoundary);
387 
388  }
389 
390  bool load(UT_IStream &is)
391  {
392  int32 v;
393  is.bread(&v, 1);
394  if (version() != v)
395  {
396  // Fail incompatible versions
397  return false;
398  }
399  loadData(is, mySubdivisions);
400  loadData(is, mySampletarget);
401  loadData(is, myIterations);
402  loadData(is, myBoundary);
403 
404  return true;
405  }
406 
407  int64 getSubdivisions() const { return mySubdivisions; }
408  void setSubdivisions(int64 val) { mySubdivisions = val; }
410  {
411  SOP_Node *thissop = cookparms.getNode();
412  if (!thissop) return getSubdivisions();
413  int64 result;
414  OP_Utils::evalOpParm(result, thissop, "subdivisions", cookparms.getCookTime(), 0);
415  return result;
416  }
417  fpreal64 getSampletarget() const { return mySampletarget; }
418  void setSampletarget(fpreal64 val) { mySampletarget = val; }
420  {
421  SOP_Node *thissop = cookparms.getNode();
422  if (!thissop) return getSampletarget();
424  OP_Utils::evalOpParm(result, thissop, "sampletarget", cookparms.getCookTime(), 0);
425  return result;
426  }
427  int64 getIterations() const { return myIterations; }
428  void setIterations(int64 val) { myIterations = val; }
430  {
431  SOP_Node *thissop = cookparms.getNode();
432  if (!thissop) return getIterations();
433  int64 result;
434  OP_Utils::evalOpParm(result, thissop, "iterations", cookparms.getCookTime(), 0);
435  return result;
436  }
437  Boundary getBoundary() const { return Boundary(myBoundary); }
438  void setBoundary(Boundary val) { myBoundary = int64(val); }
440  {
441  SOP_Node *thissop = cookparms.getNode();
442  if (!thissop) return getBoundary();
443  int64 result;
444  OP_Utils::evalOpParm(result, thissop, "boundary", cookparms.getCookTime(), 0);
445  return Boundary(result);
446  }
447 
448 private:
449  int64 mySubdivisions;
450  fpreal64 mySampletarget;
451  int64 myIterations;
452  int64 myBoundary;
453 
454 };
type
Definition: core.h:556
static void saveData(std::ostream &os, UT_Matrix2D v)
static void loadData(UT_IStream &is, fpreal64 &v)
static void saveData(std::ostream &os, UT_StringHolder s)
static void loadData(UT_IStream &is, int64 &v)
void doSetParmValue(TempIndex idx, TempIndex instance, const T &value)
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector2D &value) const override
int int32
Definition: SYS_Types.h:39
SOP_Node * getNode() const
Definition: SOP_NodeVerb.h:347
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix4D &value) const override
fpreal64 opSampletarget(const SOP_NodeVerb::CookParms &cookparms) const
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix3D &value) override
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix2D &value) override
static void saveData(std::ostream &os, UT_Vector4D v)
static void loadData(UT_IStream &is, UT_Matrix4D &v)
void setNestParmValue(TempIndex idx, TempIndex instance, const PRM_DataItemHandle &value) override
int64 opSubdivisions(const SOP_NodeVerb::CookParms &cookparms) const
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_SharedPtr< UT_Ramp > &value) override
exint bread(int32 *buffer, exint asize=1)
void getNestParmValue(TempIndex idx, TempIndex instance, PRM_DataItemHandle &value) const override
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 getNestParmValue(TempIndex idx, TempIndex instance, fpreal &value) const override
static void loadData(UT_IStream &is, UT_Matrix3D &v)
static void saveData(std::ostream &os, fpreal64 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
GLdouble s
Definition: glad.h:3009
An output stream object that owns its own string buffer storage.
void copyFrom(const OP_NodeParms *src) override
bool operator!=(const SOP_PointCloudSurfaceParms &src) const
**But if you need a result
Definition: thread.h:622
static void saveData(std::ostream &os, UT_Vector2D v)
void getNestParmValue(TempIndex idx, TempIndex instance, exint &value) const override
exint nodeIdx() const
Definition: OP_NodeParms.h:95
static PRM_DataItemHandle parseBinary(const char *type, UT_IStream &is)
const UT_WorkBuffer & str()
Returns a read-only reference to the underlying UT_WorkBuffer.
ParmType getNestParmType(TempIndex fieldnum) const override
exint getNestNumParms(TempIndex idx) const override
void setNestParmValue(TempIndex idx, TempIndex instance, const fpreal &value) override
constexpr SYS_FORCE_INLINE T & x() noexcept
Definition: UT_Vector4.h:491
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector3D &value) override
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
static void loadData(UT_IStream &is, UT_Vector4I &v)
static void loadData(UT_IStream &is, UT_Vector3I &v)
exint length() const
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix4D &value) override
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
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector4D &value) override
const OP_GraphProxy * graph() const
Definition: OP_NodeParms.h:94
#define SYS_FORCE_INLINE
Definition: SYS_Inline.h:45
static void saveData(std::ostream &os, int64 v)
void getNestParmValue(TempIndex idx, TempIndex instance, UT_StringHolder &value) const override
void loadFromOpSubclass(const LoadParms &loadparms) override
long long int64
Definition: SYS_Types.h:116
static void loadData(UT_IStream &is, UT_Vector4D &v)
static void loadData(UT_IStream &is, bool &v)
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix3D &value) const override
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector2D &value) override
static void loadData(UT_IStream &is, PRM_DataItemHandle &v)
virtual void evalOpParm(int64 &v, NodeIdx node, const char *parmname, fpreal time, DEP_MicroNode *depnode) const =0
void getNestParmValue(TempIndex idx, TempIndex instance, UT_SharedPtr< UT_Ramp > &value) const override
void saveBinary(std::ostream &os) const
Save string to binary stream.
Definition: UT_String.h:303
GT_API const UT_StringHolder version
void save(std::ostream &os) const
static void saveData(std::ostream &os, UT_Vector3D v)
static void saveData(std::ostream &os, PRM_DataItemHandle s)
Boundary opBoundary(const SOP_NodeVerb::CookParms &cookparms) const
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix2D &value) const override
bool isParmColorRamp(exint idx) const override
static void loadData(UT_IStream &is, UT_StringHolder &v)
SYS_FORCE_INLINE UT_StringHolder getToken(Boundary enum_value)
fpreal64 fpreal
Definition: SYS_Types.h:278
DEP_MicroNode * depnode() const
Definition: OP_NodeParms.h:99
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector3D &value) const override
static void loadData(UT_IStream &is, UT_Vector2D &v)
LeafData & operator=(const LeafData &)=delete
Utility class for containing a color ramp.
Definition: UT_Ramp.h:96
static void saveData(std::ostream &os, UT_Matrix4D v)
static void loadData(UT_IStream &is, UT_Vector3D &v)
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_StringHolder &value) override
constexpr SYS_FORCE_INLINE T & w() noexcept
Definition: UT_Vector4.h:497
static void loadData(UT_IStream &is, UT_SharedPtr< UT_Ramp > &v)
GLuint GLfloat * val
Definition: glcorearb.h:1608
virtual UT_StringHolder baseGetSignature() const
Definition: OP_NodeParms.h:294
#define SOP_API
Definition: SOP_API.h:10
static void loadData(UT_IStream &is, UT_Matrix2D &v)
static void saveData(std::ostream &os, UT_Matrix3D v)
fpreal getCookTime() const
Definition: SOP_NodeVerb.h:372
const char * findChar(int c) const
Definition: UT_String.h:1401
#define UT_ASSERT(ZZ)
Definition: UT_Assert.h:156
bool operator==(const SOP_PointCloudSurfaceParms &src) const
GLboolean r
Definition: glcorearb.h:1222
static void saveData(std::ostream &os, bool v)
void doGetParmValue(TempIndex idx, TempIndex instance, T &value) const
constexpr SYS_FORCE_INLINE T & y() noexcept
Definition: UT_Vector3.h:665
void setNestParmValue(TempIndex idx, TempIndex instance, const exint &value) override
static void saveData(std::ostream &os, UT_SharedPtr< UT_Ramp > s)
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector4D &value) const override
int64 opIterations(const SOP_NodeVerb::CookParms &cookparms) const
virtual bool isDirect() const =0
Direct proxies mirror actual nodes:
void buildFromOp(const OP_GraphProxy *graph, exint nodeidx, fpreal time, DEP_MicroNode *depnode)
const char * getNestParmName(TempIndex fieldnum) const override
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_Vector2I &v)
SYS_FORCE_INLINE void strncpy(const char *src, exint maxlen)
GLenum src
Definition: glcorearb.h:1793
constexpr SYS_FORCE_INLINE T & x() noexcept
Definition: UT_Vector3.h:663