Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitkUnstructuredGridToUnstructuredGridFilter.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 _MITKUNSTRUCTUREDGRIDTOUNSTRUCTUREDGRID_h__
18 #define _MITKUNSTRUCTUREDGRIDTOUNSTRUCTUREDGRID_h__
19 
21 
22 #include <mitkCommon.h>
23 
24 #include <mitkImage.h>
25 #include <mitkUnstructuredGrid.h>
27 
28 namespace mitk
29 {
31  {
32  public:
34  itkCloneMacro(Self)
35 
36 
37  virtual void GenerateOutputInformation() override;
38 
40  const mitk::UnstructuredGrid *GetInput(void);
41 
42  virtual const mitk::UnstructuredGrid *GetInput(unsigned int idx);
43 
45  using itk::ProcessObject::SetInput;
46  virtual void SetInput(const UnstructuredGrid *grid);
47 
48  virtual void SetInput(unsigned int idx, const UnstructuredGrid *grid);
49 
50  virtual void CreateOutputsForAllInputs(unsigned int idx);
51 
52  protected:
55 
58 
59  private:
61  mitk::UnstructuredGrid::Pointer m_UnstructGrid;
62  };
63 
64 } // namespace mitk
65 
66 #endif //_MITKUNSTRUCTUREDGRIDTOUNSTRUCTUREDGRID_h__
Superclass of all classes generating some kind of mitk::BaseData.
DataCollection - Class to facilitate loading/accessing structured data.
#define MITKALGORITHMSEXT_EXPORT
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:44
Class for storing unstructured grids (vtkUnstructuredGrid)
Superclass of all classes generating unstructured grids (instances of class UnstructuredGrid) as outp...