moveit2
The MoveIt Motion Planning Framework for ROS 2.
Loading...
Searching...
No Matches
Public Member Functions | List of all members
ikfast::IkSolutionListBase< T > Class Template Referenceabstract

manages all the solutions More...

#include <ikfast.h>

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

Public Member Functions

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

Detailed Description

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

manages all the solutions

Definition at line 102 of file ikfast.h.

Constructor & Destructor Documentation

◆ ~IkSolutionListBase() [1/2]

template<typename T >
virtual ikfast::IkSolutionListBase< T >::~IkSolutionListBase ( )
inlinevirtual

Definition at line 105 of file ikfast.h.

◆ ~IkSolutionListBase() [2/2]

template<typename T >
virtual ikfast::IkSolutionListBase< T >::~IkSolutionListBase ( )
inlinevirtual

Definition at line 102 of file ikfast.h.

Member Function Documentation

◆ AddSolution() [1/2]

template<typename T >
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

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.

Implemented in ikfast::IkSolutionList< T >, and ikfast::IkSolutionList< T >.

Here is the caller graph for this function:

◆ AddSolution() [2/2]

template<typename T >
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

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.

Implemented in ikfast::IkSolutionList< T >, and ikfast::IkSolutionList< T >.

◆ Clear() [1/2]

template<typename T >
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< T >.

Here is the caller graph for this function:

◆ Clear() [2/2]

template<typename T >
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< T >.

◆ GetNumSolutions() [1/2]

template<typename T >
virtual size_t ikfast::IkSolutionListBase< T >::GetNumSolutions ( ) const
pure virtual

returns the number of solutions stored

Implemented in ikfast::IkSolutionList< T >, and ikfast::IkSolutionList< T >.

Here is the caller graph for this function:

◆ GetNumSolutions() [2/2]

template<typename T >
virtual size_t ikfast::IkSolutionListBase< T >::GetNumSolutions ( ) const
pure virtual

returns the number of solutions stored

Implemented in ikfast::IkSolutionList< T >, and ikfast::IkSolutionList< T >.

◆ GetSolution() [1/2]

template<typename T >
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< T >.

◆ GetSolution() [2/2]

template<typename T >
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< T >.


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