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 <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_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 
72  if (baseGetSignature() != src.baseGetSignature()) return false;
73 
74  return true;
75  }
76  bool operator!=(const SOP_TetCraftParms &src) const
77  {
78  return !operator==(src);
79  }
81 
82 
83 
84  void buildFromOp(const OP_GraphProxy *graph, exint nodeidx, fpreal time, DEP_MicroNode *depnode)
85  {
86  myGroup = ""_UTsh;
87  if (true)
88  graph->evalOpParm(myGroup, nodeidx, "group", time, graph->isDirect()?nullptr:depnode);
89  myBuildDirection = 0;
90  if (true)
91  graph->evalOpParm(myBuildDirection, nodeidx, "direction", time, graph->isDirect()?nullptr:depnode);
92  myCreateTets = true;
93  if (true)
94  graph->evalOpParm(myCreateTets, nodeidx, "createtets", time, graph->isDirect()?nullptr:depnode);
95 
96  }
97 
98 
99  void loadFromOpSubclass(const LoadParms &loadparms) override
100  {
101  buildFromOp(loadparms.graph(), loadparms.nodeIdx(), loadparms.context().getTime(), loadparms.depnode());
102  }
103 
104 
105  void copyFrom(const OP_NodeParms *src) override
106  {
107  *this = *((const SOP_TetCraftParms *)src);
108  }
109 
110  template <typename T>
111  void
112  doGetParmValue(TempIndex idx, TempIndex instance, T &value) const
113  {
114  if (idx.size() < 1)
115  return;
116  UT_ASSERT(idx.size() == instance.size()+1);
117  if (idx.size() != instance.size()+1)
118  return;
119  switch (idx[0])
120  {
121  case 0:
122  coerceValue(value, myGroup);
123  break;
124  case 1:
125  coerceValue(value, myBuildDirection);
126  break;
127  case 2:
128  coerceValue(value, myCreateTets);
129  break;
130 
131  }
132  }
133 
134  bool isParmColorRamp(exint idx) const override
135  {
136  switch (idx)
137  {
138 
139  }
140  return false;
141  }
142 
143  void getNestParmValue(TempIndex idx, TempIndex instance, exint &value) const override
144  { doGetParmValue(idx, instance, value); }
145  void getNestParmValue(TempIndex idx, TempIndex instance, fpreal &value) const override
146  { doGetParmValue(idx, instance, value); }
147  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector2D &value) const override
148  { doGetParmValue(idx, instance, value); }
149  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector3D &value) const override
150  { doGetParmValue(idx, instance, value); }
151  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Vector4D &value) const override
152  { doGetParmValue(idx, instance, value); }
153  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix2D &value) const override
154  { doGetParmValue(idx, instance, value); }
155  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix3D &value) const override
156  { doGetParmValue(idx, instance, value); }
157  void getNestParmValue(TempIndex idx, TempIndex instance, UT_Matrix4D &value) const override
158  { doGetParmValue(idx, instance, value); }
159  void getNestParmValue(TempIndex idx, TempIndex instance, UT_StringHolder &value) const override
160  { doGetParmValue(idx, instance, value); }
161  void getNestParmValue(TempIndex idx, TempIndex instance, UT_SharedPtr<UT_Ramp> &value) const override
162  { doGetParmValue(idx, instance, value); }
163  void getNestParmValue(TempIndex idx, TempIndex instance, PRM_DataItemHandle &value) const override
164  { doGetParmValue(idx, instance, value); }
165 
166  template <typename T>
167  void
168  doSetParmValue(TempIndex idx, TempIndex instance, const T &value)
169  {
170  if (idx.size() < 1)
171  return;
172  UT_ASSERT(idx.size() == instance.size()+1);
173  if (idx.size() != instance.size()+1)
174  return;
175  switch (idx[0])
176  {
177  case 0:
178  coerceValue(myGroup, ( ( value ) ));
179  break;
180  case 1:
181  coerceValue(myBuildDirection, clampMinValue(0, clampMaxValue(1, value ) ));
182  break;
183  case 2:
184  coerceValue(myCreateTets, ( ( value ) ));
185  break;
186 
187  }
188  }
189 
190  void setNestParmValue(TempIndex idx, TempIndex instance, const exint &value) override
191  { doSetParmValue(idx, instance, value); }
192  void setNestParmValue(TempIndex idx, TempIndex instance, const fpreal &value) override
193  { doSetParmValue(idx, instance, value); }
194  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector2D &value) override
195  { doSetParmValue(idx, instance, value); }
196  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector3D &value) override
197  { doSetParmValue(idx, instance, value); }
198  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector4D &value) override
199  { doSetParmValue(idx, instance, value); }
200  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix2D &value) override
201  { doSetParmValue(idx, instance, value); }
202  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix3D &value) override
203  { doSetParmValue(idx, instance, value); }
204  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Matrix4D &value) override
205  { doSetParmValue(idx, instance, value); }
206  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_StringHolder &value) override
207  { doSetParmValue(idx, instance, value); }
208  void setNestParmValue(TempIndex idx, TempIndex instance, const UT_SharedPtr<UT_Ramp> &value) override
209  { doSetParmValue(idx, instance, value); }
210  void setNestParmValue(TempIndex idx, TempIndex instance, const PRM_DataItemHandle &value) override
211  { doSetParmValue(idx, instance, value); }
212 
213  exint getNestNumParms(TempIndex idx) const override
214  {
215  if (idx.size() == 0)
216  return 3;
217  switch (idx[0])
218  {
219 
220  }
221  // Invalid
222  return 0;
223  }
224 
225  const char *getNestParmName(TempIndex fieldnum) const override
226  {
227  if (fieldnum.size() < 1)
228  return 0;
229  switch (fieldnum[0])
230  {
231  case 0:
232  return "group";
233  case 1:
234  return "direction";
235  case 2:
236  return "createtets";
237 
238  }
239  return 0;
240  }
241 
242  ParmType getNestParmType(TempIndex fieldnum) const override
243  {
244  if (fieldnum.size() < 1)
245  return PARM_UNSUPPORTED;
246  switch (fieldnum[0])
247  {
248  case 0:
249  return PARM_STRING;
250  case 1:
251  return PARM_INTEGER;
252  case 2:
253  return PARM_INTEGER;
254 
255  }
256  return PARM_UNSUPPORTED;
257  }
258 
259  // Boiler plate to load individual types.
260  static void loadData(UT_IStream &is, int64 &v)
261  { is.bread(&v, 1); }
262  static void loadData(UT_IStream &is, bool &v)
263  { int64 iv; is.bread(&iv, 1); v = iv; }
264  static void loadData(UT_IStream &is, fpreal64 &v)
265  { is.bread<fpreal64>(&v, 1); }
266  static void loadData(UT_IStream &is, UT_Vector2D &v)
267  { is.bread<fpreal64>(&v.x(), 1); is.bread<fpreal64>(&v.y(), 1); }
268  static void loadData(UT_IStream &is, UT_Vector3D &v)
269  { is.bread<fpreal64>(&v.x(), 1); is.bread<fpreal64>(&v.y(), 1);
270  is.bread<fpreal64>(&v.z(), 1); }
271  static void loadData(UT_IStream &is, UT_Vector4D &v)
272  { is.bread<fpreal64>(&v.x(), 1); is.bread<fpreal64>(&v.y(), 1);
273  is.bread<fpreal64>(&v.z(), 1); is.bread<fpreal64>(&v.w(), 1); }
274  static void loadData(UT_IStream &is, UT_Matrix2D &v)
275  { for (int r = 0; r < 2; r++) for (int c = 0; c < 2; c++) is.bread<fpreal64>(&v(r, c), 1); }
276  static void loadData(UT_IStream &is, UT_Matrix3D &v)
277  { for (int r = 0; r < 3; r++) for (int c = 0; c < 3; c++) is.bread<fpreal64>(&v(r, c), 1); }
278  static void loadData(UT_IStream &is, UT_Matrix4D &v)
279  { for (int r = 0; r < 4; r++) for (int c = 0; c < 4; c++) is.bread<fpreal64>(&v(r, c), 1); }
280  static void loadData(UT_IStream &is, UT_Vector2I &v)
281  { is.bread<int64>(&v.x(), 1); is.bread<int64>(&v.y(), 1); }
282  static void loadData(UT_IStream &is, UT_Vector3I &v)
283  { is.bread<int64>(&v.x(), 1); is.bread<int64>(&v.y(), 1);
284  is.bread<int64>(&v.z(), 1); }
285  static void loadData(UT_IStream &is, UT_Vector4I &v)
286  { is.bread<int64>(&v.x(), 1); is.bread<int64>(&v.y(), 1);
287  is.bread<int64>(&v.z(), 1); is.bread<int64>(&v.w(), 1); }
289  { is.bread(v); }
291  { UT_StringHolder rampdata;
292  loadData(is, rampdata);
293  if (rampdata.isstring())
294  {
295  v.reset(new UT_Ramp());
296  UT_IStream istr((const char *) rampdata, rampdata.length(), UT_ISTREAM_ASCII);
297  v->load(istr);
298  }
299  else v.reset();
300  }
303  loadData(is, data);
304  if (data.isstring())
305  {
306  // Find the data type.
307  const char *colon = UT_StringWrap(data).findChar(':');
308  if (colon)
309  {
310  int typelen = colon - data.buffer();
312  type.strncpy(data.buffer(), typelen);
313  UT_IStream istr(((const char *) data) + typelen + 1, data.length() - (typelen + 1), UT_ISTREAM_BINARY);
314 
315  v = PRM_DataFactory::parseBinary(type.buffer(), istr);
316  }
317  }
318  else v.reset();
319  }
320 
321  static void saveData(std::ostream &os, int64 v)
322  { UTwrite(os, &v); }
323  static void saveData(std::ostream &os, bool v)
324  { int64 iv = v; UTwrite(os, &iv); }
325  static void saveData(std::ostream &os, fpreal64 v)
326  { UTwrite<fpreal64>(os, &v); }
327  static void saveData(std::ostream &os, UT_Vector2D v)
328  { UTwrite<fpreal64>(os, &v.x()); UTwrite<fpreal64>(os, &v.y()); }
329  static void saveData(std::ostream &os, UT_Vector3D v)
330  { UTwrite<fpreal64>(os, &v.x()); UTwrite<fpreal64>(os, &v.y());
331  UTwrite<fpreal64>(os, &v.z()); }
332  static void saveData(std::ostream &os, UT_Vector4D v)
333  { UTwrite<fpreal64>(os, &v.x()); UTwrite<fpreal64>(os, &v.y());
334  UTwrite<fpreal64>(os, &v.z()); UTwrite<fpreal64>(os, &v.w()); }
335  static void saveData(std::ostream &os, UT_Matrix2D v)
337  static void saveData(std::ostream &os, UT_Matrix3D v)
339  static void saveData(std::ostream &os, UT_Matrix4D v)
341  static void saveData(std::ostream &os, UT_StringHolder s)
342  { UT_StringWrap(s).saveBinary(os); }
343  static void saveData(std::ostream &os, UT_SharedPtr<UT_Ramp> s)
345  UT_OStringStream ostr;
346  if (s) s->save(ostr);
347  result = ostr.str();
348  saveData(os, result);
349  }
350  static void saveData(std::ostream &os, PRM_DataItemHandle s)
352  UT_OStringStream ostr;
353  if (s)
354  {
355  ostr << s->getDataTypeToken();
356  ostr << ":";
357  s->saveBinary(ostr);
358  }
359  result = ostr.str();
360  saveData(os, result);
361  }
362 
363 
364  void save(std::ostream &os) const
365  {
366  int32 v = version();
367  UTwrite(os, &v);
368  saveData(os, myGroup);
369  saveData(os, myBuildDirection);
370  saveData(os, myCreateTets);
371 
372  }
373 
374  bool load(UT_IStream &is)
375  {
376  int32 v;
377  is.bread(&v, 1);
378  if (version() != v)
379  {
380  // Fail incompatible versions
381  return false;
382  }
383  loadData(is, myGroup);
384  loadData(is, myBuildDirection);
385  loadData(is, myCreateTets);
386 
387  return true;
388  }
389 
390  const UT_StringHolder & getGroup() const { return myGroup; }
391  void setGroup(const UT_StringHolder & val) { myGroup = val; }
393  {
394  SOP_Node *thissop = cookparms.getNode();
395  if (!thissop) return getGroup();
397  OP_Utils::evalOpParm(result, thissop, "group", cookparms.getCookTime(), 0);
398  return result;
399  }
400  BuildDirection getBuildDirection() const { return BuildDirection(myBuildDirection); }
401  void setBuildDirection(BuildDirection val) { myBuildDirection = int64(val); }
403  {
404  SOP_Node *thissop = cookparms.getNode();
405  if (!thissop) return getBuildDirection();
406  int64 result;
407  OP_Utils::evalOpParm(result, thissop, "direction", cookparms.getCookTime(), 0);
408  return BuildDirection(result);
409  }
410  bool getCreateTets() const { return myCreateTets; }
411  void setCreateTets(bool val) { myCreateTets = val; }
412  bool opCreateTets(const SOP_NodeVerb::CookParms &cookparms) const
413  {
414  SOP_Node *thissop = cookparms.getNode();
415  if (!thissop) return getCreateTets();
416  bool result;
417  OP_Utils::evalOpParm(result, thissop, "createtets", cookparms.getCookTime(), 0);
418  return result;
419  }
420 
421 private:
422  UT_StringHolder myGroup;
423  int64 myBuildDirection;
424  bool myCreateTets;
425 
426 };
const UT_StringHolder & getGroup() const
type
Definition: core.h:556
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:63
void setNestParmValue(TempIndex idx, TempIndex instance, const UT_Vector3D &value) override
GLsizei const GLfloat * value
Definition: glcorearb.h:824
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:622
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
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
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:303
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:278
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:96
constexpr SYS_FORCE_INLINE T & w() noexcept
Definition: UT_Vector4.h:497
GLuint GLfloat * val
Definition: glcorearb.h:1608
virtual UT_StringHolder baseGetSignature() const
Definition: OP_NodeParms.h:294
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:372
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:1401
#define UT_ASSERT(ZZ)
Definition: UT_Assert.h:156
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
static void loadData(UT_IStream &is, PRM_DataItemHandle &v)
virtual bool isDirect() const =0
Direct proxies mirror actual nodes:
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
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