Object factory that registers mappers and default properties for bounding shape data.
More...
#include <mitkBoundingShapeObjectFactory.h>
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.
◆ BoundingShapeObjectFactory()
| mitk::BoundingShapeObjectFactory::BoundingShapeObjectFactory |
( |
| ) |
|
|
protected |
◆ ~BoundingShapeObjectFactory()
| mitk::BoundingShapeObjectFactory::~BoundingShapeObjectFactory |
( |
| ) |
|
|
overrideprotected |
◆ 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] | node | The data node to create a mapper for. |
| [in] | slotId | The 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 |
◆ mitkClassMacro()
◆ 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] | node | The data node to configure. |
Implements mitk::CoreObjectFactoryBase.
The documentation for this class was generated from the following file: