Default implementation of IkSolutionListBase. More...
#include <ikfast.h>
Public Member Functions | |
virtual size_t | AddSolution (const std::vector< IkSingleDOFSolutionBase< T > > &vinfos, const std::vector< int > &vfree) |
add one solution and return its index for later retrieval | |
virtual void | Clear () |
clears all current solutions, note that any memory addresses returned from GetSolution will be invalidated. | |
virtual size_t | GetNumSolutions () const |
returns the number of solutions stored | |
virtual const IkSolutionBase< T > & | GetSolution (size_t index) const |
returns the solution pointer | |
Protected Attributes | |
std::list< IkSolution< T > > | _listsolutions |
Default implementation of IkSolutionListBase.
virtual size_t ikfast::IkSolutionList< T >::AddSolution | ( | const std::vector< IkSingleDOFSolutionBase< T > > & | vinfos, |
const std::vector< int > & | vfree | ||
) | [inline, 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. |
Implements ikfast::IkSolutionListBase< T >.
virtual void ikfast::IkSolutionList< T >::Clear | ( | ) | [inline, virtual] |
clears all current solutions, note that any memory addresses returned from GetSolution will be invalidated.
Implements ikfast::IkSolutionListBase< T >.
virtual size_t ikfast::IkSolutionList< T >::GetNumSolutions | ( | ) | const [inline, virtual] |
returns the number of solutions stored
Implements ikfast::IkSolutionListBase< T >.
virtual const IkSolutionBase<T>& ikfast::IkSolutionList< T >::GetSolution | ( | size_t | index | ) | const [inline, virtual] |
returns the solution pointer
Implements ikfast::IkSolutionListBase< T >.
std::list<IkSolution<T> > ikfast::IkSolutionList< T >::_listsolutions [protected] |