00001 /*========================================================================= 00002 00003 Program: Medical Imaging & Interaction Toolkit 00004 Language: C++ 00005 Date: $Date$ 00006 Version: $Revision$ 00007 00008 Copyright (c) German Cancer Research Center, Division of Medical and 00009 Biological Informatics. All rights reserved. 00010 See MITKCopyright.txt or https://www.mitk.org/copyright.html for details. 00011 00012 This software is distributed WITHOUT ANY WARRANTY; without even 00013 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00014 PURPOSE. See the above copyright notices for more information. 00015 00016 =========================================================================*/ 00017 00018 00019 #ifndef _Vtk_VOLUME_TIME_SERIES_READER__H_ 00020 #define _Vtk_VOLUME_TIME_SERIES_READER__H_ 00021 00022 #include "mitkCommon.h" 00023 #include "MitkExtExports.h" 00024 #include "mitkFileSeriesReader.h" 00025 #include "mitkSurfaceSource.h" 00026 00027 namespace mitk 00028 { 00029 //##Documentation 00030 //## @brief Reader to read a series of volume files in Vtk-format 00031 //## @ingroup IO 00032 class MitkExt_EXPORT VtkVolumeTimeSeriesReader : public SurfaceSource, public FileSeriesReader 00033 { 00034 public: 00035 mitkClassMacro( VtkVolumeTimeSeriesReader, FileReader ); 00036 00038 itkNewMacro( Self ); 00039 00040 itkSetStringMacro(FileName); 00041 itkGetStringMacro(FileName); 00042 00043 itkSetStringMacro(FilePrefix); 00044 itkGetStringMacro(FilePrefix); 00045 00046 itkSetStringMacro(FilePattern); 00047 itkGetStringMacro(FilePattern); 00048 00049 static bool CanReadFile(const std::string filename, const std::string filePrefix, const std::string filePattern); 00050 00051 protected: 00052 virtual void GenerateData(); 00053 00054 VtkVolumeTimeSeriesReader(); 00055 00056 ~VtkVolumeTimeSeriesReader(); 00057 00058 //##Description 00059 //## @brief Time when Header was last read 00060 itk::TimeStamp m_ReadHeaderTime; 00061 00062 }; 00063 00064 } // namespace mitk 00065 00066 #endif 00067 00068