Public Types | Public Member Functions | Protected Attributes

OpenTissue::kinematics::inverse::detail::FunctionCalculator< solver_type > Class Template Reference

#include <inverse_nonlinear_solver.h>

List of all members.

Public Types

typedef solver_type::vector_type vector_type
typedef vector_type::value_type real_type
typedef solver_type::skeleton_type skeleton_type
typedef
skeleton_type::bone_iterator 
bone_iterator
typedef
skeleton_type::const_bone_iterator 
const_bone_iterator

Public Member Functions

 FunctionCalculator ()
void init (solver_type *S)

Protected Attributes

solver_typem_S
 A pointer to the solver.
vector_type m_delta
 Temporary storage, used to hold intermediate computations of the weighted difference vector.

Detailed Description

template<typename solver_type>
class OpenTissue::kinematics::inverse::detail::FunctionCalculator< solver_type >

Function Calculator Functor class This functor class provides functionality for calculating the objective function of the inverse kinematics problem. It keeps a pointer to the solver class for easy update of its parameters and provides a () operator for easy calling.

Warning:
The class must be initialized before use
Template Parameters:
solver_type The solver_type that this Function calculator is used on

Member Typedef Documentation

template<typename solver_type >
typedef vector_type::value_type OpenTissue::kinematics::inverse::detail::FunctionCalculator< solver_type >::real_type

Constructor & Destructor Documentation


Member Function Documentation

template<typename solver_type >
void OpenTissue::kinematics::inverse::detail::FunctionCalculator< solver_type >::init ( solver_type S  )  [inline]

Initialization.

Parameters:
S A pointer to the solver class for which this class should work on.

Member Data Documentation

Temporary storage, used to hold intermediate computations of the weighted difference vector.

A pointer to the solver.


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