24 #ifndef vtkNIFTIImageWriter_h
25 #define vtkNIFTIImageWriter_h
27 #include "vtkIOImageModule.h"
30 VTK_ABI_NAMESPACE_BEGIN
57 vtkSetMacro(NIFTIVersion,
int);
58 vtkGetMacro(NIFTIVersion,
int);
66 vtkSetStringMacro(Description);
67 vtkGetStringMacro(Description);
77 vtkGetMacro(TimeDimension,
int);
78 vtkSetMacro(TimeDimension,
int);
79 vtkGetMacro(TimeSpacing,
double);
80 vtkSetMacro(TimeSpacing,
double);
92 vtkSetMacro(RescaleSlope,
double);
93 vtkGetMacro(RescaleSlope,
double);
94 vtkSetMacro(RescaleIntercept,
double);
95 vtkGetMacro(RescaleIntercept,
double);
106 vtkGetMacro(PlanarRGB,
bool);
107 vtkSetMacro(PlanarRGB,
bool);
108 vtkBooleanMacro(PlanarRGB,
bool);
117 vtkSetMacro(QFac,
double);
118 vtkGetMacro(QFac,
double);
174 static char* ReplaceExtension(
const char* filename,
const char* ext1,
const char* ext2);
229 VTK_ABI_NAMESPACE_END
230 #endif // vtkNIFTIImageWriter_h
represent and manipulate 4x4 transformation matrices
bool PlanarRGB
Use planar RGB instead of the default (packed).
int TimeDimension
The size and spacing of the Time dimension to use in the file.
int NIFTIVersion
The header information.
vtkNIFTIImageHeader * NIFTIHeader
The header information.
vtkMatrix4x4 * SFormMatrix
The orientation matrices for the NIFTI file.
double QFac
Is -1 if VTK slice order is opposite to NIFTI slice order, +1 otherwise.
double RescaleSlope
Information for rescaling data to quantitative units.
vtkMatrix4x4 * QFormMatrix
The orientation matrices for the NIFTI file.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
double RescaleIntercept
Information for rescaling data to quantitative units.
static vtkImageWriter * New()
vtkNIFTIImageHeader * OwnHeader
The header information.
char * Description
A description of how the file was produced.
vtkMatrix4x4 * GetQFormMatrix()
Write NIfTI-1 and NIfTI-2 medical image files.
double TimeSpacing
The size and spacing of the Time dimension to use in the file.
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called in response to a REQUEST_DATA request from the executive.
vtkMatrix4x4 * GetSFormMatrix()