#include <HOM_Quaternion.h>
|
| HOM_Quaternion () |
|
| HOM_Quaternion (const std::vector< double > &sequence) |
|
| HOM_Quaternion (double x, double y, double z, double w) |
|
| HOM_Quaternion (double angle_in_deg, const std::vector< double > &axis) |
|
| HOM_Quaternion (HOM_Matrix3 &matrix3) |
|
| HOM_Quaternion (HOM_Matrix4 &matrix4) |
|
| HOM_Quaternion (const HOM_Quaternion &quaternion) |
|
| HOM_Quaternion (const UT_QuaternionD &quaternion) |
|
| ~HOM_Quaternion () |
|
bool | operator== (HOM_PtrOrNull< HOM_Quaternion > quaternion) |
|
bool | operator!= (HOM_PtrOrNull< HOM_Quaternion > quaternion) |
|
bool | isAlmostEqual (HOM_Quaternion &quaternion, double tolerance=0.00001) |
|
bool | almostEqual (HOM_Quaternion &quaternion, double tolerance=0.00001) |
|
int | __hash__ () |
|
std::string | __str__ () |
|
std::string | __repr__ () |
|
double | __getitem__ (int index) |
|
void | __setitem__ (int index, double value) |
|
int | __len__ () |
|
void | setTo (const std::vector< double > &tuple) |
|
void | setToRotationMatrix (HOM_Matrix3 &matrix3) |
|
void | setToRotationMatrix (HOM_Matrix4 &matrix4) |
|
void | setToAngleAxis (double angle_in_deg, const std::vector< double > &axis) |
|
void | setToVectors (const HOM_Vector3 &v1, const HOM_Vector3 &v2) |
|
void | setToEulerRotates (const std::vector< double > &angles_in_deg, const char *rotate_order="xyz") |
|
HOM_Quaternion & | operator= (const HOM_Quaternion &quaternion) |
|
HOM_Quaternion | conjugate () |
|
HOM_Quaternion | inverse () |
|
double | dot (HOM_Quaternion &quaternion) |
|
HOM_Quaternion | __add__ (HOM_Quaternion &quaternion) |
|
HOM_Quaternion | __sub__ (HOM_Quaternion &quaternion) |
|
HOM_Quaternion | __mul__ (double scalar) |
|
HOM_Quaternion | __mul__ (HOM_Quaternion &quaternion) |
|
HOM_Quaternion | slerp (HOM_Quaternion &other, double fraction) |
|
HOM_Quaternion | normalized () |
|
double | length () |
|
HOM_Matrix3 * | extractRotationMatrix3 () |
|
std::pair< double, HOM_ElemPtr
< HOM_Vector3 > > | extractAngleAxis () |
|
HOM_Vector3 | extractEulerRotates (const char *rotate_order="xyz") |
|
HOM_Vector3 | rotate (const HOM_Vector3 &v) |
|
void * | _asVoidPointer () |
|
Definition at line 27 of file HOM_Quaternion.h.
HOM_Quaternion::HOM_Quaternion |
( |
| ) |
|
|
inline |
HOM_Quaternion::HOM_Quaternion |
( |
const std::vector< double > & |
sequence | ) |
|
|
inline |
HOM_Quaternion::HOM_Quaternion |
( |
double |
x, |
|
|
double |
y, |
|
|
double |
z, |
|
|
double |
w |
|
) |
| |
|
inline |
HOM_Quaternion::HOM_Quaternion |
( |
double |
angle_in_deg, |
|
|
const std::vector< double > & |
axis |
|
) |
| |
|
inline |
HOM_Quaternion::HOM_Quaternion |
( |
HOM_Matrix3 & |
matrix3 | ) |
|
HOM_Quaternion::HOM_Quaternion |
( |
HOM_Matrix4 & |
matrix4 | ) |
|
HOM_Quaternion::~HOM_Quaternion |
( |
| ) |
|
|
inline |
double HOM_Quaternion::__getitem__ |
( |
int |
index | ) |
|
int HOM_Quaternion::__hash__ |
( |
| ) |
|
int HOM_Quaternion::__len__ |
( |
| ) |
|
|
inline |
void HOM_Quaternion::__setitem__ |
( |
int |
index, |
|
|
double |
value |
|
) |
| |
void* HOM_Quaternion::_asVoidPointer |
( |
| ) |
|
|
inline |
bool HOM_Quaternion::almostEqual |
( |
HOM_Quaternion & |
quaternion, |
|
|
double |
tolerance = 0.00001 |
|
) |
| |
|
inline |
HOM_Vector3 HOM_Quaternion::extractEulerRotates |
( |
const char * |
rotate_order = "xyz" | ) |
|
HOM_Matrix3* HOM_Quaternion::extractRotationMatrix3 |
( |
| ) |
|
bool HOM_Quaternion::isAlmostEqual |
( |
HOM_Quaternion & |
quaternion, |
|
|
double |
tolerance = 0.00001 |
|
) |
| |
double HOM_Quaternion::length |
( |
void |
| ) |
|
|
inline |
void HOM_Quaternion::setTo |
( |
const std::vector< double > & |
tuple | ) |
|
void HOM_Quaternion::setToAngleAxis |
( |
double |
angle_in_deg, |
|
|
const std::vector< double > & |
axis |
|
) |
| |
void HOM_Quaternion::setToEulerRotates |
( |
const std::vector< double > & |
angles_in_deg, |
|
|
const char * |
rotate_order = "xyz" |
|
) |
| |
The documentation for this class was generated from the following file: