public class OrientationQuaternion extends Orientation
Orientationepsilon| Constructor and Description |
|---|
OrientationQuaternion()
Default constructor.
|
OrientationQuaternion(double e0,
double e1,
double e2,
double e3)
Constructor using quaternion (e0, e1, e2, e3) pamameters
|
OrientationQuaternion(SRM_Quaternion_Params params)
Constructor using quaternion pamameter
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
_updateIntData()
the virtual function to convert the data from native representation to
the internal representation
|
protected void |
_updateRepData()
the virtual function to convert the data from internal representation
to the native representation
|
static OrientationQuaternion |
compose(Orientation left,
Orientation right)
Composes the right orientation with the left orientation and returns
the result in the output orientation, i.e., composed_ori = left*right.
|
SRM_Ori_Rep |
getOriRep()
Returns the native orientation representation type.
|
SRM_Quaternion_Params |
getQuaternion()
Gets the quaternion orientation representation
|
void |
setQuaternion(SRM_Quaternion_Params params)
Sets the quaternion orientation representation
|
String |
toString()
Returns the string for the quaternion orientation representation
|
_get_internal_data_is_current, _get_matrix_base_unch, _get_matrix_base, _set_internal_data_is_current, _set_matrix_base, equivalence, equivalence, getAxisAngle, getEulerAnglesZXZ, getMatrix3x3, getTaitBryanAngles, isEqual, setAxisAngle, setAxisAngle, setEulerAnglesZXZ, setEulerAnglesZXZ, setMatrix3x3, setMatrix3x3, setQuaternion, setTaitBryanAngles, setTaitBryanAngles, transformVectorpublic OrientationQuaternion()
public OrientationQuaternion(SRM_Quaternion_Params params) throws SrmException
This - method throws srm::ExceptionSrmExceptionpublic OrientationQuaternion(double e0,
double e1,
double e2,
double e3)
throws SrmException
e0 - in: the scale (real) parametere1 - in: the vector multiplier in (i) directione2 - in: the vector multiplier in (j) directione3 - in: the vector multiplier in (k) directionThis - method throws srm::ExceptionSrmExceptionpublic SRM_Quaternion_Params getQuaternion()
getQuaternion in class Orientationpublic void setQuaternion(SRM_Quaternion_Params params) throws SrmException
setQuaternion in class OrientationThis - method throws srm::ExceptionSrmExceptionpublic String toString()
toString in class Orientationpublic SRM_Ori_Rep getOriRep()
getOriRep in class Orientationpublic static OrientationQuaternion compose(Orientation left, Orientation right) throws SrmException
SrmExceptionprotected void _updateIntData()
Orientation_updateIntData in class Orientationprotected void _updateRepData()
Orientation_updateRepData in class OrientationCopyright © 2013 SEDRIS. All Rights Reserved.