Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
mitkROIObjectFactory.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 mitkROIObjectFactory_h
14 #define mitkROIObjectFactory_h
15 
17 
18 namespace mitk
19 {
24  {
25  public:
27  itkFactorylessNewMacro(Self)
28 
29 
30  Mapper::Pointer CreateMapper(DataNode* node, MapperSlotId slotId) override;
31 
33  void SetDefaultProperties(DataNode *node) override;
34 
35  protected:
37  ~ROIObjectFactory() override;
38  };
39 }
40 
41 #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
Base class of all mappers, Vtk as well as OpenGL mappers.
Definition: mitkMapper.h:56
Object factory that registers mappers and default properties for mitk::ROI.
void SetDefaultProperties(DataNode *node) override
Set default rendering properties on the given node.
Mapper::Pointer CreateMapper(DataNode *node, MapperSlotId slotId) override
Create a mapper for the given node and slot.
mitkClassMacro(ROIObjectFactory, CoreObjectFactoryBase) static Pointer New()
unsigned int MapperSlotId
Definition: mitkCommon.h:23
Find image slices visible on a given plane.