Medical Imaging Interaction Toolkit  2018.4.99-12ad79a3
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 (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 MITKLOOKUPTABLESOURCE_H_HEADER_INCLUDED
14 #define MITKLOOKUPTABLESOURCE_H_HEADER_INCLUDED
15 
17 #include "mitkCommon.h"
18 #include "mitkLookupTable.h"
19 
20 #include "itkProcessObject.h"
21 
22 namespace mitk
23 {
34  class MITKDATATYPESEXT_EXPORT LookupTableSource : public itk::ProcessObject
35  {
36  public:
37  mitkClassMacroItkParent(LookupTableSource, itk::ProcessObject) itkFactorylessNewMacro(Self) itkCloneMacro(Self)
38 
40 
41  typedef OutputType::Pointer OutputTypePointer;
42 
43  typedef itk::DataObject::Pointer DataObjectPointer;
44 
51  itk::DataObject::Pointer MakeOutput(DataObjectPointerArraySizeType idx) override;
52 
59  itk::DataObject::Pointer MakeOutput(const DataObjectIdentifierType &name) override;
60 
65  void GenerateInputRequestedRegion() override;
66 
73  virtual void GraftOutput(OutputType *output);
74 
75  virtual OutputType *GetOutput();
76  virtual const OutputType *GetOutput() const;
77  virtual OutputType *GetOutput(DataObjectPointerArraySizeType idx);
78  virtual const OutputType *GetOutput(DataObjectPointerArraySizeType idx) const;
79 
80  protected:
82  ~LookupTableSource() override;
83  };
84 
85 } // namespace mitk
86 
87 #endif
#define MITKDATATYPESEXT_EXPORT
itk::DataObject::Pointer DataObjectPointer
DataCollection - Class to facilitate loading/accessing structured data.
#define mitkClassMacroItkParent(className, SuperClassName)
Definition: mitkCommon.h:49
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 ...