36 #ifndef vtkNIFTIImageWriter_h
37 #define vtkNIFTIImageWriter_h
39 #include "vtkIOImageModule.h"
69 vtkGetMacro(NIFTIVersion,
int);
77 vtkSetStringMacro(Description);
88 vtkGetMacro(TimeDimension,
int);
90 vtkGetMacro(TimeSpacing,
double);
104 vtkGetMacro(RescaleSlope,
double);
106 vtkGetMacro(RescaleIntercept,
double);
117 vtkGetMacro(PlanarRGB,
bool);
129 vtkGetMacro(QFac,
double);
186 static char *ReplaceExtension(
187 const char *fname,
const char *ext1,
const char *ext2);
242 #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.
a simple class to control print indentation
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called in response to a REQUEST_DATA request from the executive.
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.
double RescaleIntercept
Information for rescaling data to quantitative units.
static vtkImageWriter * New()
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
vtkNIFTIImageHeader * OwnHeader
The header information.
char * Description
A description of how the file was produced.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkMatrix4x4 * GetQFormMatrix()
Write NIfTI-1 and NIfTI-2 medical image files.
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
double TimeSpacing
The size and spacing of the Time dimension to use in the file.
vtkMatrix4x4 * GetSFormMatrix()