HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GVEX_GeoCacheT< PREC > Class Template Reference

#include <GVEX_GeoCache.h>

Static Public Member Functions

static void bindDetail (VEX_Instance< PREC > &state)
 
static const GU_DetailgetDetail (VEX_Instance< PREC > &state, const char *file)
 
static void getPrimBBox (VEX_Instance< PREC > &state, UT_BoundingBox &box, const char *file)
 
static void getPrimBBox (VEX_Instance< PREC > &state, UT_BoundingBox &box, const char *file, const char *group)
 
static void getPointBBox (VEX_Instance< PREC > &state, UT_BoundingBox &box, const char *file)
 
static void getPointBBox (VEX_Instance< PREC > &state, UT_BoundingBox &box, const char *file, const char *group)
 
static GU_RayIntersectgetRayTree (VEX_Instance< PREC > &state, const char *file)
 
static GU_RayIntersectgetRayTree (VEX_Instance< PREC > &state, const char *file, const char *group)
 
static GU_RayIntersectgetMinTree (VEX_Instance< PREC > &state, const char *file)
 
static GU_RayIntersectgetMinTree (VEX_Instance< PREC > &state, const char *file, const char *group)
 
static const
openvdb::tools::PointIndexGrid * 
getPointGrid (VEX_Instance< PREC > &state, float divsize, const char *file, const char *group)
 
static GA_IndexArraygetRingZero (VEX_Instance< PREC > &state, int ptnum, const char *file)
 
static UT_Array< GA_Size > * getPrimVertexArray (VEX_Instance< PREC > &state, const char *file)
 
static UT_Array< GA_IndexArray > * getRingZeroArray (VEX_Instance< PREC > &state, const char *file)
 
static GEO_DetachedHedgeInterfacegetHedge (VEX_Instance< PREC > &state, const char *file)
 
static const GT_UtilOpenSubdivgetOSDEvaluator (VEX_Instance< PREC > &state, const char *file)
 
static TS_MetaExpressionPtr getTSMetaExpr (VEX_Instance< PREC > &state, const char *file)
 
static IMG3D_PCloud * getPCloud (VEX_Instance< PREC > &state, const char *file)
 
static void expandGroup (VEX_Instance< PREC > &state, const char *file, const char *group, int grouptype, bool ordered, exint &alen, const exint *&adata)
 
static GU_PrimRTreegetPrimTree (VEX_Instance< PREC > &state, const char *file)
 
static GU_PrimRTreegetPrimTree (VEX_Instance< PREC > &state, const char *file, const char *group)
 
static GVEX_PointTreeTypegetPointTree (VEX_Instance< PREC > &state, const char *file, const char *group, const char *attrib)
 
static GVEX_PointTreeTypegetRadTree (VEX_Instance< PREC > &state, const char *file, const char *group, const char *attrib, const char *rad, float radscale)
 
static GU_OceanEvaluatorgetOceanEval (VEX_Instance< PREC > &state, const char *file, int phase, int freq, int amp, float hscale, float time, int mode, int downsample)
 
static GU_TetrahedronAdjacencygetTetAdj (VEX_Instance< PREC > &state, const char *file)
 
static GU_SurfaceDistanceCachegetSDCache (VEX_Instance< PREC > &state, const char *file, const char *group, const char *p_attrib, float radius, const char *dist_metric)
 
static GU_WindingNumber3DApproxgetWindingNumber (VEX_Instance< PREC > &state, const char *file)
 
static GU_WindingNumber3DApproxgetWindingNumber (VEX_Instance< PREC > &state, const char *file, const char *group)
 
static GU_WindingNumber2DApproxgetWindingNumber2D (VEX_Instance< PREC > &state, const char *file)
 
static GU_WindingNumber2DApproxgetWindingNumber2D (VEX_Instance< PREC > &state, const char *file, const char *group)
 
template<typename T >
static const Tget (const char *id, VEX_Instance< PREC > &state, const char *file, GVEX_ConstructCacheItemT< PREC > callback)
 

Detailed Description

template<VEX_Precision PREC>
class GVEX_GeoCacheT< PREC >

Definition at line 286 of file GVEX_GeoCache.h.

Member Function Documentation

template<VEX_Precision PREC>
static void GVEX_GeoCacheT< PREC >::bindDetail ( VEX_Instance< PREC > &  state)
static
template<VEX_Precision PREC>
static void GVEX_GeoCacheT< PREC >::expandGroup ( VEX_Instance< PREC > &  state,
const char *  file,
const char *  group,
int  grouptype,
bool  ordered,
exint alen,
const exint *&  adata 
)
static
template<VEX_Precision PREC>
template<typename T >
static const T* GVEX_GeoCacheT< PREC >::get ( const char *  id,
VEX_Instance< PREC > &  state,
const char *  file,
GVEX_ConstructCacheItemT< PREC >  callback 
)
inlinestatic

Access a custom item in the cache. The type must match, otherwise an exception will be thrown. The callback will be run to create the item if an item with that id does not already exist.

Definition at line 401 of file GVEX_GeoCache.h.

