26 #ifndef vtkImageWriter_h
27 #define vtkImageWriter_h
29 #include "vtkIOImageModule.h"
45 vtkSetStringMacro(FileName);
55 vtkSetStringMacro(FilePrefix);
63 vtkSetStringMacro(FilePattern);
74 vtkGetMacro(FileDimensionality,
int);
111 int extent[6],
int wExtent[6]);
Generic algorithm superclass for image algs.
topologically and geometrically regular array of data
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called in response to a REQUEST_DATA request from the executive.
virtual void RecursiveWrite(int dim, vtkImageData *region, vtkInformation *inInfo, ofstream *file)
static vtkImageWriter * New()
virtual void WriteFile(ofstream *file, vtkImageData *data, int extent[6], int wExtent[6])
virtual void RecursiveWrite(int dim, vtkImageData *cache, vtkImageData *data, vtkInformation *inInfo, ofstream *file)
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
virtual void Write()
The main interface which triggers the writer to start.
virtual void WriteFileTrailer(ofstream *, vtkImageData *)
vtkImageData * GetInput()
Set/Get the input object from the image pipeline.
virtual void WriteFileHeader(ofstream *, vtkImageData *, int[6])
a simple class to control print indentation
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.