|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object vtk.vtkObjectBase vtk.vtkObject vtk.vtkScalarsToColors vtk.vtkColorTransferFunction
vtkColorTransferFunction - Defines a transfer function for mapping a property to an RGB color value.. vtkColorTransferFunction encapsulates three vtkPiecewiseFunction instances to provide a full RGB transfer function. JavaBean wrapper for vtkColorTransferFunction object.
Field Summary | |
protected java.beans.PropertyChangeSupport |
changes
|
Fields inherited from class vtk.vtkObjectBase |
vtkId |
Constructor Summary | |
|
vtkColorTransferFunction()
|
protected |
vtkColorTransferFunction(int dmy)
|
Method Summary | |
int |
addHSVPoint(double id0,
double id1,
double id2,
double id3)
Add/Remove a point to/from the function defined in RGB or HSV Return the index of the point (0 based), or -1 on error. |
void |
addHSVSegment(double id0,
double id1,
double id2,
double id3,
double id4,
double id5,
double id6,
double id7)
Add two points to the function and remove all the points between them |
int |
addRGBPoint(double id0,
double id1,
double id2,
double id3)
Add/Remove a point to/from the function defined in RGB or HSV Return the index of the point (0 based), or -1 on error. |
void |
addRGBSegment(double id0,
double id1,
double id2,
double id3,
double id4,
double id5,
double id6,
double id7)
Add two points to the function and remove all the points between them |
void |
clampingOff()
Sets and gets the clamping value for this transfer function. |
void |
clampingOn()
Sets and gets the clamping value for this transfer function. |
void |
deepCopy(vtkColorTransferFunction id0)
|
double |
getBlueValue(double id0)
Get the color components individually. |
int |
getClamping()
Sets and gets the clamping value for this transfer function. |
int |
getClampingMaxValue()
Sets and gets the clamping value for this transfer function. |
int |
getClampingMinValue()
Sets and gets the clamping value for this transfer function. |
java.lang.String |
getClassName()
Return the class name as a string. |
double[] |
getColor(double id0)
Returns an RGB color for the specified scalar value (from vtkScalarsToColors) |
void |
getColor(double id0,
double[] id1)
Returns an RGB color for the specified scalar value (from vtkScalarsToColors) |
int |
getColorSpace()
How should we interpolate - in RGB, or HSV |
int |
getColorSpaceMaxValue()
How should we interpolate - in RGB, or HSV |
int |
getColorSpaceMinValue()
How should we interpolate - in RGB, or HSV |
double |
getGreenValue(double id0)
Get the color components individually. |
double[] |
getRange()
Returns min and max position of all function points. |
double |
getRedValue(double id0)
Get the color components individually. |
int |
getSize()
How many points are there defining this function? |
vtkColorTransferFunction |
getThisColorTransferFunction()
|
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 |
int |
removePoint(double id0)
Add/Remove a point to/from the function defined in RGB or HSV Return the index of the point (0 based), or -1 on error. |
void |
setClamping(int id0)
Sets and gets the clamping value for this transfer function. |
void |
setColorSpace(int id0)
How should we interpolate - in RGB, or HSV |
void |
setColorSpaceToHSV()
How should we interpolate - in RGB, or HSV |
void |
setColorSpaceToRGB()
How should we interpolate - in RGB, or HSV |
protected void |
VTKCastInit()
|
void |
VTKInit()
|
Methods inherited from class vtk.vtkScalarsToColors |
build, convertUnsignedCharToRGBA, getAlpha, getLuminance, getOpacity, getThisScalarsToColors, getVectorComponent, getVectorMode, mapScalars, setAlpha, setRange, setRange, setVectorComponent, setVectorMode, setVectorModeToComponent, setVectorModeToMagnitude |
Methods inherited from class vtk.vtkObject |
AddObserver, breakOnError, debugOff, debugOn, getDebug, getGlobalWarningDisplay, getMTime, getThisObject, globalWarningDisplayOff, globalWarningDisplayOn, hasObserver, hasObserver, invokeEvent, invokeEvent, modified, Print, PrintRevisions, register, removeObserver, removeObservers, removeObservers, setDebug, setGlobalWarningDisplay, unRegister |
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 vtkColorTransferFunction()
protected vtkColorTransferFunction(int dmy)
Method Detail |
public vtkColorTransferFunction getThisColorTransferFunction()
public java.lang.String getClassName()
vtkObjectBase
getClassName
in class vtkScalarsToColors
public int isA(java.lang.String id0)
vtkObjectBase
isA
in class vtkScalarsToColors
public void deepCopy(vtkColorTransferFunction id0)
public int getSize()
public int addRGBPoint(double id0, double id1, double id2, double id3)
public int addHSVPoint(double id0, double id1, double id2, double id3)
public int removePoint(double id0)
public void addRGBSegment(double id0, double id1, double id2, double id3, double id4, double id5, double id6, double id7)
public void addHSVSegment(double id0, double id1, double id2, double id3, double id4, double id5, double id6, double id7)
public void removeAllPoints()
public double[] getColor(double id0)
getColor
in class vtkScalarsToColors
public void getColor(double id0, double[] id1)
getColor
in class vtkScalarsToColors
public double getRedValue(double id0)
public double getGreenValue(double id0)
public double getBlueValue(double id0)
public double[] getRange()
public void setClamping(int id0)
public int getClampingMinValue()
public int getClampingMaxValue()
public int getClamping()
public void clampingOn()
public void clampingOff()
public void setColorSpace(int id0)
public int getColorSpaceMinValue()
public int getColorSpaceMaxValue()
public void setColorSpaceToRGB()
public void setColorSpaceToHSV()
public int getColorSpace()
public void VTKInit()
VTKInit
in class vtkObject
protected void VTKCastInit()
VTKCastInit
in class vtkScalarsToColors
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |