35 #ifndef vtkNIFTIImageReader_h 36 #define vtkNIFTIImageReader_h 38 #include "vtkIOImageModule.h" 67 return ".nii .nii.gz .img .img.gz .hdr .hdr.gz"; }
88 vtkGetMacro(TimeAsVector,
bool);
117 vtkGetMacro(PlanarRGB,
bool);
176 int RequestInformation(
192 static
bool CheckExtension(const
char *fname, const
char *ext);
202 static
char *ReplaceExtension(
203 const
char *fname, const
char *ext1, const
char *ext2);
224 double RescaleIntercept;
266 #endif // vtkNIFTIImageReader_h const char * GetFileExtensions() override
Valid extensions for this file type.
double GetQFac()
QFac gives the slice order in the NIFTI file versus the VTK image.
represent and manipulate 4x4 transformation matrices
static vtkImageReader2 * New()
vtkMatrix4x4 * GetQFormMatrix()
Get a matrix that gives the "qform" orientation and offset for the data.
double GetRescaleSlope()
Get the slope and intercept for rescaling the scalar values.
Read NIfTI-1 and NIfTI-2 medical image files.
virtual int CanReadFile(const char *vtkNotUsed(fname))
Return non zero if the reader can read the given file name.
int GetTimeDimension()
Get the time dimension that was stored in the NIFTI header.
a simple class to control print indentation
double GetRescaleIntercept()
Superclass of binary file readers.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
vtkMatrix4x4 * GetSFormMatrix()
Get a matrix that gives the "sform" orientation and offset for the data.
const char * GetDescriptiveName() override
Return a descriptive name that might be useful in a GUI.
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.