OpenVDB  5.2.0
Functions
openvdb::v5_2::tools::local_util Namespace Reference

Functions

template<typename T >
bool 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 and translation components. More...
 
Vec3i floorVec3 (const Vec3R &v)
 
Vec3i ceilVec3 (const Vec3R &v)
 
Vec3i roundVec3 (const Vec3R &v)
 

Function Documentation

Vec3i openvdb::v5_2::tools::local_util::ceilVec3 ( const Vec3R v)
inline
bool openvdb::v5_2::tools::local_util::decompose ( const math::Mat4< T > &  m,
math::Vec3< T > &  scale,
math::Vec3< T > &  rotate,
math::Vec3< T > &  translate 
)
inline

Decompose an affine transform into scale, rotation and translation components.

Returns
false if the given matrix is not affine or cannot otherwise be decomposed.
Vec3i openvdb::v5_2::tools::local_util::floorVec3 ( const Vec3R v)
inline
Vec3i openvdb::v5_2::tools::local_util::roundVec3 ( const Vec3R v)
inline