spline_smoother::FritschButlandSplineSmoother< T > Class Template Reference

Implements the Fritsch-Butland algorithm for monotonic cubic spline interpolation. More...

#include <fritsch_butland_spline_smoother.h>

Inheritance diagram for spline_smoother::FritschButlandSplineSmoother< T >:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 FritschButlandSplineSmoother ()
virtual bool smooth (const T &trajectory_in, T &trajectory_out) const
 Smooths the input position trajectory by generating velocities and accelerations at the waypoints.
virtual ~FritschButlandSplineSmoother ()

Detailed Description

template<typename T>
class spline_smoother::FritschButlandSplineSmoother< T >

Implements the Fritsch-Butland algorithm for monotonic cubic spline interpolation.

Outputs cubic splines with continuous velocities at the waypoints, but not accelerations.

Reference: F.N. Fritsch and J. Butland. A method for constructing local monotone piecewise cubic interpolants. SIAM J. Sci. Stst. Comput., 5(2), 1984.

Definition at line 54 of file fritsch_butland_spline_smoother.h.


Constructor & Destructor Documentation

Definition at line 65 of file fritsch_butland_spline_smoother.h.

template<typename T >
spline_smoother::FritschButlandSplineSmoother< T >::~FritschButlandSplineSmoother (  )  [inline, virtual]

Definition at line 70 of file fritsch_butland_spline_smoother.h.


Member Function Documentation

template<typename T >
bool spline_smoother::FritschButlandSplineSmoother< T >::smooth ( const T &  trajectory_in,
T &  trajectory_out 
) const [inline, virtual]

Smooths the input position trajectory by generating velocities and accelerations at the waypoints.

This virtual method needs to implemented by the derived class.

Returns:
true if successful, false if not

Implements spline_smoother::SplineSmoother< T >.

Definition at line 75 of file fritsch_butland_spline_smoother.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs


spline_smoother
Author(s): Mrinal Kalakrishnan / mail@mrinal.net
autogenerated on Fri Jan 11 09:15:18 2013