Medical Imaging Interaction Toolkit  2024.06.00
Medical Imaging Interaction Toolkit
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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
14 #define mitkLookupTableSource_h
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
mitk::LookupTableSource::OutputType
mitk::LookupTable OutputType
Definition: mitkLookupTableSource.h:39
MitkDataTypesExtExports.h
MITKDATATYPESEXT_EXPORT
#define MITKDATATYPESEXT_EXPORT
Definition: MitkDataTypesExtExports.h:15
itk::SmartPointer< Self >
mitk::LookupTable
The LookupTable class mitk wrapper for a vtkLookupTable.
Definition: mitkLookupTable.h:42
mitkClassMacroItkParent
#define mitkClassMacroItkParent(className, SuperClassName)
Definition: mitkCommon.h:45
mitk
Find image slices visible on a given plane.
Definition: RenderingTests.dox:1
mitkLookupTable.h
mitk::LookupTableSource::OutputTypePointer
OutputType::Pointer OutputTypePointer
Definition: mitkLookupTableSource.h:43
mitk::LookupTableSource
Base class for all objects which have an object of type mitkLookupTable as output.
Definition: mitkLookupTableSource.h:34
mitkCommon.h
mitk::LookupTableSource::DataObjectPointer
itk::DataObject::Pointer DataObjectPointer
Definition: mitkLookupTableSource.h:45