11 #ifndef __GVEX_GeoCache__
12 #define __GVEX_GeoCache__
23 #include <hboost/any.hpp>
26 template<u
int NAXES>
class PointBVHT;
51 template <
typename T>
class UT_Array;
90 template <VEX_Precision PREC>
105 static int64 setCacheMemory(
int64 memoryinkb=8192);
106 static int64 getCacheMemorySize();
107 static int setAutoFlush(
int flush);
108 static int getAutoFlush();
109 static void clearCache(
int out_of_date_only=0);
110 static void clearCache(
const char* file);
111 static void pruneCache();
113 static int64 getMemoryUsage();
114 static int64 getPeakUsage();
116 static void setDefaultMetaballGeometry(
GU_Detail *gdp);
122 static int getCacheEntries();
130 static GVEX_MetaList *getMetaList(
int id);
137 int pinc,
const char *file);
141 template <VEX_Precision PREC>
205 const exint *&adata);
227 int phase,
int freq,
int amp,
228 float hscale,
float time,
229 int mode,
int downsample);
237 const char *p_attrib,
239 const char *dist_metric);
256 template <
typename T>
260 return getCacheItem(
id, state, file, callback).template get<T>();
GVEX_ConstructCacheItemT< VEX_32 > GVEX_ConstructCacheItem
GT_API const UT_StringHolder filename
GT_API const UT_StringHolder time
GLsizei const GLfloat * value
GVEX_GeoCacheItem(*)(VEX_Instance< PREC > &state, const char *filename) GVEX_ConstructCacheItemT
Callback to create a new item for the GVEX_GeoCache.
GVEX_GeoCacheItem(const T *value)
GVEX_EXTERN_TEMPLATE(GVEX_GeoCacheT< VEX_32 >)
bool any(const vbool4 &v)
std::shared_ptr< T > UT_SharedPtr
Wrapper around std::shared_ptr.
Space-partitioning acceleration structure for points. Partitions the points into voxels to accelerate...
Class to perform subdivision refinement using OpenSubdivision.