Medical Imaging Interaction Toolkit  2024.06.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 mitkUnstructuredGridToUnstructuredGridFilter_h
14 #define mitkUnstructuredGridToUnstructuredGridFilter_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
mitk::UnstructuredGridToUnstructuredGridFilter
Definition: mitkUnstructuredGridToUnstructuredGridFilter.h:26
mitk::UnstructuredGridSource
Superclass of all classes generating unstructured grids (instances of class UnstructuredGrid) as outp...
Definition: mitkUnstructuredGridSource.h:32
mitkImage.h
MitkAlgorithmsExtExports.h
mitkUnstructuredGrid.h
MITKALGORITHMSEXT_EXPORT
#define MITKALGORITHMSEXT_EXPORT
Definition: MitkAlgorithmsExtExports.h:15
mitk::UnstructuredGrid
Class for storing unstructured grids (vtkUnstructuredGrid)
Definition: mitkUnstructuredGrid.h:27
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
mitkCommon.h
mitkClassMacro
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:36
mitkUnstructuredGridSource.h
mitk::BaseData::Pointer
itk::SmartPointer< Self > Pointer
Definition: mitkBaseData.h:46