vtk
Class vtkImageThreshold

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

public class vtkImageThreshold
extends vtkImageToImageFilter
implements java.io.Serializable

vtkImageThreshold - Flexible threshold. vtkImageThreshold Can do binary or continuous thresholding for lower, upper or a range of data. The output data type may be different than the output, but defaults to the same type. JavaBean wrapper for vtkImageThreshold object.

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

Field Summary
protected  java.beans.PropertyChangeSupport changes
           
 
Fields inherited from class vtk.vtkObjectBase
vtkId
 
Constructor Summary
  vtkImageThreshold()
           
protected vtkImageThreshold(int dmy)
           
 
Method Summary
 java.lang.String getClassName()
          Return the class name as a string.
 double getInValue()
          Replace the in range pixels with this value.
 double getLowerThreshold()
          Get the Upper and Lower thresholds.
 int getOutputScalarType()
          Set the desired output scalar type to cast to
 double getOutValue()
          Replace the in range pixels with this value.
 int getReplaceIn()
          Determines whether to replace the pixel in range with InValue
 int getReplaceOut()
          Determines whether to replace the pixel out of range with OutValue
 vtkImageThreshold getThisImageThreshold()
           
 double getUpperThreshold()
          Get the Upper and Lower thresholds.
 int isA(java.lang.String id0)
          Return 1 if this class is the same type of (or a subclass of) the named class.
 void replaceInOff()
          Determines whether to replace the pixel in range with InValue
 void replaceInOn()
          Determines whether to replace the pixel in range with InValue
 void replaceOutOff()
          Determines whether to replace the pixel out of range with OutValue
 void replaceOutOn()
          Determines whether to replace the pixel out of range with OutValue
 void setInValue(double id0)
          Replace the in range pixels with this value.
 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()
           
 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
 void setOutValue(double id0)
          Replace the in range pixels with this value.
 void setReplaceIn(int id0)
          Determines whether to replace the pixel in range with InValue
 void setReplaceOut(int id0)
          Determines whether to replace the pixel out of range with OutValue
 void thresholdBetween(double id0, double id1)
          The values in a range (inclusive) match
 void thresholdByLower(double id0)
          The values less than or equal to the value match.
 void thresholdByUpper(double id0)
          The values greater than or equal to the value match.
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

vtkImageThreshold

public vtkImageThreshold()

vtkImageThreshold

protected vtkImageThreshold(int dmy)
Method Detail

getThisImageThreshold

public vtkImageThreshold getThisImageThreshold()

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

thresholdByUpper

public void thresholdByUpper(double id0)
The values greater than or equal to the value match.


thresholdByLower

public void thresholdByLower(double id0)
The values less than or equal to the value match.


thresholdBetween

public void thresholdBetween(double id0,
                             double id1)
The values in a range (inclusive) match


setReplaceIn

public void setReplaceIn(int id0)
Determines whether to replace the pixel in range with InValue


getReplaceIn

public int getReplaceIn()
Determines whether to replace the pixel in range with InValue


replaceInOn

public void replaceInOn()
Determines whether to replace the pixel in range with InValue


replaceInOff

public void replaceInOff()
Determines whether to replace the pixel in range with InValue


setInValue

public void setInValue(double id0)
Replace the in range pixels with this value.


getInValue

public double getInValue()
Replace the in range pixels with this value.


setReplaceOut

public void setReplaceOut(int id0)
Determines whether to replace the pixel out of range with OutValue


getReplaceOut

public int getReplaceOut()
Determines whether to replace the pixel out of range with OutValue


replaceOutOn

public void replaceOutOn()
Determines whether to replace the pixel out of range with OutValue


replaceOutOff

public void replaceOutOff()
Determines whether to replace the pixel out of range with OutValue


setOutValue

public void setOutValue(double id0)
Replace the in range pixels with this value.


getOutValue

public double getOutValue()
Replace the in range pixels with this value.


getUpperThreshold

public double getUpperThreshold()
Get the Upper and Lower thresholds.


getLowerThreshold

public double getLowerThreshold()
Get the Upper and Lower thresholds.


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


setOutputScalarTypeToDouble

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


setOutputScalarTypeToFloat

public void setOutputScalarTypeToFloat()
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


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


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


setOutputScalarTypeToChar

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


setOutputScalarTypeToUnsignedChar

public void setOutputScalarTypeToUnsignedChar()

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.