Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

vtkCardinalSpline Class Reference

computes an interpolating spline using a. More...

#include <vtkCardinalSpline.h>

Inheritance diagram for vtkCardinalSpline:

Inheritance graph
[legend]
Collaboration diagram for vtkCardinalSpline:

Collaboration graph
[legend]
List of all members.

Public Methods

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
void Compute ()
float Evaluate (float t)

Static Public Methods

vtkCardinalSpline * New ()
int IsTypeOf (const char *type)
vtkCardinalSpline * SafeDownCast (vtkObject *o)

Protected Methods

 vtkCardinalSpline ()
 ~vtkCardinalSpline ()
 vtkCardinalSpline (const vtkCardinalSpline &)
void operator= (const vtkCardinalSpline &)
void Fit1D (int n, float *x, float *y, float *w, float coefficients[][4], int leftConstraint, float leftValue, int rightConstraint, float rightValue)
void FitClosed1D (int n, float *x, float *y, float *w, float coefficients[][4])

Detailed Description

computes an interpolating spline using a.

Date:
2000/12/10 20:08:31
Revision:
1.14
a Cardinal basis.

vtkCardinalSpline is a concrete implementation of vtkSpline using a Cardinal basis.

See also:
vtkSpline vtkKochanekSpline
Examples:
vtkCardinalSpline (examples)

Definition at line 62 of file vtkCardinalSpline.h.


Constructor & Destructor Documentation

vtkCardinalSpline::vtkCardinalSpline   [protected]
 

vtkCardinalSpline::~vtkCardinalSpline   [inline, protected]
 

Definition at line 78 of file vtkCardinalSpline.h.

vtkCardinalSpline::vtkCardinalSpline const vtkCardinalSpline &    [inline, protected]
 

Definition at line 79 of file vtkCardinalSpline.h.


Member Function Documentation

vtkCardinalSpline* vtkCardinalSpline::New   [static]
 

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkObject.

virtual const char* vtkCardinalSpline::GetClassName   [virtual]
 

Return the class name as a string. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkSpline.

int vtkCardinalSpline::IsTypeOf const char *    type [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 *    type [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.

vtkCardinalSpline* vtkCardinalSpline::SafeDownCast vtkObject   o [static]
 

Will cast the supplied object to vtkObject* is this is a safe operation (i.e., a safe downcast); otherwise NULL is returned. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkSpline.

void vtkCardinalSpline::PrintSelf ostream &    os,
vtkIndent    indent
[virtual]
 

Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from vtkSpline.

void vtkCardinalSpline::Compute   [virtual]
 

Compute Cardinal Splines for each dependent variable

Reimplemented from vtkSpline.

float vtkCardinalSpline::Evaluate float    t
 

Evaluate a 1D cardinal spline.

void vtkCardinalSpline::operator= const vtkCardinalSpline &    [inline, protected]
 

Definition at line 80 of file vtkCardinalSpline.h.

void vtkCardinalSpline::Fit1D int    n,
float *    x,
float *    y,
float *    w,
float    coefficients[][4],
int    leftConstraint,
float    leftValue,
int    rightConstraint,
float    rightValue
[protected]
 

void vtkCardinalSpline::FitClosed1D int    n,
float *    x,
float *    y,
float *    w,
float    coefficients[][4]
[protected]
 


The documentation for this class was generated from the following file:
Generated on Wed Nov 21 12:46:40 2001 for VTK by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001