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 VtkImageReader_H_HEADER_INCLUDED
00020 #define VtkImageReader_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 VtkImageReader : public ImageSource, public FileReader
00031 {
00032 public:
00033 mitkClassMacro(VtkImageReader, 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 VtkImageReader();
00052
00053 ~VtkImageReader();
00054
00055 virtual void GenerateData();
00056
00057
00058
00059
00060
00061 protected:
00062 std::string m_FileName;
00063
00064 std::string m_FilePrefix;
00065
00066 std::string m_FilePattern;
00067 };
00068
00069 }
00070
00071 #endif