#include <Orientation.h>
Inheritance diagram for srm::Orientation:


Public Member Functions | |
| virtual Orientation & | operator= (const Orientation &other) |
| Assignment operator. | |
| virtual SRM_Matrix_3x3 | getMatrix3x3 () const |
| Gets the orientation in matrix 3x3 representation. | |
| virtual SRM_Axis_Angle_Params | getAxisAngle () const |
| Gets the orientation in (axis, angle) representation. | |
| virtual SRM_Euler_Angles_ZXZ_Params | getEulerAnglesZXZ () const |
| Gets the orientation in Euler angles (ZXZ) representation. | |
| virtual SRM_Tait_Bryan_Angles_Params | getTaitBryanAngles () const |
| Gets the orientation in Tait-Bryan angles representation. | |
| virtual SRM_Quaternion_Params | getQuaternion () const |
| Gets the orientation in Quaternion representation. | |
| virtual void | setMatrix3x3 (const SRM_Matrix_3x3 ¶ms) |
| Sets the Matrix 3x3 orientation representation. | |
| virtual void | setMatrix3x3 (SRM_Long_Float a11, SRM_Long_Float a12, SRM_Long_Float a13, SRM_Long_Float a21, SRM_Long_Float a22, SRM_Long_Float a23, SRM_Long_Float a31, SRM_Long_Float a32, SRM_Long_Float a33) |
| Sets the orientation using elements of the matrix (mat) 3x3 parameter. | |
| virtual void | setAxisAngle (const SRM_Axis_Angle_Params ¶ms) |
| Sets the (axis, angle) orientation representation. | |
| virtual void | setAxisAngle (const SRM_Vector_3D &axis, SRM_Long_Float angle) |
| Sets the orientation using (axis, angle) parameters. | |
| virtual void | setEulerAnglesZXZ (const SRM_Euler_Angles_ZXZ_Params ¶ms) |
| Sets the Euler angles (ZXZ) orientation representation. | |
| virtual void | setEulerAnglesZXZ (SRM_Long_Float spin, SRM_Long_Float nutation, SRM_Long_Float precession) |
| Sets the orientation using spin, nutation, and precession parameters. | |
| virtual void | setTaitBryanAngles (const SRM_Tait_Bryan_Angles_Params ¶ms) |
| Sets the Tait-Bryan angles orientation representation. | |
| virtual void | setTaitBryanAngles (SRM_Long_Float roll, SRM_Long_Float pitch, SRM_Long_Float yaw) |
| Sets the orientation using roll, pitch and yaw parameters. | |
| virtual void | setQuaternion (const SRM_Quaternion_Params ¶ms) |
| Sets the quaternion orientation representation. | |
| virtual void | setQuaternion (SRM_Long_Float e0, SRM_Long_Float e1, SRM_Long_Float e2, SRM_Long_Float e3) |
| Sets the orientation using quaternion (e0, e1, e2, e3 ) parameters. | |
| virtual std::string | toString () const=0 |
| Returns the string for the orientation values. | |
| virtual SRM_Ori_Rep_Type | getOriRep () const=0 |
| Returns the native orientation representation type. | |
| virtual SRM_Vector_3D | transformVector (const SRM_Vector_3D &vec) const |
| Applies this orientation to the input vector and sets the result in the return vector. | |
| virtual bool | equivalence (const Orientation &compare_instance, SRM_Long_Float tolerance=Orientation::epsilon) const |
| bool | operator== (Orientation &rhs) |
| The equality operator. | |
Static Public Member Functions | |
| bool | equivalence (const Orientation &instance1, const Orientation &instance2, SRM_Long_Float tolerance=Orientation::epsilon) |
Static Public Attributes | |
| const SRM_Long_Float | epsilon |
| Epsilon value for equivalence tests. | |
Protected Member Functions | |
| const SRM_Matrix_3x3 & | _get_matrix_base () const |
| Internal matrix 3x3 representation (for now) used for calculations. | |
| const SRM_Matrix_3x3 & | _get_matrix_base_unch () const |
| void | _set_matrix_base (const SRM_Matrix_3x3 &matrix_base) const |
| bool | _get_internal_data_is_current () const |
| is set to true when the internal data is equivalent to the representation class data. | |
| void | _set_internal_data_is_current (bool internal_data_is_current) const |
| virtual void | _updateIntData () const=0 |
| the virtual function to convert the data from native representation to the internal representation | |
| virtual void | _updateRepData ()=0 |
| the virtual function to convert the data from internal representation to the native representation | |
Definition at line 103 of file Orientation.h.
|
|
The equality operator.
|
|
||||||||||||
|
Sets the orientation using (axis, angle) parameters.
Reimplemented in srm::OrientationAxisAngle. |
|
|
Sets the (axis, angle) orientation representation.
Reimplemented in srm::OrientationAxisAngle. |
|
||||||||||||||||
|
Sets the orientation using spin, nutation, and precession parameters.
Reimplemented in srm::OrientationEulerAnglesZXZ. |
|
|
Sets the Euler angles (ZXZ) orientation representation.
Reimplemented in srm::OrientationEulerAnglesZXZ. |
|
||||||||||||||||||||||||||||||||||||||||
|
Sets the orientation using elements of the matrix (mat) 3x3 parameter.
|
|
|
Sets the Matrix 3x3 orientation representation.
|
|
||||||||||||||||||||
|
Sets the orientation using quaternion (e0, e1, e2, e3 ) parameters.
Reimplemented in srm::OrientationQuaternion. |
|
|
Sets the quaternion orientation representation.
Reimplemented in srm::OrientationQuaternion. |
|
||||||||||||||||
|
Sets the orientation using roll, pitch and yaw parameters.
Reimplemented in srm::OrientationTaitBryanAngles. |
|
|
Sets the Tait-Bryan angles orientation representation.
Reimplemented in srm::OrientationTaitBryanAngles. |
|
|
Applies this orientation to the input vector and sets the result in the return vector.
|
| Spatial Reference Model C++ API | Version 4.4 - December 7, 2009 |
| Copyright © 2009 SEDRIS | Docs by Doxygen 1.3.2 |