Medical Imaging Interaction Toolkit  2024.06.99-60d9b802
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 mitkVtkSurfaceReader_h
13 #define mitkVtkSurfaceReader_h
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
mitkSurfaceSource.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::SurfaceSource
Superclass of all classes generating surfaces (instances of class Surface) as output.
Definition: mitkSurfaceSource.h:33
MITKLEGACYIO_EXPORT
#define MITKLEGACYIO_EXPORT
Definition: MitkLegacyIOExports.h:15
mitkClassMacro
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:36
mitk::VtkSurfaceReader
Reader to read surface files in vtk-format.
Definition: mitkVtkSurfaceReader.h:24
mitk::VtkSurfaceReader::m_FilePrefix
std::string m_FilePrefix
Definition: mitkVtkSurfaceReader.h:50