openrave.org

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
ikfast::IkSolution< T > Class Template Reference

Default implementation of IkSolutionBase. More...

#include <ikfast.h>

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

Public Member Functions

 IkSolution (const std::vector< IkSingleDOFSolutionBase< T > > &vinfos, const std::vector< int > &vfree)
 
virtual void GetSolution (T *solution, const T *freevalues) const
 gets a concrete solution
 
virtual void GetSolution (std::vector< T > &solution, const std::vector< T > &freevalues) const
 std::vector version of GetSolution
 
virtual const std::vector< int > & GetFree () const
 Gets the indices of the configuration space that have to be preset before a full solution can be returned.
 
virtual const int GetDOF () const
 the dof of the solution
 
virtual void Validate () const
 
virtual void GetSolutionIndices (std::vector< unsigned int > &v) const
 
- Public Member Functions inherited from ikfast::IkSolutionBase< T >
virtual ~IkSolutionBase ()
 

Public Attributes

std::vector
< IkSingleDOFSolutionBase< T > > 
_vbasesol
 solution and their offsets if joints are mimiced
 
std::vector< int > _vfree
 

Detailed Description

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

Default implementation of IkSolutionBase.

Definition at line 149 of file ikfast.h.

Constructor & Destructor Documentation

template<typename T >
ikfast::IkSolution< T >::IkSolution ( const std::vector< IkSingleDOFSolutionBase< T > > &  vinfos,
const std::vector< int > &  vfree 
)
inline

Definition at line 152 of file ikfast.h.

Member Function Documentation

template<typename T >
virtual const int ikfast::IkSolution< T >::GetDOF ( ) const
inlinevirtual

the dof of the solution

Implements ikfast::IkSolutionBase< T >.

Definition at line 181 of file ikfast.h.

template<typename T >
virtual const std::vector<int>& ikfast::IkSolution< T >::GetFree ( ) const
inlinevirtual

Gets the indices of the configuration space that have to be preset before a full solution can be returned.

0 always points to the first value accepted by the ik function.

Returns
vector of indices indicating the free parameters

Implements ikfast::IkSolutionBase< T >.

Definition at line 178 of file ikfast.h.

template<typename T >
virtual void ikfast::IkSolution< T >::GetSolution ( T *  solution,
const T *  freevalues 
) const
inlinevirtual

gets a concrete solution

Parameters
[out]solutionthe result
[in]freevaluesvalues for the free parameters GetFree

Implements ikfast::IkSolutionBase< T >.

Definition at line 157 of file ikfast.h.

template<typename T >
virtual void ikfast::IkSolution< T >::GetSolution ( std::vector< T > &  solution,
const std::vector< T > &  freevalues 
) const
inlinevirtual

std::vector version of GetSolution

Reimplemented from ikfast::IkSolutionBase< T >.

Definition at line 173 of file ikfast.h.

template<typename T >
virtual void ikfast::IkSolution< T >::GetSolutionIndices ( std::vector< unsigned int > &  v) const
inlinevirtual

Definition at line 201 of file ikfast.h.

template<typename T >
virtual void ikfast::IkSolution< T >::Validate ( ) const
inlinevirtual

Definition at line 185 of file ikfast.h.

Member Data Documentation

template<typename T >
std::vector< IkSingleDOFSolutionBase<T> > ikfast::IkSolution< T >::_vbasesol

solution and their offsets if joints are mimiced

Definition at line 224 of file ikfast.h.

template<typename T >
std::vector<int> ikfast::IkSolution< T >::_vfree

Definition at line 225 of file ikfast.h.


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