![]() |
open_iA
2020.01
A tool for the visual analysis and processing of volumetric datasets, with a focus on industrial computed tomography.
|
Registry for image filters. More...
#include <iAFilterRegistry.h>
Static Public Member Functions | |
| static void | addFilterFactory (QSharedPointer< iAIFilterFactory > factory) |
| Adds a given filter factory to the registry, which will be run with the default GUI runner. More... | |
| static void | addFilterFactory (QSharedPointer< iAIFilterFactory > factory, QSharedPointer< iAIFilterRunnerGUIFactory > runner) |
| Adds a given filter factory to the registry, which will be run with the runner for which the factory is supplied. More... | |
| static QSharedPointer< iAFilter > | filter (QString const &name) |
| Retrieve the filter with the given name. More... | |
| static const QVector< QSharedPointer< iAIFilterFactory > > & | filterFactories () |
| Retrieve a list of all currently registered filter (factories) More... | |
| static int | filterID (QString const &name) |
| Retrieve the ID of the filter with the given name If there is no such filter, -1 is returned. More... | |
| static QSharedPointer< iAIFilterRunnerGUIFactory > | filterRunner (int filterID) |
| Retrieve the callback for a given factory (if the given factory does not have a callback, nullptr is returned). More... | |
Registry for image filters.
Use REGISTER_FILTER and REGISTER_FILTER_WITH_RUNNER macros add a filter to the list of filters in this class. All filters registered with these macros will be added to the Filter menu (in a submenu according to their Category(), the menu entry will have the filter name; the menu entry will be disabled until a dataset is loaded. When a dataset is loaded, clicking the menu entry will result in execution of the filter with the currently active window as input. The class is meant to be used statically (Follows the singleton pattern), the creation of objects of this class is thus prohibited.
|
static |
Adds a given filter factory to the registry, which will be run with the default GUI runner.
REGISTER_FILTER provide simplified access to this method.
|
static |
Adds a given filter factory to the registry, which will be run with the runner for which the factory is supplied.
REGISTER_FILTER_WITH_RUNNER provides simplified access to this method.
|
static |
Retrieve the filter with the given name.
If there is no such filter, a "null" shared pointer is returned
|
static |
Retrieve a list of all currently registered filter (factories)
|
static |
Retrieve the ID of the filter with the given name If there is no such filter, -1 is returned.
|
static |
Retrieve the callback for a given factory (if the given factory does not have a callback, nullptr is returned).
1.8.16