#include <vtkImageReader2.h>
Inheritance diagram for vtkImageReader2:
Public Methods | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
void | SetHeaderSize (int size) |
ifstream * | GetFile () |
virtual unsigned long * | GetDataIncrements () |
virtual void | GetDataIncrements (unsigned long data[4]) |
void | OpenFile () |
void | SeekFile (int i, int j, int k) |
void | SetFileName (const char *) |
virtual char * | GetFileName () |
void | SetFilePrefix (const char *) |
virtual char * | GetFilePrefix () |
void | SetFilePattern (const char *) |
virtual char * | GetFilePattern () |
void | SetDataScalarType (int type) |
void | SetDataScalarTypeToFloat () |
void | SetDataScalarTypeToDouble () |
void | SetDataScalarTypeToInt () |
void | SetDataScalarTypeToShort () |
void | SetDataScalarTypeToUnsignedShort () |
void | SetDataScalarTypeToUnsignedChar () |
virtual int | GetDataScalarType () |
virtual void | SetNumberOfScalarComponents (int) |
virtual int | GetNumberOfScalarComponents () |
virtual void | SetDataExtent (int, int, int, int, int, int) |
virtual void | SetDataExtent (int[6]) |
virtual int * | GetDataExtent () |
virtual void | GetDataExtent (int &, int &, int &, int &, int &, int &) |
virtual void | GetDataExtent (int[6]) |
virtual void | SetFileDimensionality (int) |
int | GetFileDimensionality () |
virtual void | SetDataSpacing (float, float, float) |
virtual void | SetDataSpacing (float[3]) |
virtual float * | GetDataSpacing () |
virtual void | GetDataSpacing (float &, float &, float &) |
virtual void | GetDataSpacing (float[3]) |
virtual void | SetDataOrigin (float, float, float) |
virtual void | SetDataOrigin (float[3]) |
virtual float * | GetDataOrigin () |
virtual void | GetDataOrigin (float &, float &, float &) |
virtual void | GetDataOrigin (float[3]) |
int | GetHeaderSize () |
int | GetHeaderSize (int slice) |
void | SetDataByteOrderToBigEndian () |
void | SetDataByteOrderToLittleEndian () |
int | GetDataByteOrder () |
void | SetDataByteOrder (int) |
const char * | GetDataByteOrderAsString () |
virtual void | SetSwapBytes (int) |
int | GetSwapBytes () |
virtual void | SwapBytesOn () |
virtual void | SwapBytesOff () |
virtual void | FileLowerLeftOn () |
virtual void | FileLowerLeftOff () |
virtual int | GetFileLowerLeft () |
virtual void | SetFileLowerLeft (int) |
void | ComputeInternalFileName (int slice) |
virtual char * | GetInternalFileName () |
Static Public Methods | |
vtkImageReader2 * | New () |
int | IsTypeOf (const char *type) |
vtkImageReader2 * | SafeDownCast (vtkObject *o) |
Protected Methods | |
vtkImageReader2 () | |
~vtkImageReader2 () | |
virtual void | ExecuteInformation () |
virtual void | ExecuteData (vtkDataObject *data) |
virtual void | ComputeDataIncrements () |
Protected Attributes | |
char * | InternalFileName |
char * | FileName |
char * | FilePrefix |
char * | FilePattern |
int | NumberOfScalarComponents |
int | FileLowerLeft |
ifstream * | File |
unsigned long | DataIncrements [4] |
int | DataExtent [6] |
int | SwapBytes |
int | FileDimensionality |
int | HeaderSize |
int | DataScalarType |
int | ManualHeaderSize |
float | DataSpacing [3] |
float | DataOrigin [3] |
vtkImageReader2 is a slightly simplified version of vtkImageReader, it is a good superclass for streaming readers
Definition at line 60 of file vtkImageReader2.h.
|
|
|
|
|
Instantiate object with no start, end, or progress methods. Reimplemented from vtkImageSource. Reimplemented in vtkGESignaReader, vtkJPEGReader, and vtkPNGReader. |
|
Return the class name as a string. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkImageSource. Reimplemented in vtkGESignaReader, vtkJPEGReader, and vtkPNGReader. |
|
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkImageSource. Reimplemented in vtkGESignaReader, vtkJPEGReader, and vtkPNGReader. |
|
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 vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkImageSource. Reimplemented in vtkGESignaReader, vtkJPEGReader, and vtkPNGReader. |
|
Will cast the supplied object to vtkObject* is this is a safe operation (i.e., a safe downcast); otherwise NULL is returned. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkImageSource. Reimplemented in vtkGESignaReader, vtkJPEGReader, and vtkPNGReader. |
|
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes. Reimplemented from vtkSource. |
|
Specify file name for the image file. You should specify either a FileName or a FilePrefix. Use FilePrefix if the data is stored in multiple files. |
|
Specify file name for the image file. You should specify either a FileName or a FilePrefix. Use FilePrefix if the data is stored in multiple files. |
|
Specify file prefix for the image file(s).You should specify either a FileName or FilePrefix. Use FilePrefix if the data is stored in multiple files. |
|
Specify file prefix for the image file(s).You should specify either a FileName or FilePrefix. Use FilePrefix if the data is stored in multiple files. |
|
The sprintf format used to build filename from FilePrefix and number. |
|
The sprintf format used to build filename from FilePrefix and number. |
|
Set the data type of pixels in the file. If you want the output scalar type to have a different value, set it after this method is called. |
|
Set the data type of pixels in the file. If you want the output scalar type to have a different value, set it after this method is called. Definition at line 94 of file vtkImageReader2.h. |
|
Set the data type of pixels in the file. If you want the output scalar type to have a different value, set it after this method is called. Definition at line 95 of file vtkImageReader2.h. |
|
Set the data type of pixels in the file. If you want the output scalar type to have a different value, set it after this method is called. Definition at line 96 of file vtkImageReader2.h. |
|
Set the data type of pixels in the file. If you want the output scalar type to have a different value, set it after this method is called. Definition at line 97 of file vtkImageReader2.h. |
|
Set the data type of pixels in the file. If you want the output scalar type to have a different value, set it after this method is called. Definition at line 98 of file vtkImageReader2.h. |
|
Set the data type of pixels in the file. If you want the output scalar type to have a different value, set it after this method is called. Definition at line 100 of file vtkImageReader2.h. |
|
Get the file format. Pixels are this type in the file. |
|
Set/Get the number of scalar components |
|
Set/Get the number of scalar components |
|
Get/Set the extent of the data on disk. |
|
Get/Set the extent of the data on disk. |
|
Get/Set the extent of the data on disk. |
|
Get/Set the extent of the data on disk. |
|
Get/Set the extent of the data on disk. |
|
The number of dimensions stored in a file. This defaults to two. |
|
The number of dimensions stored in a file. This defaults to two. Definition at line 124 of file vtkImageReader2.h. |
|
Set/Get the spacing of the data in the file. |
|
Set/Get the spacing of the data in the file. |
|
Set/Get the spacing of the data in the file. |
|
Set/Get the spacing of the data in the file. |
|
Set/Get the spacing of the data in the file. |
|
Set/Get the origin of the data (location of first pixel in the file). |
|
Set/Get the origin of the data (location of first pixel in the file). |
|
Set/Get the origin of the data (location of first pixel in the file). |
|
Set/Get the origin of the data (location of first pixel in the file). |
|
Set/Get the origin of the data (location of first pixel in the file). |
|
Get the size of the header computed by this object. |
|
Get the size of the header computed by this object. |
|
If there is a tail on the file, you want to explicitly set the header size. |
|
These methods should be used instead of the SwapBytes methods. They indicate the byte ordering of the file you are trying to read in. These methods will then either swap or not swap the bytes depending on the byte ordering of the machine it is being run on. For example, reading in a BigEndian file on a BigEndian machine will result in no swapping. Trying to read the same file on a LittleEndian machine will result in swapping. As a quick note most UNIX machines are BigEndian while PC's and VAX tend to be LittleEndian. So if the file you are reading in was generated on a VAX or PC, SetDataByteOrderToLittleEndian otherwise SetDataByteOrderToBigEndian. |
|
These methods should be used instead of the SwapBytes methods. They indicate the byte ordering of the file you are trying to read in. These methods will then either swap or not swap the bytes depending on the byte ordering of the machine it is being run on. For example, reading in a BigEndian file on a BigEndian machine will result in no swapping. Trying to read the same file on a LittleEndian machine will result in swapping. As a quick note most UNIX machines are BigEndian while PC's and VAX tend to be LittleEndian. So if the file you are reading in was generated on a VAX or PC, SetDataByteOrderToLittleEndian otherwise SetDataByteOrderToBigEndian. |
|
These methods should be used instead of the SwapBytes methods. They indicate the byte ordering of the file you are trying to read in. These methods will then either swap or not swap the bytes depending on the byte ordering of the machine it is being run on. For example, reading in a BigEndian file on a BigEndian machine will result in no swapping. Trying to read the same file on a LittleEndian machine will result in swapping. As a quick note most UNIX machines are BigEndian while PC's and VAX tend to be LittleEndian. So if the file you are reading in was generated on a VAX or PC, SetDataByteOrderToLittleEndian otherwise SetDataByteOrderToBigEndian. |
|
These methods should be used instead of the SwapBytes methods. They indicate the byte ordering of the file you are trying to read in. These methods will then either swap or not swap the bytes depending on the byte ordering of the machine it is being run on. For example, reading in a BigEndian file on a BigEndian machine will result in no swapping. Trying to read the same file on a LittleEndian machine will result in swapping. As a quick note most UNIX machines are BigEndian while PC's and VAX tend to be LittleEndian. So if the file you are reading in was generated on a VAX or PC, SetDataByteOrderToLittleEndian otherwise SetDataByteOrderToBigEndian. |
|
These methods should be used instead of the SwapBytes methods. They indicate the byte ordering of the file you are trying to read in. These methods will then either swap or not swap the bytes depending on the byte ordering of the machine it is being run on. For example, reading in a BigEndian file on a BigEndian machine will result in no swapping. Trying to read the same file on a LittleEndian machine will result in swapping. As a quick note most UNIX machines are BigEndian while PC's and VAX tend to be LittleEndian. So if the file you are reading in was generated on a VAX or PC, SetDataByteOrderToLittleEndian otherwise SetDataByteOrderToBigEndian. |
|
Set/Get the byte swapping to explicitly swap the bytes of a file. |
|
Set/Get the byte swapping to explicitly swap the bytes of a file. Definition at line 170 of file vtkImageReader2.h. |
|
Set/Get the byte swapping to explicitly swap the bytes of a file. |
|
Set/Get the byte swapping to explicitly swap the bytes of a file. |
|
Definition at line 175 of file vtkImageReader2.h. |
|
|
|
|
|
|
|
|
|
Set/Get whether the data comes from the file starting in the lower left corner or upper left corner. |
|
Set/Get whether the data comes from the file starting in the lower left corner or upper left corner. |
|
Set/Get whether the data comes from the file starting in the lower left corner or upper left corner. |
|
Set/Get whether the data comes from the file starting in the lower left corner or upper left corner. |
|
Set/Get the internal file name |
|
Set/Get the internal file name |
|
Reimplemented from vtkSource. Reimplemented in vtkGESignaReader, vtkJPEGReader, and vtkPNGReader. |
|
Reimplemented in vtkGESignaReader, vtkJPEGReader, and vtkPNGReader. |
|
|
|
Definition at line 200 of file vtkImageReader2.h. |
|
Definition at line 201 of file vtkImageReader2.h. |
|
Definition at line 202 of file vtkImageReader2.h. |
|
Definition at line 203 of file vtkImageReader2.h. |
|
Definition at line 204 of file vtkImageReader2.h. |
|
Definition at line 205 of file vtkImageReader2.h. |
|
Definition at line 207 of file vtkImageReader2.h. |
|
Definition at line 208 of file vtkImageReader2.h. |
|
Definition at line 209 of file vtkImageReader2.h. |
|
Definition at line 210 of file vtkImageReader2.h. |
|
Definition at line 212 of file vtkImageReader2.h. |
|
Definition at line 213 of file vtkImageReader2.h. |
|
Definition at line 214 of file vtkImageReader2.h. |
|
Definition at line 215 of file vtkImageReader2.h. |
|
Definition at line 217 of file vtkImageReader2.h. |
|
Definition at line 218 of file vtkImageReader2.h. |