vtk
Class vtkImageCast

java.lang.Object
  extended byvtk.vtkObjectBase
      extended byvtk.vtkObject
          extended byvtk.vtkProcessObject
              extended byvtk.vtkSource
                  extended byvtk.vtkImageSource
                      extended byvtk.vtkImageToImageFilter
                          extended byvtk.vtkImageCast
All Implemented Interfaces:
java.io.Serializable

public class vtkImageCast
extends vtkImageToImageFilter
implements java.io.Serializable

vtkImageCast - Image Data type Casting Filter. vtkImageCast filter casts the input type to match the output type in the image processing pipeline. The filter does nothing if the input already has the correct type. To specify the "CastTo" type, use "SetOutputScalarType" method. JavaBean wrapper for vtkImageCast object.

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

Field Summary
protected  java.beans.PropertyChangeSupport changes
           
 
Fields inherited from class vtk.vtkObjectBase
vtkId
 
Constructor Summary
  vtkImageCast()
           
protected vtkImageCast(int dmy)
           
 
Method Summary
 void clampOverflowOff()
          When the ClampOverflow flag is on, the data is thresholded so that the output value does not exceed the max or min of the data type.
 void clampOverflowOn()
          When the ClampOverflow flag is on, the data is thresholded so that the output value does not exceed the max or min of the data type.
 int getClampOverflow()
          When the ClampOverflow flag is on, the data is thresholded so that the output value does not exceed the max or min of the data type.
 java.lang.String getClassName()
          Return the class name as a string.
 int getOutputScalarType()
          Set the desired output scalar type to cast to.
 vtkImageCast getThisImageCast()
           
 int isA(java.lang.String id0)
          Return 1 if this class is the same type of (or a subclass of) the named class.
 void setClampOverflow(int id0)
          When the ClampOverflow flag is on, the data is thresholded so that the output value does not exceed the max or min of the data type.
 void setOutputScalarType(int id0)
          Set the desired output scalar type to cast to.
 void setOutputScalarTypeToChar()
          Set the desired output scalar type to cast to.
 void setOutputScalarTypeToDouble()
          Set the desired output scalar type to cast to.
 void setOutputScalarTypeToFloat()
          Set the desired output scalar type to cast to.
 void setOutputScalarTypeToInt()
          Set the desired output scalar type to cast to.
 void setOutputScalarTypeToLong()
          Set the desired output scalar type to cast to.
 void setOutputScalarTypeToShort()
          Set the desired output scalar type to cast to.
 void setOutputScalarTypeToUnsignedChar()
          Set the desired output scalar type to cast to.
 void setOutputScalarTypeToUnsignedInt()
          Set the desired output scalar type to cast to.
 void setOutputScalarTypeToUnsignedLong()
          Set the desired output scalar type to cast to.
 void setOutputScalarTypeToUnsignedShort()
          Set the desired output scalar type to cast to.
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, getMTime, 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

vtkImageCast

public vtkImageCast()

vtkImageCast

protected vtkImageCast(int dmy)
Method Detail

getThisImageCast

public vtkImageCast getThisImageCast()

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

setOutputScalarType

public void setOutputScalarType(int id0)
Set the desired output scalar type to cast to.


getOutputScalarType

public int getOutputScalarType()
Set the desired output scalar type to cast to.


setOutputScalarTypeToFloat

public void setOutputScalarTypeToFloat()
Set the desired output scalar type to cast to.


setOutputScalarTypeToDouble

public void setOutputScalarTypeToDouble()
Set the desired output scalar type to cast to.


setOutputScalarTypeToInt

public void setOutputScalarTypeToInt()
Set the desired output scalar type to cast to.


setOutputScalarTypeToUnsignedInt

public void setOutputScalarTypeToUnsignedInt()
Set the desired output scalar type to cast to.


setOutputScalarTypeToLong

public void setOutputScalarTypeToLong()
Set the desired output scalar type to cast to.


setOutputScalarTypeToUnsignedLong

public void setOutputScalarTypeToUnsignedLong()
Set the desired output scalar type to cast to.


setOutputScalarTypeToShort

public void setOutputScalarTypeToShort()
Set the desired output scalar type to cast to.


setOutputScalarTypeToUnsignedShort

public void setOutputScalarTypeToUnsignedShort()
Set the desired output scalar type to cast to.


setOutputScalarTypeToUnsignedChar

public void setOutputScalarTypeToUnsignedChar()
Set the desired output scalar type to cast to.


setOutputScalarTypeToChar

public void setOutputScalarTypeToChar()
Set the desired output scalar type to cast to.


setClampOverflow

public void setClampOverflow(int id0)
When the ClampOverflow flag is on, the data is thresholded so that the output value does not exceed the max or min of the data type. By default ClampOverflow is off.


getClampOverflow

public int getClampOverflow()
When the ClampOverflow flag is on, the data is thresholded so that the output value does not exceed the max or min of the data type. By default ClampOverflow is off.


clampOverflowOn

public void clampOverflowOn()
When the ClampOverflow flag is on, the data is thresholded so that the output value does not exceed the max or min of the data type. By default ClampOverflow is off.


clampOverflowOff

public void clampOverflowOff()
When the ClampOverflow flag is on, the data is thresholded so that the output value does not exceed the max or min of the data type. By default ClampOverflow is off.


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.