|
| Spline (const Basis &basis=Basis::catmullRom()) |
|
| Spline (const Basis &basis, const PointContainer &points) |
|
XInterval | interval () const |
| Returns the range of the spline in the X direction.
|
|
X | solve (X x, typename PointContainer::const_iterator &segment) const |
|
X | solve (X x, Y segment[4]) const |
| As above but fills the points array with the points for the segment.
|
|
Y | operator() (X x) const |
| Uses solve() to evaluate the y value for a given x position.
|
|
Y | derivative (X x) const |
| Returns dY/dX at given X.
|
|
Y | integral (X x0, X x1) const |
| Returns integral Y with respect to X for the given interval.
|
|
Y | integral () const |
| Returns the integral Y with respect to X over the spline domain.
|
|
bool | operator== (const Spline &rhs) const |
|
bool | operator!= (const Spline &rhs) const |
|
template<typename X, typename Y>
class IECore::Spline< X, Y >
A Spline class suitable for things like creating ramps of colour through a series of control points or for creating simple animation curves.