|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object vtk.vtkObjectBase vtk.vtkObject vtk.vtkDataObject vtk.vtkPiecewiseFunction
vtkPiecewiseFunction - Defines a 1D piecewise function.. Defines a piecewise linear function mapping. Used for transfer functions in volume rendering. JavaBean wrapper for vtkPiecewiseFunction object.
Field Summary | |
protected java.beans.PropertyChangeSupport |
changes
|
Fields inherited from class vtk.vtkObjectBase |
vtkId |
Constructor Summary | |
|
vtkPiecewiseFunction()
|
protected |
vtkPiecewiseFunction(int dmy)
|
Method Summary | |
int |
addPoint(double id0,
double id1)
Add/Remove points to/from the function. |
void |
addSegment(double id0,
double id1,
double id2,
double id3)
Add a line segment to the function. |
void |
clampingOff()
When zero range clamping is Off, GetValue() returns 0.0 when a value is requested outside of the points specified. |
void |
clampingOn()
When zero range clamping is Off, GetValue() returns 0.0 when a value is requested outside of the points specified. |
void |
deepCopy(vtkDataObject id0)
Shallow and Deep copy. |
int |
getClamping()
When zero range clamping is Off, GetValue() returns 0.0 when a value is requested outside of the points specified. |
java.lang.String |
getClassName()
Return the class name as a string. |
int |
getDataObjectType()
Return what type of dataset this is. |
double |
getFirstNonZeroValue()
Returns the first point location which precedes a non-zero segment of the function. |
int |
getMTime()
Get the mtime of this object - override to consider the mtime of the source as well. |
double[] |
getRange()
Returns the min and max point locations of the function. |
int |
getSize()
Get the number of points used to specify the function |
vtkPiecewiseFunction |
getThisPiecewiseFunction()
|
java.lang.String |
getType()
Return the type of function: Function Types: 0 : Constant (No change in slope between end points) 1 : NonDecreasing (Always increasing or zero slope) 2 : NonIncreasing (Always decreasing or zero slope) 3 : Varied (Contains both decreasing and increasing slopes) |
double |
getValue(double id0)
Returns the value of the function at the specified location using the specified interpolation. |
void |
initialize()
|
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()
Removes all points from the function. |
int |
removePoint(double id0)
Add/Remove points to/from the function. |
void |
setClamping(int id0)
When zero range clamping is Off, GetValue() returns 0.0 when a value is requested outside of the points specified. |
void |
shallowCopy(vtkDataObject id0)
Shallow and Deep copy. |
protected void |
VTKCastInit()
|
void |
VTKInit()
|
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 |
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 vtkPiecewiseFunction()
protected vtkPiecewiseFunction(int dmy)
Method Detail |
public vtkPiecewiseFunction getThisPiecewiseFunction()
public java.lang.String getClassName()
vtkObjectBase
getClassName
in class vtkDataObject
public int isA(java.lang.String id0)
vtkObjectBase
isA
in class vtkDataObject
public void initialize()
initialize
in class vtkDataObject
public void deepCopy(vtkDataObject id0)
vtkDataObject
deepCopy
in class vtkDataObject
public void shallowCopy(vtkDataObject id0)
vtkDataObject
shallowCopy
in class vtkDataObject
public int getDataObjectType()
getDataObjectType
in class vtkDataObject
public int getSize()
public int addPoint(double id0, double id1)
public int removePoint(double id0)
public void removeAllPoints()
public void addSegment(double id0, double id1, double id2, double id3)
public double getValue(double id0)
public double[] getRange()
public void setClamping(int id0)
public int getClamping()
public void clampingOn()
public void clampingOff()
public java.lang.String getType()
public int getMTime()
getMTime
in class vtkDataObject
public double getFirstNonZeroValue()
public void VTKInit()
VTKInit
in class vtkDataObject
protected void VTKCastInit()
VTKCastInit
in class vtkDataObject
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |