OpenVDB  12.0.0
Public Member Functions | Public Attributes | List of all members
MapAdapter< MapType, OpType, ResultType > Struct Template Reference

Adapter to associate a map with a world-space operator, giving it the same call signature as an index-space operator. More...

#include <openvdb/math/Operators.h>

Public Member Functions

 MapAdapter (const MapType &m)
 
template<typename AccessorType >
ResultType result (const AccessorType &grid, const Coord &ijk)
 
template<typename StencilType >
ResultType result (const StencilType &stencil)
 

Public Attributes

const MapType map
 

Detailed Description

template<typename MapType, typename OpType, typename ResultType>
struct openvdb::v12_0::math::MapAdapter< MapType, OpType, ResultType >

Adapter to associate a map with a world-space operator, giving it the same call signature as an index-space operator.

Constructor & Destructor Documentation

MapAdapter ( const MapType &  m)
inline

Member Function Documentation

ResultType result ( const AccessorType &  grid,
const Coord ijk 
)
inline
ResultType result ( const StencilType &  stencil)
inline

Member Data Documentation

const MapType map