Default implementation of IkSolutionBase. More...
#include <ikfast.h>
Public Member Functions | |
virtual const int | GetDOF () const |
the dof of the solution | |
virtual const std::vector< int > & | GetFree () const |
Gets the indices of the configuration space that have to be preset before a full solution can be returned. | |
virtual void | GetSolution (T *solution, const T *freevalues) const |
gets a concrete solution | |
virtual void | GetSolution (std::vector< T > &solution, const std::vector< T > &freevalues) const |
std::vector version of GetSolution | |
virtual void | GetSolutionIndices (std::vector< unsigned int > &v) const |
IkSolution (const std::vector< IkSingleDOFSolutionBase< T > > &vinfos, const std::vector< int > &vfree) | |
virtual void | Validate () const |
Public Attributes | |
std::vector < IkSingleDOFSolutionBase< T > > | _vbasesol |
solution and their offsets if joints are mimiced | |
std::vector< int > | _vfree |
Default implementation of IkSolutionBase.
ikfast::IkSolution< T >::IkSolution | ( | const std::vector< IkSingleDOFSolutionBase< T > > & | vinfos, |
const std::vector< int > & | vfree | ||
) | [inline] |
virtual const int ikfast::IkSolution< T >::GetDOF | ( | ) | const [inline, virtual] |
the dof of the solution
Implements ikfast::IkSolutionBase< T >.
virtual const std::vector<int>& ikfast::IkSolution< T >::GetFree | ( | ) | const [inline, virtual] |
Gets the indices of the configuration space that have to be preset before a full solution can be returned.
Implements ikfast::IkSolutionBase< T >.
virtual void ikfast::IkSolution< T >::GetSolution | ( | T * | solution, |
const T * | freevalues | ||
) | const [inline, virtual] |
gets a concrete solution
[out] | solution | the result |
[in] | freevalues | values for the free parameters GetFree |
Implements ikfast::IkSolutionBase< T >.
virtual void ikfast::IkSolution< T >::GetSolution | ( | std::vector< T > & | solution, |
const std::vector< T > & | freevalues | ||
) | const [inline, virtual] |
std::vector version of GetSolution
Reimplemented from ikfast::IkSolutionBase< T >.
virtual void ikfast::IkSolution< T >::GetSolutionIndices | ( | std::vector< unsigned int > & | v | ) | const [inline, virtual] |
virtual void ikfast::IkSolution< T >::Validate | ( | ) | const [inline, virtual] |
std::vector<IkSingleDOFSolutionBase<T> > ikfast::IkSolution< T >::_vbasesol |
std::vector<int> ikfast::IkSolution< T >::_vfree |