CustusX  2020.11.07-dev+develop.4ce4a
An IGT application
cx::UsReconstructionServiceProxy Class Reference

#include <cxUsReconstructionServiceProxy.h>

Inheritance diagram for cx::UsReconstructionServiceProxy:
cx::UsReconstructionService

Public Slots

virtual void newDataOnDisk (QString mhdFilename)
 
- Public Slots inherited from cx::UsReconstructionService
virtual void newDataOnDisk (QString mhdFilename)=0
 

Public Member Functions

 UsReconstructionServiceProxy (ctkPluginContext *pluginContext)
 
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< PropertyPtrgetAlgoOptions ()
 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::TimedAlgorithmPtrgetThreadedReconstruction ()
 Return the currently reconstructing thread object(s). More...
 
virtual ReconstructionMethodServicecreateAlgorithm ()
 
virtual ReconstructCore::InputParams createCoreParameters ()
 
virtual bool isNull ()
 

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 ()
 

Detailed Description

Definition at line 27 of file cxUsReconstructionServiceProxy.h.

Constructor & Destructor Documentation

cx::UsReconstructionServiceProxy::UsReconstructionServiceProxy ( ctkPluginContext *  pluginContext)

Definition at line 33 of file cxUsReconstructionServiceProxy.cpp.

Member Function Documentation

ReconstructionMethodService * cx::UsReconstructionServiceProxy::createAlgorithm ( )
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 163 of file cxUsReconstructionServiceProxy.cpp.

ReconstructCore::InputParams cx::UsReconstructionServiceProxy::createCoreParameters ( )
virtual

Implements cx::UsReconstructionService.

Definition at line 168 of file cxUsReconstructionServiceProxy.cpp.

std::vector< PropertyPtr > cx::UsReconstructionServiceProxy::getAlgoOptions ( )
virtual

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

Implements cx::UsReconstructionService.

Definition at line 123 of file cxUsReconstructionServiceProxy.cpp.

OutputVolumeParams cx::UsReconstructionServiceProxy::getOutputVolumeParams ( ) const
virtual

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

Implements cx::UsReconstructionService.

Definition at line 133 of file cxUsReconstructionServiceProxy.cpp.

PropertyPtr cx::UsReconstructionServiceProxy::getParam ( QString  uid)
virtual

Return one of the standard parameters.

Implements cx::UsReconstructionService.

Definition at line 113 of file cxUsReconstructionServiceProxy.cpp.

USReconstructInputData cx::UsReconstructionServiceProxy::getSelectedFileData ( )
virtual

Return the currently selected input data.

Implements cx::UsReconstructionService.

Definition at line 108 of file cxUsReconstructionServiceProxy.cpp.

QString cx::UsReconstructionServiceProxy::getSelectedFilename ( ) const
virtual

Get the currently selected filename.

Implements cx::UsReconstructionService.

Definition at line 103 of file cxUsReconstructionServiceProxy.cpp.

XmlOptionFile cx::UsReconstructionServiceProxy::getSettings ( )
virtual

Return the settings xml file where parameters are stored.

Implements cx::UsReconstructionService.

Definition at line 128 of file cxUsReconstructionServiceProxy.cpp.

std::set< TimedAlgorithmPtr > cx::UsReconstructionServiceProxy::getThreadedReconstruction ( )
virtual

Return the currently reconstructing thread object(s).

Implements cx::UsReconstructionService.

Definition at line 158 of file cxUsReconstructionServiceProxy.cpp.

bool cx::UsReconstructionServiceProxy::isNull ( )
virtual

Implements cx::UsReconstructionService.

Definition at line 86 of file cxUsReconstructionServiceProxy.cpp.

void cx::UsReconstructionServiceProxy::newDataOnDisk ( QString  mhdFilename)
virtualslot

Definition at line 173 of file cxUsReconstructionServiceProxy.cpp.

void cx::UsReconstructionServiceProxy::selectData ( QString  filename,
QString  calFilesPath = "" 
)
virtual

Set input data for reconstruction.

Implements cx::UsReconstructionService.

Definition at line 93 of file cxUsReconstructionServiceProxy.cpp.

void cx::UsReconstructionServiceProxy::selectData ( USReconstructInputData  data)
virtual

Set input data for reconstruction.

Implements cx::UsReconstructionService.

Definition at line 98 of file cxUsReconstructionServiceProxy.cpp.

void cx::UsReconstructionServiceProxy::setOutputVolumeParams ( const OutputVolumeParams par)
virtual

Control the output volume.

Implements cx::UsReconstructionService.

Definition at line 138 of file cxUsReconstructionServiceProxy.cpp.

void cx::UsReconstructionServiceProxy::startReconstruction ( )
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 153 of file cxUsReconstructionServiceProxy.cpp.


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