HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GEO_PrimVDB.h File Reference
#include "GEO_API.h"
#include "GEO_Primitive.h"
#include "GEO_VolumeOptions.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

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 807 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 851 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 837 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 886 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 813 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 858 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 819 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 865 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 825 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 872 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 831 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 879 of file GEO_PrimVDB.h.