CustusX  2020.11.07-dev+develop.4ce4a
An IGT application
cx::UsReconstructionService Class Referenceabstract

#include <cxUsReconstructionService.h>

Inheritance diagram for cx::UsReconstructionService:
cx::UsReconstructionImplService cx::UsReconstructionServiceNull cx::UsReconstructionServiceProxy

Public Slots

virtual void newDataOnDisk (QString mhdFilename)=0
 

Signals

void paramsChanged ()
 
void algorithmChanged ()
 
void inputDataSelected (QString mhdFileName)
 
void reconstructAboutToStart ()
 
void reconstructStarted ()
 
void reconstructFinished ()
 
void newInputDataAvailable (QString mhdFileName)
 
void newInputDataPath (QString path)
 

Public Member Functions

virtual void selectData (QString filename, QString calFilesPath="")=0
 Set input data for reconstruction. More...
 
virtual void selectData (USReconstructInputData data)=0
 Set input data for reconstruction. More...
 
virtual QString getSelectedFilename () const =0
 Get the currently selected filename. More...
 
virtual USReconstructInputData getSelectedFileData ()=0
 Return the currently selected input data. More...
 
virtual PropertyPtr getParam (QString uid)=0
 Return one of the standard parameters. More...
 
virtual std::vector< PropertyPtrgetAlgoOptions ()=0
 Return control parameters for the currently selected algorithm, adjustable like getParams() More...
 
virtual XmlOptionFile getSettings ()=0
 Return the settings xml file where parameters are stored. More...
 
virtual OutputVolumeParams getOutputVolumeParams () const =0
 Return params controlling the output data. These are data-dependent. More...
 
virtual void setOutputVolumeParams (const OutputVolumeParams &par)=0
 Control the output volume. More...
 
virtual void startReconstruction ()=0
 
virtual std::set< cx::TimedAlgorithmPtrgetThreadedReconstruction ()=0
 Return the currently reconstructing thread object(s). More...
 
virtual ReconstructionMethodServicecreateAlgorithm ()=0
 
virtual ReconstructCore::InputParams createCoreParameters ()=0
 
virtual bool isNull ()=0
 

Static Public Member Functions

static UsReconstructionServicePtr getNullObject ()
 

Detailed Description

Definition at line 50 of file cxUsReconstructionService.h.

Member Function Documentation

void cx::UsReconstructionService::algorithmChanged ( )
signal
virtual ReconstructionMethodService* cx::UsReconstructionService::createAlgorithm ( )
pure virtual

Create the reconstruct algorithm object. This is usually created internally during reconstruction, published for use in unit testing.

Implemented in cx::UsReconstructionImplService, cx::UsReconstructionServiceProxy, and cx::UsReconstructionServiceNull.

virtual ReconstructCore::InputParams cx::UsReconstructionService::createCoreParameters ( )
pure virtual
virtual std::vector<PropertyPtr> cx::UsReconstructionService::getAlgoOptions ( )
pure virtual

Return control parameters for the currently selected algorithm, adjustable like getParams()

Implemented in cx::UsReconstructionImplService, cx::UsReconstructionServiceProxy, and cx::UsReconstructionServiceNull.

UsReconstructionServicePtr cx::UsReconstructionService::getNullObject ( )
static

Definition at line 19 of file cxUsReconstructionService.cpp.

virtual OutputVolumeParams cx::UsReconstructionService::getOutputVolumeParams ( ) const
pure virtual

Return params controlling the output data. These are data-dependent.

Implemented in cx::UsReconstructionImplService, cx::UsReconstructionServiceProxy, and cx::UsReconstructionServiceNull.

virtual PropertyPtr cx::UsReconstructionService::getParam ( QString  uid)
pure virtual

Return one of the standard parameters.

Implemented in cx::UsReconstructionImplService, cx::UsReconstructionServiceProxy, and cx::UsReconstructionServiceNull.

virtual USReconstructInputData cx::UsReconstructionService::getSelectedFileData ( )
pure virtual

Return the currently selected input data.

Implemented in cx::UsReconstructionImplService, cx::UsReconstructionServiceProxy, and cx::UsReconstructionServiceNull.

virtual QString cx::UsReconstructionService::getSelectedFilename ( ) const
pure virtual

Get the currently selected filename.

Implemented in cx::UsReconstructionImplService, cx::UsReconstructionServiceProxy, and cx::UsReconstructionServiceNull.

virtual XmlOptionFile cx::UsReconstructionService::getSettings ( )
pure virtual

Return the settings xml file where parameters are stored.

Implemented in cx::UsReconstructionImplService, cx::UsReconstructionServiceProxy, and cx::UsReconstructionServiceNull.

virtual std::set<cx::TimedAlgorithmPtr> cx::UsReconstructionService::getThreadedReconstruction ( )
pure virtual

Return the currently reconstructing thread object(s).

Implemented in cx::UsReconstructionImplService, cx::UsReconstructionServiceProxy, and cx::UsReconstructionServiceNull.

void cx::UsReconstructionService::inputDataSelected ( QString  mhdFileName)
signal
virtual bool cx::UsReconstructionService::isNull ( )
pure virtual
virtual void cx::UsReconstructionService::newDataOnDisk ( QString  mhdFilename)
pure virtualslot
void cx::UsReconstructionService::newInputDataAvailable ( QString  mhdFileName)
signal
void cx::UsReconstructionService::newInputDataPath ( QString  path)
signal
void cx::UsReconstructionService::paramsChanged ( )
signal
void cx::UsReconstructionService::reconstructAboutToStart ( )
signal
void cx::UsReconstructionService::reconstructFinished ( )
signal
void cx::UsReconstructionService::reconstructStarted ( )
signal
virtual void cx::UsReconstructionService::selectData ( QString  filename,
QString  calFilesPath = "" 
)
pure virtual
virtual void cx::UsReconstructionService::selectData ( USReconstructInputData  data)
pure virtual
virtual void cx::UsReconstructionService::setOutputVolumeParams ( const OutputVolumeParams par)
pure virtual
virtual void cx::UsReconstructionService::startReconstruction ( )
pure 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.

Implemented in cx::UsReconstructionImplService, cx::UsReconstructionServiceProxy, and cx::UsReconstructionServiceNull.


The documentation for this class was generated from the following files: