vtk
Class vtkImageReslice

java.lang.Object
  extended byvtk.vtkObjectBase
      extended byvtk.vtkObject
          extended byvtk.vtkProcessObject
              extended byvtk.vtkSource
                  extended byvtk.vtkImageSource
                      extended byvtk.vtkImageToImageFilter
                          extended byvtk.vtkImageReslice
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
vtkImageFlip, vtkImagePermute, vtkImageResample

public class vtkImageReslice
extends vtkImageToImageFilter
implements java.io.Serializable

vtkImageReslice - Reslices a volume along a new set of axes.. vtkImageReslice is the swiss-army-knife of image geometry filters: It can permute, rotate, flip, scale, resample, deform, and pad image data in any combination with reasonably high efficiency. Simple operations such as permutation, resampling and padding are done with similar efficiently to the specialized vtkImagePermute, vtkImageResample, and vtkImagePad filters. There are a number of tasks that vtkImageReslice is well suited for:

1) Application of simple rotations, scales, and translations to an image. It is often a good idea to use vtkImageChangeInformation to center the image first, so that scales and rotations occur around the center rather than around the lower-left corner of the image.

2) Resampling of one data set to match the voxel sampling of a second data set via the SetInformationInput() method, e.g. for the purpose of comparing two images or combining two images. A transformation, either linear or nonlinear, can be applied at the same time via the SetResliceTransform method if the two images are not in the same coordinate space.

3) Extraction of slices from an image volume. The most convenient way to do this is to use SetResliceAxesDirectionCosines() to specify the orientation of the slice. The direction cosines give the x, y, and z axes for the output volume. The method SetOutputDimensionality(2) is used to specify that want to output a slice rather than a volume. The SetResliceAxesOrigin() command is used to provide an (x,y,z) point that the slice will pass through. You can use both the ResliceAxes and the ResliceTransform at the same time, in order to extract slices from a volume that you have applied a transformation to. JavaBean wrapper for vtkImageReslice object.

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

Field Summary
protected  java.beans.PropertyChangeSupport changes
           
 
Fields inherited from class vtk.vtkObjectBase
vtkId
 
Constructor Summary
  vtkImageReslice()
           
