NorMIT-nav  2023.01.05-dev+develop.0da12
An IGT application
cx::UsReconstructionServiceNull Class Reference

#include <cxUsReconstructionServiceNull.h>

Inheritance diagram for cx::UsReconstructionServiceNull:
cx::UsReconstructionService

Public Slots

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

Public Member Functions

 UsReconstructionServiceNull ()
 
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 setOutputRelativePath (QString path)
 
virtual void setOutputBasePath (QString path)
 
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 24 of file cxUsReconstructionServiceNull.h.

Constructor & Destructor Documentation

◆ UsReconstructionServiceNull()

cx::UsReconstructionServiceNull::UsReconstructionServiceNull ( )

Definition at line 18 of file cxUsReconstructionServiceNull.cpp.

Member Function Documentation

◆ createAlgorithm()

ReconstructionMethodService * cx::UsReconstructionServiceNull::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 104 of file cxUsReconstructionServiceNull.cpp.

◆ createCoreParameters()

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

Implements cx::UsReconstructionService.

Definition at line 110 of file cxUsReconstructionServiceNull.cpp.

◆ getAlgoOptions()

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

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

Implements cx::UsReconstructionService.

Definition at line 60 of file cxUsReconstructionServiceNull.cpp.

◆ getOutputVolumeParams()

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

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

Implements cx::UsReconstructionService.

Definition at line 72 of file cxUsReconstructionServiceNull.cpp.

◆ getParam()

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

Return one of the standard parameters.

Implements cx::UsReconstructionService.

Definition at line 48 of file cxUsReconstructionServiceNull.cpp.

◆ getSelectedFileData()

USReconstructInputData cx::UsReconstructionServiceNull::getSelectedFileData ( )
virtual

Return the currently selected input data.

Implements cx::UsReconstructionService.

Definition at line 42 of file cxUsReconstructionServiceNull.cpp.

◆ getSelectedFilename()

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

Get the currently selected filename.

Implements cx::UsReconstructionService.

Definition at line 36 of file cxUsReconstructionServiceNull.cpp.

◆ getSettings()

XmlOptionFile cx::UsReconstructionServiceNull::getSettings ( )
virtual

Return the settings xml file where parameters are stored.

Implements cx::UsReconstructionService.

Definition at line 66 of file cxUsReconstructionServiceNull.cpp.

◆ getThreadedReconstruction()

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

Return the currently reconstructing thread object(s).

Implements cx::UsReconstructionService.

Definition at line 98 of file cxUsReconstructionServiceNull.cpp.

◆ isNull()

bool cx::UsReconstructionServiceNull::isNull ( )
virtual

Implements cx::UsReconstructionService.

Definition at line 116 of file cxUsReconstructionServiceNull.cpp.

◆ newDataOnDisk

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

Definition at line 121 of file cxUsReconstructionServiceNull.cpp.

◆ selectData() [1/2]

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

Set input data for reconstruction.

Implements cx::UsReconstructionService.

Definition at line 26 of file cxUsReconstructionServiceNull.cpp.

◆ selectData() [2/2]

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

Set input data for reconstruction.

Implements cx::UsReconstructionService.

Definition at line 31 of file cxUsReconstructionServiceNull.cpp.

◆ setOutputBasePath()

void cx::UsReconstructionServiceNull::setOutputBasePath ( QString  path)
virtual

Definition at line 88 of file cxUsReconstructionServiceNull.cpp.

◆ setOutputRelativePath()

void cx::UsReconstructionServiceNull::setOutputRelativePath ( QString  path)
virtual

Definition at line 83 of file cxUsReconstructionServiceNull.cpp.

◆ setOutputVolumeParams()

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

Control the output volume.

Implements cx::UsReconstructionService.

Definition at line 78 of file cxUsReconstructionServiceNull.cpp.

◆ startReconstruction()

void cx::UsReconstructionServiceNull::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 93 of file cxUsReconstructionServiceNull.cpp.


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