Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitkSurfaceStlIO.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 
17 #ifndef _MITK_SURFACE_STL_IO_H_
18 #define _MITK_SURFACE_STL_IO_H_
19 
20 #include "mitkSurfaceVtkIO.h"
21 
22 namespace mitk
23 {
25  {
26  public:
27  SurfaceStlIO();
28 
29  // -------------- AbstractFileReader -------------
30 
32  virtual std::vector<itk::SmartPointer<BaseData>> Read() override;
33 
34  // -------------- AbstractFileWriter -------------
35 
36  virtual void Write() override;
37 
38  private:
39  SurfaceStlIO *IOClone() const override;
40 
41  static std::string OPTION_MERGE_POINTS();
42  static std::string OPTION_TAG_SOLIDS();
43  static std::string OPTION_CLEAN();
44  };
45 }
46 
47 #endif //_MITK_SURFACE_STL_IO_H_
DataCollection - Class to facilitate loading/accessing structured data.
virtual std::vector< itk::SmartPointer< BaseData > > Read() override=0
Reads a path or stream and creates a list of BaseData objects.
virtual void Write() override
Write the base data to the specified location or output stream.
virtual std::vector< itk::SmartPointer< BaseData > > Read() override
Reads a path or stream and creates a list of BaseData objects.