vtk
Class vtkImageActor

java.lang.Object
  extended byvtk.vtkObjectBase
      extended byvtk.vtkObject
          extended byvtk.vtkProp
              extended byvtk.vtkImageActor
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
vtkOpenGLImageActor

public class vtkImageActor
extends vtkProp
implements java.io.Serializable

vtkImageActor - draw an image (data & properties) in a rendered 3D scene. vtkImageActor is used to render an image in a 3D scene. The image is placed at the origin of the image, and its size is controlled by the image dimensions and image spacing. The orientation of the image is orthogonal to one of the x-y-z axes depending on which plane the image is defined in. vtkImageActor duplicates the functionality of combinations of other VTK classes in a convenient, single class. JavaBean wrapper for vtkImageActor object.

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

Field Summary
protected  java.beans.PropertyChangeSupport changes
           
 
Fields inherited from class vtk.vtkObjectBase
vtkId
 
Constructor Summary
  vtkImageActor()
           
protected vtkImageActor(int dmy)
           
 
Method Summary
 double[] getBounds()
          Get the bounds of this image actor.
 void getBounds(double[] id0)
          Get the bounds of this image actor.
 java.lang.String getClassName()
          Return the class name as a string.
 int[] getDisplayExtent()
          Get the bounds of this image actor.
 void getDisplayExtent(int[] id0)
          The image extent is generally set explicitly, but if not set it will be determined from the input image data.
 vtkImageData getInput()
          Set/Get the image data input for the image actor.
 int getInterpolate()
          Turn on/off linear interpolation of the image when rendering.
 int getSliceNumber()
          Return a slice number computed from the display extent.
 vtkImageActor getThisImageActor()
           
 int getWholeZMax()
           
 int getWholeZMin()
           
 int getZSlice()
           
 void interpolateOff()
          Turn on/off linear interpolation of the image when rendering.
 void interpolateOn()
          Turn on/off linear interpolation of the image when rendering.
 int isA(java.lang.String id0)
          Return 1 if this class is the same type of (or a subclass of) the named class.
 void setDisplayExtent(int[] id0)
          The image extent is generally set explicitly, but if not set it will be determined from the input image data.
 void setDisplayExtent(int id0, int id1, int id2, int id3, int id4, int id5)
          The image extent is generally set explicitly, but if not set it will be determined from the input image data.
 void setInput(vtkImageData id0)
          Set/Get the image data input for the image actor.
 void setInterpolate(int id0)
          Turn on/off linear interpolation of the image when rendering.
 void setZSlice(int id0)
          Set/Get the current slice number.
protected  void VTKCastInit()
           
 void VTKInit()
           
 
Methods inherited from class vtk.vtkProp
dragableOff, dragableOn, getActors, getActors2D, getDragable, getMatrix, getNextPath, getNumberOfPaths, getPickable, getRedrawMTime, getThisProp, getVisibility, getVolumes, initPathTraversal, pick, pickableOff, pickableOn, pokeMatrix, setDragable, setPickable, setVisibility, shallowCopy, visibilityOff, visibilityOn
 
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

changes

protected java.beans.PropertyChangeSupport changes
Constructor Detail

vtkImageActor

public vtkImageActor()

vtkImageActor

protected vtkImageActor(int dmy)
Method Detail

getThisImageActor

public vtkImageActor getThisImageActor()

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 vtkProp

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 vtkProp

setInput

public void setInput(vtkImageData id0)
Set/Get the image data input for the image actor.


getInput

public vtkImageData getInput()
Set/Get the image data input for the image actor.


getInterpolate

public int getInterpolate()
Turn on/off linear interpolation of the image when rendering.


setInterpolate

public void setInterpolate(int id0)
Turn on/off linear interpolation of the image when rendering.


interpolateOn

public void interpolateOn()
Turn on/off linear interpolation of the image when rendering.


interpolateOff

public void interpolateOff()
Turn on/off linear interpolation of the image when rendering.


setDisplayExtent

public void setDisplayExtent(int[] id0)
The image extent is generally set explicitly, but if not set it will be determined from the input image data.


setDisplayExtent

public void setDisplayExtent(int id0,
                             int id1,
                             int id2,
                             int id3,
                             int id4,
                             int id5)
The image extent is generally set explicitly, but if not set it will be determined from the input image data.


getDisplayExtent

public void getDisplayExtent(int[] id0)
The image extent is generally set explicitly, but if not set it will be determined from the input image data.


getDisplayExtent

public int[] getDisplayExtent()
Get the bounds of this image actor. Either copy the bounds into a user provided array or return a pointer to an array. In either case the boudns is expressed as a 6-vector (xmin,xmax, ymin,ymax, zmin,zmax).


getBounds

public double[] getBounds()
Get the bounds of this image actor. Either copy the bounds into a user provided array or return a pointer to an array. In either case the boudns is expressed as a 6-vector (xmin,xmax, ymin,ymax, zmin,zmax).


getBounds

public void getBounds(double[] id0)
Get the bounds of this image actor. Either copy the bounds into a user provided array or return a pointer to an array. In either case the boudns is expressed as a 6-vector (xmin,xmax, ymin,ymax, zmin,zmax).


getSliceNumber

public int getSliceNumber()
Return a slice number computed from the display extent.


setZSlice

public void setZSlice(int id0)
Set/Get the current slice number. The axis Z in ZSlice does not necessarily have any relation to the z axis of the data on disk. It is simply the axis orthogonal to the x,y, display plane. GetWholeZMax and Min are convenience methods for obtaining the number of slices that can be displayed. Again the number of slices is in reference to the display z axis, which is not necessarily the z axis on disk. (due to reformatting etc)


getZSlice

public int getZSlice()

getWholeZMin

public int getWholeZMin()

getWholeZMax

public int getWholeZMax()

VTKInit

public void VTKInit()
Overrides:
VTKInit in class vtkObject

VTKCastInit

protected void VTKCastInit()
Overrides:
VTKCastInit in class vtkProp


Copyright © 2004 Sydney ViSLAB. All Rights Reserved.