23#ifndef __qSlicerSegmentEditorEffectFactory_h
24#define __qSlicerSegmentEditorEffectFactory_h
27#include "qSlicerSegmentationsEditorEffectsExport.h"
34class qSlicerSegmentEditorEffectFactoryCleanup;
38class Q_SLICER_SEGMENTATIONS_EFFECTS_EXPORT qSlicerSegmentEditorEffectFactory :
public QObject
45 Q_INVOKABLE
static qSlicerSegmentEditorEffectFactory*
instance();
70 static void cleanup();
73 qSlicerSegmentEditorEffectFactory(QObject* parent =
nullptr);
74 ~qSlicerSegmentEditorEffectFactory()
override;
76 Q_DISABLE_COPY(qSlicerSegmentEditorEffectFactory);
82 static qSlicerSegmentEditorEffectFactory* m_Instance;
Abstract class for segment editor effects.
Q_INVOKABLE QList< qSlicerSegmentEditorAbstractEffect * > copyEffects(QList< qSlicerSegmentEditorAbstractEffect * > &effects)
static Q_INVOKABLE qSlicerSegmentEditorEffectFactory * instance()
friend class PythonQtWrapper_qSlicerSegmentEditorEffectFactory
Q_INVOKABLE bool registerEffect(qSlicerSegmentEditorAbstractEffect *effect)
void effectRegistered(QString)
Signals that a new effect has been registered.
friend class qSlicerSegmentEditorEffectFactoryCleanup
Q_INVOKABLE QList< qSlicerSegmentEditorAbstractEffect * > registeredEffects()
Get list of registered effects.
QList< qSlicerSegmentEditorAbstractEffect * > m_RegisteredEffects
List of registered effect instances.