HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SIM_OpenCLMergeVDBParms.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 <SIMZ/SIMZ_API.h>
7 #include <SIM/SIM_Query.h>
8 #include <OP/OP_Utils.h>
9 #include <PRM/PRM_Parm.h>
10 #include <UT/UT_IStream.h>
11 #include <UT/UT_NTStreamUtil.h>
12 #include <UT/UT_Ramp.h>
13 #include <UT/UT_SharedPtr.h>
14 #include <UT/UT_StringHolder.h>
15 #include <UT/UT_StringStream.h>
16 #include <UT/UT_VectorTypes.h>
17 #include <UT/UT_EnvControl.h>
18 #include <SYS/SYS_Types.h>
19 
20 class DEP_MicroNode;
21 
23 {
24 public:
25  static int version() { return 0; }
26  struct Sources
27  {
36  bool noneg;
42  bool normalize;
43 
44 
46  {
47  activate = 0;
48  rank = 0;
49  srcvdb = ""_UTsh;
50  srcweight = ""_UTsh;
51  targetfield = ""_UTsh;
52  weightfield = ""_UTsh;
53  operation = 0;
54  useveclength = false;
55  noneg = false;
56  accguidestr = 0;
57  decguidestr = 0;
58  enabledirguide = false;
59  dirguidestr = 0;
60  scale = 0;
61  normalize = false;
62 
63  }
64 
65  bool operator==(const Sources &src) const
66  {
67  if (activate != src.activate) return false;
68  if (rank != src.rank) return false;
69  if (srcvdb != src.srcvdb) return false;
70  if (srcweight != src.srcweight) return false;
71  if (targetfield != src.targetfield) return false;
72  if (weightfield != src.weightfield) return false;
73  if (operation != src.operation) return false;
74  if (useveclength != src.useveclength) return false;
75  if (noneg != src.noneg) return false;
76  if (accguidestr != src.accguidestr) return false;
77  if (decguidestr != src.decguidestr) return false;
78  if (enabledirguide != src.enabledirguide) return false;
79  if (dirguidestr != src.dirguidestr) return false;
80  if (scale != src.scale) return false;
81  if (normalize != src.normalize) return false;
82 
83  return true;
84  }
85  bool operator!=(const Sources &src) const
86  {
87  return !operator==(src);
88  }
89 
90  };
91 
93  {
95 
96  buf.strcat("[ ");
97  for (int i = 0; i < list.entries(); i++)
98  {
99  if (i)
100  buf.strcat(", ");
101  buf.strcat("( ");
102  buf.append("");
103  buf.appendSprintf("%d", (int) list(i).activate);
104  buf.append(", ");
105  buf.appendSprintf("%d", (int) list(i).rank);
106  buf.append(", ");
107  { UT_String tmp; tmp = UT_StringWrap(list(i).srcvdb).makeQuotedString('"'); buf.strcat(tmp); }
108  buf.append(", ");
109  { UT_String tmp; tmp = UT_StringWrap(list(i).srcweight).makeQuotedString('"'); buf.strcat(tmp); }
110  buf.append(", ");
111  { UT_String tmp; tmp = UT_StringWrap(list(i).targetfield).makeQuotedString('"'); buf.strcat(tmp); }
112  buf.append(", ");
113  { UT_String tmp; tmp = UT_StringWrap(list(i).weightfield).makeQuotedString('"'); buf.strcat(tmp); }
114  buf.append(", ");
115  buf.appendSprintf("%d", (int) list(i).operation);
116  buf.append(", ");
117  buf.appendSprintf("%s", (list(i).useveclength) ? "true" : "false");
118  buf.append(", ");
119  buf.appendSprintf("%s", (list(i).noneg) ? "true" : "false");
120  buf.append(", ");
121  buf.appendSprintf("%f", (list(i).accguidestr));
122  buf.append(", ");
123  buf.appendSprintf("%f", (list(i).decguidestr));
124  buf.append(", ");
125  buf.appendSprintf("%s", (list(i).enabledirguide) ? "true" : "false");
126  buf.append(", ");
127  buf.appendSprintf("%f", (list(i).dirguidestr));
128  buf.append(", ");
129  buf.appendSprintf("%f", (list(i).scale));
130  buf.append(", ");
131  buf.appendSprintf("%s", (list(i).normalize) ? "true" : "false");
132 
133  buf.strcat(" )");
134  }
135  buf.strcat(" ]");
136 
138  return result;
139  }
140 
142  {
143  myDopGeometry = ""_UTsh;
144  mySrcSuffix = ""_UTsh;
145  mySourceType = 0;
146  myUseInstances = false;
147  myInstanceGeo = ""_UTsh;
148  myPosition = 0;
149 
150  }
151 
152  explicit SIM_OpenCLMergeVDBParms(const SIM_OpenCLMergeVDBParms &) = default;
154  SIM_OpenCLMergeVDBParms(SIM_OpenCLMergeVDBParms &&) noexcept = default;
155  SIM_OpenCLMergeVDBParms &operator=(SIM_OpenCLMergeVDBParms &&) noexcept = default;
156 
158 
160  {
161  if (myDopGeometry != src.myDopGeometry) return false;
162  if (mySrcSuffix != src.mySrcSuffix) return false;
163  if (mySourceType != src.mySourceType) return false;
164  if (myUseInstances != src.myUseInstances) return false;
165  if (myInstanceGeo != src.myInstanceGeo) return false;
166  if (myPosition != src.myPosition) return false;
167  if (mySources != src.mySources) return false;
168 
169 
170  return true;
171  }
173  {
174  return !operator==(src);
175  }
176 
177 
178  class Query : public SIM_Query
179  {
180  public:
181  explicit Query(const SIM_Data *owner, const SIM_OpenCLMergeVDBParms &parms)
182  : SIM_Query(owner)
183  , myParms(parms)
184  { }
185  ~Query() override {}
186 
187  protected:
188  bool isMyRecord(const char *recordtype) const
189  { return !strcmp(recordtype, "Params"); }
190 
191  int getNumRecordTypesSubclass() const override { return 1; }
192  const char *getRecordTypeNameSubclass(int recordtypenum) const override
193  {
194  if (recordtypenum == 0) return "Params";
195  return 0;
196  }
197  int getNumRecordsSubclass(const char *recordtype) const override
198  {
199  if (isMyRecord(recordtype)) return 1;
200  return 0;
201  }
202  int getNumFieldsSubclass(const char *recordtype) const override
203  {
204  if (isMyRecord(recordtype))
205  return 7;
206  return 0;
207  }
208 
209  const char *getFieldNameSubclass(const char *recordtype,
210  int fieldnum) const override
211  {
212  if (!isMyRecord(recordtype))
213  return 0;
214 
215  switch (fieldnum)
216  {
217  case 0:
218  return "dopgeo";
219  case 1:
220  return "srcsuffix";
221  case 2:
222  return "srctype";
223  case 3:
224  return "useinst";
225  case 4:
226  return "instgeo";
227  case 5:
228  return "loc";
229  case 6:
230  return "sources";
231 
232  }
233  return 0;
234  }
235  UT_OptionType getFieldTypeSubclass(const char *recordtype,
236  int fieldnum) const override
237  {
238  if (!isMyRecord(recordtype))
239  return UT_OPTION_INVALID;
240 
241  switch (fieldnum)
242  {
243  case 0:
244  return UT_OPTION_STRING;
245  case 1:
246  return UT_OPTION_STRING;
247  case 2:
248  return UT_OPTION_INT;
249  case 3:
250  return UT_OPTION_BOOL;
251  case 4:
252  return UT_OPTION_STRING;
253  case 5:
254  return UT_OPTION_VECTOR3;
255  case 6:
256  return UT_OPTION_STRING;
257 
258  }
259  return UT_OPTION_INVALID;
260  }
261 
262  bool getFieldRawSubclass(const char *recordtype,
263  int recordnum,
264  const char *fieldname,
265  UT_OptionEntryPtr &result) const override
266  {
267  if (!isMyRecord(recordtype))
268  return false;
269  if (recordnum != 0)
270  return false;
271  // This is less optimal, but if we are in SIM_Query
272  // land we have already given up on performance.
273  if (!strcmp(fieldname, "dopgeo"))
274  {
275  result = UTmakeUnique<UT_OptionString>(myParms.myDopGeometry);
276  return true;
277  }
278  if (!strcmp(fieldname, "srcsuffix"))
279  {
280  result = UTmakeUnique<UT_OptionString>(myParms.mySrcSuffix);
281  return true;
282  }
283  if (!strcmp(fieldname, "srctype"))
284  {
285  result = UTmakeUnique<UT_OptionInt>(myParms.mySourceType);
286  return true;
287  }
288  if (!strcmp(fieldname, "useinst"))
289  {
290  result = UTmakeUnique<UT_OptionBool>(myParms.myUseInstances);
291  return true;
292  }
293  if (!strcmp(fieldname, "instgeo"))
294  {
295  result = UTmakeUnique<UT_OptionString>(myParms.myInstanceGeo);
296  return true;
297  }
298  if (!strcmp(fieldname, "loc"))
299  {
300  result = UTmakeUnique<UT_OptionVector3>(myParms.myPosition);
301  return true;
302  }
303  if (!strcmp(fieldname, "sources"))
304  {
305  result = UTmakeUnique<UT_OptionString>(myParms.createString(myParms.mySources));
306  return true;
307  }
308 
309  // Failed to find
310  return false;
311  }
312 
314  };
315 
316  SIM_Query *createQueryObject(const SIM_Data *owner) const
317  { return new Query(owner, *this); }
318 
319 
320 
321 
322  // Boiler plate to load individual types.
323  static void loadData(UT_IStream &is, int64 &v)
324  { is.bread(&v, 1); }
325  static void loadData(UT_IStream &is, bool &v)
326  { int64 iv; is.bread(&iv, 1); v = iv; }
327  static void loadData(UT_IStream &is, fpreal64 &v)
328  { is.bread<fpreal64>(&v, 1); }
329  static void loadData(UT_IStream &is, UT_Vector2D &v)
330  { is.bread<fpreal64>(&v.x(), 1); is.bread<fpreal64>(&v.y(), 1); }
331  static void loadData(UT_IStream &is, UT_Vector3D &v)
332  { is.bread<fpreal64>(&v.x(), 1); is.bread<fpreal64>(&v.y(), 1);
333  is.bread<fpreal64>(&v.z(), 1); }
334  static void loadData(UT_IStream &is, UT_Vector4D &v)
335  { is.bread<fpreal64>(&v.x(), 1); is.bread<fpreal64>(&v.y(), 1);
336  is.bread<fpreal64>(&v.z(), 1); is.bread<fpreal64>(&v.w(), 1); }
337  static void loadData(UT_IStream &is, UT_Matrix2D &v)
338  { for (int r = 0; r < 2; r++) for (int c = 0; c < 2; c++) is.bread<fpreal64>(&v(r, c), 1); }
339  static void loadData(UT_IStream &is, UT_Matrix3D &v)
340  { for (int r = 0; r < 3; r++) for (int c = 0; c < 3; c++) is.bread<fpreal64>(&v(r, c), 1); }
341  static void loadData(UT_IStream &is, UT_Matrix4D &v)
342  { for (int r = 0; r < 4; r++) for (int c = 0; c < 4; c++) is.bread<fpreal64>(&v(r, c), 1); }
343  static void loadData(UT_IStream &is, UT_Vector2I &v)
344  { is.bread<int64>(&v.x(), 1); is.bread<int64>(&v.y(), 1); }
345  static void loadData(UT_IStream &is, UT_Vector3I &v)
346  { is.bread<int64>(&v.x(), 1); is.bread<int64>(&v.y(), 1);
347  is.bread<int64>(&v.z(), 1); }
348  static void loadData(UT_IStream &is, UT_Vector4I &v)
349  { is.bread<int64>(&v.x(), 1); is.bread<int64>(&v.y(), 1);
350  is.bread<int64>(&v.z(), 1); is.bread<int64>(&v.w(), 1); }
352  { is.bread(v); }
354  { UT_StringHolder rampdata;
355  loadData(is, rampdata);
356  if (rampdata.isstring())
357  {
358  v.reset(new UT_Ramp());
359  UT_IStream istr((const char *) rampdata, rampdata.length(), UT_ISTREAM_ASCII);
360  v->load(istr);
361  }
362  else v.reset();
363  }
366  loadData(is, data);
367  if (data.isstring())
368  {
369  // Find the data type.
370  const char *colon = UT_StringWrap(data).findChar(':');
371  if (colon)
372  {
373  int typelen = colon - data.buffer();
375  type.strncpy(data.buffer(), typelen);
376  UT_IStream istr(((const char *) data) + typelen + 1, data.length() - (typelen + 1), UT_ISTREAM_BINARY);
377 
378  v = PRM_DataFactory::parseBinary(type.buffer(), istr);
379  }
380  }
381  else v.reset();
382  }
383 
384  static void saveData(std::ostream &os, int64 v)
385  { UTwrite(os, &v); }
386  static void saveData(std::ostream &os, bool v)
387  { int64 iv = v; UTwrite(os, &iv); }
388  static void saveData(std::ostream &os, fpreal64 v)
389  { UTwrite<fpreal64>(os, &v); }
390  static void saveData(std::ostream &os, UT_Vector2D v)
391  { UTwrite<fpreal64>(os, &v.x()); UTwrite<fpreal64>(os, &v.y()); }
392  static void saveData(std::ostream &os, UT_Vector3D v)
393  { UTwrite<fpreal64>(os, &v.x()); UTwrite<fpreal64>(os, &v.y());
394  UTwrite<fpreal64>(os, &v.z()); }
395  static void saveData(std::ostream &os, UT_Vector4D v)
396  { UTwrite<fpreal64>(os, &v.x()); UTwrite<fpreal64>(os, &v.y());
397  UTwrite<fpreal64>(os, &v.z()); UTwrite<fpreal64>(os, &v.w()); }
398  static void saveData(std::ostream &os, UT_Matrix2D v)
400  static void saveData(std::ostream &os, UT_Matrix3D v)
402  static void saveData(std::ostream &os, UT_Matrix4D v)
404  static void saveData(std::ostream &os, UT_StringHolder s)
405  { UT_StringWrap(s).saveBinary(os); }
406  static void saveData(std::ostream &os, UT_SharedPtr<UT_Ramp> s)
408  UT_OStringStream ostr;
409  if (s) s->save(ostr);
410  result = ostr.str();
411  saveData(os, result);
412  }
413  static void saveData(std::ostream &os, PRM_DataItemHandle s)
415  UT_OStringStream ostr;
416  if (s)
417  {
418  ostr << s->getDataTypeToken();
419  ostr << ":";
420  s->saveBinary(ostr);
421  }
422  result = ostr.str();
423  saveData(os, result);
424  }
425 
426 
427  void save(std::ostream &os) const
428  {
429  int32 v = version();
430  UTwrite(os, &v);
431  saveData(os, myDopGeometry);
432  saveData(os, mySrcSuffix);
433  saveData(os, mySourceType);
434  saveData(os, myUseInstances);
435  saveData(os, myInstanceGeo);
436  saveData(os, myPosition);
437  {
438  int64 length = mySources.entries();
439  UTwrite(os, &length);
440  for (exint i = 0; i < length; i++)
441  {
442  auto && _curentry = mySources(i);
443  (void) _curentry;
444  saveData(os, _curentry.activate);
445  saveData(os, _curentry.rank);
446  saveData(os, _curentry.srcvdb);
447  saveData(os, _curentry.srcweight);
448  saveData(os, _curentry.targetfield);
449  saveData(os, _curentry.weightfield);
450  saveData(os, _curentry.operation);
451  saveData(os, _curentry.useveclength);
452  saveData(os, _curentry.noneg);
453  saveData(os, _curentry.accguidestr);
454  saveData(os, _curentry.decguidestr);
455  saveData(os, _curentry.enabledirguide);
456  saveData(os, _curentry.dirguidestr);
457  saveData(os, _curentry.scale);
458  saveData(os, _curentry.normalize);
459 
460  }
461  }
462 
463  }
464 
465  bool load(UT_IStream &is)
466  {
467  int32 v;
468  is.bread(&v, 1);
469  if (version() != v)
470  {
471  // Fail incompatible versions
472  return false;
473  }
474  loadData(is, myDopGeometry);
475  loadData(is, mySrcSuffix);
476  loadData(is, mySourceType);
477  loadData(is, myUseInstances);
478  loadData(is, myInstanceGeo);
479  loadData(is, myPosition);
480  {
481  int64 length;
482  is.read(&length, 1);
483  mySources.setSize(length);
484  for (exint i = 0; i < length; i++)
485  {
486  auto && _curentry = mySources(i);
487  (void) _curentry;
488  loadData(is, _curentry.activate);
489  loadData(is, _curentry.rank);
490  loadData(is, _curentry.srcvdb);
491  loadData(is, _curentry.srcweight);
492  loadData(is, _curentry.targetfield);
493  loadData(is, _curentry.weightfield);
494  loadData(is, _curentry.operation);
495  loadData(is, _curentry.useveclength);
496  loadData(is, _curentry.noneg);
497  loadData(is, _curentry.accguidestr);
498  loadData(is, _curentry.decguidestr);
499  loadData(is, _curentry.enabledirguide);
500  loadData(is, _curentry.dirguidestr);
501  loadData(is, _curentry.scale);
502  loadData(is, _curentry.normalize);
503 
504  }
505  }
506 
507  return true;
508  }
509 
510  const UT_StringHolder & getDopGeometry() const { return myDopGeometry; }
511  void setDopGeometry(const UT_StringHolder & val) { myDopGeometry = val; }
512  const UT_StringHolder & getSrcSuffix() const { return mySrcSuffix; }
513  void setSrcSuffix(const UT_StringHolder & val) { mySrcSuffix = val; }
514  int64 getSourceType() const { return mySourceType; }
515  void setSourceType(int64 val) { mySourceType = val; }
516  bool getUseInstances() const { return myUseInstances; }
517  void setUseInstances(bool val) { myUseInstances = val; }
518  const UT_StringHolder & getInstanceGeo() const { return myInstanceGeo; }
519  void setInstanceGeo(const UT_StringHolder & val) { myInstanceGeo = val; }
520  UT_Vector3D getPosition() const { return myPosition; }
521  void setPosition(UT_Vector3D val) { myPosition = val; }
522  const UT_Array<Sources> &getSources() const { return mySources; }
523 void setSources(const UT_Array<Sources> &val) { mySources = val; }
524 
525 private:
526  UT_StringHolder myDopGeometry;
527  UT_StringHolder mySrcSuffix;
528  int64 mySourceType;
529  bool myUseInstances;
530  UT_StringHolder myInstanceGeo;
531  UT_Vector3D myPosition;
532  UT_Array<Sources> mySources;
533 
534 };
bool isMyRecord(const char *recordtype) const
type
Definition: core.h:556
#define SIMZ_API
Definition: SIMZ_API.h:10
GLenum GLuint GLenum GLsizei const GLchar * buf
Definition: glcorearb.h:2540
const SIM_OpenCLMergeVDBParms & myParms
static void loadData(UT_IStream &is, UT_Matrix2D &v)
int int32
Definition: SYS_Types.h:39
static void saveData(std::ostream &os, UT_StringHolder s)
static void loadData(UT_IStream &is, UT_Vector3I &v)
void
Definition: png.h:1083
void setSources(const UT_Array< Sources > &val)
GLboolean * data
Definition: glcorearb.h:131
constexpr SYS_FORCE_INLINE T & y() noexcept
Definition: UT_Vector4.h:495
const GLdouble * v
Definition: glcorearb.h:837
static void saveData(std::ostream &os, UT_Vector2D v)
static void loadData(UT_IStream &is, UT_Vector2D &v)
static void loadData(UT_IStream &is, PRM_DataItemHandle &v)
UT_OptionType
Definition: UT_Options.h:44
UT_String makeQuotedString(char delimiter='\'', bool escape_nonprinting=false) const
constexpr SYS_FORCE_INLINE T & z() noexcept
Definition: UT_Vector3.h:669
int64 exint
Definition: SYS_Types.h:125
SIM_Query * createQueryObject(const SIM_Data *owner) const
SYS_FORCE_INLINE const char * buffer() const
static void loadData(UT_IStream &is, fpreal64 &v)
static void loadData(UT_IStream &is, UT_SharedPtr< UT_Ramp > &v)
GLdouble s
Definition: glad.h:3009
GLuint GLsizei GLsizei * length
Definition: glcorearb.h:795
An output stream object that owns its own string buffer storage.
static void saveData(std::ostream &os, UT_Matrix4D v)
static void saveData(std::ostream &os, int64 v)
**But if you need a result
Definition: thread.h:622
const UT_Array< Sources > & getSources() const
static void loadData(UT_IStream &is, UT_Vector3D &v)
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_StringHolder &v)
void setInstanceGeo(const UT_StringHolder &val)
constexpr SYS_FORCE_INLINE T & x() noexcept
Definition: UT_Vector4.h:493
bool getFieldRawSubclass(const char *recordtype, int recordnum, const char *fieldname, UT_OptionEntryPtr &result) const override
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:426
static void loadData(UT_IStream &is, UT_Vector4D &v)
bool operator==(const BaseDimensions< T > &a, const BaseDimensions< Y > &b)
Definition: Dimensions.h:137
GA_API const UT_StringHolder scale
int getNumRecordsSubclass(const char *recordtype) const override
UT_OptionType getFieldTypeSubclass(const char *recordtype, int fieldnum) const override
exint length() const
static void loadData(UT_IStream &is, UT_Vector2I &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:497
bool operator!=(const SIM_OpenCLMergeVDBParms &src) const
exint read(bool *array, exint sz=1)
Definition: UT_IStream.h:271
bool operator==(const SIM_OpenCLMergeVDBParms &src) const
int getNumFieldsSubclass(const char *recordtype) const override
long long int64
Definition: SYS_Types.h:116
static void loadData(UT_IStream &is, UT_Matrix4D &v)
static void saveData(std::ostream &os, UT_SharedPtr< UT_Ramp > s)
const char * getFieldNameSubclass(const char *recordtype, int fieldnum) const override
const char * getRecordTypeNameSubclass(int recordtypenum) const override
void setDopGeometry(const UT_StringHolder &val)
static void saveData(std::ostream &os, bool v)
static void saveData(std::ostream &os, PRM_DataItemHandle s)
SYS_FORCE_INLINE void strcat(const char *src)
void saveBinary(std::ostream &os) const
Save string to binary stream.
Definition: UT_String.h:306
static void saveData(std::ostream &os, UT_Vector4D v)
GT_API const UT_StringHolder version
exint entries() const
Alias of size(). size() is preferred.
Definition: UT_Array.h:669
void save(std::ostream &os) const
GA_API const UT_StringHolder parms
int int appendSprintf(const char *fmt,...) SYS_PRINTF_CHECK_ATTRIBUTE(2
LeafData & operator=(const LeafData &)=delete
Utility class for containing a color ramp.
Definition: UT_Ramp.h:96
constexpr SYS_FORCE_INLINE T & w() noexcept
Definition: UT_Vector4.h:499
SYS_FORCE_INLINE void append(char character)
static void loadData(UT_IStream &is, UT_Vector4I &v)
static void loadData(UT_IStream &is, UT_Matrix3D &v)
GLuint GLfloat * val
Definition: glcorearb.h:1608
FMT_CONSTEXPR basic_fp< F > normalize(basic_fp< F > value)
Definition: format.h:1701
UT_StringHolder createString(const UT_Array< Sources > &list) const
static void loadData(UT_IStream &is, int64 &v)
const char * findChar(int c) const
Definition: UT_String.h:1421
bool operator==(const Sources &src) const
static void saveData(std::ostream &os, UT_Matrix3D v)
bool operator!=(const Sources &src) const
GLboolean r
Definition: glcorearb.h:1222
static void saveData(std::ostream &os, UT_Vector3D v)
static void saveData(std::ostream &os, UT_Matrix2D v)
exint bread(uint8 *buffer, exint asize=1)
const UT_StringHolder & getDopGeometry() const
void activate(GridOrTree &, const typename GridOrTree::ValueType &value, const typename GridOrTree::ValueType &tolerance=zeroVal< typename GridOrTree::ValueType >(), const bool threaded=true)
Mark as active any inactive tiles or voxels in the given grid or tree whose values are equal to value...
Definition: Activate.h:179
static void loadData(UT_IStream &is, bool &v)
constexpr SYS_FORCE_INLINE T & y() noexcept
Definition: UT_Vector3.h:667
Query(const SIM_Data *owner, const SIM_OpenCLMergeVDBParms &parms)
const UT_StringHolder & getSrcSuffix() const
constexpr SYS_FORCE_INLINE T & y() noexcept
Definition: UT_Vector2.h:428
UT_UniquePtr< UT_OptionEntry > UT_OptionEntryPtr
SYS_FORCE_INLINE bool isstring() const
const UT_StringHolder & getInstanceGeo() const
SYS_FORCE_INLINE void strncpy(const char *src, exint maxlen)
static void saveData(std::ostream &os, fpreal64 v)
void setSrcSuffix(const UT_StringHolder &val)
GLenum src
Definition: glcorearb.h:1793
constexpr SYS_FORCE_INLINE T & x() noexcept
Definition: UT_Vector3.h:665