Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
mitkMultilabelObjectFactory.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 mitkMultilabelObjectFactory_h
14 #define mitkMultilabelObjectFactory_h
15 
17 
18 #include <mitkAbstractFileIO.h>
19 
20 namespace mitk
21 {
26  {
27  public:
29  itkFactorylessNewMacro(Self);
30  itkCloneMacro(Self)
31 
32 
33  Mapper::Pointer CreateMapper(mitk::DataNode *node, MapperSlotId slotId) override;
34 
36  void SetDefaultProperties(mitk::DataNode *node) override;
37 
38  protected:
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
Base class of all mappers, Vtk as well as OpenGL mappers.
Definition: mitkMapper.h:56
Object factory that registers mappers and default properties for MultiLabelSegmentation.
mitkClassMacro(MultilabelObjectFactory, CoreObjectFactoryBase)
void SetDefaultProperties(mitk::DataNode *node) override
Set default rendering properties on the given node.
Mapper::Pointer CreateMapper(mitk::DataNode *node, MapperSlotId slotId) override
Create a mapper for the given node and slot.
unsigned int MapperSlotId
Definition: mitkCommon.h:23
Find image slices visible on a given plane.