Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitkLookupTableSource.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 MITKLOOKUPTABLESOURCE_H_HEADER_INCLUDED
18 #define MITKLOOKUPTABLESOURCE_H_HEADER_INCLUDED
19 
21 #include "mitkCommon.h"
22 #include "mitkLookupTable.h"
23 
24 #include "itkProcessObject.h"
25 
26 namespace mitk
27 {
38  class MITKDATATYPESEXT_EXPORT LookupTableSource : public itk::ProcessObject
39  {
40  public:
41  mitkClassMacroItkParent(LookupTableSource, itk::ProcessObject) itkFactorylessNewMacro(Self) itkCloneMacro(Self)
42 
44 
45  typedef OutputType::Pointer OutputTypePointer;
46 
47  typedef itk::DataObject::Pointer DataObjectPointer;
48 
55  virtual itk::DataObject::Pointer MakeOutput(DataObjectPointerArraySizeType idx) override;
56 
63  virtual itk::DataObject::Pointer MakeOutput(const DataObjectIdentifierType &name) override;
64 
69  void GenerateInputRequestedRegion() override;
70 
77  virtual void GraftOutput(OutputType *output);
78 
79  virtual OutputType *GetOutput();
80  virtual const OutputType *GetOutput() const;
81  virtual OutputType *GetOutput(DataObjectPointerArraySizeType idx);
82  virtual const OutputType *GetOutput(DataObjectPointerArraySizeType idx) const;
83 
84  protected:
86  virtual ~LookupTableSource();
87  };
88 
89 } // namespace mitk
90 
91 #endif
#define MITKDATATYPESEXT_EXPORT
itk::DataObject::Pointer DataObjectPointer
DataCollection - Class to facilitate loading/accessing structured data.
#define mitkClassMacroItkParent(className, SuperClassName)
Definition: mitkCommon.h:53
Base class for all objects which have an object of type mitkLookupTable as output.
The LookupTable class mitk wrapper for a vtkLookupTableThis class can be used to color images with a ...