protected vtkImageReslice(int dmy)
           
 
Method Summary
 void autoCropOutputOff()
          Turn this on if you want to guarantee that the extent of the output will be large enough to ensure that none of the data will be cropped.
 void autoCropOutputOn()
          Turn this on if you want to guarantee that the extent of the output will be large enough to ensure that none of the data will be cropped.
 int getAutoCropOutput()
          Turn this on if you want to guarantee that the extent of the output will be large enough to ensure that none of the data will be cropped.
 double[] getBackgroundColor()
          Set the background color (for multi-component images).
 double getBackgroundLevel()
          Set background grey level (for single-component images).
 java.lang.String getClassName()
          Return the class name as a string.
 vtkImageData getInformationInput()
          Set a vtkImageData from which the default Spacing, Origin, and WholeExtent of the output will be copied.
 int getInterpolate()
          Convenient methods for switching between nearest-neighbor and linear interpolation.
 int getInterpolationMode()
          Set interpolation mode (default: nearest neighbor).
 java.lang.String getInterpolationModeAsString()
          Set interpolation mode (default: nearest neighbor).
 int getMirror()
          Turn on mirror-pad feature (default: off).
 int getMTime()
          When determining the modified time of the filter, this check the modified time of the transform and matrix.
 int getOptimization()
          Turn on and off optimizations (default on, they should only be turned off for testing purposes).
 int getOutputDimensionality()
          Force the dimensionality of the output to either 1, 2, 3 or 0 (default: 3).
 int[] getOutputExtent()
          Set the extent for the output data.
 double[] getOutputOrigin()
          Set the origin for the output data.
 double[] getOutputSpacing()
          Set the voxel spacing for the output data.
 vtkMatrix4x4 getResliceAxes()
          This method is used to set up the axes for the output voxels.
 double[] getResliceAxesDirectionCosines()
          Specify the direction cosines for the ResliceAxes (i.e. the first three elements of each of the first three columns of the ResliceAxes matrix).
 void getResliceAxesDirectionCosines(double[] id0)
          Specify the direction cosines for the ResliceAxes (i.e. the first three elements of each of the first three columns of the ResliceAxes matrix).
 void getResliceAxesDirectionCosines(double[] id0, double[] id1, double[] id2)
          Specify the direction cosines for the ResliceAxes (i.e. the first three elements of each of the first three columns of the ResliceAxes matrix).
 double[] getResliceAxesOrigin()
          Specify the origin for the ResliceAxes (i.e. the first three elements of the final column of the ResliceAxes matrix).
 void getResliceAxesOrigin(double[] id0)
          Specify the origin for the ResliceAxes (i.e. the first three elements of the final column of the ResliceAxes matrix).
 vtkAbstractTransform getResliceTransform()
          Set a transform to be applied to the resampling grid that has been defined via the ResliceAxes and the output Origin, Spacing and Extent.
 vtkImageStencilData getStencil()
          Use a stencil to limit the calculations to a specific region of the output.
 vtkImageReslice getThisImageReslice()
           
 int getTransformInputSampling()
          Specify whether to transform the spacing, origin and extent of the Input (or the InformationInput) according to the direction cosines and origin of the ResliceAxes before applying them as the default output spacing, origin and extent.
 int getWrap()
          Turn on wrap-pad feature (default: off).
 void interpolateOff()
          Convenient methods for switching between nearest-neighbor and linear interpolation.
 void interpolateOn()
          Convenient methods for switching between nearest-neighbor and linear interpolation.
 int isA(java.lang.String id0)
          Return 1 if this class is the same type of (or a subclass of) the named class.
 void mirrorOff()
          Turn on mirror-pad feature (default: off).
 void mirrorOn()
          Turn on mirror-pad feature (default: off).
 void optimizationOff()
          Turn on and off optimizations (default on, they should only be turned off for testing purposes).
 void optimizationOn()
          Turn on and off optimizations (default on, they should only be turned off for testing purposes).
 void setAutoCropOutput(int id0)
          Turn this on if you want to guarantee that the extent of the output will be large enough to ensure that none of the data will be cropped.
 void setBackgroundColor(double[] id0)
          Set the background color (for multi-component images).
 void setBackgroundColor(double id0, double id1, double id2, double id3)
          Set the background color (for multi-component images).
 void setBackgroundLevel(double id0)
          Set background grey level (for single-component images).
 void setInformationInput(vtkImageData id0)
          Set a vtkImageData from which the default Spacing, Origin, and WholeExtent of the output will be copied.
 void setInterpolate(int id0)
          Convenient methods for switching between nearest-neighbor and linear interpolation.
 void setInterpolationMode(int id0)
          Set interpolation mode (default: nearest neighbor).
 void setInterpolationModeToCubic()
          Set interpolation mode (default: nearest neighbor).
 void setInterpolationModeToLinear()
          Set interpolation mode (default: nearest neighbor).
 void setInterpolationModeToNearestNeighbor()
          Set interpolation mode (default: nearest neighbor).
 void setMirror(int id0)
          Turn on mirror-pad feature (default: off).
 void setOptimization(int id0)
          Turn on and off optimizations (default on, they should only be turned off for testing purposes).
 void setOutputDimensionality(int id0)
          Force the dimensionality of the output to either 1, 2, 3 or 0 (default: 3).
 void setOutputExtent(int[] id0)
          Set the extent for the output data.
 void setOutputExtent(int id0, int id1, int id2, int id3, int id4, int id5)
          Set the extent for the output data.
 void setOutputExtentToDefault()
          Set the extent for the output data.
 void setOutputOrigin(double[] id0)
          Set the origin for the output data.
 void setOutputOrigin(double id0, double id1, double id2)
          Set the origin for the output data.
 void setOutputOriginToDefault()
          Set the origin for the output data.
 void setOutputSpacing(double[] id0)
          Set the voxel spacing for the output data.
 void setOutputSpacing(double id0, double id1, double id2)
          Set the voxel spacing for the output data.
 void setOutputSpacingToDefault()
          Set the voxel spacing for the output data.
 void setResliceAxes(vtkMatrix4x4 id0)
          This method is used to set up the axes for the output voxels.
 void setResliceAxesDirectionCosines(double[] id0)
          Specify the direction cosines for the ResliceAxes (i.e. the first three elements of each of the first three columns of the ResliceAxes matrix).
 void setResliceAxesDirectionCosines(double[] id0, double[] id1, double[] id2)
          Specify the direction cosines for the ResliceAxes (i.e. the first three elements of each of the first three columns of the ResliceAxes matrix).
 void setResliceAxesDirectionCosines(double id0, double id1, double id2, double id3, double id4, double id5, double id6, double id7, double id8)
          Specify the direction cosines for the ResliceAxes (i.e. the first three elements of each of the first three columns of the ResliceAxes matrix).
 void setResliceAxesOrigin(double[] id0)
          Specify the origin for the ResliceAxes (i.e. the first three elements of the final column of the ResliceAxes matrix).
 void setResliceAxesOrigin(double id0, double id1, double id2)
          Specify the origin for the ResliceAxes (i.e. the first three elements of the final column of the ResliceAxes matrix).
 void setResliceTransform(vtkAbstractTransform id0)
          Set a transform to be applied to the resampling grid that has been defined via the ResliceAxes and the output Origin, Spacing and Extent.
 void setStencil(vtkImageStencilData id0)
          Use a stencil to limit the calculations to a specific region of the output.
 void setTransformInputSampling(int id0)
          Specify whether to transform the spacing, origin and extent of the Input (or the InformationInput) according to the direction cosines and origin of the ResliceAxes before applying them as the default output spacing, origin and extent.
 void setWrap(int id0)
          Turn on wrap-pad feature (default: off).
 void transformInputSamplingOff()
          Specify whether to transform the spacing, origin and extent of the Input (or the InformationInput) according to the direction cosines and origin of the ResliceAxes before applying them as the default output spacing, origin and extent.
 void transformInputSamplingOn()
          Specify whether to transform the spacing, origin and extent of the Input (or the InformationInput) according to the direction cosines and origin of the ResliceAxes before applying them as the default output spacing, origin and extent.
protected  void VTKCastInit()
           
 void VTKInit()
           
 void wrapOff()
          Turn on wrap-pad feature (default: off).
 void wrapOn()
          Turn on wrap-pad feature (default: off).
 
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

vtkImageReslice

public vtkImageReslice()

vtkImageReslice

protected vtkImageReslice(int dmy)
Method Detail

getThisImageReslice

public vtkImageReslice getThisImageReslice()

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

setResliceAxes

public void setResliceAxes(vtkMatrix4x4 id0)
This method is used to set up the axes for the output voxels. The output Spacing, Origin, and Extent specify the locations of the voxels within the coordinate system defined by the axes. The ResliceAxes are used most often to permute the data, e.g. to extract ZY or XZ slices of a volume as 2D XY images.

The first column of the matrix specifies the x-axis vector (the fourth element must be set to zero), the second column specifies the y-axis, and the third column the z-axis. The fourth column is the origin of the axes (the fourth element must be set to one).

An alternative to SetResliceAxes() is to use SetResliceAxesDirectionCosines() to set the directions of the axes and SetResliceAxesOrigin() to set the origin of the axes.


getResliceAxes

public vtkMatrix4x4 getResliceAxes()
This method is used to set up the axes for the output voxels. The output Spacing, Origin, and Extent specify the locations of the voxels within the coordinate system defined by the axes. The ResliceAxes are used most often to permute the data, e.g. to extract ZY or XZ slices of a volume as 2D XY images.

The first column of the matrix specifies the x-axis vector (the fourth element must be set to zero), the second column specifies the y-axis, and the third column the z-axis. The fourth column is the origin of the axes (the fourth element must be set to one).

An alternative to SetResliceAxes() is to use SetResliceAxesDirectionCosines() to set the directions of the axes and SetResliceAxesOrigin() to set the origin of the axes.


setResliceAxesDirectionCosines

public void setResliceAxesDirectionCosines(double id0,
                                           double id1,
                                           double id2,
                                           double id3,
                                           double id4,
                                           double id5,
                                           double id6,
                                           double id7,
                                           double id8)
Specify the direction cosines for the ResliceAxes (i.e. the first three elements of each of the first three columns of the ResliceAxes matrix). This will modify the current ResliceAxes matrix, or create a new matrix if none exists.


setResliceAxesDirectionCosines

public void setResliceAxesDirectionCosines(double[] id0,
                                           double[] id1,
                                           double[] id2)
Specify the direction cosines for the ResliceAxes (i.e. the first three elements of each of the first three columns of the ResliceAxes matrix). This will modify the current ResliceAxes matrix, or create a new matrix if none exists.


