Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef ItkImageFileReader_H_HEADER_INCLUDED
00020 #define ItkImageFileReader_H_HEADER_INCLUDED
00021
00022 #include "mitkCommon.h"
00023 #include "mitkFileReader.h"
00024 #include "mitkImageSource.h"
00025
00026 namespace mitk {
00027
00028
00029
00030 class MITK_CORE_EXPORT ItkImageFileReader : public ImageSource, public FileReader
00031 {
00032 public:
00033 mitkClassMacro(ItkImageFileReader, FileReader);
00034
00036 itkNewMacro(Self);
00037
00038 itkSetStringMacro(FileName);
00039 itkGetStringMacro(FileName);
00040
00041 itkSetStringMacro(FilePrefix);
00042 itkGetStringMacro(FilePrefix);
00043
00044 itkSetStringMacro(FilePattern);
00045 itkGetStringMacro(FilePattern);
00046
00047 static bool CanReadFile(const std::string filename, const std::string filePrefix, const std::string filePattern);
00048
00049 protected:
00050
00051 virtual void GenerateData();
00052
00053 ItkImageFileReader();
00054
00055 ~ItkImageFileReader();
00056
00057 std::string m_FileName;
00058
00059 std::string m_FilePrefix;
00060
00061 std::string m_FilePattern;
00062
00063 };
00064
00065 }
00066
00067 #endif