Medical Imaging Interaction Toolkit  2021.10.99-fd647480
Medical Imaging Interaction Toolkit
mitkUnstructuredGridSource.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 _MITK_UNSTRUCTURED_GRID_DATA_SOURCE_H_HEADER_
14 #define _MITK_UNSTRUCTURED_GRID_DATA_SOURCE_H_HEADER_
15 
17 #include "mitkBaseDataSource.h"
18 
19 namespace mitk
20 {
21  class UnstructuredGrid;
22  //##Documentation
23  //## @brief Superclass of all classes generating unstructured grids (instances of class
24  //## UnstructuredGrid) as output.
25  //##
26  //## In itk and vtk the generated result of a ProcessObject is only guaranteed
27  //## to be up-to-date, when Update() of the ProcessObject or the generated
28  //## DataObject is called immediately before access of the data stored in the
29  //## DataObject. This is also true for subclasses of mitk::BaseProcess and thus
30  //## for mitk::UnstructuredGridSource.
31  //## @ingroup Process
33  {
34  public:
36  itkFactorylessNewMacro(Self);
37  itkCloneMacro(Self);
38 
40 
42 
49  itk::DataObject::Pointer
50  MakeOutput(DataObjectPointerArraySizeType idx) override;
51 
58  itk::DataObject::Pointer MakeOutput(const DataObjectIdentifierType &name) override;
59 
60  protected:
62 
63  ~UnstructuredGridSource() override;
64  };
65 
66 } // namespace mitk
67 
68 #endif /* _MITK_UNSTRUCTURED_GRID_DATA_SOURCE_H_HEADER_ */
itk::DataObject::DataObjectIdentifierType DataObjectIdentifierType
#define MITKDATATYPESEXT_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:36
Class for storing unstructured grids (vtkUnstructuredGrid)
#define mitkBaseDataSourceGetOutputDeclarations
Superclass of all classes generating unstructured grids (instances of class UnstructuredGrid) as outp...