dart
Public Member Functions | Protected Attributes | List of all members
ikfast::IkSolutionList< T > Class Template Reference

Default implementation of IkSolutionListBase. More...

#include <ikfast.h>

Inheritance diagram for ikfast::IkSolutionList< T >:
Inheritance graph
[legend]
Collaboration diagram for ikfast::IkSolutionList< T >:
Collaboration graph
[legend]

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 More...
 
virtual const IkSolutionBase< T > & GetSolution (size_t index) const
 returns the solution pointer
 
virtual size_t GetNumSolutions () const
 returns the number of solutions stored
 
virtual void Clear ()
 clears all current solutions, note that any memory addresses returned from GetSolution will be invalidated.
 

Protected Attributes

std::list< IkSolution< T > > _listsolutions
 

Detailed Description

template<typename T>
class ikfast::IkSolutionList< T >

Default implementation of IkSolutionListBase.

Member Function Documentation

◆ AddSolution()

template<typename T >
virtual size_t ikfast::IkSolutionList< T >::AddSolution ( const std::vector< IkSingleDOFSolutionBase< T > > &  vinfos,
const std::vector< int > &  vfree 
)
inlinevirtual

add one solution and return its index for later retrieval

Parameters
vinfosSolution data for each degree of freedom of the manipulator
vfreeIf the solution represents an infinite space, holds free parameters of the solution that users can freely set. The indices are of the configuration that the IK solver accepts rather than the entire robot, ie 0 points to the first value accepted.

Implements ikfast::IkSolutionListBase< T >.


The documentation for this class was generated from the following file: