Medical Imaging Interaction Toolkit  2018.4.99-a3d2e8fb
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);
38  itkFactorylessNewMacro(Self);
39  itkCloneMacro(Self);
40 
42 
44 
45  typedef itk::DataObject::Pointer DataObjectPointer;
46 
53  itk::DataObject::Pointer MakeOutput(DataObjectPointerArraySizeType idx) override;
54 
61  itk::DataObject::Pointer MakeOutput(const DataObjectIdentifierType &name) override;
62 
67  void GenerateInputRequestedRegion() override;
68 
75  virtual void GraftOutput(OutputType *output);
76 
77  virtual OutputType *GetOutput();
78  virtual const OutputType *GetOutput() const;
79  virtual OutputType *GetOutput(DataObjectPointerArraySizeType idx);
80  virtual const OutputType *GetOutput(DataObjectPointerArraySizeType idx) const;
81 
82  protected:
84  ~LookupTableSource() override;
85  };
86 
87 } // namespace mitk
88 
89 #endif
#define MITKDATATYPESEXT_EXPORT
itk::DataObject::Pointer DataObjectPointer
DataCollection - Class to facilitate loading/accessing structured data.
OutputType::Pointer OutputTypePointer
#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 ...