HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
openvdb::OPENVDB_VERSION_NAME::tools::local_util Namespace Reference

Enumerations

enum  { DECOMP_INVALID = 0, DECOMP_VALID = 1, DECOMP_UNIQUE = 2 }
 

Functions

template<typename T >
int decompose (const math::Mat4< T > &m, math::Vec3< T > &scale, math::Vec3< T > &rotate, math::Vec3< T > &translate)
 Decompose an affine transform into scale, rotation (XYZ order), and translation components. More...
 
Vec3i floorVec3 (const Vec3R &v)
 
Vec3i ceilVec3 (const Vec3R &v)
 
Vec3i roundVec3 (const Vec3R &v)
 

Enumeration Type Documentation

anonymous enum
Enumerator
DECOMP_INVALID 
DECOMP_VALID 
DECOMP_UNIQUE 

Definition at line 274 of file GridTransformer.h.

Function Documentation

Vec3i openvdb::OPENVDB_VERSION_NAME::tools::local_util::ceilVec3 ( const Vec3R &  v)
inline

Definition at line 591 of file Interpolation.h.

template<typename T >
int openvdb::OPENVDB_VERSION_NAME::tools::local_util::decompose ( const math::Mat4< T > &  m,
math::Vec3< T > &  scale,
math::Vec3< T > &  rotate,
math::Vec3< T > &  translate 
)

Decompose an affine transform into scale, rotation (XYZ order), and translation components.

Returns
DECOMP_INVALID if the given matrix is not affine or cannot be decomposed, DECOMP_UNIQUE if the matrix has a unique decomposition, DECOMP_VALID otherwise

Definition at line 283 of file GridTransformer.h.

Vec3i openvdb::OPENVDB_VERSION_NAME::tools::local_util::floorVec3 ( const Vec3R &  v)
inline

Definition at line 584 of file Interpolation.h.

Vec3i openvdb::OPENVDB_VERSION_NAME::tools::local_util::roundVec3 ( const Vec3R &  v)
inline

Definition at line 598 of file Interpolation.h.