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