Medical Imaging Interaction Toolkit  2021.10.00
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 
55  ~ContourSetToPointSetFilter() override;
56 
57  protected:
58  unsigned int m_Frequency;
59  };
60 
61 } // namespace mitk
62 
63 #endif // _mitkContourSetToPointSetFilter_h__
Converts a contour set to a point set.
Superclass of all classes generating some kind of mitk::BaseData.
#define MITKSEGMENTATION_EXPORT
DataCollection - Class to facilitate loading/accessing structured data.
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:36
Superclass of all classes generating point sets (instances of class mitk::PointSet) as output...