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

Public Methods | |
| CoordinateVector (unsigned int size, const double *array=0) | |
| CoordinateVector (unsigned int size, const CoordinateStatusArray &statArray, OSCARError &err=DUMMY_ERROR(noError)) | |
| CoordinateVector (unsigned int size, const CoordinateStatusArray &statArray, const double *array, OSCARError &err=DUMMY_ERROR(noError)) | |
| CoordinateVector (const CoordinateVector &rhs) | |
| virtual | ~CoordinateVector () |
| CoordinateVector & | operator= (const CoordinateVector &rhs) |
| CoordinateVector & | operator= (const Vector &rhs) |
| CoordinateVector & | operator= (const double rhs) |
| bool | Grow (unsigned int growth) |
|
||||||||||||
|
Constructor. This is the constructor for an object of type CoordinateVector. Use this to construct an CoordinateVector object of length 'size', and a pointer to an array of type double. By default, the array pointer is null, and the status of all joints is set to Active.
|
|
||||||||||||||||
|
Constructor. This is the constructor for an object of type CoordinateVector. Use this to construct an CoordinateVector object of length 'size', and intialize the status of each joint (whether Active or Inactive) according to the contents of the statArray. An error occurs when the argument size is not equal to the size of statArray. This function will crash if size = 0. Call GetError() for more information.
|
|
||||||||||||||||||||
|
Constructor. This is the constructor for an object of type CoordinateVector. Use this to construct an CoordinateVector object of length 'size', a pointer to an array of type double, and intialize the status of each joint (whether Active or Inactive) according to the contents of the statArray. An error occurs when the argument size is not equal to the size of statArray. This function will crash if size = 0. Call GetError() for more information.
|
|
|
Copy Constructor. This is the Copy Constructor for an object of type CoordinateVector. Use this to create an CoordinateVector object from an existing CoordinateVector object.
|
|
|
Destructor. This is the destructor for an object of type CoordinateVector. |
|
|
Increase the length of a Coordinate Vector. New elements CoordinateStatus is set to Active and the values of the new elements to 0.0 This method is used to increase the size(number of elements) in an CoordinateVector object.
Reimplemented from OSCAR::CoordinateSpace. |
|
|
Assignment Operator. Sets all of the numerical values to the argument.
Reimplemented in OSCAR::JointVector. |
|
|
Assignment Operator. Copies the first 6 numerical values from the rhs into the current object. If the size of rhs is <6, this method does nothing.
Reimplemented in OSCAR::HandPose, and OSCAR::JointVector. |
|
|
Assignment Operator. Copies one CoordinateVector object into another. If the size of the objects does not match, then the object being copied into the LHS is modified to match the RHS.
|
| RRG Homepage | OSCAR Overview | OSCAR Tutorials | Simulations |