23 #ifndef vtkJSONImageWriter_h
24 #define vtkJSONImageWriter_h
26 #include "vtkIOImageModule.h"
40 vtkSetStringMacro(FileName);
41 vtkGetStringMacro(FileName);
48 vtkSetStringMacro(ArrayName);
49 vtkGetStringMacro(ArrayName);
56 vtkSetMacro(Slice,
int);
57 vtkGetMacro(Slice,
int);
Generic algorithm superclass for image algs.
a simple class to control print indentation
Writes vtkImageData to a JSON file.
~vtkJSONImageWriter() override
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called in response to a REQUEST_DATA request from the executive.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual void Write()
The main interface which triggers the writer to start.
static vtkJSONImageWriter * New()