setResliceAxesDirectionCosines

public void setResliceAxesDirectionCosines(double[] id0)
Specify the direction cosines for the ResliceAxes (i.e. the first three elements of each of the first three columns of the ResliceAxes matrix). This will modify the current ResliceAxes matrix, or create a new matrix if none exists.


getResliceAxesDirectionCosines

public void getResliceAxesDirectionCosines(double[] id0,
                                           double[] id1,
                                           double[] id2)
Specify the direction cosines for the ResliceAxes (i.e. the first three elements of each of the first three columns of the ResliceAxes matrix). This will modify the current ResliceAxes matrix, or create a new matrix if none exists.


getResliceAxesDirectionCosines

public void getResliceAxesDirectionCosines(double[] id0)
Specify the direction cosines for the ResliceAxes (i.e. the first three elements of each of the first three columns of the ResliceAxes matrix). This will modify the current ResliceAxes matrix, or create a new matrix if none exists.


getResliceAxesDirectionCosines

public double[] getResliceAxesDirectionCosines()
Specify the direction cosines for the ResliceAxes (i.e. the first three elements of each of the first three columns of the ResliceAxes matrix). This will modify the current ResliceAxes matrix, or create a new matrix if none exists.


setResliceAxesOrigin

public void setResliceAxesOrigin(double id0,
                                 double id1,
                                 double id2)
Specify the origin for the ResliceAxes (i.e. the first three elements of the final column of the ResliceAxes matrix). This will modify the current ResliceAxes matrix, or create new matrix if none exists.


setResliceAxesOrigin

public void setResliceAxesOrigin(double[] id0)
Specify the origin for the ResliceAxes (i.e. the first three elements of the final column of the ResliceAxes matrix). This will modify the current ResliceAxes matrix, or create new matrix if none exists.


getResliceAxesOrigin

public void getResliceAxesOrigin(double[] id0)
Specify the origin for the ResliceAxes (i.e. the first three elements of the final column of the ResliceAxes matrix). This will modify the current ResliceAxes matrix, or create new matrix if none exists.


getResliceAxesOrigin

public double[] getResliceAxesOrigin()
Specify the origin for the ResliceAxes (i.e. the first three elements of the final column of the ResliceAxes matrix). This will modify the current ResliceAxes matrix, or create new matrix if none exists.


setResliceTransform

public void setResliceTransform(vtkAbstractTransform id0)
Set a transform to be applied to the resampling grid that has been defined via the ResliceAxes and the output Origin, Spacing and Extent. Note that applying a transform to the resampling grid (which lies in the output coordinate system) is equivalent to applying the inverse of that transform to the input volume. Nonlinear transforms such as vtkGridTransform and vtkThinPlateSplineTransform can be used here.


getResliceTransform

public vtkAbstractTransform getResliceTransform()
Set a transform to be applied to the resampling grid that has been defined via the ResliceAxes and the output Origin, Spacing and Extent. Note that applying a transform to the resampling grid (which lies in the output coordinate system) is equivalent to applying the inverse of that transform to the input volume. Nonlinear transforms such as vtkGridTransform and vtkThinPlateSplineTransform can be used here.


setInformationInput

public void setInformationInput(vtkImageData id0)
Set a vtkImageData from which the default Spacing, Origin, and WholeExtent of the output will be copied. The spacing, origin, and extent will be permuted according to the ResliceAxes. Any values set via SetOutputSpacing, SetOutputOrigin, and SetOutputExtent will override these values. By default, the Spacing, Origin, and WholeExtent of the Input are used.


getInformationInput

public vtkImageData getInformationInput()
Set a vtkImageData from which the default Spacing, Origin, and WholeExtent of the output will be copied. The spacing, origin, and extent will be permuted according to the ResliceAxes. Any values set via SetOutputSpacing, SetOutputOrigin, and SetOutputExtent will override these values. By default, the Spacing, Origin, and WholeExtent of the Input are used.


setTransformInputSampling

public void setTransformInputSampling(int id0)
Specify whether to transform the spacing, origin and extent of the Input (or the InformationInput) according to the direction cosines and origin of the ResliceAxes before applying them as the default output spacing, origin and extent. Default: On.


transformInputSamplingOn

