23#ifndef vtkJSONImageWriter_h
24#define vtkJSONImageWriter_h
26#include "vtkIOImageModule.h"
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.
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.