OpenVDB: Quat.h File Reference

OpenVDB 3.1.0

- Main Page
- Related Pages
- Namespaces
- Classes
- Files

- File List
- File Members

Classes | Namespaces | Typedefs | Functions
Quat.h File Reference
`#include <iostream>`
`#include <cmath>`
`#include "Mat.h"`
`#include "Mat3.h"`
`#include "Math.h"`
`#include "Vec3.h"`
`#include <openvdb/Exceptions.h>`

Go to the source code of this file.

## Classes
class | Quat< T >
class | Quat< T >

## Namespaces
| openvdb
| openvdb::v3_1_0
| openvdb::v3_1_0::math

## Typedefs
typedef Quat< float > | Quats
typedef Quat< double > | Quatd

## Functions
template<typename T >
Quat< T > | slerp (const Quat< T > &q1, const Quat< T > &q2, T t, T tolerance=0.00001)
| Linear interpolation between the two quaternions. More...
template<typename S , typename T >
Quat< T > | operator* (S scalar, const Quat< T > &q)
| Returns V, where for . More...
template<typename T , typename T0 >
Mat3< T > | slerp (const Mat3< T0 > &m1, const Mat3< T0 > &m2, T t)
| Interpolate between m1 and m2. Converts to quaternion form and uses slerp m1 and m2 must be rotation matrices! More...
template<typename T , typename T0 >
Mat3< T > | bezLerp (const Mat3< T0 > &m1, const Mat3< T0 > &m2, const Mat3< T0 > &m3, const Mat3< T0 > &m4, T t)