template<VEX_Precision PREC>
static const GU_Detail* GVEX_GeoCacheT< PREC >::getDetail ( VEX_Instance< PREC > &  state,
const char *  file 
)
static
template<VEX_Precision PREC>
static GEO_DetachedHedgeInterface* GVEX_GeoCacheT< PREC >::getHedge ( VEX_Instance< PREC > &  state,
const char *  file 
)
static
template<VEX_Precision PREC>
static GU_RayIntersect* GVEX_GeoCacheT< PREC >::getMinTree ( VEX_Instance< PREC > &  state,
const char *  file 
)
static
template<VEX_Precision PREC>
static GU_RayIntersect* GVEX_GeoCacheT< PREC >::getMinTree ( VEX_Instance< PREC > &  state,
const char *  file,
const char *  group 
)
static
template<VEX_Precision PREC>
static GU_OceanEvaluator* GVEX_GeoCacheT< PREC >::getOceanEval ( VEX_Instance< PREC > &  state,
const char *  file,
int  phase,
int  freq,
int  amp,
float  hscale,
float  time,
int  mode,
int  downsample 
)
static
template<VEX_Precision PREC>
static const GT_UtilOpenSubdiv* GVEX_GeoCacheT< PREC >::getOSDEvaluator ( VEX_Instance< PREC > &  state,
const char *  file 
)
static
template<VEX_Precision PREC>
static IMG3D_PCloud* GVEX_GeoCacheT< PREC >::getPCloud ( VEX_Instance< PREC > &  state,
const char *  file 
)
static
template<VEX_Precision PREC>
static void GVEX_GeoCacheT< PREC >::getPointBBox ( VEX_Instance< PREC > &  state,
UT_BoundingBox box,
const char *  file 
)
static
template<VEX_Precision PREC>
static void GVEX_GeoCacheT< PREC >::getPointBBox ( VEX_Instance< PREC > &  state,
UT_BoundingBox box,
const char *  file,
const char *  group 
)
static
template<VEX_Precision PREC>
static const openvdb::tools::PointIndexGrid* GVEX_GeoCacheT< PREC >::getPointGrid ( VEX_Instance< PREC > &  state,
float  divsize,
const char *  file,
const char *  group 
)
static
template<VEX_Precision PREC>
static GVEX_PointTreeType* GVEX_GeoCacheT< PREC >::getPointTree ( VEX_Instance< PREC > &  state,
const char *  file,
const char *  group,
const char *  attrib 
)
static
template<VEX_Precision PREC>
static void GVEX_GeoCacheT< PREC >::getPrimBBox ( VEX_Instance< PREC > &  state,
UT_BoundingBox box,
const char *  file 
)
static
template<VEX_Precision PREC>
static void GVEX_GeoCacheT< PREC >::getPrimBBox ( VEX_Instance< PREC > &  state,
UT_BoundingBox box,
const char *  file,
const char *  group 
)
static
template<VEX_Precision PREC>
static GU_PrimRTree* GVEX_GeoCacheT< PREC >::getPrimTree ( VEX_Instance< PREC > &  state,
const char *  file 
)
static
template<VEX_Precision PREC>
static GU_PrimRTree* GVEX_GeoCacheT< PREC >::getPrimTree ( VEX_Instance< PREC > &  state,
const char *  file,
const char *  group 
)
static
template<VEX_Precision PREC>
static UT_Array<GA_Size>* GVEX_GeoCacheT< PREC >::getPrimVertexArray ( VEX_Instance< PREC > &  state,
const char *  file 
)
static
template<VEX_Precision PREC>
static GVEX_PointTreeType* GVEX_GeoCacheT< PREC >::getRadTree ( VEX_Instance< PREC > &  state,
const char *  file,
const char *  group,
const char *  attrib,
const char *  rad,
float  radscale 
)
static
template<VEX_Precision PREC>
static GU_RayIntersect* GVEX_GeoCacheT< PREC >::getRayTree ( VEX_Instance< PREC > &  state,
const char *  file 
)
static
template<VEX_Precision PREC>
static GU_RayIntersect* GVEX_GeoCacheT< PREC >::getRayTree ( VEX_Instance< PREC > &  state,
const char *  file,
const char *  group 
)
static
template<VEX_Precision PREC>
static GA_IndexArray* GVEX_GeoCacheT< PREC >::getRingZero ( VEX_Instance< PREC > &  state,
int  ptnum,
const char *  file 
)
static
template<VEX_Precision PREC>
static UT_Array<GA_IndexArray>* GVEX_GeoCacheT< PREC >::getRingZeroArray ( VEX_Instance< PREC > &  state,
const char *  file 
)
static
template<VEX_Precision PREC>
static GU_SurfaceDistanceCache* GVEX_GeoCacheT< PREC >::getSDCache ( VEX_Instance< PREC > &  state,
const char *  file,
const char *  group,
const char *  p_attrib,
float  radius,
const char *  dist_metric 
)
static
template<VEX_Precision PREC>
static GU_TetrahedronAdjacency* GVEX_GeoCacheT< PREC >::getTetAdj ( VEX_Instance< PREC > &  state,
const char *  file 
)
static
template<VEX_Precision PREC>
static TS_MetaExpressionPtr GVEX_GeoCacheT< PREC >::getTSMetaExpr ( VEX_Instance< PREC > &  state,
const char *  file 
)
static
template<VEX_Precision PREC>
static GU_WindingNumber3DApprox* GVEX_GeoCacheT< PREC >::getWindingNumber ( VEX_Instance< PREC > &  state,
const char *  file 
)
static
template<VEX_Precision PREC>
static GU_WindingNumber3DApprox* GVEX_GeoCacheT< PREC >::getWindingNumber ( VEX_Instance< PREC > &  state,
const char *  file,
const char *  group 
)
static
template<VEX_Precision PREC>
static GU_WindingNumber2DApprox* GVEX_GeoCacheT< PREC >::getWindingNumber2D ( VEX_Instance< PREC > &  state,
const char *  file 
)
static
template<VEX_Precision PREC>
static GU_WindingNumber2DApprox* GVEX_GeoCacheT< PREC >::getWindingNumber2D ( VEX_Instance< PREC > &  state,
const char *  file,
const char *  group 
)
static

The documentation for this class was generated from the following file: