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


Public Member Functions | |
| OrientationQuaternion () | |
| Default constructor. | |
| OrientationQuaternion (const SRM_Quaternion_Params ¶ms) | |
| Constructor using quaternion parameter. | |
| OrientationQuaternion (SRM_Long_Float e0, SRM_Long_Float e1, SRM_Long_Float e2, SRM_Long_Float e3) | |
| Constructor using quaternion (e0, e1, e2, e3 ) parameters. | |
| OrientationQuaternion (const Orientation &other) | |
| Copy constructor. | |
| virtual Orientation & | operator= (const Orientation &other) |
| Assignment operator. | |
| virtual SRM_Quaternion_Params | getQuaternion () const |
| Gets the orientation in Quaternion representation. | |
| 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 |
| Returns the string for the quaternion orientation representation. | |
| virtual SRM_Ori_Rep_Type | getOriRep () const |
| Returns the native orientation representation type. | |
Static Public Member Functions | |
| bool | isValidParams (const SRM_Quaternion_Params ¶ms) |
| Returns true if the quaternion parameters represent a valid orientation. | |
| OrientationQuaternion | compose (const Orientation &left, const Orientation &right) |
| Composes the right orientation with the left orientation and returns the result in the output orientation, i.e., composed_ori = left*right. | |
| bool | equivParams (const SRM_Quaternion_Params ¶ms1, const SRM_Quaternion_Params ¶ms2, SRM_Long_Float tolerance=0.0) |
| ref: Table 7 | |
Protected Member Functions | |
| virtual void | _updateIntData () const |
| the virtual function to convert the data from native representation to the internal representation | |
| virtual void | _updateRepData () |
| the virtual function to convert the data from internal representation to the native representation | |
Protected Attributes | |
| SRM_Quaternion_Params | _quaternion |
Definition at line 734 of file Orientation.h.
|
|
Default constructor. The default value is (0, 1, 0, 0). |
|
|
Constructor using quaternion parameter.
|
|
||||||||||||||||||||
|
Constructor using quaternion (e0, e1, e2, e3 ) parameters.
|
|
||||||||||||
|
Composes the right orientation with the left orientation and returns the result in the output orientation, i.e., composed_ori = left*right.
|
|
||||||||||||||||||||
|
Sets the orientation using quaternion (e0, e1, e2, e3 ) parameters.
Reimplemented from srm::Orientation. Definition at line 797 of file Orientation.h. |
|
|
Sets the quaternion orientation representation.
Reimplemented from srm::Orientation. |
| Spatial Reference Model C++ API | Version 4.4 - December 7, 2009 |
| Copyright © 2009 SEDRIS | Docs by Doxygen 1.3.2 |