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