Mitsuba Renderer  0.5.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
spline.h File Reference
#include <mitsuba/mitsuba.h>

Go to the source code of this file.

Namespaces

 mitsuba
 

Macros

#define __MITSUBA_CORE_SPLINE_H_
 

Functions

Functions for evaluating and sampling Catmull-Rom splines
Float mitsuba::evalCubicInterp1D (Float x, const Float *values, size_t size, Float min, Float max, bool extrapolate=false)
 Evaluate a cubic spline interpolant of a uniformly sampled 1D function. More...
 
Float mitsuba::evalCubicInterp1DN (Float x, const Float *nodes, const Float *values, size_t size, bool extrapolate=false)
 Evaluate a cubic spline interpolant of a nonuniformly sampled 1D function. More...
 
Float mitsuba::integrateCubicInterp1D (size_t idx, const Float *values, size_t size, Float min, Float max)
 Computes the definite integral over a segment of a uniformly sampled 1D Catmull-Rom spline interpolant. More...
 
Float mitsuba::integrateCubicInterp1DN (size_t idx, const Float *nodes, const Float *values, size_t size)
 Computes the definite integral over a segment of a nonuniformly sampled 1D Catmull-Rom spline interpolant. More...
 
Float mitsuba::sampleCubicInterp1D (size_t idx, const Float *values, size_t size, Float min, Float max, Float sample, Float *fval=NULL)
 Importance sample a segment of a uniformly sampled 1D Catmull-Rom spline interpolant. More...
 
Float mitsuba::sampleCubicInterp1DN (size_t idx, const Float *nodes, const Float *values, size_t size, Float sample, Float *fval=NULL)
 Importance sample a segment of a nonuniformly sampled 1D Catmull-Rom spline interpolant. More...
 
Float mitsuba::evalCubicInterp2D (const Point2 &p, const Float *values, const Size2 &size, const Point2 &min, const Point2 &max, bool extrapolate=false)
 Evaluate a cubic spline interpolant of a uniformly sampled 2D function. More...
 
Float mitsuba::evalCubicInterp2DN (const Point2 &p, const Float **nodes, const Float *values, const Size2 &size, bool extrapolate=false)
 Evaluate a cubic spline interpolant of a nonuniformly sampled 2D function. More...
 
Float mitsuba::evalCubicInterp3D (const Point3 &p, const Float *values, const Size3 &size, const Point3 &min, const Point3 &max, bool extrapolate=false)
 Evaluate a cubic spline interpolant of a uniformly sampled 3D function. More...
 
Float mitsuba::evalCubicInterp3DN (const Point3 &p, const Float **nodes, const Float *values, const Size3 &size, bool extrapolate=false)
 Evaluate a cubic spline interpolant of a nonuniformly sampled 3D function. More...
 

Macro Definition Documentation

#define __MITSUBA_CORE_SPLINE_H_