CustusX
22.04-rc5
An IGT application
|
Manager for the us reconstruction process. More...
#include <cxUsReconstructionImplService.h>
Public Slots | |
virtual void | newDataOnDisk (QString mhdFilename) |
Public Slots inherited from cx::UsReconstructionService | |
virtual void | newDataOnDisk (QString mhdFilename)=0 |
Public Member Functions | |
UsReconstructionImplService (ctkPluginContext *pluginContext, PatientModelServicePtr patientModelService, ViewServicePtr viewService, FileManagerServicePtr filemanagerservice, XmlOptionFile settings) | |
virtual | ~UsReconstructionImplService () |
virtual bool | isNull () |
virtual void | selectData (QString filename, QString calFilesPath="") |
Set input data for reconstruction. More... | |
virtual void | selectData (USReconstructInputData data) |
Set input data for reconstruction. More... | |
virtual QString | getSelectedFilename () const |
Get the currently selected filename. More... | |
virtual USReconstructInputData | getSelectedFileData () |
Return the currently selected input data. More... | |
virtual PropertyPtr | getParam (QString uid) |
Return one of the standard parameters. More... | |
virtual std::vector< PropertyPtr > | getAlgoOptions () |
Return control parameters for the currently selected algorithm, adjustable like getParams() More... | |
virtual XmlOptionFile | getSettings () |
Return the settings xml file where parameters are stored. More... | |
virtual OutputVolumeParams | getOutputVolumeParams () const |
Return params controlling the output data. These are data-dependent. More... | |
virtual void | setOutputVolumeParams (const OutputVolumeParams &par) |
Control the output volume. More... | |
virtual void | startReconstruction () |
virtual std::set< cx::TimedAlgorithmPtr > | getThreadedReconstruction () |
Return the currently reconstructing thread object(s). More... | |
virtual ReconstructionMethodService * | createAlgorithm () |
virtual ReconstructCore::InputParams | createCoreParameters () |
Additional Inherited Members | |
Signals inherited from cx::UsReconstructionService | |
void | paramsChanged () |
void | algorithmChanged () |
void | inputDataSelected (QString mhdFileName) |
void | reconstructAboutToStart () |
void | reconstructStarted () |
void | reconstructFinished () |
void | newInputDataAvailable (QString mhdFileName) |
void | newInputDataPath (QString path) |
Static Public Member Functions inherited from cx::UsReconstructionService | |
static UsReconstructionServicePtr | getNullObject () |
Manager for the us reconstruction process.
Create a 3D volume based on a set of 2D images with 3D position.
* Used coordinate systems: * u = raw input Ultrasound frames (in x, y. Origin lower left.) * t = Tool space for probe as defined in ssc:Tool (z in ray direction, y to the left) * s = probe localizer Sensor. * pr = Patient Reference localizer sensor. * d = Output Data space *
Definition at line 53 of file cxUsReconstructionImplService.h.
cx::UsReconstructionImplService::UsReconstructionImplService | ( | ctkPluginContext * | pluginContext, |
PatientModelServicePtr | patientModelService, | ||
ViewServicePtr | viewService, | ||
FileManagerServicePtr | filemanagerservice, | ||
XmlOptionFile | settings | ||
) |
Definition at line 42 of file cxUsReconstructionImplService.cpp.
|
virtual |
Definition at line 64 of file cxUsReconstructionImplService.cpp.
|
virtual |
Create the reconstruct algorithm object. This is usually created internally during reconstruction, published for use in unit testing.
Implements cx::UsReconstructionService.
Definition at line 79 of file cxUsReconstructionImplService.cpp.
|
virtual |
Implements cx::UsReconstructionService.
Definition at line 245 of file cxUsReconstructionImplService.cpp.
|
virtual |
Return control parameters for the currently selected algorithm, adjustable like getParams()
Implements cx::UsReconstructionService.
Definition at line 164 of file cxUsReconstructionImplService.cpp.
|
virtual |
Return params controlling the output data. These are data-dependent.
Implements cx::UsReconstructionService.
Definition at line 153 of file cxUsReconstructionImplService.cpp.
|
virtual |
Return one of the standard parameters.
Implements cx::UsReconstructionService.
Definition at line 194 of file cxUsReconstructionImplService.cpp.
|
virtual |
Return the currently selected input data.
Implements cx::UsReconstructionService.
Definition at line 189 of file cxUsReconstructionImplService.cpp.
|
virtual |
Get the currently selected filename.
Implements cx::UsReconstructionService.
Definition at line 184 of file cxUsReconstructionImplService.cpp.
|
virtual |
Return the settings xml file where parameters are stored.
Implements cx::UsReconstructionService.
Definition at line 179 of file cxUsReconstructionImplService.cpp.
|
virtual |
Return the currently reconstructing thread object(s).
Implements cx::UsReconstructionService.
Definition at line 119 of file cxUsReconstructionImplService.cpp.
|
virtual |
Implements cx::UsReconstructionService.
Definition at line 68 of file cxUsReconstructionImplService.cpp.
|
virtualslot |
Definition at line 291 of file cxUsReconstructionImplService.cpp.
|
virtual |
Set input data for reconstruction.
Implements cx::UsReconstructionService.
Definition at line 199 of file cxUsReconstructionImplService.cpp.
|
virtual |
Set input data for reconstruction.
Implements cx::UsReconstructionService.
Definition at line 218 of file cxUsReconstructionImplService.cpp.
|
virtual |
Control the output volume.
Implements cx::UsReconstructionService.
Definition at line 158 of file cxUsReconstructionImplService.cpp.
|
virtual |
Execute the reconstruction in another thread.
The returned cores can be used to retrieve output, but this must be done AFTER the threads have completed. In general, dont use the retval, it is for unit testing.
Implements cx::UsReconstructionService.
Definition at line 95 of file cxUsReconstructionImplService.cpp.