19 #ifndef itkNiftiImageIO_h
20 #define itkNiftiImageIO_h
21 #include "ITKIONIFTIExport.h"
26 #include <nifti1_io.h>
64 virtual bool CanReadFile(
const char *FileNameToRead) ITK_OVERRIDE;
67 virtual void ReadImageInformation() ITK_OVERRIDE;
70 virtual
void Read(
void *buffer) ITK_OVERRIDE;
80 virtual
bool CanWriteFile(const
char *FileNameToWrite) ITK_OVERRIDE;
87 virtual
void WriteImageInformation() ITK_OVERRIDE;
91 virtual
void Write(const
void *buffer) ITK_OVERRIDE;
96 GenerateStreamableReadRegionFromRequestedRegion(const
ImageIORegion & requestedRegion) const ITK_OVERRIDE;
103 itkSetMacro(LegacyAnalyze75Mode,
bool);
104 itkGetConstMacro(LegacyAnalyze75Mode,
bool);
110 virtual
void PrintSelf(std::ostream & os,
Indent indent) const ITK_OVERRIDE;
112 virtual
bool GetUseLegacyModeForTwoFileWriting(
void)
const {
return false; }
117 void DefineHeaderObjectDataType();
119 void SetNIfTIOrientationFromImageIO(
unsigned short int origdims,
unsigned short int dims);
121 void SetImageIOOrientationFromNIfTI(
unsigned short int dims);
123 void SetImageIOMetadataFromNIfTI();
135 void operator=(const
Self &) ITK_DELETE_FUNCTION;
139 #endif // itkNiftiImageIO_h
bool m_LegacyAnalyze75Mode
Light weight base class for most itk classes.
An ImageIORegion represents a structured region of data.
Abstract superclass defines image IO interface.
Class that defines how to read Nifti file format. Nifti IMAGE FILE FORMAT - As much information as I ...
nifti_image * m_NiftiImage
IOComponentType m_OnDiskComponentType
double m_RescaleIntercept
Control indentation during Print() invocation.
Base class for most ITK classes.
SmartPointer< Self > Pointer