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