Singleton class managing segment editor effect plugins.
More...
#include <Modules/Loadable/Segmentations/EditorEffects/qSlicerSegmentEditorEffectFactory.h>
Singleton class managing segment editor effect plugins.
Definition at line 39 of file qSlicerSegmentEditorEffectFactory.h.
◆ qSlicerSegmentEditorEffectFactory()
qSlicerSegmentEditorEffectFactory::qSlicerSegmentEditorEffectFactory |
( |
QObject * |
parent = nullptr | ) |
|
Private constructor made public to enable python wrapping IMPORTANT: Should not be used for creating effect handler! Use instance() instead.
◆ ~qSlicerSegmentEditorEffectFactory()
qSlicerSegmentEditorEffectFactory::~qSlicerSegmentEditorEffectFactory |
( |
| ) |
|
|
override |
Private destructor made public to enable python wrapping.
◆ copyEffects()
Copy list of registered effects to the container in a segment editor widget. Effects that are already in the list (have the same name) will not be modified.
- Returns
- List of added effects (does not include effects that were already in the effects argument).
◆ effectRegistered
void qSlicerSegmentEditorEffectFactory::effectRegistered |
( |
QString |
| ) |
|
|
signal |
Signals that a new effect has been registered.
◆ instance()
Instance getter for the singleton class
- Returns
- Instance object
◆ registeredEffects()
◆ registerEffect()
Register a effect
- Returns
- True if effect registered successfully, false otherwise
◆ setInstance()
Allows cleanup of the singleton at application exit.
◆ qSlicerSegmentEditorEffectFactoryCleanup
friend class qSlicerSegmentEditorEffectFactoryCleanup |
|
friend |
◆ m_RegisteredEffects
The documentation for this class was generated from the following file: