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

Object factory that registers mappers and default properties for bounding shape data. More...

#include <mitkBoundingShapeObjectFactory.h>

Inheritance diagram for mitk::BoundingShapeObjectFactory:
Collaboration diagram for mitk::BoundingShapeObjectFactory:

Public Member Functions

 mitkClassMacro (BoundingShapeObjectFactory, CoreObjectFactoryBase)
 
Pointer Clone () const
 
Mapper::Pointer CreateMapper (DataNode *node, MapperSlotId slotId) override
 Create a mapper for bounding shape rendering. More...
 
void SetDefaultProperties (DataNode *node) override
 Set default rendering properties for bounding shape visualization on the given node. More...
 
const char * GetDescription () const override
 Get a human-readable description of this factory. More...
 
- Public Member Functions inherited from mitk::CoreObjectFactoryBase
 mitkClassMacroItkParent (CoreObjectFactoryBase, itk::Object)
 
virtual const char * GetITKSourceVersion () const
 Get the ITK source version string. More...
 

Static Public Member Functions

static Pointer New ()
 

Protected Member Functions

 BoundingShapeObjectFactory ()
 
 ~BoundingShapeObjectFactory () override
 

Detailed Description

Object factory that registers mappers and default properties for bounding shape data.

Creates BoundingShapeVtkMapper2D and BoundingShapeVtkMapper3D instances for DataNodes containing GeometryData, and sets default rendering properties for bounding shape visualization.

See also
BoundingShapeVtkMapper2D, BoundingShapeVtkMapper3D, CoreObjectFactoryBase

Definition at line 28 of file mitkBoundingShapeObjectFactory.h.

Constructor & Destructor Documentation

◆ BoundingShapeObjectFactory()

mitk::BoundingShapeObjectFactory::BoundingShapeObjectFactory ( )
protected

◆ ~BoundingShapeObjectFactory()

mitk::BoundingShapeObjectFactory::~BoundingShapeObjectFactory ( )
overrideprotected

Member Function Documentation

◆ Clone()

Pointer mitk::BoundingShapeObjectFactory::Clone ( ) const

◆ CreateMapper()

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

Create a mapper for bounding shape rendering.

Parameters
[in]nodeThe data node to create a mapper for.
[in]slotIdThe mapper slot (2D or 3D).
Returns
A mapper instance, or nullptr if the node data is not GeometryData.

Implements mitk::CoreObjectFactoryBase.

◆ GetDescription()

const char* mitk::BoundingShapeObjectFactory::GetDescription ( ) const
overridevirtual

Get a human-readable description of this factory.

Returns
A description string.

Reimplemented from mitk::CoreObjectFactoryBase.

◆ mitkClassMacro()

mitk::BoundingShapeObjectFactory::mitkClassMacro ( BoundingShapeObjectFactory  ,
CoreObjectFactoryBase   
)

◆ New()

static Pointer mitk::BoundingShapeObjectFactory::New ( )
static

◆ SetDefaultProperties()

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

Set default rendering properties for bounding shape visualization on the given node.

Parameters
[in]nodeThe data node to configure.

Implements mitk::CoreObjectFactoryBase.


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