Saves hand position as any rotation and translation; 6 variables. More...
#include <searchStateImpl.h>
Public Member Functions | |
transf | getCoreTran () const |
Get the transform set by the current values of the variables stored here. | |
StateType | getType () const |
PositionStateAA (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 hand position as any rotation and translation; 6 variables.
Rotation is saved using only 3 variables in an axis-angle way: the first two variables encode an axis of rotation and the third one is the rotation angle around that axis.
Definition at line 97 of file searchStateImpl.h.
PositionStateAA::PositionStateAA | ( | const Hand * | h | ) | [inline] |
Definition at line 102 of file searchStateImpl.h.
void PositionStateAA::createVariables | ( | ) | [protected, virtual] |
Implementations of VariableSet that know what purpose they serve will implement this.
Implements VariableSet.
Definition at line 149 of file searchStateImpl.cpp.
transf PositionStateAA::getCoreTran | ( | ) | const [virtual] |
Get the transform set by the current values of the variables stored here.
Implements PositionState.
Definition at line 159 of file searchStateImpl.cpp.
StateType PositionStateAA::getType | ( | ) | const [inline, virtual] |
Implements VariableSet.
Definition at line 103 of file searchStateImpl.h.
void PositionStateAA::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 173 of file searchStateImpl.cpp.