|
OWL
OptiX7 Wrapper Library
|
#include <Quaternion.h>
Public Types | |
| typedef vec_t< T, 3 > | Vector |
Public Member Functions | |
| __both__ | QuaternionT (void) |
| Construction. More... | |
| __both__ | QuaternionT (const QuaternionT &other) |
| __both__ QuaternionT & | operator= (const QuaternionT &other) |
| __both__ | QuaternionT (const T &r) |
| __both__ | QuaternionT (const Vector &v) |
| __both__ | QuaternionT (const T &r, const T &i, const T &j, const T &k) |
| __both__ | QuaternionT (const T &r, const Vector &v) |
| __inline | QuaternionT (const Vector &vx, const Vector &vy, const Vector &vz) |
| __inline | QuaternionT (const T &yaw, const T &pitch, const T &roll) |
| __both__ | QuaternionT (ZeroTy) |
| Constants. More... | |
| __both__ | QuaternionT (OneTy) |
| __both__ const Vector | v () const |
Static Public Member Functions | |
| static __both__ QuaternionT | rotate (const Vector &u, const T &r) |
Public Attributes | |
| T | r |
| T | i |
| T | j |
| T | k |
| typedef vec_t<T,3> owl::common::QuaternionT< T >::Vector |
|
inline |
Construction.
|
inline |
|
inline |
|
inlineexplicit |
|
inline |
|
inline |
| __inline owl::common::QuaternionT< T >::QuaternionT | ( | const Vector & | vx, |
| const Vector & | vy, | ||
| const Vector & | vz | ||
| ) |
| owl::common::QuaternionT< T >::QuaternionT | ( | const T & | yaw, |
| const T & | pitch, | ||
| const T & | roll | ||
| ) |
|
inline |
Constants.
|
inline |
|
inline |
|
inlinestatic |
return quaternion for rotation around arbitrary axis
|
inline |
returns the rotation axis of the quaternion as a vector
| T owl::common::QuaternionT< T >::i |
| T owl::common::QuaternionT< T >::j |
| T owl::common::QuaternionT< T >::k |
| T owl::common::QuaternionT< T >::r |