#include <algorithm_definition.h>
AlgorithmDefinition basically is the code version of the configuration XML.
The XML format is
/// <algorithm id="1"> /// <name>Algorithmus 1</name> /// <classification>Whatever</classification> /// <library>libtestalgorithmplugin.so</library> /// <input> /// <dataset name="minuend" readonly="false" /> /// <dataset name="subtrahend" readonly="true" /> /// </input> /// <output> /// <dataset name="result" type="image" byte="2" /> /// <dataset name="matrix" type="numeric" /> /// </output> /// <combinations> /// <combination> /// <dataset name="minuend"> /// <type type="volume" bytes="1" /> /// <type type="volume" bytes="2" /> /// <type type="volume" bytes="4" /> /// </dataset> /// <dataset name="subtrahend"> /// <type type="volume" bytes="1" /> /// <type type="volume" bytes="2" /> /// </dataset> /// </combination> /// <combination> /// <dataset name="minuend"> /// <type type="image" bytes="1" /> /// <type type="image" bytes="2" /> /// <type type="image" bytes="4" /> /// </dataset> /// <dataset name="subtrahend"> /// <type type="image" bytes="1" /> /// <type type="image" bytes="2" /> /// </dataset> /// </combination> /// </combinations> /// </algorithm> ///
Definition at line 75 of file algorithm_definition.h.
|
a single combination of a dataset name and its accepted types Definition at line 101 of file algorithm_definition.h. |
|
a set of accepted dataset types that a dataset may accept as valid Definition at line 95 of file algorithm_definition.h. |
|
a mapping of dataset name to a single type to describe an already set dataset from the algorithm widget Definition at line 114 of file algorithm_definition.h. |
|
a collection of accepted combinations Definition at line 107 of file algorithm_definition.h. |
|
A map of dataset definition names to dataset definition pointers Definition at line 89 of file algorithm_definition.h. |
|
A type definining a shared pointer holding a single dataset definition Definition at line 83 of file algorithm_definition.h. |
|
Constructor Definition at line 20 of file algorithm_definition.cpp. |
|
Destructor Definition at line 26 of file algorithm_definition.cpp. |
|
add a new dataset combination this algorithm definition accepts as valid
|
|
TODO: Comment Definition at line 148 of file algorithm_definition.cpp. |
|
TODO: Comment Definition at line 141 of file algorithm_definition.cpp. |
|
get the algorithm's classification
Definition at line 60 of file algorithm_definition.cpp. |
|
get the algorithm's input dataset definitions
Definition at line 81 of file algorithm_definition.cpp. |
|
TODO: Comment Definition at line 155 of file algorithm_definition.cpp. |
|
TODO: Comment Definition at line 171 of file algorithm_definition.cpp. |
|
get the algorithm's library name
Definition at line 67 of file algorithm_definition.cpp. |
|
set the algorithm's name
Definition at line 53 of file algorithm_definition.cpp. |
|
TODO: Comment Definition at line 178 of file algorithm_definition.cpp. |
|
TODO: Comment Definition at line 89 of file algorithm_definition.cpp. |
|
set the algorithm's classification
Definition at line 39 of file algorithm_definition.cpp. |
|
set the list of valid dataset combinations this algorithm definition accepts
Definition at line 74 of file algorithm_definition.cpp. |
|
set the algorithm's library name
Definition at line 46 of file algorithm_definition.cpp. |
|
set the algorithm's name
Definition at line 32 of file algorithm_definition.cpp. |
|
TODO: Comment Definition at line 185 of file algorithm_definition.cpp. |
|
TODO: Comment Definition at line 130 of file algorithm_definition.cpp. |