GenLib2::ERotMatrix3 Class Reference

3D rotation matrix support class. More...

#include <rmat3supp.h>

List of all members.

get number of rotation parameters.

Parameters:
code 
Returns:
number of 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.
Parameters:
code 
Returns:
name


static const char * name (int code)
get rotation parameter enumerator.
Parameters:
keyword 
Returns:
code


static ecode code (const char *key)

Classes

struct  map_t
 map structure More...


Detailed Description

3D rotation matrix support class.

This class can be used to rotate a 3D coordinate system.

Author:
Dirk Stallmann

Member Enumeration Documentation

type of rotation parameters

Enumerator:
UNDEFINED  undefined
ROTATION_MATRIX  rotation matrix
DIRECTION_COSINES  direction cosines
ANGLES_OPK_FIX  rotation angles (omega-phi-kappa, fixed, clockwise)
ANGLES_OPK_FIX_CCW  rotation angles (omega-phi-kappa, fixed, counter-clockwise)
ANGLES_POK_FIX  rotation angles (phi-omega-kappa, fixed, counter-clockwise)
ANGLES_OPK_ROT  rotation angles (omega-phi-kappa, rotated, counter-clockwise)
ANGLES_POK_ROT  rotation angles (phi-omega-kappa, rotated, counter-clockwise)
ANGLES_AUSTRALIS  rotation angles (azimuth-elevation-roll, Australis)
ANGLES_SMALL  "small" rotation angles
UPPER_DIAG_ELEM  three upper-diagonal elements
RODRIGUES_MATRIX  Rodrigues matrix.
UNIT_QUATERNION  (Hamiltonian) unit quaternion
ROTATION_ABOUT_LINE  one rotation about a line
END_OF_MAP  end-of-map


Member Data Documentation

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 }
}
map

Referenced by map_size(), and print().


The documentation for this class was generated from the following files:

Generated on Wed Aug 6 15:46:43 2008 by  doxygen 1.5.5