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