#include <vtkImageWriter.h>
Inheritance diagram for vtkImageWriter:
vtkImageWriter writes images to files with any data type. The data type of the file is the same scalar type as the input. The dimensionality determines whether the data will be written in one or multiple files. This class is used as the superclass of most image writing classes such as vtkBMPWriter etc. It supports streaming.
Definition at line 44 of file vtkImageWriter.h.
Public Types | |
typedef vtkProcessObject | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | Write () |
void | DeleteFiles () |
void | SetFileName (const char *) |
virtual char * | GetFileName () |
void | SetFilePrefix (char *filePrefix) |
virtual char * | GetFilePrefix () |
void | SetFilePattern (const char *filePattern) |
virtual char * | GetFilePattern () |
virtual void | SetFileDimensionality (int) |
virtual int | GetFileDimensionality () |
virtual void | SetInput (vtkImageData *input) |
vtkImageData * | GetInput () |
Static Public Member Functions | |
vtkImageWriter * | New () |
int | IsTypeOf (const char *type) |
vtkImageWriter * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkImageWriter () | |
~vtkImageWriter () | |
virtual void | RecursiveWrite (int dim, vtkImageData *region, ofstream *file) |
virtual void | RecursiveWrite (int dim, vtkImageData *cache, vtkImageData *data, ofstream *file) |
virtual void | WriteFile (ofstream *file, vtkImageData *data, int extent[6]) |
virtual void | WriteFileHeader (ofstream *, vtkImageData *) |
virtual void | WriteFileTrailer (ofstream *, vtkImageData *) |
Protected Attributes | |
int | FileDimensionality |
char * | FilePrefix |
char * | FilePattern |
char * | FileName |
int | FileNumber |
int | FileLowerLeft |
char * | InternalFileName |
int | MinimumFileNumber |
int | MaximumFileNumber |
int | FilesDeleted |
|
Reimplemented from vtkProcessObject. Reimplemented in vtkBMPWriter, vtkJPEGWriter, vtkMetaImageWriter, vtkPNGWriter, vtkPNMWriter, vtkPostScriptWriter, vtkTIFFWriter, and vtkPImageWriter. Definition at line 48 of file vtkImageWriter.h. |
|
|
|
|
|
Create an object with Debug turned off, modified time initialized to zero, and reference counting on. Reimplemented from vtkAlgorithm. Reimplemented in vtkBMPWriter, vtkJPEGWriter, vtkMetaImageWriter, vtkPNGWriter, vtkPNMWriter, vtkPostScriptWriter, vtkTIFFWriter, and vtkPImageWriter. |
|
Reimplemented from vtkProcessObject. Reimplemented in vtkBMPWriter, vtkJPEGWriter, vtkMetaImageWriter, vtkPNGWriter, vtkPNMWriter, vtkPostScriptWriter, vtkTIFFWriter, and vtkPImageWriter. |
|
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 vtkTypeRevisionMacro found in vtkSetGet.h. Reimplemented from vtkProcessObject. Reimplemented in vtkBMPWriter, vtkJPEGWriter, vtkMetaImageWriter, vtkPNGWriter, vtkPNMWriter, vtkPostScriptWriter, vtkTIFFWriter, and vtkPImageWriter. |
|
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. Reimplemented from vtkProcessObject. Reimplemented in vtkBMPWriter, vtkJPEGWriter, vtkMetaImageWriter, vtkPNGWriter, vtkPNMWriter, vtkPostScriptWriter, vtkTIFFWriter, and vtkPImageWriter. |
|
Reimplemented from vtkProcessObject. Reimplemented in vtkBMPWriter, vtkJPEGWriter, vtkMetaImageWriter, vtkPNGWriter, vtkPNMWriter, vtkPostScriptWriter, vtkTIFFWriter, and vtkPImageWriter. |
|
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 vtkProcessObject. Reimplemented in vtkBMPWriter, vtkJPEGWriter, vtkMetaImageWriter, vtkPNGWriter, vtkPNMWriter, vtkPostScriptWriter, vtkTIFFWriter, and vtkPImageWriter. |
|
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. Reimplemented in vtkMetaImageWriter. |
|
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. Reimplemented in vtkMetaImageWriter. |
|
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. |
|
What dimension are the files to be written. Usually this is 2, or 3. If it is 2 and the input is a volume then the volume will be written as a series of 2d slices. |
|
What dimension are the files to be written. Usually this is 2, or 3. If it is 2 and the input is a volume then the volume will be written as a series of 2d slices. |
|
Set/Get the input object from the image pipeline. |
|
Set/Get the input object from the image pipeline. |
|
The main interface which triggers the writer to start. Reimplemented in vtkJPEGWriter, vtkMetaImageWriter, and vtkPNGWriter. |
|
|
|
Reimplemented in vtkPImageWriter. Referenced by vtkPImageWriter::RecursiveWrite(). |
|
Reimplemented in vtkPImageWriter. |
|
Reimplemented in vtkBMPWriter, vtkPNMWriter, vtkPostScriptWriter, and vtkTIFFWriter. |
|
Reimplemented in vtkBMPWriter, vtkPNMWriter, vtkPostScriptWriter, and vtkTIFFWriter. Definition at line 108 of file vtkImageWriter.h. |
|
Reimplemented in vtkPostScriptWriter, and vtkTIFFWriter. Definition at line 109 of file vtkImageWriter.h. |
|
Definition at line 96 of file vtkImageWriter.h. |
|
Definition at line 97 of file vtkImageWriter.h. |
|
Definition at line 98 of file vtkImageWriter.h. |
|
Definition at line 99 of file vtkImageWriter.h. |
|
Definition at line 100 of file vtkImageWriter.h. |
|
Definition at line 101 of file vtkImageWriter.h. |
|
Definition at line 102 of file vtkImageWriter.h. |
|
Definition at line 111 of file vtkImageWriter.h. |
|
Definition at line 112 of file vtkImageWriter.h. |
|
Definition at line 113 of file vtkImageWriter.h. |