public void transformInputSamplingOn()
Specify whether to transform the spacing, origin and extent of the Input (or the InformationInput) according to the direction cosines and origin of the ResliceAxes before applying them as the default output spacing, origin and extent. Default: On.


transformInputSamplingOff

public void transformInputSamplingOff()
Specify whether to transform the spacing, origin and extent of the Input (or the InformationInput) according to the direction cosines and origin of the ResliceAxes before applying them as the default output spacing, origin and extent. Default: On.


getTransformInputSampling

public int getTransformInputSampling()
Specify whether to transform the spacing, origin and extent of the Input (or the InformationInput) according to the direction cosines and origin of the ResliceAxes before applying them as the default output spacing, origin and extent. Default: On.


setAutoCropOutput

public void setAutoCropOutput(int id0)
Turn this on if you want to guarantee that the extent of the output will be large enough to ensure that none of the data will be cropped.


autoCropOutputOn

public void autoCropOutputOn()
Turn this on if you want to guarantee that the extent of the output will be large enough to ensure that none of the data will be cropped.


autoCropOutputOff

public void autoCropOutputOff()
Turn this on if you want to guarantee that the extent of the output will be large enough to ensure that none of the data will be cropped.


getAutoCropOutput

public int getAutoCropOutput()
Turn this on if you want to guarantee that the extent of the output will be large enough to ensure that none of the data will be cropped.


setWrap

public void setWrap(int id0)
Turn on wrap-pad feature (default: off).


getWrap

public int getWrap()
Turn on wrap-pad feature (default: off).


wrapOn

public void wrapOn()
Turn on wrap-pad feature (default: off).


wrapOff

public void wrapOff()
Turn on wrap-pad feature (default: off).


setMirror

public void setMirror(int id0)
Turn on mirror-pad feature (default: off). This will override the wrap-pad.


getMirror

public int getMirror()
Turn on mirror-pad feature (default: off). This will override the wrap-pad.


mirrorOn

public void mirrorOn()
Turn on mirror-pad feature (default: off). This will override the wrap-pad.


mirrorOff

public void mirrorOff()
Turn on mirror-pad feature (default: off). This will override the wrap-pad.


setInterpolationMode

public void setInterpolationMode(int id0)
Set interpolation mode (default: nearest neighbor).


getInterpolationMode

public int getInterpolationMode()
Set interpolation mode (default: nearest neighbor).


setInterpolationModeToNearestNeighbor

public void setInterpolationModeToNearestNeighbor()
Set interpolation mode (default: nearest neighbor).


setInterpolationModeToLinear

public void setInterpolationModeToLinear()
Set interpolation mode (default: nearest neighbor).


setInterpolationModeToCubic

public void setInterpolationModeToCubic()
Set interpolation mode (default: nearest neighbor).


getInterpolationModeAsString

public java.lang.String getInterpolationModeAsString()
Set interpolation mode (default: nearest neighbor).


setOptimization

public void setOptimization(int id0)
Turn on and off optimizations (default on, they should only be turned off for testing purposes).


getOptimization

public int getOptimization()
Turn on and off optimizations (default on, they should only be turned off for testing purposes).


optimizationOn

public void optimizationOn()
Turn on and off optimizations (default on, they should only be turned off for testing purposes).


optimizationOff

public void optimizationOff()
Turn on and off optimizations (default on, they should only be turned off for testing purposes).


setBackgroundColor

public void setBackgroundColor(double id0,
                               double id1,
                               double id2,
                               double id3)
Set the background color (for multi-component images).


setBackgroundColor

public void setBackgroundColor(double[] id0)
Set the background color (for multi-component images).


getBackgroundColor

public double[] getBackgroundColor()
Set the background color (for multi-component images).


setBackgroundLevel

public void setBackgroundLevel(double id0)
Set background grey level (for single-component images).


getBackgroundLevel

public double getBackgroundLevel()
Set background grey level (for single-component images).


setOutputSpacing

public void setOutputSpacing(double id0,
                             double id1,
                             double id2)
Set the voxel spacing for the output data. The default output spacing is the input spacing permuted through the ResliceAxes.


setOutputSpacing

public void setOutputSpacing(double[] id0)
Set the voxel spacing for the output data. The default output spacing is the input spacing permuted through the ResliceAxes.


getOutputSpacing

public double[] getOutputSpacing()
Set the voxel spacing for the output data. The default output spacing is the input spacing permuted through the ResliceAxes.


setOutputSpacingToDefault

public void setOutputSpacingToDefault()
Set the voxel spacing for the output data. The default output spacing is the input spacing permuted through the ResliceAxes.


setOutputOrigin

public void setOutputOrigin(double id0,
                            double id1,
                            double id2)
Set the origin for the output data. The default output origin is the input origin permuted through the ResliceAxes.


setOutputOrigin

public void setOutputOrigin(double[] id0)
Set the origin for the output data. The default output origin is the input origin permuted through the ResliceAxes.


getOutputOrigin

public double[] getOutputOrigin()
Set the origin for the output data. The default output origin is the input origin permuted through the ResliceAxes.


setOutputOriginToDefault

public void setOutputOriginToDefault()
Set the origin for the output data. The default output origin is the input origin permuted through the ResliceAxes.


setOutputExtent

public void setOutputExtent(int id0,
                            int id1,
                            int id2,
                            int id3,
                            int id4,
                            int id5)
Set the extent for the output data. The default output extent is the input extent permuted through the ResliceAxes.


setOutputExtent

public void setOutputExtent(int[] id0)
Set the extent for the output data. The default output extent is the input extent permuted through the ResliceAxes.


getOutputExtent

public int[] getOutputExtent()
Set the extent for the output data. The default output extent is the input extent permuted through the ResliceAxes.


setOutputExtentToDefault

public void setOutputExtentToDefault()
Set the extent for the output data. The default output extent is the input extent permuted through the ResliceAxes.


setOutputDimensionality

public void setOutputDimensionality(int id0)
Force the dimensionality of the output to either 1, 2, 3 or 0 (default: 3). If the dimensionality is 2D, then the Z extent of the output is forced to (0,0) and the Z origin of the output is forced to 0.0 (i.e. the output extent is confined to the xy plane). If the dimensionality is 1D, the output extent is confined to the x axis. For 0D, the output extent consists of a single voxel at (0,0,0).


getOutputDimensionality

public int getOutputDimensionality()
Force the dimensionality of the output to either 1, 2, 3 or 0 (default: 3). If the dimensionality is 2D, then the Z extent of the output is forced to (0,0) and the Z origin of the output is forced to 0.0 (i.e. the output extent is confined to the xy plane). If the dimensionality is 1D, the output extent is confined to the x axis. For 0D, the output extent consists of a single voxel at (0,0,0).


getMTime

public int getMTime()
When determining the modified time of the filter, this check the modified time of the transform and matrix.

Overrides:
getMTime in class vtkObject

setInterpolate

public void setInterpolate(int id0)
Convenient methods for switching between nearest-neighbor and linear interpolation. InterpolateOn() is equivalent to SetInterpolationModeToLinear() and InterpolateOff() is equivalent to SetInterpolationModeToNearestNeighbor(). You should not use these methods if you use the SetInterpolationMode methods.


interpolateOn

public void interpolateOn()
Convenient methods for switching between nearest-neighbor and linear interpolation. InterpolateOn() is equivalent to SetInterpolationModeToLinear() and InterpolateOff() is equivalent to SetInterpolationModeToNearestNeighbor(). You should not use these methods if you use the SetInterpolationMode methods.


interpolateOff

public void interpolateOff()
Convenient methods for switching between nearest-neighbor and linear interpolation. InterpolateOn() is equivalent to SetInterpolationModeToLinear() and InterpolateOff() is equivalent to SetInterpolationModeToNearestNeighbor(). You should not use these methods if you use the SetInterpolationMode methods.


getInterpolate

public int getInterpolate()
Convenient methods for switching between nearest-neighbor and linear interpolation. InterpolateOn() is equivalent to SetInterpolationModeToLinear() and InterpolateOff() is equivalent to SetInterpolationModeToNearestNeighbor(). You should not use these methods if you use the SetInterpolationMode methods.


setStencil

public void setStencil(vtkImageStencilData id0)
Use a stencil to limit the calculations to a specific region of the output. Portions of the output that are 'outside' the stencil will be cleared to the background color.


getStencil

public vtkImageStencilData getStencil()
Use a stencil to limit the calculations to a specific region of the output. Portions of the output that are 'outside' the stencil will be cleared to the background color.


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.