25 #ifndef __itkNiftiImageIO_h
26 #define __itkNiftiImageIO_h
31 #include <nifti1_io.h>
66 virtual bool CanReadFile(
const char *FileNameToRead);
69 virtual void ReadImageInformation();
72 virtual void Read(
void *buffer);
82 virtual bool CanWriteFile(
const char *FileNameToWrite);
85 virtual void WriteImageInformation();
89 virtual void Write(
const void *buffer);
94 GenerateStreamableReadRegionFromRequestedRegion(
const ImageIORegion & requestedRegion)
const;
101 itkSetMacro(LegacyAnalyze75Mode,
bool);
102 itkGetConstMacro(LegacyAnalyze75Mode,
bool);
108 void PrintSelf(std::ostream & os,
Indent indent)
const;
115 void DefineHeaderObjectDataType();
117 void SetNIfTIOrientationFromImageIO(
unsigned short int origdims,
unsigned short int dims);
119 void SetImageIOOrientationFromNIfTI(
unsigned short int dims);
121 void SetImageIOMetadataFromNIfTI();
133 void operator=(
const Self &);
137 #endif // __itkNiftiImageIO_h