Medical Imaging Interaction Toolkit  2016.11.0
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,
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 MITKSURFACETOSURFACEFILTER_H_HEADER_INCLUDED_C10B4740
18 #define MITKSURFACETOSURFACEFILTER_H_HEADER_INCLUDED_C10B4740
19 
20 #include "mitkSurfaceSource.h"
21 
22 namespace mitk
23 {
24  class Surface;
25  //##Documentation
26  //## @brief Superclass of all classes getting surfaces (instances of class
27  //## Surface) as input and generating surfaces as output.
28  //##
29  //## In itk and vtk the generated result of a ProcessObject is only guaranteed
30  //## to be up-to-date, when Update() of the ProcessObject or the generated
31  //## DataObject is called immediately before access of the data stored in the
32  //## DataObject. This is also true for subclasses of mitk::BaseProcess and thus
33  //## for mitk::mitkSurfaceToSurfaceFilter.
34  //## @ingroup Process
36  {
37  public:
39 
40  itkFactorylessNewMacro(Self) itkCloneMacro(Self)
41 
42  typedef itk::DataObject::Pointer DataObjectPointer;
43 
44  using itk::ProcessObject::SetInput;
45  virtual void SetInput(const mitk::Surface *surface);
46 
54  virtual void SetInput(unsigned int idx, const mitk::Surface *surface);
55 
56  virtual const mitk::Surface *GetInput();
57 
58  virtual const mitk::Surface *GetInput(unsigned int idx);
59 
64  virtual void CreateOutputForInput(unsigned int idx);
65 
70  virtual void CreateOutputsForAllInputs();
71 
72  virtual void RemoveInputs(mitk::Surface *surface);
73 
74  protected:
76 
77  virtual ~SurfaceToSurfaceFilter();
78  };
79 
80 } // namespace mitk
81 
82 #endif /* MITKSURFACETOSURFACEFILTER_H_HEADER_INCLUDED_C10B4740 */
Superclass of all classes generating surfaces (instances of class Surface) as output.
Class for storing surfaces (vtkPolyData).
Definition: mitkSurface.h:32
#define MITKCORE_EXPORT
Superclass of all classes generating some kind of mitk::BaseData.
DataCollection - Class to facilitate loading/accessing structured data.
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:44
itk::DataObject::Pointer DataObjectPointer
Superclass of all classes getting surfaces (instances of class Surface) as input and generating surfa...