Medical Imaging Interaction Toolkit  2021.10.00
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 (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 _MITKUNSTRUCTUREDGRIDTOUNSTRUCTUREDGRID_h__
14 #define _MITKUNSTRUCTUREDGRIDTOUNSTRUCTUREDGRID_h__
15 
17 
18 #include <mitkCommon.h>
19 
20 #include <mitkImage.h>
21 #include <mitkUnstructuredGrid.h>
23 
24 namespace mitk
25 {
27  {
28  public:
30  itkFactorylessNewMacro(Self);
31  itkCloneMacro(Self);
32 
34  void GenerateOutputInformation() override;
35 
37  const mitk::UnstructuredGrid *GetInput(void);
38 
39  virtual const mitk::UnstructuredGrid *GetInput(unsigned int idx);
40 
42  using itk::ProcessObject::SetInput;
43  virtual void SetInput(const UnstructuredGrid *grid);
44 
45  virtual void SetInput(unsigned int idx, const UnstructuredGrid *grid);
46 
47  virtual void CreateOutputsForAllInputs(unsigned int idx);
48 
49  protected:
52 
55 
56  private:
58  mitk::UnstructuredGrid::Pointer m_UnstructGrid;
59  };
60 
61 } // namespace mitk
62 
63 #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:36
Class for storing unstructured grids (vtkUnstructuredGrid)
Superclass of all classes generating unstructured grids (instances of class UnstructuredGrid) as outp...