This class is used when the palm position and direction are expressed in cartesian coordinates. More...
#include <grasp_directions.h>
Public Member Functions | |
cartesianGraspDirection (const cartesianGraspDirection &) | |
cartesianGraspDirection (cartesianGraspDirection *) | |
cartesianGraspDirection (GraspDirection *) | |
cartesianGraspDirection () | |
double | distanceTo (cartesianGraspDirection) const |
void | set_dir (coordinates in) |
void | set_point (coordinates in) |
~cartesianGraspDirection () |
This class is used when the palm position and direction are expressed in cartesian coordinates.
Definition at line 94 of file grasp_directions.h.
cartesianGraspDirection::cartesianGraspDirection | ( | ) |
Creates new cartesian coordinates for both point and dir . Sets empty to FALSE.
Definition at line 146 of file grasp_directions.cpp.
cartesianGraspDirection::cartesianGraspDirection | ( | GraspDirection * | p | ) |
Copies the point and dir pointers from p. Also copies the values of empty and gdType .
Definition at line 157 of file grasp_directions.cpp.
cartesianGraspDirection::cartesianGraspDirection | ( | cartesianGraspDirection * | p | ) |
Copies the point and dir pointers from p. Also copies the values of empty and gdType .
Definition at line 169 of file grasp_directions.cpp.
cartesianGraspDirection::cartesianGraspDirection | ( | const cartesianGraspDirection & | p | ) |
Copies the point and dir pointers from p. Also copies the values of empty and gdType .
Definition at line 181 of file grasp_directions.cpp.
cartesianGraspDirection::~cartesianGraspDirection | ( | ) |
Deletes point and dir .
Definition at line 192 of file grasp_directions.cpp.
double cartesianGraspDirection::distanceTo | ( | cartesianGraspDirection | to | ) | const |
Returns a normalized distance measure between this grasp direction and to .
Definition at line 221 of file grasp_directions.cpp.
void cartesianGraspDirection::set_dir | ( | coordinates | in | ) | [virtual] |
Sets the directions to the value of in .
Implements GraspDirection.
Definition at line 211 of file grasp_directions.cpp.
void cartesianGraspDirection::set_point | ( | coordinates | in | ) | [virtual] |
Sets the point to the value of in .
Implements GraspDirection.
Definition at line 202 of file grasp_directions.cpp.