Medical Imaging Interaction Toolkit  2023.12.99-77685e7b
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;
21  //##Documentation
22  //## @brief Superclass of all classes getting surfaces (instances of class
23  //## Surface) as input and generating surfaces as output.
24  //##
25  //## In itk and vtk the generated result of a ProcessObject is only guaranteed
26  //## to be up-to-date, when Update() of the ProcessObject or the generated
27  //## DataObject is called immediately before access of the data stored in the
28  //## DataObject. This is also true for subclasses of mitk::BaseProcess and thus
29  //## for mitk::mitkSurfaceToSurfaceFilter.
30  //## @ingroup Process
32  {
33  public:
35 
36  itkFactorylessNewMacro(Self);
37 
38  itkCloneMacro(Self);
39 
40  typedef itk::DataObject::Pointer DataObjectPointer;
41 
42  using itk::ProcessObject::SetInput;
43  virtual void SetInput(const mitk::Surface *surface);
44 
52  virtual void SetInput(unsigned int idx, const mitk::Surface *surface);
53 
54  virtual const mitk::Surface *GetInput();
55 
56  virtual const mitk::Surface *GetInput(unsigned int idx);
57 
62  virtual void CreateOutputForInput(unsigned int idx);
63 
68  virtual void CreateOutputsForAllInputs();
69 
70  virtual void RemoveInputs(mitk::Surface *surface);
71 
72  protected:
74 
75  ~SurfaceToSurfaceFilter() override;
76  };
77 
78 } // namespace mitk
79 
80 #endif
mitk::SurfaceToSurfaceFilter::DataObjectPointer
itk::DataObject::Pointer DataObjectPointer
Definition: mitkSurfaceToSurfaceFilter.h:38
mitkSurfaceSource.h
mitk::Surface
Class for storing surfaces (vtkPolyData).
Definition: mitkSurface.h:28
mitk
Find image slices visible on a given plane.
Definition: RenderingTests.dox:1
mitk::BaseDataSource
Superclass of all classes generating some kind of mitk::BaseData.
Definition: mitkBaseDataSource.h:71
mitk::SurfaceToSurfaceFilter
Superclass of all classes getting surfaces (instances of class Surface) as input and generating surfa...
Definition: mitkSurfaceToSurfaceFilter.h:31
mitk::SurfaceSource
Superclass of all classes generating surfaces (instances of class Surface) as output.
Definition: mitkSurfaceSource.h:33
mitkClassMacro
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:36
MITKCORE_EXPORT
#define MITKCORE_EXPORT
Definition: MitkCoreExports.h:15