HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
GEO_PrimVDB.h File Reference
#include "GEO_API.h"
#include "GEO_Primitive.h"
#include <UT/UT_Version.h>
#include "GEO_PrimVolume.h"
#include <GA/GA_Defines.h>
#include <SYS/SYS_AtomicInt.h>
#include <UT/UT_BoundingBox.h>
#include <UT/UT_VDBUtils.h>
#include <openvdb/Platform.h>
#include <openvdb/openvdb.h>
+ Include dependency graph for GEO_PrimVDB.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  GEO_VolumeOptions
 
class  GEO_PrimVDB
 
class  GEO_PrimVDB::GridAccessor
 GridAccessor manages access to a GEO_PrimVDB's grid. More...
 

Namespaces

 UT_VDBUtils
 

Functions

template<typename GridType , typename OpType >
void UT_VDBUtils::callTypedGrid (GEO_PrimVDB &prim, OpType &op)
 
template<typename GridType , typename OpType >
void UT_VDBUtils::callTypedGrid (const GEO_PrimVDB &prim, OpType &op)
 
template<typename OpT >
bool GEOvdbProcessTypedGrid (const GEO_PrimVDB &vdb, OpT &op)
 Utility function to process the grid of a const primitive using functor op. More...
 
template<typename OpT >
bool GEOvdbProcessTypedGridReal (const GEO_PrimVDB &vdb, OpT &op)
 Utility function to process the grid of a const primitive using functor op. More...
 
template<typename OpT >
bool GEOvdbProcessTypedGridScalar (const GEO_PrimVDB &vdb, OpT &op)
 Utility function to process the grid of a const primitive using functor op. More...
 
template<typename OpT >
bool GEOvdbProcessTypedGridTopology (const GEO_PrimVDB &vdb, OpT &op)
 Utility function to process the grid of a const primitive using functor op. More...
 
template<typename OpT >
bool GEOvdbProcessTypedGridVec3 (const GEO_PrimVDB &vdb, OpT &op)
 Utility function to process the grid of a const primitive using functor op. More...
 
template<typename OpT >
bool GEOvdbProcessTypedGridPoint (const GEO_PrimVDB &vdb, OpT &op)
 Utility function to process the grid of a const primitive using functor op. More...
 
template<typename OpT >
bool GEOvdbProcessTypedGrid (GEO_PrimVDB &vdb, OpT &op, bool makeUnique=true)
 Utility function to process the grid of a primitive using functor op. More...
 
template<typename OpT >
bool GEOvdbProcessTypedGridReal (GEO_PrimVDB &vdb, OpT &op, bool makeUnique=true)
 Utility function to process the grid of a primitive using functor op. More...
 
template<typename OpT >
bool GEOvdbProcessTypedGridScalar (GEO_PrimVDB &vdb, OpT &op, bool makeUnique=true)
 Utility function to process the grid of a primitive using functor op. More...
 
template<typename OpT >
bool GEOvdbProcessTypedGridTopology (GEO_PrimVDB &vdb, OpT &op, bool makeUnique=true)
 Utility function to process the grid of a primitive using functor op. More...
 
template<typename OpT >
bool GEOvdbProcessTypedGridVec3 (GEO_PrimVDB &vdb, OpT &op, bool makeUnique=true)
 Utility function to process the grid of a primitive using functor op. More...
 
template<typename OpT >
bool GEOvdbProcessTypedGridPoint (GEO_PrimVDB &vdb, OpT &op, bool makeUnique=true)
 Utility function to process the grid of a primitive using functor op. More...
 

Function Documentation

template<typename OpT >
bool GEOvdbProcessTypedGrid ( const GEO_PrimVDB vdb,
OpT &  op 
)
inline

Utility function to process the grid of a const primitive using functor op.

It will invoke

op.operator()<GridT>(const GridT &grid)

Definition at line 771 of file GEO_PrimVDB.h.

template<typename OpT >
bool GEOvdbProcessTypedGrid ( GEO_PrimVDB vdb,
OpT &  op,
bool  makeUnique = true 
)
inline

Utility function to process the grid of a primitive using functor op.

Parameters
vdbthe primitive whose grid is to be processed
opa functor with a call operator of the form
op.operator()<GridT>(GridT &grid)
makeUniqueif true, call vdb.makeGridUnique() before invoking the functor

