HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SOP_VolumeAnalysis.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_VolumeAnalysisEnums
24 {
25  enum class Analysis
26  {
27  CURVATURE = 0,
28  GRADIENT,
29  LAPLACIAN,
31  };
32  enum class Edgedetectmode
33  {
34  SOBEL = 0,
35  PREWITT
36  };
37 }
38 
39 
41 {
42 public:
43  static int version() { return 1; }
44 
46  {
47  myGroup = ""_UTsh;
48  myAnalysis = 0;
49  myEdgedetectmode = 0;
50 
51  }
52 
53  explicit SOP_VolumeAnalysisParms(const SOP_VolumeAnalysisParms &) = default;
55  SOP_VolumeAnalysisParms(SOP_VolumeAnalysisParms &&) noexcept = default;
56  SOP_VolumeAnalysisParms &operator=(SOP_VolumeAnalysisParms &&) noexcept = default;
57 
58  ~SOP_VolumeAnalysisParms() override {}
59 
61  {
62  if (myGroup != src.myGroup) return false;
63  if (myAnalysis != src.myAnalysis) return false;
64  if (myEdgedetectmode != src.myEdgedetectmode) return false;
65 
66  return true;
67  }
69  {
70  return !operator==(src);
71  }
74 
75 
76 
77  void buildFromOp(const OP_GraphProxy *graph, exint nodeidx, fpreal time, DEP_MicroNode *depnode)
78  {
79  myGroup = ""_UTsh;
80  if (true)
81  graph->evalOpParm(myGroup, nodeidx, "group", time, 0);
82  myAnalysis = 0;
83  if (true)
84  graph->evalOpParm(myAnalysis, nodeidx, "analysis", time, 0);
85  myEdgedetectmode = 0;
86  if (true && ( (true&&!(((int64(getAnalysis())!=3)))) ) )
87  graph->evalOpParm(myEdgedetectmode, nodeidx, "edgedetectmode", time, 0);
88 
89  }
90 
91 
92  void loadFromOpSubclass(const LoadParms &loadparms) override
93  {
94  buildFromOp(loadparms.graph(), loadparms.nodeIdx(), loadparms.context().getTime(), loadparms.depnode());
95  }
96 
97 
98  void copyFrom(const OP_NodeParms *src) override
99  {
100  *this = *((const SOP_VolumeAnalysisParms *)src);
101  }
102 
103  template <typename T>
104  void
105  doGetParmValue(TempIndex idx, TempIndex instance, T &value) const
106  {
107  if (idx.size() < 1)
108  return;
109  UT_ASSERT(idx.size() == instance.size()+1);
110  if (idx.size() != instance.size()+1)
111  return;
112  switch (idx[0])
113  {
114  case 0:
115  coerceValue(value, myGroup);
116  break;
117  case 1:
118  coerceValue(value, myAnalysis);
119  break;
120  case 2:
121  coerceValue(value, myEdgedetectmode);
122  break;
123 
124  }
125  }
126 
127  bool isParmColorRamp(exint idx) const override
128  {
129  switch (idx)
130  {
131 
132  }
133  return false;
134  }
135 
136  void getNestParmValue(TempIndex idx, TempIndex instance, exint &value) const override
137  { doGetParmValue(idx, instance, value); }
138  void getNestParmValue(TempIndex idx, TempIndex instance, fpreal &value) const override
139  { doGetParmValue(idx, instance, value); }
140  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector2D &value) const override
141  { doGetParmValue(idx, instance, value); }
142  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector3D &value) const override
143  { doGetParmValue(idx, instance, value); }
144  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector4D &value) const override
145  { doGetParmValue(idx, instance, value); }
146  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix2D &value) const override
147  { doGetParmValue(idx, instance, value); }
148  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix3D &value) const override
149  { doGetParmValue(idx, instance, value); }
150  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix4D &value) const override
151  { doGetParmValue(idx, instance, value); }
152  void getNestParmValue(TempIndex idx, TempIndex instance, UT_StringHolder &value) const override
153  { doGetParmValue(idx, instance, value); }
154  void getNestParmValue(TempIndex idx, TempIndex instance, UT_SharedPtr<UT_Ramp> &value) const override
155  { doGetParmValue(idx, instance, value); }
156  void getNestParmValue(TempIndex idx, TempIndex instance, PRM_DataItemHandle &value) const override
157  { doGetParmValue(idx, instance, value); }
158 
159  template <typename T>
160  void
161  doSetParmValue(TempIndex idx, TempIndex instance, const T &value)
162  {
163  if (idx.size() < 1)
164  return;
165  UT_ASSERT(idx.size() == instance.size()+1);
166  if (idx.size() != instance.size()+1)
167  return;
168  switch (idx[0])
169  {
170  case 0:
171  coerceValue(myGroup, ( ( value ) ));
172  break;
173  case 1:
174  coerceValue(myAnalysis, clampMinValue(0, clampMaxValue(3, value ) ));
175  break;
176  case 2:
177  coerceValue(myEdgedetectmode, clampMinValue(0, clampMaxValue(1, value ) ));
178  break;
179 
180  }
181  }
182 
183  void setNestParmValue(TempIndex idx, TempIndex instance, const exint &value) override
184  { doSetParmValue(idx, instance, value); }
185  void setNestParmValue(TempIndex idx, TempIndex instance, const fpreal &value) override
186  { doSetParmValue(idx, instance, value); }
187  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector2D &value) override
188  { doSetParmValue(idx, instance, value); }
189  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector3D &value) override
190  { doSetParmValue(idx, instance, value); }
191  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector4D &value) override
192  { doSetParmValue(idx, instance, value); }
193  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix2D &value) override
194  { doSetParmValue(idx, instance, value); }
195  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix3D &value) override
196  { doSetParmValue(idx, instance, value); }
197  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix4D &value) override
198  { doSetParmValue(idx, instance, value); }
199  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_StringHolder &value) override
200  { doSetParmValue(idx, instance, value); }
201  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_SharedPtr<UT_Ramp> &value) override
202  { doSetParmValue(idx, instance, value); }
203  void setNestParmValue(TempIndex idx, TempIndex instance, const PRM_DataItemHandle &value) override
204  { doSetParmValue(idx, instance, value); }
205 
206  exint getNestNumParms(TempIndex idx) const override
207  {
208  if (idx.size() == 0)
209  return 3;
210  switch (idx[0])
211  {
212 
213  }
214  // Invalid
215  return 0;
216  }
217 
218  const char *getNestParmName(TempIndex fieldnum) const override
219  {
220  if (fieldnum.size() < 1)
221  return 0;
222  switch (fieldnum[0])
223  {
224  case 0:
225  return "group";
226  case 1:
227  return "analysis";
228  case 2:
229  return "edgedetectmode";
230 
231  }
232  return 0;
233  }
234 
235  ParmType getNestParmType(TempIndex fieldnum) const override
236  {
237  if (fieldnum.size() < 1)
238  return PARM_UNSUPPORTED;
239  switch (fieldnum[0])
240  {
241  case 0:
242  return PARM_STRING;
243  case 1:
244  return PARM_INTEGER;
245  case 2:
246  return PARM_INTEGER;
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, myGroup);
362  saveData(os, myAnalysis);
363  saveData(os, myEdgedetectmode);
364 
365  }
366 
367  bool load(UT_IStream &is)
368  {
369  int32 v;
370  is.bread(&v, 1);
371  if (version() != v)
372  {
373  // Fail incompatible versions
374  return false;
375  }
376  loadData(is, myGroup);
377  loadData(is, myAnalysis);
378  loadData(is, myEdgedetectmode);
379 
380  return true;
381  }
382 
383  const UT_StringHolder & getGroup() const { return myGroup; }
384  void setGroup(const UT_StringHolder & val) { myGroup = val; }
386  {
387  SOP_Node *thissop = cookparms.getNode();
388  if (!thissop) return getGroup();
390  OP_Utils::evalOpParm(result, thissop, "group", cookparms.getCookTime(), 0);
391  return result;
392  }
393  Analysis getAnalysis() const { return Analysis(myAnalysis); }
394  void setAnalysis(Analysis val) { myAnalysis = int64(val); }
396  {
397  SOP_Node *thissop = cookparms.getNode();
398  if (!thissop) return getAnalysis();
399  int64 result;
400  OP_Utils::evalOpParm(result, thissop, "analysis", cookparms.getCookTime(), 0);
401  return Analysis(result);
402  }
403  Edgedetectmode getEdgedetectmode() const { return Edgedetectmode(myEdgedetectmode); }
404  void setEdgedetectmode(Edgedetectmode val) { myEdgedetectmode = int64(val); }
406  {
407  SOP_Node *thissop = cookparms.getNode();
408  if (!thissop) return getEdgedetectmode();
409  int64 result;
410  OP_Utils::evalOpParm(result, thissop, "edgedetectmode", cookparms.getCookTime(), 0);
411  return Edgedetectmode(result);
412  }
413 
414 private:
415  UT_StringHolder myGroup;
416  int64 myAnalysis;
417  int64 myEdgedetectmode;
418 
419 };
static void loadData(UT_IStream &is, UT_Matrix2D &v)
void getNestParmValue(TempIndex idx, TempIndex instance, fpreal &value) const override
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix4D &value) override
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix3D &value) const override
int int32
Definition: SYS_Types.h:39
SOP_Node * getNode() const
Definition: SOP_NodeVerb.h:347
void setNestParmValue(TempIndex idx, TempIndex instance, const PRM_DataItemHandle &value) override
T clampMaxValue(fpreal maxvalue, const T &src) const
Definition: OP_NodeParms.h:315
static void saveData(std::ostream &os, int64 v)
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector3D &value) override
const char * getNestParmName(TempIndex fieldnum) const override
ParmType getNestParmType(TempIndex fieldnum) const override
static void saveData(std::ostream &os, UT_Vector4D v)
exint bread(int32 *buffer, exint asize=1)
GLboolean * data
Definition: glcorearb.h:131
static void saveData(std::ostream &os, UT_Matrix2D v)
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 setNestParmValue(TempIndex idx, TempIndex instance, const exint &value) override
const OP_Context & context() const
Definition: OP_NodeParms.h:97
static void loadData(UT_IStream &is, UT_Vector4I &v)
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
exint getNestNumParms(TempIndex idx) const override
An output stream object that owns its own string buffer storage.
static void loadData(UT_IStream &is, bool &v)
void loadFromOpSubclass(const LoadParms &loadparms) override
static void saveData(std::ostream &os, fpreal64 v)
**But if you need a result
Definition: thread.h:613
T clampMinValue(fpreal minvalue, const T &src) const
Definition: OP_NodeParms.h:308
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector4D &value) 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.
static void loadData(UT_IStream &is, UT_SharedPtr< UT_Ramp > &v)
static void loadData(UT_IStream &is, UT_Vector3I &v)
constexpr SYS_FORCE_INLINE T & x() noexcept
Definition: UT_Vector4.h:491
static void saveData(std::ostream &os, UT_Matrix3D v)
double fpreal64
Definition: SYS_Types.h:201
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)
static void loadData(UT_IStream &is, UT_Matrix4D &v)
static void loadData(UT_IStream &is, int64 &v)
static void saveData(std::ostream &os, UT_Matrix4D v)
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix4D &value) const override
static void loadData(UT_IStream &is, UT_Vector2I &v)
static void loadData(UT_IStream &is, UT_Matrix3D &v)
exint length() const
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_StringHolder &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
static void saveData(std::ostream &os, UT_StringHolder s)
Analysis opAnalysis(const SOP_NodeVerb::CookParms &cookparms) const
constexpr SYS_FORCE_INLINE T & z() noexcept
Definition: UT_Vector4.h:495
bool isParmColorRamp(exint idx) const override
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector4D &value) const override
const UT_StringHolder & getGroup() const
static void loadData(UT_IStream &is, UT_Vector2D &v)
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector3D &value) const override
const OP_GraphProxy * graph() const
Definition: OP_NodeParms.h:94
static void loadData(UT_IStream &is, UT_StringHolder &v)
static void loadData(UT_IStream &is, fpreal64 &v)
long long int64
Definition: SYS_Types.h:116
void getNestParmValue(TempIndex idx, TempIndex instance, UT_SharedPtr< UT_Ramp > &value) const override
void getNestParmValue(TempIndex idx, TempIndex instance, exint &value) const override
void setEdgedetectmode(Edgedetectmode val)
virtual void evalOpParm(int64 &v, NodeIdx node, const char *parmname, fpreal time, DEP_MicroNode *depnode) const =0
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix3D &value) override
void saveBinary(std::ostream &os) const
Save string to binary stream.
Definition: UT_String.h:296
GT_API const UT_StringHolder version
void doSetParmValue(TempIndex idx, TempIndex instance, const T &value)
static void saveData(std::ostream &os, PRM_DataItemHandle s)
void doGetParmValue(TempIndex idx, TempIndex instance, T &value) const
void coerceValue(T &result, const S &src) const
Definition: OP_NodeParms.h:301
Edgedetectmode getEdgedetectmode() const
bool operator!=(const SOP_VolumeAnalysisParms &src) const
fpreal64 fpreal
Definition: SYS_Types.h:277
DEP_MicroNode * depnode() const
Definition: OP_NodeParms.h:99
void setNestParmValue(TempIndex idx, TempIndex instance, const fpreal &value) override
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector2D &value) const override
Utility class for containing a color ramp.
Definition: UT_Ramp.h:88
static void loadData(UT_IStream &is, PRM_DataItemHandle &v)
static void saveData(std::ostream &os, UT_Vector2D v)
void setGroup(const UT_StringHolder &val)
constexpr SYS_FORCE_INLINE T & w() noexcept
Definition: UT_Vector4.h:497
GLuint GLfloat * val
Definition: glcorearb.h:1608
#define SOP_API
Definition: SOP_API.h:10
bool operator==(const SOP_VolumeAnalysisParms &src) const
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix2D &value) const override
fpreal getCookTime() const
Definition: SOP_NodeVerb.h:361
UT_StringHolder opGroup(const SOP_NodeVerb::CookParms &cookparms) const
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix2D &value) override
static void loadData(UT_IStream &is, UT_Vector3D &v)
static void saveData(std::ostream &os, bool v)
static void saveData(std::ostream &os, UT_SharedPtr< UT_Ramp > s)
const char * findChar(int c) const
Definition: UT_String.h:1385
#define UT_ASSERT(ZZ)
Definition: UT_Assert.h:156
Definition: core.h:1131
GLboolean r
Definition: glcorearb.h:1222
void copyFrom(const OP_NodeParms *src) override
Edgedetectmode opEdgedetectmode(const SOP_NodeVerb::CookParms &cookparms) const
void save(std::ostream &os) const
constexpr SYS_FORCE_INLINE T & y() noexcept
Definition: UT_Vector3.h:665
type
Definition: core.h:1059
void buildFromOp(const OP_GraphProxy *graph, exint nodeidx, fpreal time, DEP_MicroNode *depnode)
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_SharedPtr< UT_Ramp > &value) override
UT_SharedPtr< const PRM_DataItem > PRM_DataItemHandle
Definition: PRM_Parm.h:89
constexpr SYS_FORCE_INLINE T & y() noexcept
Definition: UT_Vector2.h:425
SYS_FORCE_INLINE bool isstring() const
OP_NodeParms & operator=(const OP_NodeParms &)=default
SYS_FORCE_INLINE void strncpy(const char *src, exint maxlen)
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector2D &value) override
void getNestParmValue(TempIndex idx, TempIndex instance, UT_StringHolder &value) const override
GLenum src
Definition: glcorearb.h:1793
constexpr SYS_FORCE_INLINE T & x() noexcept
Definition: UT_Vector3.h:663
void getNestParmValue(TempIndex idx, TempIndex instance, PRM_DataItemHandle &value) const override
static void loadData(UT_IStream &is, UT_Vector4D &v)