13 #ifndef mitkRawImageFileReader_h
14 #define mitkRawImageFileReader_h
15 #include "itkVector.h"
34 itkFactorylessNewMacro(
Self);
36 itkSetMacro(FileName, std::string);
37 itkSetStringMacro(FileName);
38 itkGetMacro(FileName, std::string);
39 itkGetStringMacro(FileName);
41 itkSetMacro(FilePrefix, std::string);
42 itkSetStringMacro(FilePrefix);
43 itkGetMacro(FilePrefix, std::string);
44 itkGetStringMacro(FilePrefix);
46 itkSetMacro(FilePattern, std::string);
47 itkSetStringMacro(FilePattern);
48 itkGetMacro(FilePattern, std::string);
49 itkGetStringMacro(FilePattern);
52 typedef enum { UCHAR, SCHAR,
USHORT, SSHORT, UINT, SINT, FLOAT, DOUBLE } IOPixelType;
56 typedef enum {
LITTLE, BIG } EndianityType;
57 itkSetMacro(Endianity, EndianityType);
59 itkSetMacro(Dimensionality,
int);
60 itkGetMacro(Dimensionality,
int);
63 void SetDimensions(
unsigned int i,
unsigned int dim);
65 unsigned int GetDimensions(
unsigned int i)
const;
67 static bool CanReadFile(
const std::string filename,
const std::string filePrefix,
const std::string filePattern);
74 void GenerateData()
override;
76 template <
typename TPixel,
unsigned int VImageDimensions>
77 void TypedGenerateData();