Class for the input parameters of the On-Line Trajectory Generation algorithm. More...
#include <RMLInputParameters.h>
Public Member Functions | |
| RMLInputParameters (const RMLInputParameters &IP) | |
| Copy constructor of class RMLInputParameters. | |
| ~RMLInputParameters (void) | |
| Destructor of class RMLInputParameters. | |
| RMLInputParameters & | operator= (const RMLInputParameters &IP) |
| Copy operator. | |
| void | SetSelectionVector (const RMLBoolVector &InputVector) |
Sets the current selection vector by using the an RMLBoolVector object. | |
| void | SetSelectionVector (const bool *InputVector) |
Sets the current selection vector by using a native C++ bool array. | |
| void | SetSelectionVectorElement (const bool &InputValue, const unsigned int &Index) |
Sets one element of the current selection vector . | |
| void | GetSelectionVector (RMLBoolVector *InputVector) const |
Copies the contents of the RMLBoolVector object containing the current position vector to the RMLBoolVector object referred to by InputVector. | |
| void | GetSelectionVector (bool *InputVector, const unsigned int &SizeInBytes) const |
Copies the array of bool values representing the current position vector to the memory pointed to by InputVector. | |
| void | GetSelectionVectorElement (bool *InputValue, const unsigned int &Index) const |
Copies one element of the current selection vector to the memory pointed to by InputValue. | |
| bool | GetSelectionVectorElement (const unsigned int &Index) const |
Returns one single element of the current selection vector . | |
| RMLBoolVector * | GetReferenceOfTheSelectionVectorObject (void) const |
Returns a pointer to an RMLBoolVector object that contains the current selection vector . | |
| bool * | GetReferenceOfTheSelectionVectorData (void) const |
Returns a pointer to an array of bool values that contain the current selection vector . | |
| void | SetCurrentPositionVector (const RMLDoubleVector &InputVector) |
Sets the current selection vector by using the an RMLDoubleVector object. | |
| void | SetCurrentPositionVector (const double *InputVector) |
Sets the current selection vector by using a native C double array. | |
| void | SetCurrentPositionVectorElement (const double &InputValue, const unsigned int &Index) |
Sets one element of the current selection vector . | |
| void | GetCurrentPositionVector (RMLDoubleVector *InputVector) const |
Copies the contents of the RMLDoubleVector object containing the current position vector to the RMLDoubleVector object referred to by InputVector. | |
| void | GetCurrentPositionVector (double *InputVector, const unsigned int &SizeInBytes) const |
Copies the array of double values representing the current position vector to the memory pointed to by InputVector. | |
| void | GetCurrentPositionVectorElement (double *InputValue, const unsigned int &Index) const |
Copies one element of the current selection vector to the memory pointed to by InputValue. | |
| double | GetCurrentPositionVectorElement (const unsigned int &Index) const |
Returns one single element of the current selection vector . | |
| RMLDoubleVector * | GetReferenceOfTheCurrentPositionVectorObject (void) const |
Returns a pointer to an RMLDoubleVector object that contains the current selection vector . | |
| double * | GetReferenceOfTheCurrentPositionVectorData (void) const |
Returns a pointer to an array of double values that contain the current selection vector . | |
| void | SetCurrentVelocityVector (const RMLDoubleVector &InputVector) |
Sets the current velocity vector by using the an RMLDoubleVector object. | |
| void | SetCurrentVelocityVector (const double *InputVector) |
Sets the current velocity vector by using a native C double array. | |
| void | SetCurrentVelocityVectorElement (const double &InputValue, const unsigned int &Index) |
Sets one element of the current velocity vector . | |
| void | GetCurrentVelocityVector (RMLDoubleVector *InputVector) const |
Copies the contents of the RMLDoubleVector object containing the current velocity vector to the RMLDoubleVector object referred to by InputVector. | |
| void | GetCurrentVelocityVector (double *InputVector, const unsigned int &SizeInBytes) const |
Copies the array of double values representing the current velocity vector to the memory pointed to by InputVector. | |
| void | GetCurrentVelocityVectorElement (double *InputValue, const unsigned int &Index) const |
Copies one element of the current velocity vector to the memory pointed to by InputValue. | |
| double | GetCurrentVelocityVectorElement (const unsigned int &Index) const |
Returns one single element of the current velocity vector . | |
| RMLDoubleVector * | GetReferenceOfTheCurrentVelocityVectorObject (void) const |
Returns a pointer to an RMLDoubleVector object that contains the current velocity vector . | |
| double * | GetReferenceOfTheCurrentVelocityVectorData (void) const |
Returns a pointer to an array of double values that contain the current velocity vector . | |
| void | SetCurrentAccelerationVector (const RMLDoubleVector &InputVector) |
Sets the current acceleration vector by using the an RMLDoubleVector object. | |
| void | SetCurrentAccelerationVector (const double *InputVector) |
Sets the current acceleration vector by using a native C double array. | |
| void | SetCurrentAccelerationVectorElement (const double &InputValue, const unsigned int &Index) |
Sets one element of the current acceleration vector . | |
| void | GetCurrentAccelerationVector (RMLDoubleVector *InputVector) const |
Copies the contents of the RMLDoubleVector object containing the current acceleration vector to the RMLDoubleVector object referred to by InputVector. | |
| void | GetCurrentAccelerationVector (double *InputVector, const unsigned int &SizeInBytes) const |
Copies the array of double values representing the current acceleration vector to the memory pointed to by InputVector. | |
| void | GetCurrentAccelerationVectorElement (double *InputValue, const unsigned int &Index) const |
Copies one element of the current acceleration vector to the memory pointed to by InputValue. | |
| double | GetCurrentAccelerationVectorElement (const unsigned int &Index) const |
Returns one single element of the current acceleration vector . | |
| RMLDoubleVector * | GetReferenceOfTheCurrentAccelerationVectorObject (void) const |
Returns a pointer to an RMLDoubleVector object that contains the current acceleration vector . | |
| double * | GetReferenceOfTheCurrentAccelerationVectorData (void) const |
Returns a pointer to an array of double values that contain the current acceleration vector . | |
| void | SetMaxAccelerationVector (const RMLDoubleVector &InputVector) |
Sets the maximum acceleration vector by using the an RMLDoubleVector object. | |
| void | SetMaxAccelerationVector (const double *InputVector) |
Sets the maximum acceleration vector by using a native C double array. | |
| void | SetMaxAccelerationVectorElement (const double &InputValue, const unsigned int &Index) |
Sets one element of the maximum acceleration vector . | |
| void | GetMaxAccelerationVector (RMLDoubleVector *InputVector) const |
Copies the contents of the RMLDoubleVector object containing the maximum acceleration vector to the RMLDoubleVector object referred to by InputVector. | |
| void | GetMaxAccelerationVector (double *InputVector, const unsigned int &SizeInBytes) const |
Copies the array of double values representing the maximum acceleration vector to the memory pointed to by InputVector. | |
| void | GetMaxAccelerationVectorElement (double *InputValue, const unsigned int &Index) const |
Copies one element of the maximum acceleration vector to the memory pointed to by InputValue. | |
| double | GetMaxAccelerationVectorElement (const unsigned int &Index) const |
Returns one single element of the maximum acceleration vector . | |
| RMLDoubleVector * | GetReferenceOfTheMaxAccelerationVectorObject (void) const |
Returns a pointer to an RMLDoubleVector object that contains the maximum acceleration vector . | |
| double * | GetReferenceOfTheMaxAccelerationVectorData (void) const |
Returns a pointer to an array of double values that contain the maximum acceleration vector . | |
| void | SetMaxJerkVector (const RMLDoubleVector &InputVector) |
Sets the maximum jerk vector by using the an RMLDoubleVector object. | |
| void | SetMaxJerkVector (const double *InputVector) |
Sets the maximum jerk vector by using a native C double array. | |
| void | SetMaxJerkVectorElement (const double &InputValue, const unsigned int &Index) |
Sets one element of the maximum jerk vector . | |
| void | GetMaxJerkVector (RMLDoubleVector *InputVector) const |
Copies the contents of the RMLDoubleVector object containing the maximum jerk vector to the RMLDoubleVector object referred to by InputVector. | |
| void | GetMaxJerkVector (double *InputVector, const unsigned int &SizeInBytes) const |
Copies the array of double values representing the maximum jerk vector to the memory pointed to by InputVector. | |
| void | GetMaxJerkVectorElement (double *InputValue, const unsigned int &Index) const |
Copies one element of the maximum jerk vector to the memory pointed to by InputValue. | |
| double | GetMaxJerkVectorElement (const unsigned int &Index) const |
Returns one single element of the maximum jerk vector . | |
| RMLDoubleVector * | GetReferenceOfTheMaxJerkVectorObject (void) const |
Returns a pointer to an RMLDoubleVector object that contains the maximum jerk vector . | |
| double * | GetReferenceOfTheMaxJerkVectorData (void) const |
Returns a pointer to an array of double values that contain the maximum jerk vector . | |
| void | SetTargetVelocityVector (const RMLDoubleVector &InputVector) |
Sets the target velocity vector by using the an RMLDoubleVector object. | |
| void | SetTargetVelocityVector (const double *InputVector) |
Sets the target velocity vector by using a native C double array. | |
| void | SetTargetVelocityVectorElement (const double &InputValue, const unsigned int &Index) |
Sets one element of the target velocity vector . | |
| void | GetTargetVelocityVector (RMLDoubleVector *InputVector) const |
Copies the contents of the RMLDoubleVector object containing the target velocity vector to the RMLDoubleVector object referred to by InputVector. | |
| void | GetTargetVelocityVector (double *InputVector, const unsigned int &SizeInBytes) const |
Copies the array of double values representing the target velocity vector to the memory pointed to by InputVector. | |
| void | GetTargetVelocityVectorElement (double *InputValue, const unsigned int &Index) const |
Copies one element of the target velocity vector to the memory pointed to by InputValue. | |
| double | GetTargetVelocityVectorElement (const unsigned int &Index) const |
Returns one single element of the target velocity vector . | |
| RMLDoubleVector * | GetReferenceOfTheTargetVelocityVectorObject (void) const |
Returns a pointer to an RMLDoubleVector object that contains the target velocity vector . | |
| double * | GetReferenceOfTheTargetVelocityVectorData (void) const |
Returns a pointer to an array of double values that contain the target velocity vector . | |
| unsigned int | GetNumberOfDOFs (void) const |
| Returns the number of degrees of freedom. | |
Public Attributes | |
| unsigned int | NumberOfDOFs |
The number of degrees of freedom . | |
| RMLBoolVector * | SelectionVector |
A pointer to the selection vector . | |
| RMLDoubleVector * | CurrentPositionVector |
A pointer to the current position vector . | |
| RMLDoubleVector * | CurrentVelocityVector |
A pointer to the current velocity vector . | |
| RMLDoubleVector * | CurrentAccelerationVector |
A pointer to the current acceleration vector . | |
| RMLDoubleVector * | MaxAccelerationVector |
A pointer to the maximum acceleration vector . | |
| RMLDoubleVector * | MaxJerkVector |
A pointer to the maximum jerk vector . | |
| RMLDoubleVector * | TargetVelocityVector |
A pointer to the target velocity vector . | |
Protected Member Functions | |
| RMLInputParameters (const unsigned int DegreesOfFreedom) | |
| Constructor of class RMLInputParameters. | |
| void | Echo (FILE *FileHandler=stdout) const |
| Prints the complete set of input parameters to *FileHandler. | |
Class for the input parameters of the On-Line Trajectory Generation algorithm.
The class RMLInputParameters constitutes the basis class for the actual interface classes RMLPositionInputParameters and RMLVelocityInputParameters, which are both derived from this one. For detailed descrpition of the input parameters, please refer to Description of Input Values.
| RMLInputParameters::RMLInputParameters | ( | const unsigned int | DegreesOfFreedom | ) | [inline, protected] |
Constructor of class RMLInputParameters.
| DegreesOfFreedom | Specifies the number of degrees of freedom |
protected. | RMLInputParameters::RMLInputParameters | ( | const RMLInputParameters & | IP | ) | [inline] |
Copy constructor of class RMLInputParameters.
| IP | Object to be copied |
| RMLInputParameters::~RMLInputParameters | ( | void | ) | [inline] |
Destructor of class RMLInputParameters.
| void RMLInputParameters::Echo | ( | FILE * | FileHandler = stdout | ) | const [inline, protected] |
Prints the complete set of input parameters to *FileHandler.
| FileHandler | File handler for the output |
Reimplemented in RMLPositionInputParameters, and RMLVelocityInputParameters.
| void RMLInputParameters::GetCurrentAccelerationVector | ( | RMLDoubleVector * | InputVector | ) | const [inline] |
Copies the contents of the RMLDoubleVector object containing the current acceleration vector
to the RMLDoubleVector object referred to by InputVector.
| InputVector | A pointer to an RMLDoubleVector object, to which the data will be copied |
| void RMLInputParameters::GetCurrentAccelerationVector | ( | double * | InputVector, |
| const unsigned int & | SizeInBytes | ||
| ) | const [inline] |
Copies the array of double values representing the current acceleration vector
to the memory pointed to by InputVector.
| InputVector | A pointer to an array of double values, to which the data will be copied |
| SizeInBytes | The size of available memory at the location pointed to by InputVector. To assure safety and to prevent from prohibited writing into protected memory areas, the user has to specify the amount of available memory in bytes. For a correct operation, the value of SizeInBytes has to equal the number of vector elements multiplied by the size of a double value. |
| void RMLInputParameters::GetCurrentAccelerationVectorElement | ( | double * | InputValue, |
| const unsigned int & | Index | ||
| ) | const [inline] |
Copies one element of the current acceleration vector
to the memory pointed to by InputValue.
| InputValue | A pointer to one double value, to which the desired vector element will be copied |
| Index | Specifies the desired element of the vector. The element numbering starts with 0 (zero). If this value is greater the number of vector elements, a value of 0.0 will be written to the memory pointed to by InputValue. |
| double RMLInputParameters::GetCurrentAccelerationVectorElement | ( | const unsigned int & | Index | ) | const [inline] |
Returns one single element of the current acceleration vector
.
| Index | Specifies the desired element of the vector. The index of the first vector element is 0 (zero). If the value of Index value is greater the number of vector elements, a value of 0.0 will be written to the memory pointed to by InputValue. |
| void RMLInputParameters::GetCurrentPositionVector | ( | RMLDoubleVector * | InputVector | ) | const [inline] |
Copies the contents of the RMLDoubleVector object containing the current position vector
to the RMLDoubleVector object referred to by InputVector.
| InputVector | A pointer to an RMLDoubleVector object, to which the data will be copied |
| void RMLInputParameters::GetCurrentPositionVector | ( | double * | InputVector, |
| const unsigned int & | SizeInBytes | ||
| ) | const [inline] |
Copies the array of double values representing the current position vector
to the memory pointed to by InputVector.
| InputVector | A pointer to an array of double values, to which the data will be copied |
| SizeInBytes | The size of available memory at the location pointed to by InputVector. To assure safety and to prevent from prohibited writing into protected memory areas, the user has to specify the amount of available memory in bytes. For a correct operation, the value of SizeInBytes has to equal the number of vector elements multiplied by the size of a double value. |
| double RMLInputParameters::GetCurrentPositionVectorElement | ( | const unsigned int & | Index | ) | const [inline] |
Returns one single element of the current selection vector
.
| Index | Specifies the desired element of the vector. The index of the first vector element is 0 (zero). If the value of Index value is greater the number of vector elements, a value of 0.0 will be written to the memory pointed to by InputValue. |
| void RMLInputParameters::GetCurrentPositionVectorElement | ( | double * | InputValue, |
| const unsigned int & | Index | ||
| ) | const [inline] |
Copies one element of the current selection vector
to the memory pointed to by InputValue.
| InputValue | A pointer to one double value, to which the desired vector element will be copied |
| Index | Specifies the desired element of the vector. The element numbering starts with 0 (zero). If this value is greater the number of vector elements, a value of 0.0 will be written to the memory pointed to by InputValue. |
| void RMLInputParameters::GetCurrentVelocityVector | ( | RMLDoubleVector * | InputVector | ) | const [inline] |
Copies the contents of the RMLDoubleVector object containing the current velocity vector
to the RMLDoubleVector object referred to by InputVector.
| InputVector | A pointer to an RMLDoubleVector object, to which the data will be copied |
| void RMLInputParameters::GetCurrentVelocityVector | ( | double * | InputVector, |
| const unsigned int & | SizeInBytes | ||
| ) | const [inline] |
Copies the array of double values representing the current velocity vector
to the memory pointed to by InputVector.
| InputVector | A pointer to an array of double values, to which the data will be copied |
| SizeInBytes | The size of available memory at the location pointed to by InputVector. To assure safety and to prevent from prohibited writing into protected memory areas, the user has to specify the amount of available memory in bytes. For a correct operation, the value of SizeInBytes has to equal the number of vector elements multiplied by the size of a double value. |
| void RMLInputParameters::GetCurrentVelocityVectorElement | ( | double * | InputValue, |
| const unsigned int & | Index | ||
| ) | const [inline] |
Copies one element of the current velocity vector
to the memory pointed to by InputValue.
| InputValue | A pointer to one double value, to which the desired vector element will be copied |
| Index | Specifies the desired element of the vector. The element numbering starts with 0 (zero). If this value is greater the number of vector elements, a value of 0.0 will be written to the memory pointed to by InputValue. |
| double RMLInputParameters::GetCurrentVelocityVectorElement | ( | const unsigned int & | Index | ) | const [inline] |
Returns one single element of the current velocity vector
.
| Index | Specifies the desired element of the vector. The index of the first vector element is 0 (zero). If the value of Index value is greater the number of vector elements, a value of 0.0 will be written to the memory pointed to by InputValue. |
| void RMLInputParameters::GetMaxAccelerationVector | ( | RMLDoubleVector * | InputVector | ) | const [inline] |
Copies the contents of the RMLDoubleVector object containing the maximum acceleration vector
to the RMLDoubleVector object referred to by InputVector.
| InputVector | A pointer to an RMLDoubleVector object, to which the data will be copied |
| void RMLInputParameters::GetMaxAccelerationVector | ( | double * | InputVector, |
| const unsigned int & | SizeInBytes | ||
| ) | const [inline] |
Copies the array of double values representing the maximum acceleration vector
to the memory pointed to by InputVector.
| InputVector | A pointer to an array of double values, to which the data will be copied |
| SizeInBytes | The size of available memory at the location pointed to by InputVector. To assure safety and to prevent from prohibited writing into protected memory areas, the user has to specify the amount of available memory in bytes. For a correct operation, the value of SizeInBytes has to equal the number of vector elements multiplied by the size of a double value. |
| void RMLInputParameters::GetMaxAccelerationVectorElement | ( | double * | InputValue, |
| const unsigned int & | Index | ||
| ) | const [inline] |
Copies one element of the maximum acceleration vector
to the memory pointed to by InputValue.
| InputValue | A pointer to one double value, to which the desired vector element will be copied |
| Index | Specifies the desired element of the vector. The element numbering starts with 0 (zero). If this value is greater the number of vector elements, a value of 0.0 will be written to the memory pointed to by InputValue. |
| double RMLInputParameters::GetMaxAccelerationVectorElement | ( | const unsigned int & | Index | ) | const [inline] |
Returns one single element of the maximum acceleration vector
.
| Index | Specifies the desired element of the vector. The index of the first vector element is 0 (zero). If the value of Index value is greater the number of vector elements, a value of 0.0 will be written to the memory pointed to by InputValue. |
| void RMLInputParameters::GetMaxJerkVector | ( | RMLDoubleVector * | InputVector | ) | const [inline] |
Copies the contents of the RMLDoubleVector object containing the maximum jerk vector
to the RMLDoubleVector object referred to by InputVector.
| InputVector | A pointer to an RMLDoubleVector object, to which the data will be copied |
| void RMLInputParameters::GetMaxJerkVector | ( | double * | InputVector, |
| const unsigned int & | SizeInBytes | ||
| ) | const [inline] |
Copies the array of double values representing the maximum jerk vector
to the memory pointed to by InputVector.
| InputVector | A pointer to an array of double values, to which the data will be copied |
| SizeInBytes | The size of available memory at the location pointed to by InputVector. To assure safety and to prevent from prohibited writing into protected memory areas, the user has to specify the amount of available memory in bytes. For a correct operation, the value of SizeInBytes has to equal the number of vector elements multiplied by the size of a double value. |
| void RMLInputParameters::GetMaxJerkVectorElement | ( | double * | InputValue, |
| const unsigned int & | Index | ||
| ) | const [inline] |
Copies one element of the maximum jerk vector
to the memory pointed to by InputValue.
| InputValue | A pointer to one double value, to which the desired vector element will be copied |
| Index | Specifies the desired element of the vector. The element numbering starts with 0 (zero). If this value is greater the number of vector elements, a value of 0.0 will be written to the memory pointed to by InputValue. |
| double RMLInputParameters::GetMaxJerkVectorElement | ( | const unsigned int & | Index | ) | const [inline] |
Returns one single element of the maximum jerk vector
.
| Index | Specifies the desired element of the vector. The index of the first vector element is 0 (zero). If the value of Index value is greater the number of vector elements, a value of 0.0 will be written to the memory pointed to by InputValue. |
| unsigned int RMLInputParameters::GetNumberOfDOFs | ( | void | ) | const [inline] |
Returns the number of degrees of freedom.
| double * RMLInputParameters::GetReferenceOfTheCurrentAccelerationVectorData | ( | void | ) | const [inline] |
Returns a pointer to an array of double values that contain the current acceleration vector
.
The returned value is a pointer to the memory area that contains the pure content data of an RMLDoubleVector object. Using this pointer, the content of this input vector can be directly accessed and any additional copy operations will be completely avoided to save CPU time.
| RMLDoubleVector * RMLInputParameters::GetReferenceOfTheCurrentAccelerationVectorObject | ( | void | ) | const [inline] |
Returns a pointer to an RMLDoubleVector object that contains the current acceleration vector
.
This method may be useful to directly access the RMLDoubleVector object.
| double * RMLInputParameters::GetReferenceOfTheCurrentPositionVectorData | ( | void | ) | const [inline] |
Returns a pointer to an array of double values that contain the current selection vector
.
The returned value is a pointer to the memory area that contains the pure content data of an RMLDoubleVector object. Using this pointer, the content of this input vector can be directly accessed and any additional copy operations will be completely avoided to save CPU time.
| RMLDoubleVector * RMLInputParameters::GetReferenceOfTheCurrentPositionVectorObject | ( | void | ) | const [inline] |
Returns a pointer to an RMLDoubleVector object that contains the current selection vector
.
This method may be useful to directly access the RMLDoubleVector object.
| double * RMLInputParameters::GetReferenceOfTheCurrentVelocityVectorData | ( | void | ) | const [inline] |
Returns a pointer to an array of double values that contain the current velocity vector
.
The returned value is a pointer to the memory area that contains the pure content data of an RMLDoubleVector object. Using this pointer, the content of this input vector can be directly accessed and any additional copy operations will be completely avoided to save CPU time.
| RMLDoubleVector * RMLInputParameters::GetReferenceOfTheCurrentVelocityVectorObject | ( | void | ) | const [inline] |
Returns a pointer to an RMLDoubleVector object that contains the current velocity vector
.
This method may be useful to directly access the RMLDoubleVector object.
| double * RMLInputParameters::GetReferenceOfTheMaxAccelerationVectorData | ( | void | ) | const [inline] |
Returns a pointer to an array of double values that contain the maximum acceleration vector
.
The returned value is a pointer to the memory area that contains the pure content data of an RMLDoubleVector object. Using this pointer, the content of this input vector can be directly accessed and any additional copy operations will be completely avoided to save CPU time.
| RMLDoubleVector * RMLInputParameters::GetReferenceOfTheMaxAccelerationVectorObject | ( | void | ) | const [inline] |
Returns a pointer to an RMLDoubleVector object that contains the maximum acceleration vector
.
This method may be useful to directly access the RMLDoubleVector object.
| double * RMLInputParameters::GetReferenceOfTheMaxJerkVectorData | ( | void | ) | const [inline] |
Returns a pointer to an array of double values that contain the maximum jerk vector
.
The returned value is a pointer to the memory area that contains the pure content data of an RMLDoubleVector object. Using this pointer, the content of this input vector can be directly accessed and any additional copy operations will be completely avoided to save CPU time.
| RMLDoubleVector * RMLInputParameters::GetReferenceOfTheMaxJerkVectorObject | ( | void | ) | const [inline] |
Returns a pointer to an RMLDoubleVector object that contains the maximum jerk vector
.
This method may be useful to directly access the RMLDoubleVector object.
| bool * RMLInputParameters::GetReferenceOfTheSelectionVectorData | ( | void | ) | const [inline] |
Returns a pointer to an array of bool values that contain the current selection vector
.
The returned value is a pointer to the memory area that contains the pure content data of an RMLBoolVector object. Using this pointer, the content of this input vector can be directly accessed and any additional copy operations will be completely avoided to save CPU time.
| RMLBoolVector * RMLInputParameters::GetReferenceOfTheSelectionVectorObject | ( | void | ) | const [inline] |
Returns a pointer to an RMLBoolVector object that contains the current selection vector
.
This method may be useful to directly access the RMLBoolVector object.
| double * RMLInputParameters::GetReferenceOfTheTargetVelocityVectorData | ( | void | ) | const [inline] |
Returns a pointer to an array of double values that contain the target velocity vector
.
The returned value is a pointer to the memory area that contains the pure content data of an RMLDoubleVector object. Using this pointer, the content of this input vector can be directly accessed and any additional copy operations will be completely avoided to save CPU time.
| RMLDoubleVector * RMLInputParameters::GetReferenceOfTheTargetVelocityVectorObject | ( | void | ) | const [inline] |
Returns a pointer to an RMLDoubleVector object that contains the target velocity vector
.
This method may be useful to directly access the RMLDoubleVector object.
| void RMLInputParameters::GetSelectionVector | ( | RMLBoolVector * | InputVector | ) | const [inline] |
Copies the contents of the RMLBoolVector object containing the current position vector
to the RMLBoolVector object referred to by InputVector.
| InputVector | A pointer to an RMLBoolVector object, to which the data will be copied |
| void RMLInputParameters::GetSelectionVector | ( | bool * | InputVector, |
| const unsigned int & | SizeInBytes | ||
| ) | const [inline] |
Copies the array of bool values representing the current position vector
to the memory pointed to by InputVector.
| InputVector | A pointer to an array of bool values, to which the data will be copied |
| SizeInBytes | The size of available memory at the location pointed to by InputVector. To assure safety and to prevent from prohibited writing into protected memory areas, the user has to specify the amount of available memory in bytes. For a correct operation, the value of SizeInBytes has to equal the number of vector elements multiplied by the size of a bool value. |
| bool RMLInputParameters::GetSelectionVectorElement | ( | const unsigned int & | Index | ) | const [inline] |
Returns one single element of the current selection vector
.
| Index | Specifies the desired element of the vector. The index of the first vector element is 0 (zero). If the value of Index value is greater the number of vector elements, a value of 0.0 will be written to the memory pointed to by InputValue. |
| void RMLInputParameters::GetSelectionVectorElement | ( | bool * | InputValue, |
| const unsigned int & | Index | ||
| ) | const [inline] |
Copies one element of the current selection vector
to the memory pointed to by InputValue.
| InputValue | A pointer to one bool value, to which the desired vector element will be copied |
| Index | Specifies the desired element of the vector. The element numbering starts with 0 (zero). If this value is greater the number of vector elements, a value of 0.0 will be written to the memory pointed to by InputValue. |
| void RMLInputParameters::GetTargetVelocityVector | ( | RMLDoubleVector * | InputVector | ) | const [inline] |
Copies the contents of the RMLDoubleVector object containing the target velocity vector
to the RMLDoubleVector object referred to by InputVector.
| InputVector | A pointer to an RMLDoubleVector object, to which the data will be copied |
| void RMLInputParameters::GetTargetVelocityVector | ( | double * | InputVector, |
| const unsigned int & | SizeInBytes | ||
| ) | const [inline] |
Copies the array of double values representing the target velocity vector
to the memory pointed to by InputVector.
| InputVector | A pointer to an array of double values, to which the data will be copied |
| SizeInBytes | The size of available memory at the location pointed to by InputVector. To assure safety and to prevent from prohibited writing into protected memory areas, the user has to specify the amount of available memory in bytes. For a correct operation, the value of SizeInBytes has to equal the number of vector elements multiplied by the size of a double value. |
| double RMLInputParameters::GetTargetVelocityVectorElement | ( | const unsigned int & | Index | ) | const [inline] |
Returns one single element of the target velocity vector
.
| Index | Specifies the desired element of the vector. The index of the first vector element is 0 (zero). If the value of Index value is greater the number of vector elements, a value of 0.0 will be written to the memory pointed to by InputValue. |
| void RMLInputParameters::GetTargetVelocityVectorElement | ( | double * | InputValue, |
| const unsigned int & | Index | ||
| ) | const [inline] |
Copies one element of the target velocity vector
to the memory pointed to by InputValue.
| InputValue | A pointer to one double value, to which the desired vector element will be copied |
| Index | Specifies the desired element of the vector. The element numbering starts with 0 (zero). If this value is greater the number of vector elements, a value of 0.0 will be written to the memory pointed to by InputValue. |
| RMLInputParameters & RMLInputParameters::operator= | ( | const RMLInputParameters & | IP | ) | [inline] |
Copy operator.
| IP | RMLInputParameters object to be copied |
| void RMLInputParameters::SetCurrentAccelerationVector | ( | const double * | InputVector | ) | [inline] |
Sets the current acceleration vector
by using a native C double array.
| InputVector | The input vector to an array of double values, whose elements are copied to the attributes of this class. |
| void RMLInputParameters::SetCurrentAccelerationVector | ( | const RMLDoubleVector & | InputVector | ) | [inline] |
Sets the current acceleration vector
by using the an RMLDoubleVector object.
| InputVector | The input vector, whose elements are copied to the attributes of this class. |
| void RMLInputParameters::SetCurrentAccelerationVectorElement | ( | const double & | InputValue, |
| const unsigned int & | Index | ||
| ) | [inline] |
Sets one element of the current acceleration vector
.
| InputValue | The input value that is copied to the element Index of the current acceleration input vector attribute of this class. |
| Index | The index of the element to be copied |
| void RMLInputParameters::SetCurrentPositionVector | ( | const RMLDoubleVector & | InputVector | ) | [inline] |
Sets the current selection vector
by using the an RMLDoubleVector object.
| InputVector | The input vector, whose elements are copied to the attributes of this class. |
| void RMLInputParameters::SetCurrentPositionVector | ( | const double * | InputVector | ) | [inline] |
Sets the current selection vector
by using a native C double array.
| InputVector | The input vector to an array of double values, whose elements are copied to the attributes of this class. |
| void RMLInputParameters::SetCurrentPositionVectorElement | ( | const double & | InputValue, |
| const unsigned int & | Index | ||
| ) | [inline] |
Sets one element of the current selection vector
.
| InputValue | The input value that is copied to the element Index of the current position input vector attribute of this class. |
| Index | The index of the element to be copied |
| void RMLInputParameters::SetCurrentVelocityVector | ( | const RMLDoubleVector & | InputVector | ) | [inline] |
Sets the current velocity vector
by using the an RMLDoubleVector object.
| InputVector | The input vector, whose elements are copied to the attributes of this class. |
| void RMLInputParameters::SetCurrentVelocityVector | ( | const double * | InputVector | ) | [inline] |
Sets the current velocity vector
by using a native C double array.
| InputVector | The input vector to an array of double values, whose elements are copied to the attributes of this class. |
| void RMLInputParameters::SetCurrentVelocityVectorElement | ( | const double & | InputValue, |
| const unsigned int & | Index | ||
| ) | [inline] |
Sets one element of the current velocity vector
.
| InputValue | The input value that is copied to the element Index of the current velocity input vector attribute of this class. |
| Index | The index of the element to be copied |
| void RMLInputParameters::SetMaxAccelerationVector | ( | const RMLDoubleVector & | InputVector | ) | [inline] |
Sets the maximum acceleration vector
by using the an RMLDoubleVector object.
| InputVector | The input vector, whose elements are copied to the attributes of this class. |
| void RMLInputParameters::SetMaxAccelerationVector | ( | const double * | InputVector | ) | [inline] |
Sets the maximum acceleration vector
by using a native C double array.
| InputVector | The input vector to an array of double values, whose elements are copied to the attributes of this class. |
| void RMLInputParameters::SetMaxAccelerationVectorElement | ( | const double & | InputValue, |
| const unsigned int & | Index | ||
| ) | [inline] |
Sets one element of the maximum acceleration vector
.
| InputValue | The input value that is copied to the element Index of the maximum acceleration input vector attribute of this class. |
| Index | The index of the element to be copied |
| void RMLInputParameters::SetMaxJerkVector | ( | const double * | InputVector | ) | [inline] |
Sets the maximum jerk vector
by using a native C double array.
| InputVector | The input vector to an array of double values, whose elements are copied to the attributes of this class. |
| void RMLInputParameters::SetMaxJerkVector | ( | const RMLDoubleVector & | InputVector | ) | [inline] |
Sets the maximum jerk vector
by using the an RMLDoubleVector object.
| InputVector | The input vector, whose elements are copied to the attributes of this class. |
| void RMLInputParameters::SetMaxJerkVectorElement | ( | const double & | InputValue, |
| const unsigned int & | Index | ||
| ) | [inline] |
Sets one element of the maximum jerk vector
.
| InputValue | The input value that is copied to the element Index of the maximum jerk input vector attribute of this class. |
| Index | The index of the element to be copied |
| void RMLInputParameters::SetSelectionVector | ( | const RMLBoolVector & | InputVector | ) | [inline] |
Sets the current selection vector
by using the an RMLBoolVector object.
| InputVector | The input vector, whose elements are copied to the attributes of this class. |
| void RMLInputParameters::SetSelectionVector | ( | const bool * | InputVector | ) | [inline] |
Sets the current selection vector
by using a native C++ bool array.
| InputVector | The input vector to an array of bool values, whose elements are copied to the attributes of this class. |
| void RMLInputParameters::SetSelectionVectorElement | ( | const bool & | InputValue, |
| const unsigned int & | Index | ||
| ) | [inline] |
Sets one element of the current selection vector
.
| InputValue | The input value that is copied to the element Index of the current position input vector attribute of this class. |
| Index | The index of the element to be copied |
| void RMLInputParameters::SetTargetVelocityVector | ( | const RMLDoubleVector & | InputVector | ) | [inline] |
Sets the target velocity vector
by using the an RMLDoubleVector object.
| InputVector | The input vector, whose elements are copied to the attributes of this class. |
| void RMLInputParameters::SetTargetVelocityVector | ( | const double * | InputVector | ) | [inline] |
Sets the target velocity vector
by using a native C double array.
| InputVector | The input vector to an array of double values, whose elements are copied to the attributes of this class. |
| void RMLInputParameters::SetTargetVelocityVectorElement | ( | const double & | InputValue, |
| const unsigned int & | Index | ||
| ) | [inline] |
Sets one element of the target velocity vector
.
| InputValue | The input value that is copied to the element Index of the target velocity input vector attribute of this class. |
| Index | The index of the element to be copied |
A pointer to the current acceleration vector
.
This attribute can be accessed directly or by using one of the following methods:
A pointer to the current position vector
.
This attribute can be accessed directly or by using one of the following methods:
A pointer to the current velocity vector
.
This attribute can be accessed directly or by using one of the following methods:
A pointer to the maximum acceleration vector
.
This attribute can be accessed directly or by using one of the following methods:
A pointer to the maximum jerk vector
.
This attribute can be accessed directly or by using one of the following methods:
| unsigned int RMLInputParameters::NumberOfDOFs |
The number of degrees of freedom
.
A pointer to the selection vector
.
This attribute can be accessed directly or by using one of the following methods:
A pointer to the target velocity vector
.
This attribute can be accessed directly or by using one of the following methods: