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

Public Methods | |
| HandPose () | |
| HandPose (Orientation::OrientationType oType) | |
| HandPose (double x, double y, double z, double o1, double o2, double o3, Orientation::OrientationType oType=Orientation::FixedXYZ) | |
| HandPose (double x, double y, double z, double o1, double o2, double o3, const CoordinateStatusArray &statArray, Orientation::OrientationType oType=Orientation::FixedXYZ, OSCARError &err=DUMMY_ERROR(noError)) | |
| HandPose (double *array, Orientation::OrientationType oType=Orientation::FixedXYZ) | |
| HandPose (double *array, const CoordinateStatusArray &statArray, Orientation::OrientationType oType=Orientation::FixedXYZ, OSCARError &err=DUMMY_ERROR(noError)) | |
| HandPose (const CoordinateStatusArray &statArray, OSCARError &err=DUMMY_ERROR(noError)) | |
| HandPose (const HandPose &rhs) | |
| virtual | ~HandPose () |
| double & | X () |
| double & | Y () |
| double & | Z () |
| double & | O1 () |
| double & | O2 () |
| double & | O3 () |
| double | GetX () const |
| double | GetY () const |
| double | GetZ () const |
| double | GetO1 () const |
| double | GetO2 () const |
| double | GetO3 () const |
| bool | Get (Vector3 &position) const |
| bool | Get (Orientation &orientation) const |
| bool | Get (Rot3by3 &rotation) const |
| bool | Get (Quaternion &quat) const |
| bool | Get (Xform &xform) const |
| bool | Get (SpatialXform &spatial) const |
| bool | Get (Vector3 &axis, double &angle, AngleUnits angUnits=Radians) const |
| bool | Set (const Vector3 &position) |
| bool | Set (const Orientation &orientation) |
| bool | Set (const Rot3by3 &rotation) |
| bool | Set (const Quaternion &quat) |
| bool | Set (const Xform &xform) |
| bool | Set (const SpatialXform &spatial) |
| bool | Set (const Vector3 &axis, double angle, AngleUnits angUnits=Radians) |
| Orientation::OrientationType | GetOrientationType () const |
| bool | SetOrientationType (Orientation::OrientationType oType) |
| bool | ConvertType (Orientation::OrientationType oType) |
| bool | Subtract (const HandPose &rhs, HandPose &result) const |
| HandPose | operator- (const HandPose &rhs) const |
| HandPose & | operator= (const HandPose &rhs) |
| HandPose & | operator= (const Vector &rhs) |
| HandPose & | operator() (double x, double y, double z, double o1, double o2, double o3) |
Protected Attributes | |
| Orientation::OrientationType | oType |
A vector of size 6 whose 1st 3 elements hold the X, Y, and Z positions, and the last three hold the spatial orientation that can be expressed in terms of various FIXED and EULER angles. Provides a vector-based input form for end effector position and orientation. The orientation can be expressed in the same way as the Orientation class. Various methods are provided that will Get/Set different position and orientation objects from a HandPose. As this class inherits from CoordinateVector, you can set each element of the HandPose to be Active or Inactive.
|
|
Default Contructor. Constructs an HandPose object with default FixedXYZ orientation and initalizes the elements to 0.0 and Active. |
|
|
Default Contructor. Constructs an HandPose object with default FixedXYZ orientation and initalizes the elements to 0.0 and Active.
|
|
||||||||||||||||||||||||||||||||
|
Constructor. Constructs an HandPose object with inital values and orientaton type. All coordinates are set to Active.
|
|
||||||||||||||||||||||||||||||||||||||||
|
Constructor. Construct an HandPose object with inital values, orientaiton type, and Active/Inactive coordinates.
|
|
||||||||||||
|
Constructor. This is the constructor for an object of type HandPose. Use this to construct an HandPose object with a desired orientaiton type, and initialize all the elements from an array. By default, all coordinates of the HandPose are set to Active. This constructor will lead to program crash if array is less than size 6.
|
|
||||||||||||||||||||
|
Constructor. This is the constructor for an object of type HandPose. Use this to construct an HandPose object with a desired orientaiton type, and initialize all the elements from an array. Set the Active/Inactive values according to the RRCoordinateStatusArray. This constructor will lead to program crash if array is less than size 6.
|
|
||||||||||||
|
Constructor. This is the constructor for an object of type HandPose. Use this to construct an HandPose object with all the elements initialized to 0.0. Set the Active/Inactive values according to the RRCoordinateStatusArray.
|
|
|
Copy Constructor. This is the Copy Constructor for an object of type HandPose. Use this to construct an HandPose object from an existing HandPose object.
|
|
|
Virtual Destructor. This is the Destructor for an object of type HandPose. |
|
|
Change the orientation type of a HandPose object, and convert orientation elements. Change the orientation type and convert the orientation elements.
|
|
||||||||||||||||
|
Get an equivalent axis representation of the orientation part of a HandPose. Get an equivalent axis representation of the orientation part of the calling HandPose object.
|
|
|
Get the spatial tranformation matrix representation of the position & orientation. Get the equivalent spatial tranformation matrix representation of position & orientation.
|
|
|
Get the tranformation matrix representation of the position & orientation. Get the equivalent tranformation matrix representation of the position & orientation.
|
|
|
Get the quaternion orientation representation. Get the equivalent quaternion representation of the orientation.
|
|
|
Get the 3X3 rotation matrix representation of the orientation. Get the equivalent 3X3 rotation matrix representation of the orientation.
|
|
|
Get the last three elements of the HandPose object that specifiy orientation. Copy orientation elements (3,4&5) and orientation type into argument.
|
|
|
Get the 1st three elements of the HandPose object that specifiy position. Copy position elements (0,1,&2) into argument
|
|
|
Get the value of the 4th element. Get the value of the 4th element.
|
|
|
Get the value of the 5th element. Get the value of the 5th element.
|
|
|
Get the value of the 6th element. Get the value of the 6th element.
|
|
|
Get the orientation type of a HandPose object. Get orientation type of a HandPose object.
|
|
|
Get the value of the 1st element. Get the value of the 1st element.
Reimplemented in OSCAR::PCSHandPose. |
|
|
Get the value of the 2nd element. Get the value of the 2nd element.
Reimplemented in OSCAR::PCSHandPose. |
|
|
Get the value of the 3rd element. Get the value of the 3rd element.
Reimplemented in OSCAR::PCSHandPose. |
|
|
Get a reference to the 4th element. Get a reference to the 4th element.
|
|
|
Get a reference to the 5th element. Get a reference to the 5th element.
|
|
|
Get a reference to the 6th element. Get a reference to the 6th element.
|
|
||||||||||||||||||||||||||||
|
Set all the elements of a HandPose object. Sets all the elements of a HandPose object by specifying 6 values.
|
|
|
Overloaded operator-. Subtracts a HandPose object from the calling HandPose object. If the argument has a different orientation type, an HandPose is returned with all elements set to zero.
|
|
|
Assignment operator. Assignment operator for an object of type HandPose from an Vector of size >=6. If the argument is not full size, no values are modified.
Reimplemented from OSCAR::CoordinateVector. |
|
|
Assignment operator. Assignment operator for an object of type HandPose, does not convert orientation types.
Reimplemented in OSCAR::PCSHandPose. |
|
||||||||||||||||
|
Set the orientation from an equivalent axis representation. Sets the orientation from the rotation about an axis in space.
|
|
|
Set the position & orientation part of the HandPose from SpatialXform. Sets the position & orientation a 6X6 spatial transformation matrix from current orientation type.
|
|
|
Set the position & orientation part of the HandPose from an Xform. Sets the position & orientation from 4x4 Xform from current orientation type.
|
|
|
Set the orientation part of the HandPose from an quaternion. Sets the orientation part of the HandPose from an input quaternion using current orientation type.
|
|
|
Set the orientation part of the HandPose from an Rot3by3. Sets the orientation of the HandPose from 3X3 rotation matrix using current orientation type.
|
|
|
Set the last three elements of the HandPose that specifiy orientation. Sets the orientation elements of the HandPose.
|
|
|
Set the 1st three elements of the HandPose that specifiy position. Sets the position elements of the HandPose.
|
|
|
Set the orientation type of a HandPose object. Sets the orientation type of a HandPose object, BUT DOES NOT MODIFY VALUES.
|
|
||||||||||||
|
Subtract a HandPose object from the calling HandPose object. Subtracts a HandPose object from the calling HandPose object and place in result. Same as operator-(..), but avoids creating temporary. If all three orientation types are not the same, elements of result are set to zero and false is returned.
|
|
|
Get a reference to the 1st element. Get a reference to the 1st element.
Reimplemented in OSCAR::PCSHandPose. |
|
|
Get a reference to the 2nd element. Get a reference to the 2nd element.
Reimplemented in OSCAR::PCSHandPose. |
|
|
Get a reference to the 3rd element. Get a reference to the 3rd element.
Reimplemented in OSCAR::PCSHandPose. |
|
|
|
| RRG Homepage | OSCAR Overview | OSCAR Tutorials | Simulations |