Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
mitkSurfaceToSurfaceFilter.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 mitkSurfaceToSurfaceFilter_h
14 #define mitkSurfaceToSurfaceFilter_h
15 
16 #include <mitkSurfaceSource.h>
17 
18 namespace mitk
19 {
20  class Surface;
34  {
35  public:
37 
38  itkFactorylessNewMacro(Self);
39 
40  itkCloneMacro(Self);
41 
42  typedef itk::DataObject::Pointer DataObjectPointer;
43 
44  using itk::ProcessObject::SetInput;
45 
51  virtual void SetInput(const mitk::Surface *surface);
52 
63  virtual void SetInput(unsigned int idx, const mitk::Surface *surface);
64 
69  virtual const mitk::Surface *GetInput();
70 
77  virtual const mitk::Surface *GetInput(unsigned int idx);
78 
85  virtual void CreateOutputForInput(unsigned int idx);
86 
93  virtual void CreateOutputsForAllInputs();
94 
100  virtual void RemoveInputs(mitk::Surface *surface);
101 
102  protected:
104 
106  };
107 
108 } // namespace mitk
109 
110 #endif
#define MITKCORE_EXPORT
Superclass of all classes generating surfaces (instances of class Surface) as output.
Superclass of all classes getting surfaces (instances of class Surface) as input and generating surfa...
virtual const mitk::Surface * GetInput()
Get the input surface at index 0.
virtual void CreateOutputsForAllInputs()
Create outputs for all existing inputs.
virtual void SetInput(unsigned int idx, const mitk::Surface *surface)
Set the input surface at the given index.
mitkClassMacro(SurfaceToSurfaceFilter, mitk::SurfaceSource)
virtual void SetInput(const mitk::Surface *surface)
Set the input surface at index 0.
virtual void CreateOutputForInput(unsigned int idx)
Create a new output for the input at the given index.
itk::DataObject::Pointer DataObjectPointer
virtual const mitk::Surface * GetInput(unsigned int idx)
Get the input surface at the given index.
virtual void RemoveInputs(mitk::Surface *surface)
Remove all inputs matching the given surface.
Data class for storing polygonal surfaces (vtkPolyData).
Definition: mitkSurface.h:37
Find image slices visible on a given plane.