Trivariate splines for volumetric data