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