Medical Imaging Interaction Toolkit  2024.06.99-60d9b802
Medical Imaging Interaction Toolkit
mitkSegmentationObjectFactory.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 mitkSegmentationObjectFactory_h
14 #define mitkSegmentationObjectFactory_h
15 
18 
19 namespace mitk
20 {
22  {
23  public:
25  itkFactorylessNewMacro(Self);
26  itkCloneMacro(Self) Mapper::Pointer
27  CreateMapper(mitk::DataNode *node, MapperSlotId slotId) override;
28  void SetDefaultProperties(mitk::DataNode *node) override;
29  std::string GetFileExtensions() override;
30  mitk::CoreObjectFactoryBase::MultimapType GetFileExtensionsMap() override;
31  std::string GetSaveFileExtensions() override;
32  mitk::CoreObjectFactoryBase::MultimapType GetSaveFileExtensionsMap() override;
33  void RegisterIOFactories();
34 
35  protected:
37  void CreateFileExtensionsMap();
40  };
41 }
42 
43 #endif
mitk::SegmentationObjectFactory::m_FileExtensionsMap
MultimapType m_FileExtensionsMap
Definition: mitkSegmentationObjectFactory.h:38
itk::SmartPointer< Self >
mitk
Find image slices visible on a given plane.
Definition: RenderingTests.dox:1
MITKSEGMENTATION_EXPORT
#define MITKSEGMENTATION_EXPORT
Definition: MitkSegmentationExports.h:15
mitkCoreObjectFactoryBase.h
mitkClassMacro
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:36
MitkSegmentationExports.h
MapperSlotId
unsigned int MapperSlotId
Definition: mitkCommon.h:29
mitk::CoreObjectFactoryBase
Definition: mitkCoreObjectFactoryBase.h:37
mitk::CoreObjectFactoryBase::MultimapType
std::multimap< std::string, std::string > MultimapType
Definition: mitkCoreObjectFactoryBase.h:41
mitk::SegmentationObjectFactory
Definition: mitkSegmentationObjectFactory.h:21
mitk::SegmentationObjectFactory::m_SaveFileExtensionsMap
MultimapType m_SaveFileExtensionsMap
Definition: mitkSegmentationObjectFactory.h:39
mitk::DataNode
Class for nodes of the DataTree.
Definition: mitkDataNode.h:63
mitk::ROIMapperHelper::SetDefaultProperties
void SetDefaultProperties(DataNode *node, BaseRenderer *renderer, bool override)
Set common default properties for both 2-d and 3-d ROI mappers.