Medical Imaging Interaction Toolkit  2021.10.99-1c4db16f
Medical Imaging Interaction Toolkit
mitkVtkSurfaceReader.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 #ifndef VtkSurfaceReader_H_HEADER_INCLUDED
13 #define VtkSurfaceReader_H_HEADER_INCLUDED
14 
15 #include "mitkSurfaceSource.h"
16 #include <MitkLegacyIOExports.h>
17 
18 namespace mitk
19 {
20  //##Documentation
21  //## @brief Reader to read surface files in vtk-format
22  //## @ingroup MitkLegacyIOModule
23  //## @deprecatedSince{2014_10} Use mitk::IOUtils or mitk::FileReaderRegistry instead.
25  {
26  public:
28 
30  itkFactorylessNewMacro(Self);
31  itkCloneMacro(Self);
32  itkSetStringMacro(FileName);
33  itkGetStringMacro(FileName);
34 
35  itkSetStringMacro(FilePrefix);
36  itkGetStringMacro(FilePrefix);
37 
38  itkSetStringMacro(FilePattern);
39  itkGetStringMacro(FilePattern);
40 
41  static bool CanReadFile(const std::string filename, const std::string filePrefix, const std::string filePattern);
42 
43  protected:
44  void GenerateData() override;
45 
47 
48  ~VtkSurfaceReader() override;
49 
50  std::string m_FileName, m_FilePrefix, m_FilePattern;
51  };
52 
53 } // namespace mitk
54 
55 #endif /* VtkSurfaceReader_H_HEADER_INCLUDED */
Superclass of all classes generating surfaces (instances of class Surface) as output.
#define MITKLEGACYIO_EXPORT
Superclass of all classes generating some kind of mitk::BaseData.
DataCollection - Class to facilitate loading/accessing structured data.
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:36
Reader to read surface files in vtk-format.