Medical Imaging Interaction Toolkit  2025.12.02
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 {
33  {
34  public:
36  itkNewMacro(Self);
37  using itk::ProcessObject::SetInput;
38  void SetInput(mitk::Surface::Pointer m_InputSurface);
39 
40  std::string GetErrorMessage();
41 
42  protected:
45 
47  void GenerateData() override;
48 
49  //############### members ########################
50  mitk::Surface::Pointer m_InputSurface;
51  std::string m_ErrorMessage;
52  };
53 
54 } // namespace mitk
55 #endif
#define MITKALGORITHMSEXT_EXPORT
Superclass of all classes generating point sets (instances of class mitk::PointSet) as output.
This filter converts the input surface into a point set. The output point set contains every point ex...
mitkClassMacro(SurfaceToPointSetFilter, mitk::PointSetSource)
void SetInput(mitk::Surface::Pointer m_InputSurface)
void GenerateData() override
method generating the output of this filter. Called in the updated process of the pipeline.
Find image slices visible on a given plane.