#include <rmat3supp.h>
get number of rotation parameters. | ||||
| ||||
static map_t | _map [] | |||
map | ||||
void | print (ostream &os) const | |||
print map | ||||
size_t | map_size () const | |||
get number of map items | ||||
static size_t | size (int code) | |||
Public Types | ||||
enum | ecode { UNDEFINED, ROTATION_MATRIX, DIRECTION_COSINES, ANGLES_OPK_FIX, ANGLES_OPK_FIX_CCW, ANGLES_POK_FIX, ANGLES_OPK_ROT, ANGLES_POK_ROT, ANGLES_AUSTRALIS, ANGLES_SMALL, UPPER_DIAG_ELEM, RODRIGUES_MATRIX, UNIT_QUATERNION, ROTATION_ABOUT_LINE, END_OF_MAP } | |||
type of rotation parameters More... | ||||
Public Member Functions | ||||
ERotMatrix3 () | ||||
constructor | ||||
virtual | ~ERotMatrix3 () | |||
destructor | ||||
Static Public Member Functions | ||||
get rotation parameter name. | ||||
| ||||
static const char * | name (int code) | |||
get rotation parameter enumerator. | ||||
| ||||
static ecode | code (const char *key) | |||
Classes | ||||
struct | map_t | |||
map structure More... |
This class can be used to rotate a 3D coordinate system.
type of rotation parameters
ERotMatrix3::map_t GenLib2::ERotMatrix3::_map [static, private] |
Initial value:
{ { UNDEFINED, "undef", "undefined", 0 }, { ROTATION_MATRIX, "rotation-matrix", "rotation matrix", 9 }, { DIRECTION_COSINES, "direction-cosines", "direction cosines", 9 }, { ANGLES_OPK_FIX, "angles-opk-fix", "angles, omega-phi-kappa, fixed axes, cw", 3 }, { ANGLES_OPK_FIX_CCW, "angles-opk-fix-ccw", "angles, omega-phi-kappa, fixed axes, ccw", 3 }, { ANGLES_POK_FIX, "angles-pok-fix", "angles, phi-omega-kappa, fixed axes, ccw", 3 }, { ANGLES_OPK_ROT, "angles-opk-rot", "angles, omega-phi-kappa, rotated axes, ccw", 3 }, { ANGLES_POK_ROT, "angles-pok-rot", "angles, phi-omega-kappa, rotated axes, ccw", 3 }, { ANGLES_AUSTRALIS, "angles-australis", "angles australis parameters", 3 }, { ANGLES_SMALL, "small-angles", "small angles", 3 }, { UPPER_DIAG_ELEM, "upper-diag-elem", "upper diagonal elements", 3 }, { RODRIGUES_MATRIX, "rodrigues-matrix", "rodrigues matrix", 3 }, { UNIT_QUATERNION, "unit-quaternion", "unit quaternion", 4 }, { ROTATION_ABOUT_LINE, "rotation-about-line", "one rotation about a line", 4 }, { END_OF_MAP, 0, 0, 0 } }
Referenced by map_size(), and print().