Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
mitkPlanarFigureObjectFactory.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 mitkPlanarFigureObjectFactory_h
14 #define mitkPlanarFigureObjectFactory_h
15 
18 
19 namespace mitk
20 {
29  {
30  public:
32  itkFactorylessNewMacro(Self);
33  itkCloneMacro(Self);
34 
36 
37  Mapper::Pointer CreateMapper(mitk::DataNode *node, MapperSlotId slotId) override;
38 
39  void SetDefaultProperties(mitk::DataNode *node) override;
40 
41  protected:
43  };
44 }
45 
46 #endif
#define MITKPLANARFIGURE_EXPORT
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 PlanarFigure types.
mitkClassMacro(PlanarFigureObjectFactory, CoreObjectFactoryBase)
Mapper::Pointer CreateMapper(mitk::DataNode *node, MapperSlotId slotId) override
Create a mapper for the given data node and mapper slot.
void SetDefaultProperties(mitk::DataNode *node) override
Set default rendering properties on the given data node.
unsigned int MapperSlotId
Definition: mitkCommon.h:23
Find image slices visible on a given plane.