Medical Imaging Interaction Toolkit  2025.12.02
Medical Imaging Interaction Toolkit
mitkContourSetToPointSetFilter.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 mitkContourSetToPointSetFilter_h
14 #define mitkContourSetToPointSetFilter_h
15 
16 #include "mitkCommon.h"
17 #include "mitkContourSet.h"
18 #include "mitkPointSet.h"
19 #include "mitkPointSetSource.h"
21 
22 namespace mitk
23 {
34  {
35  public:
37  itkFactorylessNewMacro(Self);
38  itkCloneMacro(Self);
39  itkSetMacro(Frequency, unsigned int);
40 
41  itkGetMacro(Frequency, unsigned int);
42 
43  void GenerateOutputInformation() override;
44 
45  void GenerateData() override;
46 
47  const mitk::ContourSet *GetInput(void);
48 
49  using Superclass::SetInput;
50  virtual void SetInput(const mitk::ContourSet *contourSet);
51 
52  protected:
54 
56 
57  protected:
58  unsigned int m_Frequency;
59  };
60 
61 } // namespace mitk
62 
63 #endif
#define MITKSEGMENTATION_EXPORT
Converts a contour set to a point set.
mitkClassMacro(ContourSetToPointSetFilter, PointSetSource)
virtual void SetInput(const mitk::ContourSet *contourSet)
void GenerateOutputInformation() override
const mitk::ContourSet * GetInput(void)
Superclass of all classes generating point sets (instances of class mitk::PointSet) as output.
Find image slices visible on a given plane.