HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
openvdb::OPENVDB_VERSION_NAME::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::OPENVDB_VERSION_NAME::tools::local_util::ceilVec3 ( const Vec3R &  v)
inline

Definition at line 618 of file Interpolation.h.

template<typename T >
bool 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 
)
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.

Definition at line 295 of file GridTransformer.h.

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

Definition at line 611 of file Interpolation.h.

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

Definition at line 625 of file Interpolation.h.