Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
mitkBoundingShapeObjectFactory.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 mitkBoundingShapeObjectFactory_h
14 #define mitkBoundingShapeObjectFactory_h
15 
18 
19 namespace mitk
20 {
29  {
30  public:
32  itkFactorylessNewMacro(Self);
33  itkCloneMacro(Self);
34 
41  Mapper::Pointer CreateMapper(DataNode *node, MapperSlotId slotId) override;
42 
47  void SetDefaultProperties(DataNode *node) override;
48 
52  const char *GetDescription() const override;
53 
54  protected:
57  };
58 
65 }
66 
67 #endif
#define MITKBOUNDINGSHAPE_EXPORT
Object factory that registers mappers and default properties for bounding shape data.
void SetDefaultProperties(DataNode *node) override
Set default rendering properties for bounding shape visualization on the given node.
mitkClassMacro(BoundingShapeObjectFactory, CoreObjectFactoryBase)
const char * GetDescription() const override
Get a human-readable description of this factory.
Mapper::Pointer CreateMapper(DataNode *node, MapperSlotId slotId) override
Create a mapper for bounding shape rendering.
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
unsigned int MapperSlotId
Definition: mitkCommon.h:23
Find image slices visible on a given plane.
MITKBOUNDINGSHAPE_EXPORT void RegisterBoundingShapeObjectFactory()
Register the BoundingShapeObjectFactory with the CoreObjectFactory.