Medical Imaging Interaction Toolkit  2023.04.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
mitkPointSetSource.h
mitk::ContourSetToPointSetFilter
Converts a contour set to a point set.
Definition: mitkContourSetToPointSetFilter.h:33
mitkPointSet.h
mitk
DataCollection - Class to facilitate loading/accessing structured data.
Definition: RenderingTests.dox:1
mitk::BaseDataSource
Superclass of all classes generating some kind of mitk::BaseData.
Definition: mitkBaseDataSource.h:71
mitk::PointSetSource
Superclass of all classes generating point sets (instances of class mitk::PointSet) as output.
Definition: mitkPointSetSource.h:31
mitkCommon.h
MITKSEGMENTATION_EXPORT
#define MITKSEGMENTATION_EXPORT
Definition: MitkSegmentationExports.h:15
mitk::ContourSet
Definition: mitkContourSet.h:28
mitkClassMacro
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:36
MitkSegmentationExports.h
mitk::ContourSetToPointSetFilter::m_Frequency
unsigned int m_Frequency
Definition: mitkContourSetToPointSetFilter.h:58
mitkContourSet.h