Slicer  5.1
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
List of all members | Signals | Public Member Functions | Static Public Member Functions | Protected Attributes | Friends
qSlicerSegmentEditorEffectFactory Class Reference

Singleton class managing segment editor effect plugins. More...

#include <Modules/Loadable/Segmentations/EditorEffects/qSlicerSegmentEditorEffectFactory.h>

Inheritance diagram for qSlicerSegmentEditorEffectFactory:
Inheritance graph
Collaboration diagram for qSlicerSegmentEditorEffectFactory:
Collaboration graph


void effectRegistered (QString)
 Signals that a new effect has been registered. More...

Public Member Functions

Q_INVOKABLE QList< qSlicerSegmentEditorAbstractEffect * > copyEffects (QList< qSlicerSegmentEditorAbstractEffect *> &effects)
Q_INVOKABLE QList< qSlicerSegmentEditorAbstractEffect * > registeredEffects ()
 Get list of registered effects. More...
Q_INVOKABLE bool registerEffect (qSlicerSegmentEditorAbstractEffect *effect)

Static Public Member Functions

static Q_INVOKABLE qSlicerSegmentEditorEffectFactoryinstance ()

Protected Attributes

QList< qSlicerSegmentEditorAbstractEffect * > m_RegisteredEffects
 List of registered effect instances. More...


class PythonQtWrapper_qSlicerSegmentEditorEffectFactory
class qSlicerSegmentEditorEffectFactoryCleanup

Detailed Description

Singleton class managing segment editor effect plugins.

Definition at line 39 of file qSlicerSegmentEditorEffectFactory.h.

Member Function Documentation

◆ copyEffects()

Q_INVOKABLE QList<qSlicerSegmentEditorAbstractEffect*> qSlicerSegmentEditorEffectFactory::copyEffects ( QList< qSlicerSegmentEditorAbstractEffect *> &  effects)

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.

List of added effects (does not include effects that were already in the effects argument).

◆ effectRegistered

void qSlicerSegmentEditorEffectFactory::effectRegistered ( QString  )

Signals that a new effect has been registered.

◆ instance()

static Q_INVOKABLE qSlicerSegmentEditorEffectFactory* qSlicerSegmentEditorEffectFactory::instance ( )

Instance getter for the singleton class

Instance object

◆ registeredEffects()

Q_INVOKABLE QList<qSlicerSegmentEditorAbstractEffect*> qSlicerSegmentEditorEffectFactory::registeredEffects ( )

Get list of registered effects.

Definition at line 54 of file qSlicerSegmentEditorEffectFactory.h.

◆ registerEffect()

Q_INVOKABLE bool qSlicerSegmentEditorEffectFactory::registerEffect ( qSlicerSegmentEditorAbstractEffect effect)

Register a effect

True if effect registered successfully, false otherwise

Friends And Related Function Documentation

◆ PythonQtWrapper_qSlicerSegmentEditorEffectFactory

friend class PythonQtWrapper_qSlicerSegmentEditorEffectFactory

Definition at line 79 of file qSlicerSegmentEditorEffectFactory.h.

◆ qSlicerSegmentEditorEffectFactoryCleanup

friend class qSlicerSegmentEditorEffectFactoryCleanup

Definition at line 78 of file qSlicerSegmentEditorEffectFactory.h.

Member Data Documentation

◆ m_RegisteredEffects

QList<qSlicerSegmentEditorAbstractEffect*> qSlicerSegmentEditorEffectFactory::m_RegisteredEffects

List of registered effect instances.

Definition at line 67 of file qSlicerSegmentEditorEffectFactory.h.

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