Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
mitk::CoreObjectFactoryBase Class Referenceabstract

Abstract base class for factories that create mappers and set default properties. More...

#include <mitkCoreObjectFactoryBase.h>

Inheritance diagram for mitk::CoreObjectFactoryBase:
Collaboration diagram for mitk::CoreObjectFactoryBase:

Public Member Functions

 mitkClassMacroItkParent (CoreObjectFactoryBase, itk::Object)
 
virtual Mapper::Pointer CreateMapper (mitk::DataNode *node, MapperSlotId slotId)=0
 Create a mapper for the given data node and mapper slot. More...
 
virtual void SetDefaultProperties (mitk::DataNode *node)=0
 Set default rendering properties on the given data node. More...
 
virtual const char * GetITKSourceVersion () const
 Get the ITK source version string. More...
 
virtual const char * GetDescription () const
 Get a human-readable description of this factory. More...
 

Detailed Description

Abstract base class for factories that create mappers and set default properties.

This interface can be implemented by factories that add new mapper classes or extend the data tree deserialization mechanism. Module-specific factories deriving from this class can be registered with CoreObjectFactory.

See also
CoreObjectFactory Mapper DataNode

Definition at line 40 of file mitkCoreObjectFactoryBase.h.

Member Function Documentation

◆ CreateMapper()

virtual Mapper::Pointer mitk::CoreObjectFactoryBase::CreateMapper ( mitk::DataNode *  node,
MapperSlotId  slotId 
)
pure virtual

Create a mapper for the given data node and mapper slot.

Parameters
nodeThe data node to create a mapper for.
slotIdThe mapper slot (2D or 3D).
Returns
A new mapper, or nullptr if not supported.

Implemented in mitk::PlanarFigureObjectFactory, mitk::MultilabelObjectFactory, mitk::RegEvaluationObjectFactory, mitk::MAPRegistrationWrapperObjectFactory, mitk::IOExtObjectFactory, mitk::GizmoObjectFactory, mitk::CoreObjectFactory, mitk::ContourObjectFactory, mitk::ROIObjectFactory, and mitk::BoundingShapeObjectFactory.

◆ GetDescription()

virtual const char* mitk::CoreObjectFactoryBase::GetDescription ( ) const
inlinevirtual

Get a human-readable description of this factory.

Returns
The description string.

Reimplemented in mitk::BoundingShapeObjectFactory.

Definition at line 69 of file mitkCoreObjectFactoryBase.h.

◆ GetITKSourceVersion()

virtual const char* mitk::CoreObjectFactoryBase::GetITKSourceVersion ( ) const
inlinevirtual

Get the ITK source version string.

Returns
The ITK source version used to build MITK.

Definition at line 63 of file mitkCoreObjectFactoryBase.h.

◆ mitkClassMacroItkParent()

mitk::CoreObjectFactoryBase::mitkClassMacroItkParent ( CoreObjectFactoryBase  ,
itk::Object   
)

◆ SetDefaultProperties()

virtual void mitk::CoreObjectFactoryBase::SetDefaultProperties ( mitk::DataNode *  node)
pure virtual

The documentation for this class was generated from the following file: