Medical Imaging Interaction Toolkit  2016.11.0
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,
6 Division of Medical and Biological Informatics.
7 All rights reserved.
8 
9 This software is distributed WITHOUT ANY WARRANTY; without
10 even the implied warranty of MERCHANTABILITY or FITNESS FOR
11 A PARTICULAR PURPOSE.
12 
13 See LICENSE.txt or http://www.mitk.org for details.
14 
15 ===================================================================*/
16 #ifndef VtkSurfaceReader_H_HEADER_INCLUDED
17 #define VtkSurfaceReader_H_HEADER_INCLUDED
18 
19 #include "mitkSurfaceSource.h"
20 #include <MitkLegacyIOExports.h>
21 
22 namespace mitk
23 {
24  //##Documentation
25  //## @brief Reader to read surface files in vtk-format
26  //## @ingroup MitkLegacyIOModule
27  //## @deprecatedSince{2014_10} Use mitk::IOUtils or mitk::FileReaderRegistry instead.
29  {
30  public:
32 
34  itkFactorylessNewMacro(Self) itkCloneMacro(Self)
35 
36  itkSetStringMacro(FileName);
37  itkGetStringMacro(FileName);
38 
39  itkSetStringMacro(FilePrefix);
40  itkGetStringMacro(FilePrefix);
41 
42  itkSetStringMacro(FilePattern);
43  itkGetStringMacro(FilePattern);
44 
45  static bool CanReadFile(const std::string filename, const std::string filePrefix, const std::string filePattern);
46 
47  protected:
48  virtual void GenerateData() override;
49 
51 
53 
54  std::string m_FileName, m_FilePrefix, m_FilePattern;
55  };
56 
57 } // namespace mitk
58 
59 #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.
static const std::string filename
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:44
Reader to read surface files in vtk-format.