HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups 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 2095 of file Operators.h.

Constructor & Destructor Documentation

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

Definition at line 2099 of file Operators.h.

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

Definition at line 2101 of file Operators.h.

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

Definition at line 2102 of file Operators.h.

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

Definition at line 2103 of file Operators.h.

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

Definition at line 2104 of file Operators.h.

Member Function Documentation

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

Definition at line 2111 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 2112 of file Operators.h.

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

Definition at line 2109 of file Operators.h.

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

Definition at line 2110 of file Operators.h.

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

Definition at line 2107 of file Operators.h.

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

Definition at line 2106 of file Operators.h.

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

Definition at line 2115 of file Operators.h.

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

Definition at line 2116 of file Operators.h.

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

Definition at line 2118 of file Operators.h.

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

Definition at line 2119 of file Operators.h.


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