Go to the documentation of this file.
36 #ifndef vtkNIFTIImageWriter_h
37 #define vtkNIFTIImageWriter_h
39 #include "vtkIOImageModule.h"
68 vtkSetMacro(NIFTIVersion,
int);
69 vtkGetMacro(NIFTIVersion,
int);
77 vtkSetStringMacro(Description);
78 vtkGetStringMacro(Description);
88 vtkGetMacro(TimeDimension,
int);
89 vtkSetMacro(TimeDimension,
int);
90 vtkGetMacro(TimeSpacing,
double);
91 vtkSetMacro(TimeSpacing,
double);
103 vtkSetMacro(RescaleSlope,
double);
104 vtkGetMacro(RescaleSlope,
double);
105 vtkSetMacro(RescaleIntercept,
double);
106 vtkGetMacro(RescaleIntercept,
double);
117 vtkGetMacro(PlanarRGB,
bool);
118 vtkSetMacro(PlanarRGB,
bool);
119 vtkBooleanMacro(PlanarRGB,
bool);
128 vtkSetMacro(QFac,
double);
129 vtkGetMacro(QFac,
double);
186 static char *ReplaceExtension(
187 const char *fname,
const char *ext1,
const char *ext2);
242 #endif // vtkNIFTIImageWriter_h
double QFac
Is -1 if VTK slice order is opposite to NIFTI slice order, +1 otherwise.
vtkMatrix4x4 * SFormMatrix
int TimeDimension
The size and spacing of the Time dimension to use in the file.
char * Description
A description of how the file was produced.
vtkMatrix4x4 * GetQFormMatrix()
vtkMatrix4x4 * QFormMatrix
The orientation matrices for the NIFTI file.
a simple class to control print indentation
represent and manipulate 4x4 transformation matrices
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkNIFTIImageHeader * OwnHeader
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called in response to a REQUEST_DATA request from the executive.
double RescaleIntercept
Information for rescaling data to quantitative units.
bool PlanarRGB
Use planar RGB instead of the default (packed).
static vtkImageWriter * New()
vtkNIFTIImageHeader * NIFTIHeader
The header information.
Write NIfTI-1 and NIfTI-2 medical image files.
vtkMatrix4x4 * GetSFormMatrix()