Slicer  5.0
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
[legend]
Collaboration diagram for qSlicerSegmentEditorEffectFactory:
Collaboration graph
[legend]

Signals

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...
 

Friends

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.

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()

static Q_INVOKABLE qSlicerSegmentEditorEffectFactory* qSlicerSegmentEditorEffectFactory::instance ( )
static

Instance getter for the singleton class

Returns
Instance object

◆ registeredEffects()

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

Get list of registered effects.

Definition at line 54 of file qSlicerSegmentEditorEffectFactory.h.

◆ registerEffect()

Q_INVOKABLE bool qSlicerSegmentEditorEffectFactory::registerEffect ( qSlicerSegmentEditorAbstractEffect effect)

Register a effect

Returns
True if effect registered successfully, false otherwise

Friends And Related Function Documentation

◆ PythonQtWrapper_qSlicerSegmentEditorEffectFactory

friend class PythonQtWrapper_qSlicerSegmentEditorEffectFactory
friend

Definition at line 79 of file qSlicerSegmentEditorEffectFactory.h.

◆ qSlicerSegmentEditorEffectFactoryCleanup

friend class qSlicerSegmentEditorEffectFactoryCleanup
friend

Definition at line 78 of file qSlicerSegmentEditorEffectFactory.h.

Member Data Documentation

◆ m_RegisteredEffects

QList<qSlicerSegmentEditorAbstractEffect*> qSlicerSegmentEditorEffectFactory::m_RegisteredEffects
protected

List of registered effect instances.

Definition at line 67 of file qSlicerSegmentEditorEffectFactory.h.


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