ProteoWizard
|
HermiteInterpolation. More...
#include <interpolation.hpp>
Public Member Functions | |
HermiteInterpolate (TReal tension, TReal bias, TReal epsilon=std::numeric_limits< TReal >::epsilon()) | |
TReal | operator() (TReal y0, TReal y1, TReal y2, TReal y3, TReal mu) |
operator More... | |
Public Attributes | |
TReal | tension_ |
TReal | bias_ |
TReal | epsilon_ |
HermiteInterpolation.
Hermite interpolation like cubic requires 4 points so that it can achieve a higher degree of continuity. In addition it has nice tension and biasing controls. Tension can be used to tighten up the curvature at the known points. The bias is used to twist the curve about the known points. The examples shown here have the default tension and bias values of 0, it will be left as an exercise for the reader to explore different tension and bias values.
Definition at line 144 of file interpolation.hpp.
|
inline |
tension | 1 is high, 0 normal, -1 is low |
bias | 0 is even, positive is towards first segment, negative towards the other |
Definition at line 149 of file interpolation.hpp.
|
inline |
operator
y0 | y0 |
y1 | y1 |
y2 | y2 |
y3 | y3 |
mu | location |
Definition at line 156 of file interpolation.hpp.
References ralab::base::base::utilities::interpolateCubicHermite().
TReal ralab::base::base::utilities::HermiteInterpolate< TReal >::tension_ |
Definition at line 146 of file interpolation.hpp.
TReal ralab::base::base::utilities::HermiteInterpolate< TReal >::bias_ |
Definition at line 147 of file interpolation.hpp.
TReal ralab::base::base::utilities::HermiteInterpolate< TReal >::epsilon_ |
Definition at line 148 of file interpolation.hpp.