Medical Imaging Interaction Toolkit  2023.12.99-29da53b2
Medical Imaging Interaction Toolkit
mitkContourModelSubDivisionFilter.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 mitkContourModelSubDivisionFilter_h
14 #define mitkContourModelSubDivisionFilter_h
15 
16 #include "mitkCommon.h"
17 #include "mitkContourModel.h"
18 #include "mitkContourModelSource.h"
20 
21 namespace mitk
22 {
36  {
37  public:
39  itkFactorylessNewMacro(Self);
40  itkCloneMacro(Self);
41 
42  typedef ContourModel OutputType;
45 
50  void SetNumberOfIterations(int iterations) { this->m_InterpolationIterations = iterations; }
51  using Superclass::SetInput;
52 
53  virtual void SetInput(const InputType *input);
54 
55  virtual void SetInput(unsigned int idx, const InputType *input);
56 
57  const InputType *GetInput(void);
58 
59  const InputType *GetInput(unsigned int idx);
60 
61  protected:
63 
65 
66  void GenerateOutputInformation() override{};
67 
68  void GenerateData() override;
69 
71  };
72 }
73 
74 #endif
mitkContourModelSource.h
mitk::ContourModelSubDivisionFilter::m_InterpolationIterations
int m_InterpolationIterations
Definition: mitkContourModelSubDivisionFilter.h:70
itk::SmartPointer< Self >
mitk::ContourModelSubDivisionFilter::OutputTypePointer
OutputType::Pointer OutputTypePointer
Definition: mitkContourModelSubDivisionFilter.h:43
mitk::ContourModelSubDivisionFilter::SetNumberOfIterations
void SetNumberOfIterations(int iterations)
Set the number of iterations for inserting new interpolated control points.
Definition: mitkContourModelSubDivisionFilter.h:50
mitk::ContourModelSubDivisionFilter::OutputType
ContourModel OutputType
Definition: mitkContourModelSubDivisionFilter.h:40
mitk
Find image slices visible on a given plane.
Definition: RenderingTests.dox:1
mitk::ContourModelSubDivisionFilter
This filter interpolates a subdivision curve between control points of the contour....
Definition: mitkContourModelSubDivisionFilter.h:35
mitkContourModel.h
MitkContourModelExports.h
mitk::BaseDataSource
Superclass of all classes generating some kind of mitk::BaseData.
Definition: mitkBaseDataSource.h:71
mitk::ContourModelSubDivisionFilter::GenerateOutputInformation
void GenerateOutputInformation() override
Definition: mitkContourModelSubDivisionFilter.h:66
mitk::ContourModelSubDivisionFilter::InputType
mitk::ContourModel InputType
Definition: mitkContourModelSubDivisionFilter.h:44
mitk::ContourModel
ContourModel is a structure of linked vertices defining a contour in 3D space. The vertices are store...
Definition: mitkContourModel.h:47
mitkCommon.h
mitkClassMacro
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:36
MITKCONTOURMODEL_EXPORT
#define MITKCONTOURMODEL_EXPORT
Definition: MitkContourModelExports.h:15
mitk::ContourModelSource
Superclass of all classes generating ContourModels.
Definition: mitkContourModelSource.h:26