Medical Imaging Interaction Toolkit  2026.06.00
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 mitkSurfaceStlIO_h
14 #define mitkSurfaceStlIO_h
15 
16 #include "mitkSurfaceVtkIO.h"
17 
18 namespace mitk
19 {
33  {
34  public:
37 
38  // -------------- AbstractFileReader -------------
39 
41 
42  // -------------- AbstractFileWriter -------------
43 
52  void Write() override;
53 
54  protected:
63  std::vector<itk::SmartPointer<BaseData>> DoRead() override;
64 
65  private:
66  SurfaceStlIO *IOClone() const override;
67 
68  static std::string OPTION_TAG_SOLIDS();
69  static std::string OPTION_CLEAN();
70  };
71 }
72 
73 #endif
std::vector< itk::SmartPointer< BaseData > > Read() override
Read data and create a list of BaseData objects.
Reader and writer for STL (Stereolithography) surface files.
std::vector< itk::SmartPointer< BaseData > > DoRead() override
Read an STL file into a mitk::Surface.
SurfaceStlIO()
Construct and register the STL I/O service with default options.
void Write() override
Write a mitk::Surface to STL format.
Find image slices visible on a given plane.