VTK
|
computes an interpolating spline using a a Cardinal basis. More...
#include <vtkCardinalSpline.h>
Public Types | |
typedef vtkSpline | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkCardinalSpline * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
void | Compute () |
virtual double | Evaluate (double t) |
virtual void | DeepCopy (vtkSpline *s) |
Static Public Member Functions | |
static vtkCardinalSpline * | New () |
static int | IsTypeOf (const char *type) |
static vtkCardinalSpline * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkCardinalSpline () | |
~vtkCardinalSpline () | |
void | Fit1D (int n, double *x, double *y, double *w, double coefficients[][4], int leftConstraint, double leftValue, int rightConstraint, double rightValue) |
void | FitClosed1D (int n, double *x, double *y, double *w, double coefficients[][4]) |
computes an interpolating spline using a a Cardinal basis.
vtkCardinalSpline is a concrete implementation of vtkSpline using a Cardinal basis.
Definition at line 39 of file vtkCardinalSpline.h.
Reimplemented from vtkSpline.
Definition at line 44 of file vtkCardinalSpline.h.
vtkCardinalSpline::vtkCardinalSpline | ( | ) | [protected] |
vtkCardinalSpline::~vtkCardinalSpline | ( | ) | [inline, protected] |
Definition at line 58 of file vtkCardinalSpline.h.
static vtkCardinalSpline* vtkCardinalSpline::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkObject.
static int vtkCardinalSpline::IsTypeOf | ( | const char * | name | ) | [static] |
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkSpline.
virtual int vtkCardinalSpline::IsA | ( | const char * | name | ) | [virtual] |
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkSpline.
static vtkCardinalSpline* vtkCardinalSpline::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkSpline.
virtual vtkObjectBase* vtkCardinalSpline::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkSpline.
vtkCardinalSpline* vtkCardinalSpline::NewInstance | ( | ) | const |
Reimplemented from vtkSpline.
void vtkCardinalSpline::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) | [virtual] |
void vtkCardinalSpline::Compute | ( | ) | [virtual] |
Compute Cardinal Splines for each dependent variable
Implements vtkSpline.
virtual double vtkCardinalSpline::Evaluate | ( | double | t | ) | [virtual] |
Evaluate a 1D cardinal spline.
Implements vtkSpline.
virtual void vtkCardinalSpline::DeepCopy | ( | vtkSpline * | s | ) | [virtual] |
Deep copy of cardinal spline data.
Reimplemented from vtkSpline.
void vtkCardinalSpline::Fit1D | ( | int | n, |
double * | x, | ||
double * | y, | ||
double * | w, | ||
double | coefficients[][4], | ||
int | leftConstraint, | ||
double | leftValue, | ||
int | rightConstraint, | ||
double | rightValue | ||
) | [protected] |
void vtkCardinalSpline::FitClosed1D | ( | int | n, |
double * | x, | ||
double * | y, | ||
double * | w, | ||
double | coefficients[][4] | ||
) | [protected] |