#include <searchState.h>
Public Member Functions | |
virtual void | getHandDOF (double *dof) const =0 |
Get the DOF values that are set by the current values of the variables stored here. | |
PostureState (const Hand *h) | |
virtual void | storeHandDOF (const double *dof)=0 |
Set the values of the current variables to match the given set of DOF values. | |
~PostureState () | |
Static Public Member Functions | |
static PostureState * | createInstance (StateType type, const Hand *h) |
This class is a set of variables for saving hand posture. In knows how to convert the variables in the set into DOF values for a given hand. It is still pure abstract, as there can be multiple ways of storing the DOF's of the hand - see searchStateImpl.h for implementations.
Definition at line 181 of file searchState.h.
PostureState::PostureState | ( | const Hand * | h | ) | [inline] |
Definition at line 184 of file searchState.h.
PostureState::~PostureState | ( | ) | [inline] |
Definition at line 185 of file searchState.h.
PostureState * PostureState::createInstance | ( | StateType | type, | |
const Hand * | h | |||
) | [static] |
Definition at line 323 of file searchState.cpp.
virtual void PostureState::getHandDOF | ( | double * | dof | ) | const [pure virtual] |
Get the DOF values that are set by the current values of the variables stored here.
Implemented in PostureStateEigen, and PostureStateDOF.
virtual void PostureState::storeHandDOF | ( | const double * | dof | ) | [pure virtual] |
Set the values of the current variables to match the given set of DOF values.
Not all current implementations have this implemented correctly.
Implemented in PostureStateEigen, and PostureStateDOF.