Medical Imaging Interaction Toolkit  2016.11.0
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,
6 Division of Medical and Biological Informatics.
7 All rights reserved.
8 
9 This software is distributed WITHOUT ANY WARRANTY; without
10 even the implied warranty of MERCHANTABILITY or FITNESS FOR
11 A PARTICULAR PURPOSE.
12 
13 See LICENSE.txt or http://www.mitk.org for details.
14 
15 ===================================================================*/
16 
17 #ifndef _mitkContourSetToPointSetFilter_h__
18 #define _mitkContourSetToPointSetFilter_h__
19 
20 #include "mitkCommon.h"
21 #include "mitkContourSet.h"
22 #include "mitkPointSet.h"
23 #include "mitkPointSetSource.h"
25 
26 namespace mitk
27 {
38  {
39  public:
41  itkFactorylessNewMacro(Self) itkCloneMacro(Self)
42 
43  itkSetMacro(Frequency, unsigned int);
44 
45  itkGetMacro(Frequency, unsigned int);
46 
47  virtual void GenerateOutputInformation() override;
48 
49  virtual void GenerateData() override;
50 
51  const mitk::ContourSet *GetInput(void);
52 
53  using Superclass::SetInput;
54  virtual void SetInput(const mitk::ContourSet *contourSet);
55 
56  protected:
58 
59  virtual ~ContourSetToPointSetFilter();
60 
61  protected:
62  unsigned int m_Frequency;
63  };
64 
65 } // namespace mitk
66 
67 #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:44
Superclass of all classes generating point sets (instances of class mitk::PointSet) as output...