Definition at line 815 of file GEO_PrimVDB.h.

template<typename OpT >
bool GEOvdbProcessTypedGridPoint ( const GEO_PrimVDB vdb,
OpT &  op 
)
inline

Utility function to process the grid of a const primitive using functor op.

It will invoke

op.operator()<GridT>(const GridT &grid)

Definition at line 801 of file GEO_PrimVDB.h.

template<typename OpT >
bool GEOvdbProcessTypedGridPoint ( GEO_PrimVDB vdb,
OpT &  op,
bool  makeUnique = true 
)
inline

Utility function to process the grid of a primitive using functor op.

Parameters
vdbthe primitive whose grid is to be processed
opa functor with a call operator of the form
op.operator()<GridT>(GridT &grid)
makeUniqueif true, call vdb.makeGridUnique() before invoking the functor

Definition at line 850 of file GEO_PrimVDB.h.

template<typename OpT >
bool GEOvdbProcessTypedGridReal ( const GEO_PrimVDB vdb,
OpT &  op 
)
inline

Utility function to process the grid of a const primitive using functor op.

It will invoke

op.operator()<GridT>(const GridT &grid)

Definition at line 777 of file GEO_PrimVDB.h.

template<typename OpT >
bool GEOvdbProcessTypedGridReal ( GEO_PrimVDB vdb,
OpT &  op,
bool  makeUnique = true 
)
inline

Utility function to process the grid of a primitive using functor op.

Parameters
vdbthe primitive whose grid is to be processed
opa functor with a call operator of the form
op.operator()<GridT>(GridT &grid)
makeUniqueif true, call vdb.makeGridUnique() before invoking the functor

Definition at line 822 of file GEO_PrimVDB.h.

template<typename OpT >
bool GEOvdbProcessTypedGridScalar ( const GEO_PrimVDB vdb,
OpT &  op 
)
inline

Utility function to process the grid of a const primitive using functor op.

It will invoke

op.operator()<GridT>(const GridT &grid)

Definition at line 783 of file GEO_PrimVDB.h.

template<typename OpT >
bool GEOvdbProcessTypedGridScalar ( GEO_PrimVDB vdb,
OpT &  op,
bool  makeUnique = true 
)
inline

Utility function to process the grid of a primitive using functor op.

Parameters
vdbthe primitive whose grid is to be processed
opa functor with a call operator of the form
op.operator()<GridT>(GridT &grid)
makeUniqueif true, call vdb.makeGridUnique() before invoking the functor

Definition at line 829 of file GEO_PrimVDB.h.

template<typename OpT >
bool GEOvdbProcessTypedGridTopology ( const GEO_PrimVDB vdb,
OpT &  op 
)
inline

Utility function to process the grid of a const primitive using functor op.

It will invoke

op.operator()<GridT>(const GridT &grid)

Definition at line 789 of file GEO_PrimVDB.h.

template<typename OpT >
bool GEOvdbProcessTypedGridTopology ( GEO_PrimVDB vdb,
OpT &  op,
bool  makeUnique = true 
)
inline

Utility function to process the grid of a primitive using functor op.

Parameters
vdbthe primitive whose grid is to be processed
opa functor with a call operator of the form
op.operator()<GridT>(GridT &grid)
makeUniqueif true, call vdb.makeGridUnique() before invoking the functor

Definition at line 836 of file GEO_PrimVDB.h.

template<typename OpT >
bool GEOvdbProcessTypedGridVec3 ( const GEO_PrimVDB vdb,
OpT &  op 
)
inline

Utility function to process the grid of a const primitive using functor op.

It will invoke

op.operator()<GridT>(const GridT &grid)

Definition at line 795 of file GEO_PrimVDB.h.

template<typename OpT >
bool GEOvdbProcessTypedGridVec3 ( GEO_PrimVDB vdb,
OpT &  op,
bool  makeUnique = true 
)
inline

Utility function to process the grid of a primitive using functor op.

Parameters
vdbthe primitive whose grid is to be processed
opa functor with a call operator of the form
op.operator()<GridT>(GridT &grid)
makeUniqueif true, call vdb.makeGridUnique() before invoking the functor

Definition at line 843 of file GEO_PrimVDB.h.