Medical Imaging Interaction Toolkit  2023.12.99-ed252ae7
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 {
21  {
22  public:
23  SurfaceStlIO();
24 
25  // -------------- AbstractFileReader -------------
26 
28 
29  // -------------- AbstractFileWriter -------------
30 
31  void Write() override;
32 
33  protected:
34  std::vector<itk::SmartPointer<BaseData>> DoRead() override;
35 
36  private:
37  SurfaceStlIO *IOClone() const override;
38 
39  // vtkSTLReader crashes with this option
40  // static std::string OPTION_MERGE_POINTS();
41 
42  static std::string OPTION_TAG_SOLIDS();
43  static std::string OPTION_CLEAN();
44  };
45 }
46 
47 #endif
mitkSurfaceVtkIO.h
mitk::SurfaceStlIO
Definition: mitkSurfaceStlIO.h:20
mitk::SurfaceStlIO::Write
void Write() override
Write the base data to the specified location or output stream.
mitk
Find image slices visible on a given plane.
Definition: RenderingTests.dox:1
mitk::SurfaceStlIO::DoRead
std::vector< itk::SmartPointer< BaseData > > DoRead() override
mitk::SurfaceVtkIO
Definition: mitkSurfaceVtkIO.h:36
mitk::SurfaceStlIO::SurfaceStlIO
SurfaceStlIO()
mitk::AbstractFileReader::Read
std::vector< itk::SmartPointer< BaseData > > Read() override
Reads a path or stream and creates a list of BaseData objects.