Fraxinus
22.04-rc5
An IGT application
|
#include <cxPipeline.h>
Public Slots | |
void | nodeValueChanged (QString uid, int index) |
Public Member Functions | |
Pipeline (PatientModelServicePtr patientModelService, QObject *parent=0) | |
void | initialize (FilterGroupPtr filter) |
FilterGroupPtr | getFilters () const |
void | setOption (QString valueName, QVariant value) |
std::vector< SelectDataStringPropertyBasePtr > | getNodes () |
TimedAlgorithmPtr | getTimedAlgorithm (QString uid) |
TimedAlgorithmPtr | getPipelineTimedAlgorithm () |
void | execute (QString uid="") |
|
explicit |
Definition at line 133 of file cxPipeline.cpp.
void cx::Pipeline::execute | ( | QString | uid = "" | ) |
Execute the filter at filterIndex. Recursively execute all filters earlier in the pipeline if they dont have an output value.
Empty input tries to update the pipeline output, i.e. execute all filters required to generate the final output, or none if already filled.
Definition at line 281 of file cxPipeline.cpp.
FilterGroupPtr cx::Pipeline::getFilters | ( | ) | const |
Get all filters in pipeline
Definition at line 160 of file cxPipeline.cpp.
std::vector< SelectDataStringPropertyBasePtr > cx::Pipeline::getNodes | ( | ) |
Get all nodes. If there are N filters, there are N+1 nodes. Node N are input to filter N, and have node N+1 as output.
Nodes are a fusion of output/input of filters in the pipeline. Setting of an output will autoset the input of the next filter through this mechanism.
Definition at line 218 of file cxPipeline.cpp.
TimedAlgorithmPtr cx::Pipeline::getPipelineTimedAlgorithm | ( | ) |
Get the TimedAlgorithm for the entire pipeline. This is a composition of all the individual filters. Do not run this directly: Rather use the execute() method, use this for extra stuff like checking for finished.
Definition at line 276 of file cxPipeline.cpp.
TimedAlgorithmPtr cx::Pipeline::getTimedAlgorithm | ( | QString | uid | ) |
Get the TimedAlgorithm for a given filter. Do not run this directly: Rather use the execute() method to run all filters serially.
Definition at line 271 of file cxPipeline.cpp.
void cx::Pipeline::initialize | ( | FilterGroupPtr | filter | ) |
Initialize pipeline. Do once before use.
Definition at line 140 of file cxPipeline.cpp.
|
slot |
Definition at line 262 of file cxPipeline.cpp.
void cx::Pipeline::setOption | ( | QString | valueName, |
QVariant | value | ||
) |
Set all options with the named valueName to the value, given that they are of the correct type.
Supported types: bool, double, QString, QColor
Definition at line 170 of file cxPipeline.cpp.