Medical Imaging Interaction Toolkit  2024.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 {
22  {
23  public:
25  itkFactorylessNewMacro(Self);
26  itkCloneMacro(Self);
27 
28  Mapper::Pointer CreateMapper(DataNode *node, MapperSlotId slotId) override;
29  void SetDefaultProperties(DataNode *node) override;
30  std::string GetFileExtensions() override;
31  CoreObjectFactoryBase::MultimapType GetFileExtensionsMap() override;
32  std::string GetSaveFileExtensions() override;
33  CoreObjectFactoryBase::MultimapType GetSaveFileExtensionsMap() override;
34  const char *GetDescription() const override;
35 
36  protected:
38  ~BoundingShapeObjectFactory() override;
39 
40  void CreateFileExtensionsMap();
41 
42  private:
43  MultimapType m_FileExtensionsMap;
44  MultimapType m_SaveFileExtensionsMap;
45  };
46 
48 }
49 
50 #endif
MITKBOUNDINGSHAPE_EXPORT
#define MITKBOUNDINGSHAPE_EXPORT
Definition: MitkBoundingShapeExports.h:15
mitk::RegisterBoundingShapeObjectFactory
MITKBOUNDINGSHAPE_EXPORT void RegisterBoundingShapeObjectFactory()
itk::SmartPointer< Self >
MitkBoundingShapeExports.h
mitk
Find image slices visible on a given plane.
Definition: RenderingTests.dox:1
mitk::BoundingShapeObjectFactory
Definition: mitkBoundingShapeObjectFactory.h:21
mitkCoreObjectFactoryBase.h
mitkClassMacro
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:36
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::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.