Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
mitkIOExtObjectFactory.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 mitkIOExtObjectFactory_h
14 #define mitkIOExtObjectFactory_h
15 
17 
18 namespace mitk
19 {
26  {
27  public:
29  itkFactorylessNewMacro(Self);
30  itkCloneMacro(Self);
31 
33  Mapper::Pointer CreateMapper(mitk::DataNode *node, MapperSlotId slotId) override;
34 
36  void SetDefaultProperties(mitk::DataNode *node) override;
37 
38  private:
40  ~IOExtObjectFactory() override;
41  };
42 }
43 
44 #endif
Abstract base class for factories that create mappers and set default properties.
Central node class of the MITK data tree, associating a data object with properties and mappers.
Definition: mitkDataNode.h:72
Object factory for extended IO types.
Mapper::Pointer CreateMapper(mitk::DataNode *node, MapperSlotId slotId) override
Create a mapper for the given node and slot.
mitkClassMacro(IOExtObjectFactory, CoreObjectFactoryBase)
void SetDefaultProperties(mitk::DataNode *node) override
Set default rendering properties on the given node.
unsigned int MapperSlotId
Definition: mitkCommon.h:23
Find image slices visible on a given plane.