OpenVDB  9.0.1
Public Member Functions | Public Attributes | List of all members
GridTransformer::MatrixTransform Struct Reference

#include <openvdb/tools/GridTransformer.h>

Public Member Functions

 MatrixTransform ()
 
 MatrixTransform (const Mat4R &xform)
 
bool isAffine () const
 
Vec3R transform (const Vec3R &pos) const
 
Vec3R invTransform (const Vec3R &pos) const
 

Public Attributes

Mat4R mat
 
Mat4R invMat
 

Detailed Description

This class implements the Transformer functor interface (specifically, the isAffine(), transform() and invTransform() methods) for a transform that is expressed as a 4 x 4 matrix.

Constructor & Destructor Documentation

MatrixTransform ( )
inline
MatrixTransform ( const Mat4R xform)
inline

Member Function Documentation

Vec3R invTransform ( const Vec3R pos) const
inline
bool isAffine ( ) const
inline
Vec3R transform ( const Vec3R pos) const
inline

Member Data Documentation

Mat4R invMat
Mat4R mat