Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
mitkSurfaceToPointSetFilter.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 mitkSurfaceToPointSetFilter_h
14 #define mitkSurfaceToPointSetFilter_h
15 
16 // exports
18 
19 // mitk headers
20 #include <mitkSurface.h>
21 #include <mitkPointSetSource.h>
22 //#include <itkExtendedDoublyLinkedFaceList.h>
23 
24 namespace mitk
25 {
35  {
36  public:
38  itkNewMacro(Self);
39  using itk::ProcessObject::SetInput;
40  void SetInput(mitk::Surface::Pointer m_InputSurface);
41 
42  std::string GetErrorMessage();
43 
44  protected:
47 
49  void GenerateData() override;
50 
51  //############### members ########################
52  mitk::Surface::Pointer m_InputSurface;
53  std::string m_ErrorMessage;
54  };
55 
56 } // namespace mitk
57 #endif
#define MITKALGORITHMSEXT_EXPORT
Superclass of all classes generating point sets (instances of class mitk::PointSet) as output.
Convert a Surface into a PointSet without duplicate points.
mitkClassMacro(SurfaceToPointSetFilter, mitk::PointSetSource)
void SetInput(mitk::Surface::Pointer m_InputSurface)
void GenerateData() override
Generate the output of this filter. Called in the update process of the pipeline.
Find image slices visible on a given plane.