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