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 
34  getToken(Analysis enum_value)
35  {
36  using namespace UT::Literal;
37  switch (enum_value) {
38  case Analysis::CURVATURE: return "curvature"_sh;
39  case Analysis::GRADIENT: return "gradient"_sh;
40  case Analysis::LAPLACIAN: return "laplacian"_sh;
41  case Analysis::EDGEDETECT: return "edgedetect"_sh;
42  default: UT_ASSERT(false); return ""_sh;
43  }
44  }
45 
46  enum class Edgedetectmode
47  {
48  SOBEL = 0,
49  PREWITT
50  };
51 
53  getToken(Edgedetectmode enum_value)
54  {
55  using namespace UT::Literal;
56  switch (enum_value) {
57  case Edgedetectmode::SOBEL: return "sobel"_sh;
58  case Edgedetectmode::PREWITT: return "prewitt"_sh;
59  default: UT_ASSERT(false); return ""_sh;
60  }
61  }
62 
63 }
64 
65 
67 {
68 public:
69  static int version() { return 1; }
70 
72  {
73  myGroup = ""_UTsh;
74  myAnalysis = 0;
75  myEdgedetectmode = 0;
76 
77  }
78 
79  explicit SOP_VolumeAnalysisParms(const SOP_VolumeAnalysisParms &) = default;
81  SOP_VolumeAnalysisParms(SOP_VolumeAnalysisParms &&) noexcept = default;
82  SOP_VolumeAnalysisParms &operator=(SOP_VolumeAnalysisParms &&) noexcept = default;
83 
84  ~SOP_VolumeAnalysisParms() override {}
85 
87  {
88  if (myGroup != src.myGroup) return false;
89  if (myAnalysis != src.myAnalysis) return false;
90  if (myEdgedetectmode != src.myEdgedetectmode) return false;
91 
92  return true;
93  }
95  {
96  return !operator==(src);
97  }
100 
101 
102 
103  void buildFromOp(const OP_GraphProxy *graph, exint nodeidx, fpreal time, DEP_MicroNode *depnode)
104  {
105  myGroup = ""_UTsh;
106  if (true)
107  graph->evalOpParm(myGroup, nodeidx, "group", time, 0);
108  myAnalysis = 0;
109  if (true)
110  graph->evalOpParm(myAnalysis, nodeidx, "analysis", time, 0);
111  myEdgedetectmode = 0;
112  if (true && ( (true&&!(((int64(getAnalysis())!=3)))) ) )
113  graph->evalOpParm(myEdgedetectmode, nodeidx, "edgedetectmode", time, 0);
114 
115  }
116 
117 
118  void loadFromOpSubclass(const LoadParms &loadparms) override
119  {
120  buildFromOp(loadparms.graph(), loadparms.nodeIdx(), loadparms.context().getTime(), loadparms.depnode());
121  }
122 
123 
124  void copyFrom(const OP_NodeParms *src) override
125  {
126  *this = *((const SOP_VolumeAnalysisParms *)src);
127  }
128 
129  template <typename T>
130  void
131  doGetParmValue(TempIndex idx, TempIndex instance, T &value) const
132  {
133  if (idx.size() < 1)
134  return;
135  UT_ASSERT(idx.size() == instance.size()+1);
136  if (idx.size() != instance.size()+1)
137  return;
138  switch (idx[0])
139  {
140  case 0:
141  coerceValue(value, myGroup);
142  break;
143  case 1:
144  coerceValue(value, myAnalysis);
145  break;
146  case 2:
147  coerceValue(value, myEdgedetectmode);
148  break;
149 
150  }
151  }
152 
153  bool isParmColorRamp(exint idx) const override
154  {
155  switch (idx)
156  {
157 
158  }
159  return false;
160  }
161 
162  void getNestParmValue(TempIndex idx, TempIndex instance, exint &value) const override
163  { doGetParmValue(idx, instance, value); }
164  void getNestParmValue(TempIndex idx, TempIndex instance, fpreal &value) const override
165  { doGetParmValue(idx, instance, value); }
166  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector2D &value) const override
167  { doGetParmValue(idx, instance, value); }
168  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector3D &value) const override
169  { doGetParmValue(idx, instance, value); }
170  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector4D &value) const override
171  { doGetParmValue(idx, instance, value); }
172  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix2D &value) const override
173  { doGetParmValue(idx, instance, value); }
174  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix3D &value) const override
175  { doGetParmValue(idx, instance, value); }
176  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix4D &value) const override
177  { doGetParmValue(idx, instance, value); }
178  void getNestParmValue(TempIndex idx, TempIndex instance, UT_StringHolder &value) const override
179  { doGetParmValue(idx, instance, value); }
180  void getNestParmValue(TempIndex idx, TempIndex instance, UT_SharedPtr<UT_Ramp> &value) const override
181  { doGetParmValue(idx, instance, value); }
182  void getNestParmValue(TempIndex idx, TempIndex instance, PRM_DataItemHandle &value) const override
183  { doGetParmValue(idx, instance, value); }
184 
185  template <typename T>
186  void
187  doSetParmValue(TempIndex idx, TempIndex instance, const T &value)
188  {
189  if (idx.size() < 1)
190  return;
191  UT_ASSERT(idx.size() == instance.size()+1);
192  if (idx.size() != instance.size()+1)
193  return;
194  switch (idx[0])
195  {
196  case 0:
197  coerceValue(myGroup, ( ( value ) ));
198  break;
199  case 1:
200  coerceValue(myAnalysis, clampMinValue(0, clampMaxValue(3, value ) ));
201  break;
202  case 2:
203  coerceValue(myEdgedetectmode, clampMinValue(0, clampMaxValue(1, 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 3;
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 "analysis";
254  case 2:
255  return "edgedetectmode";
256 
257  }
258  return 0;
259  }
260 
261  ParmType getNestParmType(TempIndex fieldnum) const override
262  {
263  if (fieldnum.size() < 1)
264  return PARM_UNSUPPORTED;
265  switch (fieldnum[0])
266  {
267  case 0:
268  return PARM_STRING;
269  case 1:
270  return PARM_INTEGER;
271  case 2:
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, myAnalysis);
389  saveData(os, myEdgedetectmode);
390 
391  }
392 
393  bool load(UT_IStream &is)
394  {
395  int32 v;
396  is.bread(&v, 1);
397  if (version() != v)
398  {
399  // Fail incompatible versions
400  return false;
401  }
402  loadData(is, myGroup);
403  loadData(is, myAnalysis);
404  loadData(is, myEdgedetectmode);
405 
406  return true;
407  }
408 
409  const UT_StringHolder & getGroup() const { return myGroup; }
410  void setGroup(const UT_StringHolder & val) { myGroup = val; }
412  {
413  SOP_Node *thissop = cookparms.getNode();
414  if (!thissop) return getGroup();
416  OP_Utils::evalOpParm(result, thissop, "group", cookparms.getCookTime(), 0);
417  return result;
418  }
419  Analysis getAnalysis() const { return Analysis(myAnalysis); }
420  void setAnalysis(Analysis val) { myAnalysis = int64(val); }
422  {
423  SOP_Node *thissop = cookparms.getNode();
424  if (!thissop) return getAnalysis();
425  int64 result;
426  OP_Utils::evalOpParm(result, thissop, "analysis", cookparms.getCookTime(), 0);
427  return Analysis(result);
428  }
429  Edgedetectmode getEdgedetectmode() const { return Edgedetectmode(myEdgedetectmode); }
430  void setEdgedetectmode(Edgedetectmode val) { myEdgedetectmode = int64(val); }
432  {
433  SOP_Node *thissop = cookparms.getNode();
434  if (!thissop) return getEdgedetectmode();
435  int64 result;
436  OP_Utils::evalOpParm(result, thissop, "edgedetectmode", cookparms.getCookTime(), 0);
437  return Edgedetectmode(result);
438  }
439 
440 private:
441  UT_StringHolder myGroup;
442  int64 myAnalysis;
443  int64 myEdgedetectmode;
444 
445 };
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
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
SYS_FORCE_INLINE UT_StringHolder getToken(Analysis enum_value)
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
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)
#define SYS_FORCE_INLINE
Definition: SYS_Inline.h:45
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
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
LeafData & operator=(const LeafData &)=delete
void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector2D &value) const override
Utility class for containing a color ramp.
Definition: UT_Ramp.h:92
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:1395
#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:97
constexpr SYS_FORCE_INLINE T & y() noexcept
Definition: UT_Vector2.h:425
SYS_FORCE_INLINE bool isstring() const
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)