Saves complete hand position as quaternion + translation; 7 variables. More...
#include <searchStateImpl.h>
Public Member Functions | |
transf | getCoreTran () const |
StateType | getType () const |
PositionStateComplete (const Hand *h) | |
void | setTran (const transf &t) |
Set the internal variables to match the given transform. | |
Protected Member Functions | |
void | createVariables () |
Implementations of VariableSet that know what purpose they serve will implement this. |
Saves complete hand position as quaternion + translation; 7 variables.
This parameterization is redundant (as it is not necessary to save all 4 entries in a quaternion) and therefore is not used for actually searching, but for saving and storing positions.
Definition at line 81 of file searchStateImpl.h.
PositionStateComplete::PositionStateComplete | ( | const Hand * | h | ) | [inline] |
Definition at line 86 of file searchStateImpl.h.
void PositionStateComplete::createVariables | ( | ) | [protected, virtual] |
Implementations of VariableSet that know what purpose they serve will implement this.
Implements VariableSet.
Definition at line 110 of file searchStateImpl.cpp.
transf PositionStateComplete::getCoreTran | ( | ) | const [virtual] |
This is a redundant way of saving the transform (since the Q doesn't need 4 variables since it's normalized. It's just the simplest way to interface with a transf so it's used as an interface between other types. Not really meant for performing searches.
Implements PositionState.
Definition at line 127 of file searchStateImpl.cpp.
StateType PositionStateComplete::getType | ( | ) | const [inline, virtual] |
Implements VariableSet.
Definition at line 87 of file searchStateImpl.h.
void PositionStateComplete::setTran | ( | const transf & | t | ) | [virtual] |
Set the internal variables to match the given transform.
Not all implementations have this implemented correctly.
Implements PositionState.
Definition at line 138 of file searchStateImpl.cpp.