Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
mitkContourModelToSurfaceFilter.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 mitkContourModelToSurfaceFilter_h
14 #define mitkContourModelToSurfaceFilter_h
15 
16 #include <mitkCommon.h>
18 
19 #include <mitkContourModel.h>
20 #include <mitkContourModelSource.h>
21 
22 #include <mitkSurfaceSource.h>
23 
24 namespace mitk
25 {
40  {
41  public:
43 
44  itkFactorylessNewMacro(Self);
45  itkCloneMacro(Self);
46 
49 
52 
54  void GenerateOutputInformation() override;
55 
56  using Superclass::SetInput;
57 
61  virtual void SetInput(const InputType *input);
62 
67  virtual void SetInput(unsigned int idx, const InputType *input);
68 
72  const InputType *GetInput(void);
73 
78  const InputType *GetInput(unsigned int idx);
79 
80  protected:
83 
84  void GenerateData() override;
85  };
86 }
87 #endif
#define MITKCONTOURMODEL_EXPORT
Filter that converts a mitk::ContourModel into a mitk::Surface.
virtual void SetInput(const InputType *input)
Set the input contour model.
void GenerateOutputInformation() override
Generate output information (no-op for this filter).
const InputType * GetInput(unsigned int idx)
Get the input contour model at the given index.
mitkClassMacro(ContourModelToSurfaceFilter, SurfaceSource)
virtual void SetInput(unsigned int idx, const InputType *input)
Set the input contour model at the given index.
const InputType * GetInput(void)
Get the first input contour model.
mitk::Surface OutputType
The output data type.
mitk::ContourModel InputType
The input data type.
A time-resolved contour representation consisting of linked vertices in 3D space.
Superclass of all classes generating surfaces (instances of class Surface) as output.
Data class for storing polygonal surfaces (vtkPolyData).
Definition: mitkSurface.h:37
Find image slices visible on a given plane.