Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
mitkContourObjectFactory.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 mitkContourObjectFactory_h
14 #define mitkContourObjectFactory_h
15 
18 
19 namespace mitk
20 {
31  {
32  public:
34  itkFactorylessNewMacro(Self);
35  itkCloneMacro(Self)
36 
37 
42  Mapper::Pointer CreateMapper(mitk::DataNode *node, MapperSlotId slotId) override;
43 
47  void SetDefaultProperties(mitk::DataNode *node) override;
48 
49  protected:
51  ~ContourObjectFactory() override;
52  };
53 }
54 
55 #endif
#define MITKCONTOURMODEL_EXPORT
Object factory that registers mappers and I/O for contour model types.
mitkClassMacro(ContourObjectFactory, CoreObjectFactoryBase)
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
unsigned int MapperSlotId
Definition: mitkCommon.h:23
void SetDefaultProperties(DataNode *node, BaseRenderer *renderer, bool override)
Set common default properties for both 2D and 3D ROI mappers.
Find image slices visible on a given plane.