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;
153  SIM_OpenCLMergeVDBParms &operator=(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  return true;
170  }
172  {
173  return !operator==(src);
174  }
175 
176 
177  class Query : public SIM_Query
178  {
179  public:
180  explicit Query(const SIM_Data *owner, const SIM_OpenCLMergeVDBParms &parms)
181  : SIM_Query(owner)
182  , myParms(parms)
183  { }
184  ~Query() override {}
185 
186  protected:
187  bool isMyRecord(const char *recordtype) const
188  { return !strcmp(recordtype, "Params"); }
189 
190  int getNumRecordTypesSubclass() const override { return 1; }
191  const char *getRecordTypeNameSubclass(int recordtypenum) const override
192  {
193  if (recordtypenum == 0) return "Params";
194  return 0;
195  }
196  int getNumRecordsSubclass(const char *recordtype) const override
197  {
198  if (isMyRecord(recordtype)) return 1;
199  return 0;
200  }
201  int getNumFieldsSubclass(const char *recordtype) const override
202  {
203  if (isMyRecord(recordtype))
204  return 7;
205  return 0;
206  }
207 
208  const char *getFieldNameSubclass(const char *recordtype,
209  int fieldnum) const override
210  {
211  if (!isMyRecord(recordtype))
212  return 0;
213 
214  switch (fieldnum)
215  {
216  case 0:
217  return "dopgeo";
218  case 1:
219  return "srcsuffix";
220  case 2:
221  return "srctype";
222  case 3:
223  return "useinst";
224  case 4:
225  return "instgeo";
226  case 5:
227  return "loc";
228  case 6:
229  return "sources";
230 
231  }
232  return 0;
233  }
234  UT_OptionType getFieldTypeSubclass(const char *recordtype,
235  int fieldnum) const override
236  {
237  if (!isMyRecord(recordtype))
238  return UT_OPTION_INVALID;
239 
240  switch (fieldnum)
241  {
242  case 0:
243  return UT_OPTION_STRING;
244  case 1:
245  return UT_OPTION_STRING;
246  case 2:
247  return UT_OPTION_INT;
248  case 3:
249  return UT_OPTION_BOOL;
250  case 4:
251  return UT_OPTION_STRING;
252  case 5:
253  return UT_OPTION_VECTOR3;
254  case 6:
255  return UT_OPTION_STRING;
256 
257  }
258  return UT_OPTION_INVALID;
259  }
260 
261  bool getFieldRawSubclass(const char *recordtype,
262  int recordnum,
263  const char *fieldname,
264  UT_OptionEntryPtr &result) const override
265  {
266  if (!isMyRecord(recordtype))
267  return false;
268  if (recordnum != 0)
269  return false;
270  // This is less optimal, but if we are in SIM_Query
271  // land we have already given up on performance.
272  if (!strcmp(fieldname, "dopgeo"))
273  {
274  result = UTmakeUnique<UT_OptionString>(myParms.myDopGeometry);
275  return true;
276  }
277  if (!strcmp(fieldname, "srcsuffix"))
278  {
279  result = UTmakeUnique<UT_OptionString>(myParms.mySrcSuffix);
280  return true;
281  }
282  if (!strcmp(fieldname, "srctype"))
283  {
284  result = UTmakeUnique<UT_OptionInt>(myParms.mySourceType);
285  return true;
286  }
287  if (!strcmp(fieldname, "useinst"))
288  {
289  result = UTmakeUnique<UT_OptionBool>(myParms.myUseInstances);
290  return true;
291  }
292  if (!strcmp(fieldname, "instgeo"))
293  {
294  result = UTmakeUnique<UT_OptionString>(myParms.myInstanceGeo);
295  return true;
296  }
297  if (!strcmp(fieldname, "loc"))
298  {
299  result = UTmakeUnique<UT_OptionVector3>(myParms.myPosition);
300  return true;
301  }
302  if (!strcmp(fieldname, "sources"))
303  {
304  result = UTmakeUnique<UT_OptionString>(myParms.createString(myParms.mySources));
305  return true;
306  }
307 
308  // Failed to find
309  return false;
310  }
311 
313  };
314 
315  SIM_Query *createQueryObject(const SIM_Data *owner) const
316  { return new Query(owner, *this); }
317 
318 
319 
320 
321  // Boiler plate to load individual types.
322  static void loadData(UT_IStream &is, int64 &v)
323  { is.bread(&v, 1); }
324  static void loadData(UT_IStream &is, bool &v)
325  { int64 iv; is.bread(&iv, 1); v = iv; }
326  static void loadData(UT_IStream &is, fpreal64 &v)
327  { is.bread<fpreal64>(&v, 1); }
328  static void loadData(UT_IStream &is, UT_Vector2D &v)
329  { is.bread<fpreal64>(&v.x(), 1); is.bread<fpreal64>(&v.y(), 1); }
330  static void loadData(UT_IStream &is, UT_Vector3D &v)
331  { is.bread<fpreal64>(&v.x(), 1); is.bread<fpreal64>(&v.y(), 1);
332  is.bread<fpreal64>(&v.z(), 1); }
333  static void loadData(UT_IStream &is, UT_Vector4D &v)
334  { is.bread<fpreal64>(&v.x(), 1); is.bread<fpreal64>(&v.y(), 1);
335  is.bread<fpreal64>(&v.z(), 1); is.bread<fpreal64>(&v.w(), 1); }
336  static void loadData(UT_IStream &is, UT_Matrix2D &v)
337  { for (int r = 0; r < 2; r++) for (int c = 0; c < 2; c++) is.bread<fpreal64>(&v(r, c), 1); }
338  static void loadData(UT_IStream &is, UT_Matrix3D &v)
339  { for (int r = 0; r < 3; r++) for (int c = 0; c < 3; c++) is.bread<fpreal64>(&v(r, c), 1); }
340  static void loadData(UT_IStream &is, UT_Matrix4D &v)
341  { for (int r = 0; r < 4; r++) for (int c = 0; c < 4; c++) is.bread<fpreal64>(&v(r, c), 1); }
342  static void loadData(UT_IStream &is, UT_Vector2I &v)
343  { is.bread<int64>(&v.x(), 1); is.bread<int64>(&v.y(), 1); }
344  static void loadData(UT_IStream &is, UT_Vector3I &v)
345  { is.bread<int64>(&v.x(), 1); is.bread<int64>(&v.y(), 1);
346  is.bread<int64>(&v.z(), 1); }
347  static void loadData(UT_IStream &is, UT_Vector4I &v)
348  { is.bread<int64>(&v.x(), 1); is.bread<int64>(&v.y(), 1);
349  is.bread<int64>(&v.z(), 1); is.bread<int64>(&v.w(), 1); }
351  { is.bread(v); }
353  { UT_StringHolder rampdata;
354  loadData(is, rampdata);
355  if (rampdata.isstring())
356  {
357  v.reset(new UT_Ramp());
358  UT_IStream istr((const char *) rampdata, rampdata.length(), UT_ISTREAM_ASCII);
359  v->load(istr);
360  }
361  else v.reset();
362  }
365  loadData(is, data);
366  if (data.isstring())
367  {
368  // Find the data type.
369  const char *colon = UT_StringWrap(data).findChar(':');
370  if (colon)
371  {
372  int typelen = colon - data.buffer();
374  type.strncpy(data.buffer(), typelen);
375  UT_IStream istr(((const char *) data) + typelen + 1, data.length() - (typelen + 1), UT_ISTREAM_BINARY);
376 
377  v = PRM_DataFactory::parseBinary(type.buffer(), istr);
378  }
379  }
380  else v.reset();
381  }
382 
383  static void saveData(std::ostream &os, int64 v)
384  { UTwrite(os, &v); }
385  static void saveData(std::ostream &os, bool v)
386  { int64 iv = v; UTwrite(os, &iv); }
387  static void saveData(std::ostream &os, fpreal64 v)
388  { UTwrite<fpreal64>(os, &v); }
389  static void saveData(std::ostream &os, UT_Vector2D v)
390  { UTwrite<fpreal64>(os, &v.x()); UTwrite<fpreal64>(os, &v.y()); }
391  static void saveData(std::ostream &os, UT_Vector3D v)
392  { UTwrite<fpreal64>(os, &v.x()); UTwrite<fpreal64>(os, &v.y());
393  UTwrite<fpreal64>(os, &v.z()); }
394  static void saveData(std::ostream &os, UT_Vector4D v)
395  { UTwrite<fpreal64>(os, &v.x()); UTwrite<fpreal64>(os, &v.y());
396  UTwrite<fpreal64>(os, &v.z()); UTwrite<fpreal64>(os, &v.w()); }
397  static void saveData(std::ostream &os, UT_Matrix2D v)
399  static void saveData(std::ostream &os, UT_Matrix3D v)
401  static void saveData(std::ostream &os, UT_Matrix4D v)
403  static void saveData(std::ostream &os, UT_StringHolder s)
404  { UT_StringWrap(s).saveBinary(os); }
405  static void saveData(std::ostream &os, UT_SharedPtr<UT_Ramp> s)
407  UT_OStringStream ostr;
408  if (s) s->save(ostr);
409  result = ostr.str();
410  saveData(os, result);
411  }
412  static void saveData(std::ostream &os, PRM_DataItemHandle s)
414  UT_OStringStream ostr;
415  if (s)
416  {
417  ostr << s->getDataTypeToken();
418  ostr << ":";
419  s->saveBinary(ostr);
420  }
421  result = ostr.str();
422  saveData(os, result);
423  }
424 
425 
426  void save(std::ostream &os) const
427  {
428  int32 v = version();
429  UTwrite(os, &v);
430  saveData(os, myDopGeometry);
431  saveData(os, mySrcSuffix);
432  saveData(os, mySourceType);
433  saveData(os, myUseInstances);
434  saveData(os, myInstanceGeo);
435  saveData(os, myPosition);
436  {
437  int64 length = mySources.entries();
438  UTwrite(os, &length);
439  for (exint i = 0; i < length; i++)
440  {
441  auto && _curentry = mySources(i);
442  (void) _curentry;
443  saveData(os, _curentry.activate);
444  saveData(os, _curentry.rank);
445  saveData(os, _curentry.srcvdb);
446  saveData(os, _curentry.srcweight);
447  saveData(os, _curentry.targetfield);
448  saveData(os, _curentry.weightfield);
449  saveData(os, _curentry.operation);
450  saveData(os, _curentry.useveclength);
451  saveData(os, _curentry.noneg);
452  saveData(os, _curentry.accguidestr);
453  saveData(os, _curentry.decguidestr);
454  saveData(os, _curentry.enabledirguide);
455  saveData(os, _curentry.dirguidestr);
456  saveData(os, _curentry.scale);
457  saveData(os, _curentry.normalize);
458 
459  }
460  }
461 
462  }
463 
464  bool load(UT_IStream &is)
465  {
466  int32 v;
467  is.bread(&v, 1);
468  if (version() != v)
469  {
470  // Fail incompatible versions
471  return false;
472  }
473  loadData(is, myDopGeometry);
474  loadData(is, mySrcSuffix);
475  loadData(is, mySourceType);
476  loadData(is, myUseInstances);
477  loadData(is, myInstanceGeo);
478  loadData(is, myPosition);
479  {
480  int64 length;
481  is.read(&length, 1);
482  mySources.setSize(length);
483  for (exint i = 0; i < length; i++)
484  {
485  auto && _curentry = mySources(i);
486  (void) _curentry;
487  loadData(is, _curentry.activate);
488  loadData(is, _curentry.rank);
489  loadData(is, _curentry.srcvdb);
490  loadData(is, _curentry.srcweight);
491  loadData(is, _curentry.targetfield);
492  loadData(is, _curentry.weightfield);
493  loadData(is, _curentry.operation);
494  loadData(is, _curentry.useveclength);
495  loadData(is, _curentry.noneg);
496  loadData(is, _curentry.accguidestr);
497  loadData(is, _curentry.decguidestr);
498  loadData(is, _curentry.enabledirguide);
499  loadData(is, _curentry.dirguidestr);
500  loadData(is, _curentry.scale);
501  loadData(is, _curentry.normalize);
502 
503  }
504  }
505 
506  return true;
507  }
508 
509  const UT_StringHolder & getDopGeometry() const { return myDopGeometry; }
510  void setDopGeometry(const UT_StringHolder & val) { myDopGeometry = val; }
511  const UT_StringHolder & getSrcSuffix() const { return mySrcSuffix; }
512  void setSrcSuffix(const UT_StringHolder & val) { mySrcSuffix = val; }
513  int64 getSourceType() const { return mySourceType; }
514  void setSourceType(int64 val) { mySourceType = val; }
515  bool getUseInstances() const { return myUseInstances; }
516  void setUseInstances(bool val) { myUseInstances = val; }
517  const UT_StringHolder & getInstanceGeo() const { return myInstanceGeo; }
518  void setInstanceGeo(const UT_StringHolder & val) { myInstanceGeo = val; }
519  UT_Vector3D getPosition() const { return myPosition; }
520  void setPosition(UT_Vector3D val) { myPosition = val; }
521  const UT_Array<Sources> &getSources() const { return mySources; }
522 void setSources(const UT_Array<Sources> &val) { mySources = val; }
523 
524 private:
525  UT_StringHolder myDopGeometry;
526  UT_StringHolder mySrcSuffix;
527  int64 mySourceType;
528  bool myUseInstances;
529  UT_StringHolder myInstanceGeo;
530  UT_Vector3D myPosition;
531  UT_Array<Sources> mySources;
532 
533 };
bool isMyRecord(const char *recordtype) const
#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)
exint bread(int32 *buffer, exint asize=1)
GLboolean * data
Definition: glcorearb.h:131
constexpr SYS_FORCE_INLINE T & y() noexcept
Definition: UT_Vector4.h:493
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:667
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:613
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:491
bool getFieldRawSubclass(const char *recordtype, int recordnum, const char *fieldname, UT_OptionEntryPtr &result) const override
double fpreal64
Definition: SYS_Types.h:201
constexpr SYS_FORCE_INLINE T & x() noexcept
Definition: UT_Vector2.h:423
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:495
bool operator!=(const SIM_OpenCLMergeVDBParms &src) const
exint read(bool *array, exint sz=1)
Definition: UT_IStream.h:276
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:296
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:648
void save(std::ostream &os) const
int int appendSprintf(const char *fmt,...) SYS_PRINTF_CHECK_ATTRIBUTE(2
Utility class for containing a color ramp.
Definition: UT_Ramp.h:88
size_t *lastDimSize unsigned int rank
Definition: wrapArray.h:334
constexpr SYS_FORCE_INLINE T & w() noexcept
Definition: UT_Vector4.h:497
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
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:1385
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)
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:175
static void loadData(UT_IStream &is, bool &v)
constexpr SYS_FORCE_INLINE T & y() noexcept
Definition: UT_Vector3.h:665
type
Definition: core.h:1059
Query(const SIM_Data *owner, const SIM_OpenCLMergeVDBParms &parms)
const UT_StringHolder & getSrcSuffix() const
UT_SharedPtr< const PRM_DataItem > PRM_DataItemHandle
Definition: PRM_Parm.h:89
constexpr SYS_FORCE_INLINE T & y() noexcept
Definition: UT_Vector2.h:425
UT_UniquePtr< UT_OptionEntry > UT_OptionEntryPtr
SYS_FORCE_INLINE bool isstring() const
constexpr T normalize(UT_FixedVector< T, D > &a) noexcept
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:663