The MIDAS Journal logo

The MIDAS Journal

Home

Cubic and Hermite splines for VTK

Kovacs, Nicole, Peters, Terry, Chen, Elvis
Robarts Research Institute
Publication cover image

Please use this identifier to cite or link to this publication: http://hdl.handle.net/10380/3561
New: Prefer using the following doi: https://doi.org/10.54294/p1uxjq
Published in The MIDAS Journal - Computational Algorithms.
Submitted by Nicole Kovacs on 2016-08-19 08:29:56.

A cubic spline is a spline where each curve is defined by a third-order polynomial, while a Hermite spline has each polynomial specified in Hermite form, being computed using tangent information as well as the position of the points. We propose two new classes for VTK, vtkCubicSpline and vtkHermiteSpline, which compute interpolating splines using a Cubic and a Hermite Spline Interpolation function, respectively. We also propose two new auxiliary classes, vtkParametricCubicSpline and vtkParametricHermiteSpline, that create parametric functions for the 1D interpolating aforementioned splines.