NorMIT-nav
18.04-rc6
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, 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, | ||
XmlOptionFile | settings | ||
) |
Definition at line 41 of file cxUsReconstructionImplService.cpp.
|
virtual |
Definition at line 62 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 77 of file cxUsReconstructionImplService.cpp.
|
virtual |
Implements cx::UsReconstructionService.
Definition at line 236 of file cxUsReconstructionImplService.cpp.
|
virtual |
Return control parameters for the currently selected algorithm, adjustable like getParams()
Implements cx::UsReconstructionService.
Definition at line 160 of file cxUsReconstructionImplService.cpp.
|
virtual |
Return params controlling the output data. These are data-dependent.
Implements cx::UsReconstructionService.
Definition at line 149 of file cxUsReconstructionImplService.cpp.
|
virtual |
Return one of the standard parameters.
Implements cx::UsReconstructionService.
Definition at line 190 of file cxUsReconstructionImplService.cpp.
|
virtual |
Return the currently selected input data.
Implements cx::UsReconstructionService.
Definition at line 185 of file cxUsReconstructionImplService.cpp.
|
virtual |
Get the currently selected filename.
Implements cx::UsReconstructionService.
Definition at line 180 of file cxUsReconstructionImplService.cpp.
|
virtual |
Return the settings xml file where parameters are stored.
Implements cx::UsReconstructionService.
Definition at line 175 of file cxUsReconstructionImplService.cpp.
|
virtual |
Return the currently reconstructing thread object(s).
Implements cx::UsReconstructionService.
Definition at line 115 of file cxUsReconstructionImplService.cpp.
|
virtual |
Implements cx::UsReconstructionService.
Definition at line 66 of file cxUsReconstructionImplService.cpp.
|
virtualslot |
Definition at line 282 of file cxUsReconstructionImplService.cpp.
|
virtual |
Set input data for reconstruction.
Implements cx::UsReconstructionService.
Definition at line 195 of file cxUsReconstructionImplService.cpp.
|
virtual |
Set input data for reconstruction.
Implements cx::UsReconstructionService.
Definition at line 209 of file cxUsReconstructionImplService.cpp.
|
virtual |
Control the output volume.
Implements cx::UsReconstructionService.
Definition at line 154 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 93 of file cxUsReconstructionImplService.cpp.