HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
openvdb::OPENVDB_VERSION_NAME::math::GenericMap Class Reference

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

#include <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.

Definition at line 2085 of file Operators.h.

Constructor & Destructor Documentation

template<typename GridType >
openvdb::OPENVDB_VERSION_NAME::math::GenericMap::GenericMap ( const GridType &  g)
inline

Definition at line 2089 of file Operators.h.

openvdb::OPENVDB_VERSION_NAME::math::GenericMap::GenericMap ( const Transform t)
inline

Definition at line 2091 of file Operators.h.

openvdb::OPENVDB_VERSION_NAME::math::GenericMap::GenericMap ( MapBase::Ptr  map)
inline

Definition at line 2092 of file Operators.h.

openvdb::OPENVDB_VERSION_NAME::math::GenericMap::GenericMap ( MapBase::ConstPtr  map)
inline

Definition at line 2093 of file Operators.h.

openvdb::OPENVDB_VERSION_NAME::math::GenericMap::~GenericMap ( )
inline

Definition at line 2094 of file Operators.h.

Member Function Documentation

Mat3d openvdb::OPENVDB_VERSION_NAME::math::GenericMap::applyIJC ( const Mat3d m) const
inline

Definition at line 2101 of file Operators.h.

Mat3d openvdb::OPENVDB_VERSION_NAME::math::GenericMap::applyIJC ( const Mat3d m,
const Vec3d v,
const Vec3d pos 
) const
inline

Definition at line 2102 of file Operators.h.

Vec3d openvdb::OPENVDB_VERSION_NAME::math::GenericMap::applyIJT ( const Vec3d in) const
inline

Definition at line 2099 of file Operators.h.

Vec3d openvdb::OPENVDB_VERSION_NAME::math::GenericMap::applyIJT ( const Vec3d in,
const Vec3d pos 
) const
inline

Definition at line 2100 of file Operators.h.

Vec3d openvdb::OPENVDB_VERSION_NAME::math::GenericMap::applyInverseMap ( const Vec3d in) const
inline

Definition at line 2097 of file Operators.h.

Vec3d openvdb::OPENVDB_VERSION_NAME::math::GenericMap::applyMap ( const Vec3d in) const
inline

Definition at line 2096 of file Operators.h.

double openvdb::OPENVDB_VERSION_NAME::math::GenericMap::determinant ( ) const
inline

Definition at line 2105 of file Operators.h.

double openvdb::OPENVDB_VERSION_NAME::math::GenericMap::determinant ( const Vec3d in) const
inline

Definition at line 2106 of file Operators.h.

Vec3d openvdb::OPENVDB_VERSION_NAME::math::GenericMap::voxelSize ( ) const
inline

Definition at line 2108 of file Operators.h.

Vec3d openvdb::OPENVDB_VERSION_NAME::math::GenericMap::voxelSize ( const Vec3d v) const
inline

Definition at line 2109 of file Operators.h.


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