Medical Imaging Interaction Toolkit  2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
mitkVtiFileReader.h
Go to the documentation of this file.
1 /*============================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 
13 #ifndef mitkVtiFileReader_h
14 #define mitkVtiFileReader_h
15 
16 #include "mitkFileReader.h"
17 #include "mitkImageSource.h"
18 #include <MitkLegacyIOExports.h>
19 
20 namespace mitk
21 {
22  //##Documentation
23  //## @brief Reader to read image files in vtk file format
24  //## @ingroup MitkLegacyIOModule
25  //## @deprecatedSince{2014_10} Use mitk::IOUtils or mitk::FileReaderRegistry instead.
27  {
28  public:
30 
32  itkFactorylessNewMacro(Self);
33  itkCloneMacro(Self);
34  itkSetStringMacro(FileName);
35  itkGetStringMacro(FileName);
36 
37  itkSetStringMacro(FilePrefix);
38  itkGetStringMacro(FilePrefix);
39 
40  itkSetStringMacro(FilePattern);
41  itkGetStringMacro(FilePattern);
42 
43  static bool CanReadFile(const std::string filename, const std::string filePrefix, const std::string filePattern);
44 
45  protected:
46  VtiFileReader();
47 
48  ~VtiFileReader() override;
49 
50  void GenerateData() override;
51 
52  //##Description
53  //## @brief Time when Header was last read
54  // itk::TimeStamp m_ReadHeaderTime;
55 
56  protected:
57  std::string m_FileName;
58 
59  std::string m_FilePrefix;
60 
61  std::string m_FilePattern;
62  };
63 
64 } // namespace mitk
65 
66 #endif
mitk::ImageSource
Superclass of all classes generating Images (instances of class Image) as output.
Definition: mitkImageSource.h:36
mitk::VtiFileReader::m_FileName
std::string m_FileName
Definition: mitkVtiFileReader.h:57
mitk::VtiFileReader::m_FilePattern
std::string m_FilePattern
Definition: mitkVtiFileReader.h:61
DEPRECATED
#define DEPRECATED(func)
Definition: mitkCommon.h:175
mitkFileReader.h
MitkLegacyIOExports.h
mitk
Find image slices visible on a given plane.
Definition: RenderingTests.dox:1
mitk::BaseDataSource
Superclass of all classes generating some kind of mitk::BaseData.
Definition: mitkBaseDataSource.h:71
mitk::FileReader
Interface class of readers that read from files.
Definition: mitkFileReader.h:25
MITKLEGACYIO_EXPORT
#define MITKLEGACYIO_EXPORT
Definition: MitkLegacyIOExports.h:15
mitk::VtiFileReader
Reader to read image files in vtk file format.
Definition: mitkVtiFileReader.h:26
mitkClassMacro
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:36
mitk::VtiFileReader::m_FilePrefix
std::string m_FilePrefix
Definition: mitkVtiFileReader.h:59
mitkImageSource.h