|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object vtk.vtkObjectBase vtk.vtkObject vtk.vtkProcessObject vtk.vtkSource vtk.vtkImageSource vtk.vtkVolumeReader vtk.vtkVolume16Reader
vtkVolume16Reader - read 16 bit image files. vtkVolume16Reader is a source object that reads 16 bit image files. Volume16Reader creates structured point datasets. The dimension of the dataset depends upon the number of files read. Reading a single file results in a 2D image, while reading more than one file results in a 3D volume. File names are created using FilePattern and FilePrefix as follows: sprintf (filename, FilePattern, FilePrefix, number); where number is in the range ImageRange[0] to ImageRange[1]. If ImageRange[1] <= ImageRange[0], then slice number ImageRange[0] is read. Thus to read an image set ImageRange[0] = ImageRange[1] = slice number. The default behavior is to read a single file (i.e., image slice 1). The DataMask instance variable is used to read data files with imbedded connectivity or segmentation information. For example, some data has the high order bit set to indicate connected surface. The DataMask allows you to select this data. Other important ivars include HeaderSize, which allows you to skip over initial info, and SwapBytes, which turns on/off byte swapping. The Transform instance variable specifies a permutation transformation to map slice space into world space. vtkImageReader has replaced the functionality of this class and should be used instead. JavaBean wrapper for vtkVolume16Reader object.
vtkSliceCubes
,
vtkMarchingCubes
,
Serialized FormField Summary | |
protected java.beans.PropertyChangeSupport |
changes
|
Fields inherited from class vtk.vtkObjectBase |
vtkId |
Constructor Summary | |
|
vtkVolume16Reader()
|
protected |
vtkVolume16Reader(int dmy)
|
Method Summary | |
java.lang.String |
getClassName()
Return the class name as a string. |
int |
getDataByteOrder()
These methods should be used instead of the SwapBytes methods. |
java.lang.String |
getDataByteOrderAsString()
These methods should be used instead of the SwapBytes methods. |
int[] |
getDataDimensions()
Specify the dimensions for the data. |
int |
getDataMask()
Specify a mask used to eliminate data in the data file (e.g., connectivity bits). |
int |
getHeaderSize()
Specify the number of bytes to seek over at start of image. |
vtkImageData |
getImage(int id0)
Other objects make use of these methods |
int |
getSwapBytes()
Turn on/off byte swapping. |
vtkVolume16Reader |
getThisVolume16Reader()
|
vtkTransform |
getTransform()
Set/Get transformation matrix to transform the data from slice space into world space. |
int |
isA(java.lang.String id0)
Return 1 if this class is the same type of (or a subclass of) the named class. |
void |
setDataByteOrder(int id0)
These methods should be used instead of the SwapBytes methods. |
void |
setDataByteOrderToBigEndian()
These methods should be used instead of the SwapBytes methods. |
void |
setDataByteOrderToLittleEndian()
These methods should be used instead of the SwapBytes methods. |
void |
setDataDimensions(int[] id0)
Specify the dimensions for the data. |
void |
setDataDimensions(int id0,
int id1)
Specify the dimensions for the data. |
void |
setDataMask(int id0)
Specify a mask used to eliminate data in the data file (e.g., connectivity bits). |
void |
setHeaderSize(int id0)
Specify the number of bytes to seek over at start of image. |
void |
setSwapBytes(int id0)
Turn on/off byte swapping. |
void |
setTransform(vtkTransform id0)
Set/Get transformation matrix to transform the data from slice space into world space. |
void |
swapBytesOff()
Turn on/off byte swapping. |
void |
swapBytesOn()
Turn on/off byte swapping. |
protected void |
VTKCastInit()
|
void |
VTKInit()
|
Methods inherited from class vtk.vtkVolumeReader |
getDataOrigin, getDataSpacing, getFilePattern, getFilePrefix, getImageRange, getThisVolumeReader, setDataOrigin, setDataOrigin, setDataSpacing, setDataSpacing, setFilePattern, setFilePrefix, setImageRange, setImageRange |
Methods inherited from class vtk.vtkImageSource |
getOutput, getOutput, getThisImageSource, setOutput |
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 |
protected java.beans.PropertyChangeSupport changes
Constructor Detail |
public vtkVolume16Reader()
protected vtkVolume16Reader(int dmy)
Method Detail |
public vtkVolume16Reader getThisVolume16Reader()
public java.lang.String getClassName()
vtkObjectBase
getClassName
in class vtkVolumeReader
public int isA(java.lang.String id0)
vtkObjectBase
isA
in class vtkVolumeReader
public void setDataDimensions(int id0, int id1)
public void setDataDimensions(int[] id0)
public int[] getDataDimensions()
public void setDataMask(int id0)
public int getDataMask()
public void setHeaderSize(int id0)
public int getHeaderSize()
public void setDataByteOrderToBigEndian()
public void setDataByteOrderToLittleEndian()
public int getDataByteOrder()
public void setDataByteOrder(int id0)
public java.lang.String getDataByteOrderAsString()
public void setSwapBytes(int id0)
public int getSwapBytes()
public void swapBytesOn()
public void swapBytesOff()
public void setTransform(vtkTransform id0)
public vtkTransform getTransform()
public vtkImageData getImage(int id0)
getImage
in class vtkVolumeReader
public void VTKInit()
VTKInit
in class vtkObject
protected void VTKCastInit()
VTKCastInit
in class vtkVolumeReader
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |