Fraxinus  16.5.0-fx-rc7
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
cx::UsReconstructionImplService Class Reference

Manager for the us reconstruction process. More...

#include <cxUsReconstructionImplService.h>

Inheritance diagram for cx::UsReconstructionImplService:
cx::UsReconstructionService

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

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

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
* 
Author
Ole Vegard Solberg
Christian Askeland
Janne Beate Bakeng
Date
May 4, 2010

Definition at line 74 of file cxUsReconstructionImplService.h.

Constructor & Destructor Documentation

cx::UsReconstructionImplService::UsReconstructionImplService ( ctkPluginContext *  pluginContext,
PatientModelServicePtr  patientModelService,
ViewServicePtr  viewService,
XmlOptionFile  settings 
)

Definition at line 62 of file cxUsReconstructionImplService.cpp.

cx::UsReconstructionImplService::~UsReconstructionImplService ( )
virtual

Definition at line 83 of file cxUsReconstructionImplService.cpp.

Member Function Documentation

ReconstructionMethodService * cx::UsReconstructionImplService::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 98 of file cxUsReconstructionImplService.cpp.

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

Implements cx::UsReconstructionService.

Definition at line 257 of file cxUsReconstructionImplService.cpp.

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

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

Implements cx::UsReconstructionService.

Definition at line 181 of file cxUsReconstructionImplService.cpp.

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

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

Implements cx::UsReconstructionService.

Definition at line 170 of file cxUsReconstructionImplService.cpp.

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

Return one of the standard parameters.

Implements cx::UsReconstructionService.

Definition at line 211 of file cxUsReconstructionImplService.cpp.

USReconstructInputData cx::UsReconstructionImplService::getSelectedFileData ( )
virtual

Return the currently selected input data.

Implements cx::UsReconstructionService.

Definition at line 206 of file cxUsReconstructionImplService.cpp.

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

Get the currently selected filename.

Implements cx::UsReconstructionService.

Definition at line 201 of file cxUsReconstructionImplService.cpp.

XmlOptionFile cx::UsReconstructionImplService::getSettings ( )
virtual

Return the settings xml file where parameters are stored.

Implements cx::UsReconstructionService.

Definition at line 196 of file cxUsReconstructionImplService.cpp.

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

Return the currently reconstructing thread object(s).

Implements cx::UsReconstructionService.

Definition at line 136 of file cxUsReconstructionImplService.cpp.

bool cx::UsReconstructionImplService::isNull ( )
virtual

Implements cx::UsReconstructionService.

Definition at line 87 of file cxUsReconstructionImplService.cpp.

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

Definition at line 301 of file cxUsReconstructionImplService.cpp.

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

Set input data for reconstruction.

Implements cx::UsReconstructionService.

Definition at line 216 of file cxUsReconstructionImplService.cpp.

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

Set input data for reconstruction.

Implements cx::UsReconstructionService.

Definition at line 230 of file cxUsReconstructionImplService.cpp.

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

Control the output volume.

Implements cx::UsReconstructionService.

Definition at line 175 of file cxUsReconstructionImplService.cpp.

void cx::UsReconstructionImplService::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 114 of file cxUsReconstructionImplService.cpp.


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