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

Public Types | |
| enum | OrientationType { FixedXYZ, EulerXYZ, EulerZYZ } |
Public Methods | |
| Orientation () | |
| Orientation (OrientationType oType) | |
| Orientation (double o1, double o2, double o3, OrientationType oType=FixedXYZ) | |
| Orientation (double *array, OrientationType oType=FixedXYZ) | |
| Orientation (const Orientation &rhs) | |
| virtual | ~Orientation () |
| double & | O1 () |
| double & | O2 () |
| double & | O3 () |
| double | GetO1 () const |
| double | GetO2 () const |
| double | GetO3 () const |
| OrientationType | GetOrientationType (void) const |
| bool | SetOrientationType (OrientationType oType) |
| bool | ConvertType (OrientationType oType) |
| bool | Get (HandPose &hp) const |
| bool | Get (Rot3by3 &R) const |
| bool | Get (Xform &X) const |
| bool | Get (SpatialXform &S) const |
| bool | Get (Quaternion &q) const |
| bool | Get (Vector3 &axis, double &angle, AngleUnits angUnits=Radians) const |
| bool | Set (const HandPose &hp) |
| bool | Set (const Rot3by3 &R) |
| bool | Set (const Xform &X) |
| bool | Set (const Quaternion &q) |
| bool | Set (const SpatialXform &S) |
| bool | Set (const Vector3 &axis, double angle, AngleUnits angUnits=Radians) |
| bool | Subtract (const Orientation &with, Orientation &result) const |
| Orientation | operator- (const Orientation &rhs) const |
| Orientation & | operator= (const Orientation &rhs) |
| Orientation & | operator= (const Vector &rhs) |
| Orientation & | operator() (double ox, double oy, double oz) |
Protected Methods | |
| bool | eulerXYZToRot3by3 (Rot3by3 &_hand) const |
| bool | eulerZYZToRot3by3 (Rot3by3 &_hand) const |
| bool | fixedXYZToRot3by3 (Rot3by3 &_hand) const |
| void | init (OrientationType type, const double *array=0) |
Protected Attributes | |
| OrientationType | oType |
|
|
Enumeration OrientationType.
|
|
|
Contructor. Constructs an Orientation object with default orientation (FixedXYZ) and initalizes elements to 0. |
|
|
Contructor. Constructs an Orientation object with a specified orientation and initalizes elements to 0.
|
|
||||||||||||||||||||
|
Constructor. Constructs an Orientation object with specified inital values and orientation type.
|
|
||||||||||||
|
Constructor. Constructs an Orientation object, initialze elements from an array of doubles, and sets desired orientation type. Undefined behavior for arrays less than three elements.
|
|
|
Copy Constructor. Constructs an Orientation object from an existing Orientation object.
|
|
|
Virtual Destructor. This is the Destructor for an object of type Orientation. |
|
|
Change the orientation type of an Orientation object. This method is used to change the orientation type of an Orientation object and convert the orientation values of the Orientation to a different orientation type.
|
|
|
|
|
|
|
|
|
|
|
||||||||||||||||
|
Get an Equivalent Axis representation from an Orientation object. This method is used to get an equivalent axis representation from an Orientation object.
|
|
|
Get the quaternion representing the orientation of the source frame w.r.t the destination frame. This method is used to get a copy of the equivalent 4 by 1 quaternion representing the Orientation object.
|
|
|
Get an SpatialXform representation from an Orientation object. This method is used to get an equivalent SpatialXform object from an Orientation object.
|
|
|
Get the 4 by 4 transformation matrix from an Orientation object. This method is used to get the 4 by 4 transformation matrix from an Orientation object.
|
|
|
Get the 3 by 3 rotation matrix part from an Orientation object. This method is used to get the 3 by 3 rotation matrix from an Orientation object.
|
|
|
Get the handpose from an Orientation object. This method is used to get the equivalent handpose from an Orientation object.
|
|
|
Get the value of the first element of an Orientation object. This method is used to get the value of the first element of an Orientation object.
|
|
|
Get the value of the second element of an Orientation object. This method is used to get the value of the second element of an Orientation object.
|
|
|
Get the value of the third element of an Orientation object. This method is used to get the value of the third element of an Orientation object.
|
|
|
Get the orientation type of an Orientation object. This method is used to get the orientation type of an Orientation object.
|
|
||||||||||||
|
|
|
|
Get a reference to the first element of an Orientation object. This method is used to get a reference to the first element of an Orientation object.
|
|
|
Get a reference to the second element of an Orientation object. This method is used to get a reference to the second element of an Orientation object.
|
|
|
Get a reference to the third element of an Orientation object. This method is used to get a reference to the third element of an Orientation object.
|
|
||||||||||||||||
|
Set the first three elements of the Orientation object. This method is used to set the first three elements of the Orientation object.
|
|
|
Overloaded operator-. This overloaded operator- subtracts an Orientation object from the calling Orientation object.
|
|
|
Assignment Operator. This is the Assignment Operator for an object of type Orientation.
|
|
|
Assignment Operator. This is the Assignment Operator for an object of type Orientation.
|
|
||||||||||||||||
|
Set an Orientation object based on an equivalent axis representation. This method is used to set an Orientation object based on an equivalent axis representation.
|
|
|
Set an Orientation object based on an SpatialXform object. This method is used to set an Orientation object based on the rotational elements of an SpatialXform.
|
|
|
Set the orientation part of the Orientation based on a Quaternion object. This method is used to set the orientation part of the Orientation based on a Quaternion object.
|
|
|
Set the Orientation based on a homogenous transformation matrix. This method is used to set the Orientation based on a homogenous tranformation matrix.
|
|
|
Set the rotation matrix of an Orientation object. This method is used to set the orientation part of the Orientation object based on the rotation matrix passed as argument .
|
|
|
Set the Orientation based on a handpose. This method is used to set the Orientation based on a handpose.
|
|
|
Set the orientation type of an Orientation object. This method is used to set the orientation type of an Orientation object. This method does not transform the orientation values.
|
|
||||||||||||
|
Subtract an Orientation object from the calling Orientation object. This method subtracts an Orientation object from the calling Orientation object.
|
|
|
|
| RRG Homepage | OSCAR Overview | OSCAR Tutorials | Simulations |