manages all the solutions More...
#include <ikfast.h>
Public Member Functions | |
virtual size_t | AddSolution (const std::vector< IkSingleDOFSolutionBase< T > > &vinfos, const std::vector< int > &vfree)=0 |
add one solution and return its index for later retrieval | |
virtual void | Clear ()=0 |
clears all current solutions, note that any memory addresses returned from GetSolution will be invalidated. | |
virtual size_t | GetNumSolutions () const =0 |
returns the number of solutions stored | |
virtual const IkSolutionBase< T > & | GetSolution (size_t index) const =0 |
returns the solution pointer | |
virtual | ~IkSolutionListBase () |
manages all the solutions
virtual ikfast::IkSolutionListBase< T >::~IkSolutionListBase | ( | ) | [inline, virtual] |
virtual size_t ikfast::IkSolutionListBase< T >::AddSolution | ( | const std::vector< IkSingleDOFSolutionBase< T > > & | vinfos, |
const std::vector< int > & | vfree | ||
) | [pure virtual] |
add one solution and return its index for later retrieval
vinfos | Solution data for each degree of freedom of the manipulator |
vfree | If the solution represents an infinite space, holds free parameters of the solution that users can freely set. |
Implemented in ikfast::IkSolutionList< T >, and ikfast::IkSolutionList< IkReal >.
virtual void ikfast::IkSolutionListBase< T >::Clear | ( | ) | [pure virtual] |
clears all current solutions, note that any memory addresses returned from GetSolution will be invalidated.
Implemented in ikfast::IkSolutionList< T >, and ikfast::IkSolutionList< IkReal >.
virtual size_t ikfast::IkSolutionListBase< T >::GetNumSolutions | ( | ) | const [pure virtual] |
returns the number of solutions stored
Implemented in ikfast::IkSolutionList< T >, and ikfast::IkSolutionList< IkReal >.
virtual const IkSolutionBase<T>& ikfast::IkSolutionListBase< T >::GetSolution | ( | size_t | index | ) | const [pure virtual] |
returns the solution pointer
Implemented in ikfast::IkSolutionList< T >, and ikfast::IkSolutionList< IkReal >.