Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
mitk::ContourObjectFactory Class Reference

Object factory that registers mappers and I/O for contour model types. More...

#include <mitkContourObjectFactory.h>

Inheritance diagram for mitk::ContourObjectFactory:
Collaboration diagram for mitk::ContourObjectFactory:

Public Member Functions

 mitkClassMacro (ContourObjectFactory, CoreObjectFactoryBase)
 
Pointer Clone () const
 
Mapper::Pointer CreateMapper (mitk::DataNode *node, MapperSlotId slotId) override
 Create the appropriate mapper for contour data at the given slot. More...
 
void SetDefaultProperties (mitk::DataNode *node) override
 Set default rendering properties for contour data nodes. More...
 
- Public Member Functions inherited from mitk::CoreObjectFactoryBase
 mitkClassMacroItkParent (CoreObjectFactoryBase, itk::Object)
 
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...
 

Static Public Member Functions

static Pointer New ()
 

Protected Member Functions

 ContourObjectFactory ()
 
 ~ContourObjectFactory () override
 

Detailed Description

Object factory that registers mappers and I/O for contour model types.

Registers ContourModelMapper2D, ContourModelMapper3D and their set counterparts with the MITK core object factory so that ContourModel and ContourModelSet data can be rendered and serialized.

See also
ContourModel, ContourModelSet, CoreObjectFactoryBase

Definition at line 30 of file mitkContourObjectFactory.h.

Constructor & Destructor Documentation

◆ ContourObjectFactory()

mitk::ContourObjectFactory::ContourObjectFactory ( )
protected

◆ ~ContourObjectFactory()

mitk::ContourObjectFactory::~ContourObjectFactory ( )
overrideprotected

Member Function Documentation

◆ Clone()

Pointer mitk::ContourObjectFactory::Clone ( ) const

◆ CreateMapper()

Mapper::Pointer mitk::ContourObjectFactory::CreateMapper ( mitk::DataNode *  node,
MapperSlotId  slotId 
)
overridevirtual

Create the appropriate mapper for contour data at the given slot.

Parameters
[in]nodeThe data node containing contour data.
[in]slotIdThe mapper slot (2D or 3D).
Returns
Smart pointer to the created Mapper, or nullptr if not applicable.

Implements mitk::CoreObjectFactoryBase.

◆ mitkClassMacro()

mitk::ContourObjectFactory::mitkClassMacro ( ContourObjectFactory  ,
CoreObjectFactoryBase   
)

◆ New()

static Pointer mitk::ContourObjectFactory::New ( )
static

◆ SetDefaultProperties()

void mitk::ContourObjectFactory::SetDefaultProperties ( mitk::DataNode *  node)
overridevirtual

Set default rendering properties for contour data nodes.

Parameters
[in]nodeThe data node to configure.

Implements mitk::CoreObjectFactoryBase.


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