|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object vtk.vtkObjectBase vtk.vtkObject vtk.vtkSpline
vtkSpline - spline abstract class. vtkSpline is used to create interpolated data points for specified data. vtkSpline is an abstract class: its subclasses vtkCardinalSpline and vtkKochenekSpline do the interpolation. The current implementation of splines is limited to data dimensions not exceeding four. Typically a spline is used by adding a sequence of points followed by use of an evaluation function (e.g., vtkCardinalSpline::Evaluate()). Since these splines are 1D, a point in this context is a independent/ dependent variable pair. Note that the parameter space of the spline ranges from (0,N-1), where N is the number of points in the spline. Splines can also be set up to be closed or open. Closed splines continue from the last point to the first point with continuous function and derivative values. (You don't need to duplicate the first point to close the spline, just set ClosedOn.) If the spline is closed, the parameter space of the spline becomes (0,N). JavaBean wrapper for vtkSpline object.
vtkCardinalSpline
,
Serialized FormField Summary | |
protected java.beans.PropertyChangeSupport |
changes
|
Fields inherited from class vtk.vtkObjectBase |
vtkId |
Constructor Summary | |
|
vtkSpline()
|
protected |
vtkSpline(int dmy)
|
Method Summary | |
void |
addPoint(double id0,
double id1)
Add a pair of points to be fit with the spline. |
void |
clampValueOff()
Set/Get ClampValue. |
void |
clampValueOn()
Set/Get ClampValue. |
void |
closedOff()
Control whether the spline is open or closed. |
void |
closedOn()
Control whether the spline is open or closed. |
void |
compute()
Compute the coefficients for the spline. |
void |
deepCopy(vtkSpline id0)
Deep copy of spline data. |
double |
evaluate(double id0)
Interpolate the value of the spline at parametric location of t. |
int |
getClampValue()
Set/Get ClampValue. |
java.lang.String |
getClassName()
Return the class name as a string. |
int |
getClosed()
Control whether the spline is open or closed. |
int |
getLeftConstraint()
Set the type of constraint of the left(right) end points. |
int |
getLeftConstraintMaxValue()
Set the type of constraint of the left(right) end points. |
int |
getLeftConstraintMinValue()
Set the type of constraint of the left(right) end points. |
double |
getLeftValue()
The values of the derivative on the left and right sides. |
int |
getMTime()
Return the MTime also considering the Piecewise function. |
int |
getRightConstraint()
Set the type of constraint of the left(right) end points. |
int |
getRightConstraintMaxValue()
Set the type of constraint of the left(right) end points. |
int |
getRightConstraintMinValue()
Set the type of constraint of the left(right) end points. |
double |
getRightValue()
The values of the derivative on the left and right sides. |
vtkSpline |
getThisSpline()
|
int |
isA(java.lang.String id0)
Return 1 if this class is the same type of (or a subclass of) the named class. |
void |
removeAllPoints()
Remove all points from the data. |
void |
removePoint(double id0)
Remove a point from the data to be fit with the spline. |
void |
setClampValue(int id0)
Set/Get ClampValue. |
void |
setClosed(int id0)
Control whether the spline is open or closed. |
void |
setLeftConstraint(int id0)
Set the type of constraint of the left(right) end points. |
void |
setLeftValue(double id0)
The values of the derivative on the left and right sides. |
void |
setRightConstraint(int id0)
Set the type of constraint of the left(right) end points. |
void |
setRightValue(double id0)
The values of the derivative on the left and right sides. |
protected void |
VTKCastInit()
|
Methods inherited from class vtk.vtkObject |
AddObserver, breakOnError, debugOff, debugOn, getDebug, getGlobalWarningDisplay, getThisObject, globalWarningDisplayOff, globalWarningDisplayOn, hasObserver, hasObserver, invokeEvent, invokeEvent, modified, Print, PrintRevisions, register, removeObserver, removeObservers, removeObservers, setDebug, setGlobalWarningDisplay, unRegister, VTKInit |
Methods inherited from class vtk.vtkObjectBase |
addPropertyChangeListener, finalize, getReferenceCount, getThisObjectBase, isTypeOf, removePropertyChangeListener, setReferenceCount, VTKDelete |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.beans.PropertyChangeSupport changes
Constructor Detail |
public vtkSpline()
protected vtkSpline(int dmy)
Method Detail |
public vtkSpline getThisSpline()
public java.lang.String getClassName()
vtkObjectBase
getClassName
in class vtkObject
public int isA(java.lang.String id0)
vtkObjectBase
isA
in class vtkObject
public void setClampValue(int id0)
public int getClampValue()
public void clampValueOn()
public void clampValueOff()
public void compute()
public double evaluate(double id0)
public void addPoint(double id0, double id1)
public void removePoint(double id0)
public void removeAllPoints()
public void setClosed(int id0)
public int getClosed()
public void closedOn()
public void closedOff()
public void setLeftConstraint(int id0)
public int getLeftConstraintMinValue()
public int getLeftConstraintMaxValue()
public int getLeftConstraint()
public void setRightConstraint(int id0)
public int getRightConstraintMinValue()
public int getRightConstraintMaxValue()
public int getRightConstraint()
public void setLeftValue(double id0)
public double getLeftValue()
public void setRightValue(double id0)
public double getRightValue()
public int getMTime()
getMTime
in class vtkObject
public void deepCopy(vtkSpline id0)
protected void VTKCastInit()
VTKCastInit
in class vtkObject
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |