vtk
Class vtkImageMapToColors

java.lang.Object
  extended byvtk.vtkObjectBase
      extended byvtk.vtkObject
          extended byvtk.vtkProcessObject
              extended byvtk.vtkSource
                  extended byvtk.vtkImageSource
                      extended byvtk.vtkImageToImageFilter
                          extended byvtk.vtkImageMapToColors
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
vtkImageMapToRGBA, vtkImageMapToWindowLevelColors

public class vtkImageMapToColors
extends vtkImageToImageFilter
implements java.io.Serializable

vtkImageMapToColors - map the input image through a lookup table. The vtkImageMapToColors filter will take an input image of any valid scalar type, and map the first component of the image through a lookup table. The result is an image of type VTK_UNSIGNED_CHAR. If the lookup table is not set, or is set to NULL, then the input data will be passed through if it is already of type UNSIGNED_CHAR. JavaBean wrapper for vtkImageMapToColors object.

Author:
vtk2jbean Automatic JavaBean wrapper for VTK.
See Also:
vtkLookupTable, Serialized Form

Field Summary
protected  java.beans.PropertyChangeSupport changes
           
 
Fields inherited from class vtk.vtkObjectBase
vtkId
 
Constructor Summary
  vtkImageMapToColors()
           
protected vtkImageMapToColors(int dmy)
           
 
Method Summary
 int getActiveComponent()
          Set the component to map for multi-component images (default: 0)
 java.lang.String getClassName()
          Return the class name as a string.
 vtkScalarsToColors getLookupTable()
          Set the lookup table.
 int getMTime()
          We need to check the modified time of the lookup table too.
 int getOutputFormat()
          Set the output format, the default is RGBA.
 int getPassAlphaToOutput()
          Use the alpha component of the input when computing the alpha component of the output (useful when converting monochrome+alpha data to RGBA)
 vtkImageMapToColors getThisImageMapToColors()
           
 int isA(java.lang.String id0)
          Return 1 if this class is the same type of (or a subclass of) the named class.
 void passAlphaToOutputOff()
          Use the alpha component of the input when computing the alpha component of the output (useful when converting monochrome+alpha data to RGBA)
 void passAlphaToOutputOn()
          Use the alpha component of the input when computing the alpha component of the output (useful when converting monochrome+alpha data to RGBA)
 void setActiveComponent(int id0)
          Set the component to map for multi-component images (default: 0)
 void setLookupTable(vtkScalarsToColors id0)
          Set the lookup table.
 void setOutputFormat(int id0)
          Set the output format, the default is RGBA.
 void setOutputFormatToLuminance()
          Set the output format, the default is RGBA.
 void setOutputFormatToLuminanceAlpha()
          Set the output format, the default is RGBA.
 void setOutputFormatToRGB()
          Set the output format, the default is RGBA.
 void setOutputFormatToRGBA()
          Set the output format, the default is RGBA.
 void setPassAlphaToOutput(int id0)
          Use the alpha component of the input when computing the alpha component of the output (useful when converting monochrome+alpha data to RGBA)
protected  void VTKCastInit()
           
 void VTKInit()
           
 
Methods inherited from class vtk.vtkImageToImageFilter
bypassOff, bypassOn, getBypass, getInput, getInputMemoryLimit, getNumberOfThreads, getNumberOfThreadsMaxValue, getNumberOfThreadsMinValue, getThisImageToImageFilter, setBypass, setInput, setInputMemoryLimit, setNumberOfThreads, splitExtent, threadedExecute
 
Methods inherited from class vtk.vtkImageSource
getOutput, getOutput, getThisImageSource, setOutput
 
Methods inherited from class vtk.vtkSource
computeInputUpdateExtents, getNumberOfOutputs, getOutputIndex, getReleaseDataFlag, getThisSource, inRegisterLoop, propagateUpdateExtent, releaseDataFlagOff, releaseDataFlagOn, setReleaseDataFlag, triggerAsynchronousUpdate, unRegister, unRegisterAllOutputs, update, updateData, updateInformation, updateWholeExtent
 
Methods inherited from class vtk.vtkProcessObject
abortExecuteOff, abortExecuteOn, getAbortExecute, getErrorCode, getNumberOfInputs, getProgress, getProgressMaxValue, getProgressMinValue, getProgressText, getThisProcessObject, removeAllInputs, setAbortExecute, setProgress, setProgressText, squeezeInputArray, updateProgress
 
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

changes

protected java.beans.PropertyChangeSupport changes
Constructor Detail

vtkImageMapToColors

public vtkImageMapToColors()

vtkImageMapToColors

protected vtkImageMapToColors(int dmy)
Method Detail

getThisImageMapToColors

public vtkImageMapToColors getThisImageMapToColors()

getClassName

public java.lang.String getClassName()
Description copied from class: vtkObjectBase
Return the class name as a string. This method is defined in all subclasses of vtkObjectBase with the vtkTypeRevisionMacro found in vtkSetGet.h.

Overrides:
getClassName in class vtkImageToImageFilter

isA

public int isA(java.lang.String id0)
Description copied from class: vtkObjectBase
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 vtkTypeRevisionMacro found in vtkSetGet.h.

Overrides:
isA in class vtkImageToImageFilter

setLookupTable

public void setLookupTable(vtkScalarsToColors id0)
Set the lookup table.


getLookupTable

public vtkScalarsToColors getLookupTable()
Set the lookup table.


setOutputFormat

public void setOutputFormat(int id0)
Set the output format, the default is RGBA.


getOutputFormat

public int getOutputFormat()
Set the output format, the default is RGBA.


setOutputFormatToRGBA

public void setOutputFormatToRGBA()
Set the output format, the default is RGBA.


setOutputFormatToRGB

public void setOutputFormatToRGB()
Set the output format, the default is RGBA.


setOutputFormatToLuminanceAlpha

public void setOutputFormatToLuminanceAlpha()
Set the output format, the default is RGBA.


setOutputFormatToLuminance

public void setOutputFormatToLuminance()
Set the output format, the default is RGBA.


setActiveComponent

public void setActiveComponent(int id0)
Set the component to map for multi-component images (default: 0)


getActiveComponent

public int getActiveComponent()
Set the component to map for multi-component images (default: 0)


setPassAlphaToOutput

public void setPassAlphaToOutput(int id0)
Use the alpha component of the input when computing the alpha component of the output (useful when converting monochrome+alpha data to RGBA)


passAlphaToOutputOn

public void passAlphaToOutputOn()
Use the alpha component of the input when computing the alpha component of the output (useful when converting monochrome+alpha data to RGBA)


passAlphaToOutputOff

public void passAlphaToOutputOff()
Use the alpha component of the input when computing the alpha component of the output (useful when converting monochrome+alpha data to RGBA)


getPassAlphaToOutput

public int getPassAlphaToOutput()
Use the alpha component of the input when computing the alpha component of the output (useful when converting monochrome+alpha data to RGBA)


getMTime

public int getMTime()
We need to check the modified time of the lookup table too.

Overrides:
getMTime in class vtkObject

VTKInit

public void VTKInit()
Overrides:
VTKInit in class vtkObject

VTKCastInit

protected void VTKCastInit()
Overrides:
VTKCastInit in class vtkImageToImageFilter


Copyright © 2004 Sydney ViSLAB. All Rights Reserved.