Tesseract
Motion Planning Environment
Loading...
Searching...
No Matches
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

size_t AddSolution (const std::vector< IkSingleDOFSolutionBase< T > > &vinfos, const std::vector< int > &vfree) override
 add one solution and return its index for later retrieval More...
 
const IkSolutionBase< T > & GetSolution (size_t index) const override
 returns the solution pointer More...
 
size_t GetNumSolutions () const override
 returns the number of solutions stored More...
 
void Clear () override
 clears all current solutions, note that any memory addresses returned from GetSolution will be invalidated. More...
 
- Public Member Functions inherited from ikfast::IkSolutionListBase< T >
virtual ~IkSolutionListBase ()=default
 
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 More...
 
virtual const IkSolutionBase< T > & GetSolution (size_t index) const =0
 returns the solution pointer More...
 
virtual size_t GetNumSolutions () const =0
 returns the number of solutions stored More...
 
virtual void Clear ()=0
 clears all current solutions, note that any memory addresses returned from GetSolution will be invalidated. More...
 

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 >
size_t ikfast::IkSolutionList< T >::AddSolution ( const std::vector< IkSingleDOFSolutionBase< T > > &  vinfos,
const std::vector< int > &  vfree 
)
inlineoverridevirtual

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.

Implements ikfast::IkSolutionListBase< T >.

◆ Clear()

template<typename T >
void ikfast::IkSolutionList< T >::Clear ( )
inlineoverridevirtual

clears all current solutions, note that any memory addresses returned from GetSolution will be invalidated.

Implements ikfast::IkSolutionListBase< T >.

◆ GetNumSolutions()

template<typename T >
size_t ikfast::IkSolutionList< T >::GetNumSolutions ( ) const
inlineoverridevirtual

returns the number of solutions stored

Implements ikfast::IkSolutionListBase< T >.

◆ GetSolution()

template<typename T >
const IkSolutionBase< T > & ikfast::IkSolutionList< T >::GetSolution ( size_t  index) const
inlineoverridevirtual

returns the solution pointer

Implements ikfast::IkSolutionListBase< T >.

Member Data Documentation

◆ _listsolutions

template<typename T >
std::list<IkSolution<T> > ikfast::IkSolutionList< T >::_listsolutions
protected

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