CustusX  16.5.0-rc9
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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::TimedAlgorithmPtr
getThreadedReconstruction ()
 Return the currently reconstructing thread object(s). More...
 
virtual
ReconstructionMethodService
createAlgorithm ()
 
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 48 of file cxUsReconstructionServiceProxy.h.

Constructor & Destructor Documentation

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

Definition at line 54 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 184 of file cxUsReconstructionServiceProxy.cpp.

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

Implements cx::UsReconstructionService.

Definition at line 189 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 144 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 154 of file cxUsReconstructionServiceProxy.cpp.

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

Return one of the standard parameters.

Implements cx::UsReconstructionService.

Definition at line 134 of file cxUsReconstructionServiceProxy.cpp.

USReconstructInputData cx::UsReconstructionServiceProxy::getSelectedFileData ( )
virtual

Return the currently selected input data.

Implements cx::UsReconstructionService.

Definition at line 129 of file cxUsReconstructionServiceProxy.cpp.

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

Get the currently selected filename.

Implements cx::UsReconstructionService.

Definition at line 124 of file cxUsReconstructionServiceProxy.cpp.

XmlOptionFile cx::UsReconstructionServiceProxy::getSettings ( )
virtual

Return the settings xml file where parameters are stored.

Implements cx::UsReconstructionService.

Definition at line 149 of file cxUsReconstructionServiceProxy.cpp.

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

Return the currently reconstructing thread object(s).

Implements cx::UsReconstructionService.

Definition at line 179 of file cxUsReconstructionServiceProxy.cpp.

bool cx::UsReconstructionServiceProxy::isNull ( )
virtual

Implements cx::UsReconstructionService.

Definition at line 107 of file cxUsReconstructionServiceProxy.cpp.

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

Definition at line 194 of file cxUsReconstructionServiceProxy.cpp.

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

Set input data for reconstruction.

Implements cx::UsReconstructionService.

Definition at line 114 of file cxUsReconstructionServiceProxy.cpp.

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

Set input data for reconstruction.

Implements cx::UsReconstructionService.

Definition at line 119 of file cxUsReconstructionServiceProxy.cpp.

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

Control the output volume.

Implements cx::UsReconstructionService.

Definition at line 159 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 174 of file cxUsReconstructionServiceProxy.cpp.


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