OpenVDB  11.0.0
Public Member Functions | List of all members
GenericMap Class Reference

A wrapper that holds a MapBase::ConstPtr and exposes a reduced set of functionality needed by the mathematical operators. More...

#include <openvdb/math/Operators.h>

Public Member Functions

template<typename GridType >
 GenericMap (const GridType &g)
 
 GenericMap (const Transform &t)
 
 GenericMap (MapBase::Ptr map)
 
 GenericMap (MapBase::ConstPtr map)
 
 ~GenericMap ()
 
Vec3d applyMap (const Vec3d &in) const
 
Vec3d applyInverseMap (const Vec3d &in) const
 
Vec3d applyIJT (const Vec3d &in) const
 
Vec3d applyIJT (const Vec3d &in, const Vec3d &pos) const
 
Mat3d applyIJC (const Mat3d &m) const
 
Mat3d applyIJC (const Mat3d &m, const Vec3d &v, const Vec3d &pos) const
 
double determinant () const
 
double determinant (const Vec3d &in) const
 
Vec3d voxelSize () const
 
Vec3d voxelSize (const Vec3d &v) const
 

Detailed Description

A wrapper that holds a MapBase::ConstPtr and exposes a reduced set of functionality needed by the mathematical operators.

This may be used in some Map-templated code, when the overhead of actually resolving the Map type is large compared to the map work to be done.

Constructor & Destructor Documentation

GenericMap ( const GridType &  g)
inline
GenericMap ( const Transform t)
inline
GenericMap ( MapBase::Ptr  map)
inline
GenericMap ( MapBase::ConstPtr  map)
inline
~GenericMap ( )
inline

Member Function Documentation

Mat3d applyIJC ( const Mat3d m) const
inline
Mat3d applyIJC ( const Mat3d m,
const Vec3d v,
const Vec3d pos 
) const
inline
Vec3d applyIJT ( const Vec3d in) const
inline
Vec3d applyIJT ( const Vec3d in,
const Vec3d pos 
) const
inline
Vec3d applyInverseMap ( const Vec3d in) const
inline
Vec3d applyMap ( const Vec3d in) const
inline
double determinant ( ) const
inline
double determinant ( const Vec3d in) const
inline
Vec3d voxelSize ( ) const
inline
Vec3d voxelSize ( const Vec3d v) const
inline