Medical Imaging Interaction Toolkit  2025.12.02
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 {
22  {
23  public:
25  itkFactorylessNewMacro(Self);
26  itkCloneMacro(Self);
27 
29  void SetDefaultProperties(DataNode *node) override;
30  std::string GetFileExtensions() override;
32  std::string GetSaveFileExtensions() override;
34  const char *GetDescription() const override;
35 
36  protected:
39 
41 
42  private:
43  MultimapType m_FileExtensionsMap;
44  MultimapType m_SaveFileExtensionsMap;
45  };
46 
48 }
49 
50 #endif
#define MITKBOUNDINGSHAPE_EXPORT
void SetDefaultProperties(DataNode *node) override
CoreObjectFactoryBase::MultimapType GetFileExtensionsMap() override
mitkClassMacro(BoundingShapeObjectFactory, CoreObjectFactoryBase)
std::string GetFileExtensions() override
std::string GetSaveFileExtensions() override
CoreObjectFactoryBase::MultimapType GetSaveFileExtensionsMap() override
const char * GetDescription() const override
Mapper::Pointer CreateMapper(DataNode *node, MapperSlotId slotId) override
std::multimap< std::string, std::string > MultimapType
Class for nodes of the DataTree.
Definition: mitkDataNode.h:64
unsigned int MapperSlotId
Definition: mitkCommon.h:29
Find image slices visible on a given plane.
MITKBOUNDINGSHAPE_EXPORT void RegisterBoundingShapeObjectFactory()