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