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

This class implements the Transformer functor interface (specifically, the isAffine(), transform() and invTransform() methods) for a transform that maps an A grid into a B grid's index space such that, after resampling, A's index space and transform match B's index space and transform. More...

#include <GridTransformer.h>

Public Member Functions

 ABTransform (const math::Transform &aXform, const math::Transform &bXform)
 
bool isAffine () const
 
bool isIdentity () const
 
openvdb::Vec3R transform (const openvdb::Vec3R &pos) const
 
openvdb::Vec3R invTransform (const openvdb::Vec3R &pos) const
 
const math::TransformgetA () const
 
const math::TransformgetB () const
 

Detailed Description

This class implements the Transformer functor interface (specifically, the isAffine(), transform() and invTransform() methods) for a transform that maps an A grid into a B grid's index space such that, after resampling, A's index space and transform match B's index space and transform.

Definition at line 401 of file GridTransformer.h.

Constructor & Destructor Documentation

openvdb::OPENVDB_VERSION_NAME::tools::ABTransform::ABTransform ( const math::Transform aXform,
const math::Transform bXform 
)
inline
Parameters
aXformthe A grid's transform
bXformthe B grid's transform

Definition at line 406 of file GridTransformer.h.

Member Function Documentation

const math::Transform& openvdb::OPENVDB_VERSION_NAME::tools::ABTransform::getA ( ) const
inline

Definition at line 427 of file GridTransformer.h.

const math::Transform& openvdb::OPENVDB_VERSION_NAME::tools::ABTransform::getB ( ) const
inline

Definition at line 428 of file GridTransformer.h.

openvdb::Vec3R openvdb::OPENVDB_VERSION_NAME::tools::ABTransform::invTransform ( const openvdb::Vec3R &  pos) const
inline

Definition at line 422 of file GridTransformer.h.

bool openvdb::OPENVDB_VERSION_NAME::tools::ABTransform::isAffine ( ) const
inline

Definition at line 413 of file GridTransformer.h.

bool openvdb::OPENVDB_VERSION_NAME::tools::ABTransform::isIdentity ( ) const
inline

Definition at line 415 of file GridTransformer.h.

openvdb::Vec3R openvdb::OPENVDB_VERSION_NAME::tools::ABTransform::transform ( const openvdb::Vec3R &  pos) const
inline

Definition at line 417 of file GridTransformer.h.


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