HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SOP_WeightArrayInterpolate.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 
25 {
26 public:
27  static int version() { return 1; }
28 
30  {
31  myPrimAttrib = "prim"_UTsh;
32  myPrimUVAttrib = "primuv"_UTsh;
33  myIndexAttrib = "indices"_UTsh;
34  myWeightAttrib = "weights"_UTsh;
35 
36  }
37 
41  SOP_WeightArrayInterpolateParms &operator=(SOP_WeightArrayInterpolateParms &&) noexcept = default;
42 
44 
46  {
47  if (myPrimAttrib != src.myPrimAttrib) return false;
48  if (myPrimUVAttrib != src.myPrimUVAttrib) return false;
49  if (myIndexAttrib != src.myIndexAttrib) return false;
50  if (myWeightAttrib != src.myWeightAttrib) return false;
51 
52 
53  if (baseGetSignature() != src.baseGetSignature()) return false;
54 
55  return true;
56  }
58  {
59  return !operator==(src);
60  }
61 
62 
63 
64  void buildFromOp(const OP_GraphProxy *graph, exint nodeidx, fpreal time, DEP_MicroNode *depnode)
65  {
66  myPrimAttrib = "prim"_UTsh;
67  if (true)
68  graph->evalOpParm(myPrimAttrib, nodeidx, "primattrib", time, graph->isDirect()?nullptr:depnode);
69  myPrimUVAttrib = "primuv"_UTsh;
70  if (true)
71  graph->evalOpParm(myPrimUVAttrib, nodeidx, "primuvattrib", time, graph->isDirect()?nullptr:depnode);
72  myIndexAttrib = "indices"_UTsh;
73  if (true)
74  graph->evalOpParm(myIndexAttrib, nodeidx, "indexattrib", time, graph->isDirect()?nullptr:depnode);
75  myWeightAttrib = "weights"_UTsh;
76  if (true)
77  graph->evalOpParm(myWeightAttrib, nodeidx, "weightattrib", time, graph->isDirect()?nullptr:depnode);
78 
79  }
80 
81 
82  void loadFromOpSubclass(const LoadParms &loadparms) override
83  {
84  buildFromOp(loadparms.graph(), loadparms.nodeIdx(), loadparms.context().getTime(), loadparms.depnode());
85  }
86 
87 
88  void copyFrom(const OP_NodeParms *src) override
89  {
90  *this = *((const SOP_WeightArrayInterpolateParms *)src);
91  }
92 
93  template <typename T>
94  void
95  doGetParmValue(TempIndex idx, TempIndex instance, T &value) const
96  {
97  if (idx.size() < 1)
98  return;
99  UT_ASSERT(idx.size() == instance.size()+1);
100  if (idx.size() != instance.size()+1)
101  return;
102  switch (idx[0])
103  {
104  case 0:
105  coerceValue(value, myPrimAttrib);
106  break;
107  case 1:
108  coerceValue(value, myPrimUVAttrib);
109  break;
110  case 2:
111  coerceValue(value, myIndexAttrib);
112  break;
113  case 3:
114  coerceValue(value, myWeightAttrib);
115  break;
116 
117  }
118  }
119 
120  bool isParmColorRamp(exint idx) const override
121  {
122  switch (idx)
123  {
124 
125  }
126  return false;
127  }
128 
129  void getNestParmValue(TempIndex idx, TempIndex instance, exint &value) const override
130  { doGetParmValue(idx, instance, value); }
131  void getNestParmValue(TempIndex idx, TempIndex instance, fpreal &value) const override
132  { doGetParmValue(idx, instance, value); }
133  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector2D &value) const override
134  { doGetParmValue(idx, instance, value); }
135  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector3D &value) const override
136  { doGetParmValue(idx, instance, value); }
137  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector4D &value) const override
138  { doGetParmValue(idx, instance, value); }
139  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix2D &value) const override
140  { doGetParmValue(idx, instance, value); }
141  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix3D &value) const override
142  { doGetParmValue(idx, instance, value); }
143  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix4D &value) const override
144  { doGetParmValue(idx, instance, value); }
145  void getNestParmValue(TempIndex idx, TempIndex instance, UT_StringHolder &value) const override
146  { doGetParmValue(idx, instance, value); }
147  void getNestParmValue(TempIndex idx, TempIndex instance, UT_SharedPtr<UT_Ramp> &value) const override
148  { doGetParmValue(idx, instance, value); }
149  void getNestParmValue(TempIndex idx, TempIndex instance, PRM_DataItemHandle &value) const override
150  { doGetParmValue(idx, instance, value); }
151 
152  template <typename T>
153  void
154  doSetParmValue(TempIndex idx, TempIndex instance, const T &value)
155  {
156  if (idx.size() < 1)
157  return;
158  UT_ASSERT(idx.size() == instance.size()+1);
159  if (idx.size() != instance.size()+1)
160  return;
161  switch (idx[0])
162  {
163  case 0:
164  coerceValue(myPrimAttrib, ( ( value ) ));
165  break;
166  case 1:
167  coerceValue(myPrimUVAttrib, ( ( value ) ));
168  break;
169  case 2:
170  coerceValue(myIndexAttrib, ( ( value ) ));
171  break;
172  case 3:
173  coerceValue(myWeightAttrib, ( ( value ) ));
174  break;
175 
176  }
177  }
178 
179  void setNestParmValue(TempIndex idx, TempIndex instance, const exint &value) override
180  { doSetParmValue(idx, instance, value); }
181  void setNestParmValue(TempIndex idx, TempIndex instance, const fpreal &value) override
182  { doSetParmValue(idx, instance, value); }
183  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector2D &value) override
184  { doSetParmValue(idx, instance, value); }
185  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector3D &value) override
186  { doSetParmValue(idx, instance, value); }
187  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector4D &value) override
188  { doSetParmValue(idx, instance, value); }
189  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix2D &value) override
190  { doSetParmValue(idx, instance, value); }
191  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix3D &value) override
192  { doSetParmValue(idx, instance, value); }
193  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix4D &value) override
194  { doSetParmValue(idx, instance, value); }
195  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_StringHolder &value) override
196  { doSetParmValue(idx, instance, value); }
197  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_SharedPtr<UT_Ramp> &value) override
198  { doSetParmValue(idx, instance, value); }
199  void setNestParmValue(TempIndex idx, TempIndex instance, const PRM_DataItemHandle &value) override
200  { doSetParmValue(idx, instance, value); }
201 
202  exint getNestNumParms(TempIndex idx) const override
203  {
204  if (idx.size() == 0)
205  return 4;
206  switch (idx[0])
207  {
208 
209  }
210  // Invalid
211  return 0;
212  }
213 
214  const char *getNestParmName(TempIndex fieldnum) const override
215  {
216  if (fieldnum.size() < 1)
217  return 0;
218  switch (fieldnum[0])
219  {
220  case 0:
221  return "primattrib";
222  case 1:
223  return "primuvattrib";
224  case 2:
225  return "indexattrib";
226  case 3:
227  return "weightattrib";
228 
229  }
230  return 0;
231  }
232 
233  ParmType getNestParmType(TempIndex fieldnum) const override
234  {
235  if (fieldnum.size() < 1)
236  return PARM_UNSUPPORTED;
237  switch (fieldnum[0])
238  {
239  case 0:
240  return PARM_STRING;
241  case 1:
242  return PARM_STRING;
243  case 2:
244  return PARM_STRING;
245  case 3:
246  return PARM_STRING;
247 
248  }
249  return PARM_UNSUPPORTED;
250  }
251 
252  // Boiler plate to load individual types.
253  static void loadData(UT_IStream &is, int64 &v)
254  { is.bread(&v, 1); }
255  static void loadData(UT_IStream &is, bool &v)
256  { int64 iv; is.bread(&iv, 1); v = iv; }
257  static void loadData(UT_IStream &is, fpreal64 &v)
258  { is.bread<fpreal64>(&v, 1); }
259  static void loadData(UT_IStream &is, UT_Vector2D &v)
260  { is.bread<fpreal64>(&v.x(), 1); is.bread<fpreal64>(&v.y(), 1); }
261  static void loadData(UT_IStream &is, UT_Vector3D &v)
262  { is.bread<fpreal64>(&v.x(), 1); is.bread<fpreal64>(&v.y(), 1);
263  is.bread<fpreal64>(&v.z(), 1); }
264  static void loadData(UT_IStream &is, UT_Vector4D &v)
265  { is.bread<fpreal64>(&v.x(), 1); is.bread<fpreal64>(&v.y(), 1);
266  is.bread<fpreal64>(&v.z(), 1); is.bread<fpreal64>(&v.w(), 1); }
267  static void loadData(UT_IStream &is, UT_Matrix2D &v)
268  { for (int r = 0; r < 2; r++) for (int c = 0; c < 2; c++) is.bread<fpreal64>(&v(r, c), 1); }
269  static void loadData(UT_IStream &is, UT_Matrix3D &v)
270  { for (int r = 0; r < 3; r++) for (int c = 0; c < 3; c++) is.bread<fpreal64>(&v(r, c), 1); }
271  static void loadData(UT_IStream &is, UT_Matrix4D &v)
272  { for (int r = 0; r < 4; r++) for (int c = 0; c < 4; c++) is.bread<fpreal64>(&v(r, c), 1); }
273  static void loadData(UT_IStream &is, UT_Vector2I &v)
274  { is.bread<int64>(&v.x(), 1); is.bread<int64>(&v.y(), 1); }
275  static void loadData(UT_IStream &is, UT_Vector3I &v)
276  { is.bread<int64>(&v.x(), 1); is.bread<int64>(&v.y(), 1);
277  is.bread<int64>(&v.z(), 1); }
278  static void loadData(UT_IStream &is, UT_Vector4I &v)
279  { is.bread<int64>(&v.x(), 1); is.bread<int64>(&v.y(), 1);
280  is.bread<int64>(&v.z(), 1); is.bread<int64>(&v.w(), 1); }
282  { is.bread(v); }
284  { UT_StringHolder rampdata;
285  loadData(is, rampdata);
286  if (rampdata.isstring())
287  {
288  v.reset(new UT_Ramp());
289  UT_IStream istr((const char *) rampdata, rampdata.length(), UT_ISTREAM_ASCII);
290  v->load(istr);
291  }
292  else v.reset();
293  }
296  loadData(is, data);
297  if (data.isstring())
298  {
299  // Find the data type.
300  const char *colon = UT_StringWrap(data).findChar(':');
301  if (colon)
302  {
303  int typelen = colon - data.buffer();
305  type.strncpy(data.buffer(), typelen);
306  UT_IStream istr(((const char *) data) + typelen + 1, data.length() - (typelen + 1), UT_ISTREAM_BINARY);
307 
308  v = PRM_DataFactory::parseBinary(type.buffer(), istr);
309  }
310  }
311  else v.reset();
312  }
313 
314  static void saveData(std::ostream &os, int64 v)
315  { UTwrite(os, &v); }
316  static void saveData(std::ostream &os, bool v)
317  { int64 iv = v; UTwrite(os, &iv); }
318  static void saveData(std::ostream &os, fpreal64 v)
319  { UTwrite<fpreal64>(os, &v); }
320  static void saveData(std::ostream &os, UT_Vector2D v)
321  { UTwrite<fpreal64>(os, &v.x()); UTwrite<fpreal64>(os, &v.y()); }
322  static void saveData(std::ostream &os, UT_Vector3D v)
323  { UTwrite<fpreal64>(os, &v.x()); UTwrite<fpreal64>(os, &v.y());
324  UTwrite<fpreal64>(os, &v.z()); }
325  static void saveData(std::ostream &os, UT_Vector4D v)
326  { UTwrite<fpreal64>(os, &v.x()); UTwrite<fpreal64>(os, &v.y());
327  UTwrite<fpreal64>(os, &v.z()); UTwrite<fpreal64>(os, &v.w()); }
328  static void saveData(std::ostream &os, UT_Matrix2D v)
330  static void saveData(std::ostream &os, UT_Matrix3D v)
332  static void saveData(std::ostream &os, UT_Matrix4D v)
334  static void saveData(std::ostream &os, UT_StringHolder s)
335  { UT_StringWrap(s).saveBinary(os); }
336  static void saveData(std::ostream &os, UT_SharedPtr<UT_Ramp> s)
338  UT_OStringStream ostr;
339  if (s) s->save(ostr);
340  result = ostr.str();
341  saveData(os, result);
342  }
343  static void saveData(std::ostream &os, PRM_DataItemHandle s)
345  UT_OStringStream ostr;
346  if (s)
347  {
348  ostr << s->getDataTypeToken();
349  ostr << ":";
350  s->saveBinary(ostr);
351  }
352  result = ostr.str();
353  saveData(os, result);
354  }
355 
356 
357  void save(std::ostream &os) const
358  {
359  int32 v = version();
360  UTwrite(os, &v);
361  saveData(os, myPrimAttrib);
362  saveData(os, myPrimUVAttrib);
363  saveData(os, myIndexAttrib);
364  saveData(os, myWeightAttrib);
365 
366  }
367 
368  bool load(UT_IStream &is)
369  {
370  int32 v;
371  is.bread(&v, 1);
372  if (version() != v)
373  {
374  // Fail incompatible versions
375  return false;
376  }
377  loadData(is, myPrimAttrib);
378  loadData(is, myPrimUVAttrib);
379  loadData(is, myIndexAttrib);
380  loadData(is, myWeightAttrib);
381 
382  return true;
383  }
384 
385  const UT_StringHolder & getPrimAttrib() const { return myPrimAttrib; }
386  void setPrimAttrib(const UT_StringHolder & val) { myPrimAttrib = val; }
388  {
389  SOP_Node *thissop = cookparms.getNode();
390  if (!thissop) return getPrimAttrib();
392  OP_Utils::evalOpParm(result, thissop, "primattrib", cookparms.getCookTime(), 0);
393  return result;
394  }
395  const UT_StringHolder & getPrimUVAttrib() const { return myPrimUVAttrib; }
396  void setPrimUVAttrib(const UT_StringHolder & val) { myPrimUVAttrib = val; }
398  {
399  SOP_Node *thissop = cookparms.getNode();
400  if (!thissop) return getPrimUVAttrib();
402  OP_Utils::evalOpParm(result, thissop, "primuvattrib", cookparms.getCookTime(), 0);
403  return result;
404  }
405  const UT_StringHolder & getIndexAttrib() const { return myIndexAttrib; }
406  void setIndexAttrib(const UT_StringHolder & val) { myIndexAttrib = val; }
408  {
409  SOP_Node *thissop = cookparms.getNode();
410  if (!thissop) return getIndexAttrib();
412  OP_Utils::evalOpParm(result, thissop, "indexattrib", cookparms.getCookTime(), 0);
413  return result;
414  }
415  const UT_StringHolder & getWeightAttrib() const { return myWeightAttrib; }
416  void setWeightAttrib(const UT_StringHolder & val) { myWeightAttrib = val; }
418  {
419  SOP_Node *thissop = cookparms.getNode();
420  if (!thissop) return getWeightAttrib();
422  OP_Utils::evalOpParm(result, thissop, "weightattrib", cookparms.getCookTime(), 0);
423  return result;
424  }
425 
426 private:
427  UT_StringHolder myPrimAttrib;
428  UT_StringHolder myPrimUVAttrib;
429  UT_StringHolder myIndexAttrib;
430  UT_StringHolder myWeightAttrib;
431 
432 };
type
Definition: core.h:556
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix4D &value) const override
static void loadData(UT_IStream &is, UT_SharedPtr< UT_Ramp > &v)
int int32
Definition: SYS_Types.h:39
SOP_Node * getNode() const
Definition: SOP_NodeVerb.h:347
static void loadData(UT_IStream &is, UT_StringHolder &v)
void setPrimAttrib(const UT_StringHolder &val)
bool isParmColorRamp(exint idx) const override
static void loadData(UT_IStream &is, UT_Vector2I &v)
void doSetParmValue(TempIndex idx, TempIndex instance, const T &value)
exint bread(int32 *buffer, exint asize=1)
GLboolean * data
Definition: glcorearb.h:131
GT_API const UT_StringHolder time
exint getNestNumParms(TempIndex idx) const override
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
static void saveData(std::ostream &os, int64 v)
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector3D &value) override
GLsizei const GLfloat * value
Definition: glcorearb.h:824
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 loadData(UT_IStream &is, UT_Matrix3D &v)
static void loadData(UT_IStream &is, UT_Vector4I &v)
GLdouble s
Definition: glad.h:3009
void setNestParmValue(TempIndex idx, TempIndex instance, const fpreal &value) override
An output stream object that owns its own string buffer storage.
bool operator!=(const SOP_WeightArrayInterpolateParms &src) const
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector4D &value) override
**But if you need a result
Definition: thread.h:622
static void loadData(UT_IStream &is, UT_Vector2D &v)
static void saveData(std::ostream &os, fpreal64 v)
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.
static void saveData(std::ostream &os, UT_Vector2D v)
constexpr SYS_FORCE_INLINE T & x() noexcept
Definition: UT_Vector4.h:491
static void loadData(UT_IStream &is, fpreal64 &v)
void setNestParmValue(TempIndex idx, TempIndex instance, const PRM_DataItemHandle &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 saveData(std::ostream &os, UT_Vector3D v)
UT_StringHolder opIndexAttrib(const SOP_NodeVerb::CookParms &cookparms) const
void getNestParmValue(TempIndex idx, TempIndex instance, UT_StringHolder &value) const override
const UT_StringHolder & getPrimAttrib() const
exint length() const
static void saveData(std::ostream &os, UT_Matrix4D v)
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix4D &value) override
static void saveData(std::ostream &os, PRM_DataItemHandle s)
static void saveData(std::ostream &os, UT_Vector4D v)
static void saveData(std::ostream &os, UT_Matrix3D v)
SYS_FORCE_INLINE const char * buffer() const
std::shared_ptr< T > UT_SharedPtr
Wrapper around std::shared_ptr.
Definition: UT_SharedPtr.h:36
constexpr SYS_FORCE_INLINE T & z() noexcept
Definition: UT_Vector4.h:495
UT_StringHolder opPrimAttrib(const SOP_NodeVerb::CookParms &cookparms) const
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix3D &value) override
void getNestParmValue(TempIndex idx, TempIndex instance, UT_SharedPtr< UT_Ramp > &value) const override
const OP_GraphProxy * graph() const
Definition: OP_NodeParms.h:94
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix2D &value) const override
static void saveData(std::ostream &os, UT_Matrix2D v)
const char * getNestParmName(TempIndex fieldnum) const override
long long int64
Definition: SYS_Types.h:116
static void saveData(std::ostream &os, UT_SharedPtr< UT_Ramp > s)
const UT_StringHolder & getIndexAttrib() const
UT_StringHolder opPrimUVAttrib(const SOP_NodeVerb::CookParms &cookparms) const
static void saveData(std::ostream &os, bool v)
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector2D &value) override
virtual void evalOpParm(int64 &v, NodeIdx node, const char *parmname, fpreal time, DEP_MicroNode *depnode) const =0
void setNestParmValue(TempIndex idx, TempIndex instance, const exint &value) override
void saveBinary(std::ostream &os) const
Save string to binary stream.
Definition: UT_String.h:303
const UT_StringHolder & getPrimUVAttrib() const
GT_API const UT_StringHolder version
void buildFromOp(const OP_GraphProxy *graph, exint nodeidx, fpreal time, DEP_MicroNode *depnode)
void setPrimUVAttrib(const UT_StringHolder &val)
static void saveData(std::ostream &os, UT_StringHolder s)
void getNestParmValue(TempIndex idx, TempIndex instance, exint &value) const override
static void loadData(UT_IStream &is, int64 &v)
void coerceValue(T &result, const S &src) const
Definition: OP_NodeParms.h:310
void doGetParmValue(TempIndex idx, TempIndex instance, T &value) const
void setWeightAttrib(const UT_StringHolder &val)
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector2D &value) const override
fpreal64 fpreal
Definition: SYS_Types.h:278
DEP_MicroNode * depnode() const
Definition: OP_NodeParms.h:99
Utility class for containing a color ramp.
Definition: UT_Ramp.h:96
static void loadData(UT_IStream &is, UT_Vector4D &v)
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix2D &value) override
ParmType getNestParmType(TempIndex fieldnum) const override
constexpr SYS_FORCE_INLINE T & w() noexcept
Definition: UT_Vector4.h:497
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix3D &value) const override
static void loadData(UT_IStream &is, UT_Vector3D &v)
GLuint GLfloat * val
Definition: glcorearb.h:1608
virtual UT_StringHolder baseGetSignature() const
Definition: OP_NodeParms.h:294
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector4D &value) const override
#define SOP_API
Definition: SOP_API.h:10
fpreal getCookTime() const
Definition: SOP_NodeVerb.h:372
void setIndexAttrib(const UT_StringHolder &val)
static void loadData(UT_IStream &is, PRM_DataItemHandle &v)
void loadFromOpSubclass(const LoadParms &loadparms) override
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_SharedPtr< UT_Ramp > &value) override
const char * findChar(int c) const
Definition: UT_String.h:1401
#define UT_ASSERT(ZZ)
Definition: UT_Assert.h:156
void getNestParmValue(TempIndex idx, TempIndex instance, PRM_DataItemHandle &value) const override
GLboolean r
Definition: glcorearb.h:1222
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector3D &value) const override
static void loadData(UT_IStream &is, UT_Matrix4D &v)
constexpr SYS_FORCE_INLINE T & y() noexcept
Definition: UT_Vector3.h:665
void copyFrom(const OP_NodeParms *src) override
const UT_StringHolder & getWeightAttrib() const
virtual bool isDirect() const =0
Direct proxies mirror actual nodes:
static void loadData(UT_IStream &is, UT_Matrix2D &v)
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_StringHolder &value) override
constexpr SYS_FORCE_INLINE T & y() noexcept
Definition: UT_Vector2.h:425
static void loadData(UT_IStream &is, UT_Vector3I &v)
UT_StringHolder opWeightAttrib(const SOP_NodeVerb::CookParms &cookparms) const
static void loadData(UT_IStream &is, bool &v)
SYS_FORCE_INLINE bool isstring() const
void getNestParmValue(TempIndex idx, TempIndex instance, fpreal &value) const override
OP_NodeParms & operator=(const OP_NodeParms &)=default
SYS_FORCE_INLINE void strncpy(const char *src, exint maxlen)
bool operator==(const SOP_WeightArrayInterpolateParms &src) const
GLenum src
Definition: glcorearb.h:1793
constexpr SYS_FORCE_INLINE T & x() noexcept
Definition: UT_Vector3.h:663