#include <VMDQuat.h>
Public Methods | |
| Quat () | |
| initialize to identity. More... | |
| Quat (double x, double y, double z, double w) | |
| void | rotate (const float *u, float angle) |
| void | rotate (char axis, float angle) |
| axis = 'x', 'y', or 'z'. More... | |
| void | invert () |
| void | identity () |
| void | mult (const Quat &) |
| void | multpoint3 (const float *, float *) const |
| void | fromMatrix (const float *) |
| convert from a row-major matrix. More... | |
| void | printQuat (float *) |
| print it. More... | |
| void | printMatrix (float *) |
| print it as a matrix. More... | |
Definition at line 25 of file VMDQuat.h.
|
|
initialize to identity.
Definition at line 27 of file VMDQuat.h. References identity. |
|
||||||||||||||||||||
|
Definition at line 30 of file VMDQuat.C. References z. |
|
|
convert from a row-major matrix.
|
|
|
Definition at line 25 of file VMDQuat.C. Referenced by Quat. |
|
|
|
|
|
Definition at line 69 of file VMDQuat.C. References qw, qx, qy, qz, and z. Referenced by multpoint3, and rotate. |
|
||||||||||||
|
Definition at line 81 of file VMDQuat.C. References mult, qx, qy, and qz. Referenced by HMDMgr::rot_basis_quat, HMDMgr::rot_point_quat, PickModeMoveRep::rotate, PickModeMoveMolecule::rotate, PickModeMoveFragment::rotate, and PickModeMoveResidue::rotate. |
|
|
print it as a matrix.
|
|
|
print it.
|
|
||||||||||||
|
axis = 'x', 'y', or 'z'.
|
|
||||||||||||
|
|
1.2.14 written by Dimitri van Heesch,
© 1997-2002