CustusX  2023.01.05-dev+develop.0da12
An IGT application
cx::RegistrationServiceProxy Class Reference

Always provides a RegistrationService. More...

#include <cxRegistrationServiceProxy.h>

Inheritance diagram for cx::RegistrationServiceProxy:
cx::RegistrationService

Public Member Functions

 RegistrationServiceProxy (ctkPluginContext *context)
 
 ~RegistrationServiceProxy ()
 
virtual void setMovingData (DataPtr data)
 
virtual void setFixedData (DataPtr data)
 
virtual DataPtr getMovingData ()
 
virtual DataPtr getFixedData ()
 
virtual void doPatientRegistration ()
 registrates the fixed image to the patient More...
 
virtual void doFastRegistration_Translation ()
 use the landmarks in master image and patient to perform a translation-only landmark registration More...
 
virtual void doFastRegistration_Orientation (const Transform3D &tMtm, const Transform3D &prMt)
 
virtual void doImageRegistration (bool translationOnly)
 
virtual void addImage2ImageRegistration (Transform3D delta_pre_rMd, QString description)
 
virtual void updateImage2ImageRegistration (Transform3D delta_pre_rMd, QString description)
 
virtual void addPatientRegistration (Transform3D rMpr_new, QString description)
 
virtual void updatePatientRegistration (Transform3D rMpr_new, QString description)
 
virtual void applyPatientOrientation (const Transform3D &tMtm, const Transform3D &prMt)
 
virtual QDateTime getLastRegistrationTime ()
 
virtual void setLastRegistrationTime (QDateTime time)
 
virtual bool isNull ()
 
- Public Member Functions inherited from cx::RegistrationService
virtual ~RegistrationService ()
 
QString getFixedDataUid ()
 
QString getMovingDataUid ()
 

Additional Inherited Members

- Signals inherited from cx::RegistrationService
void fixedDataChanged (QString uid)
 
void movingDataChanged (QString uid)
 
- Static Public Member Functions inherited from cx::RegistrationService
static RegistrationServicePtr getNullObject ()
 

Detailed Description

Always provides a RegistrationService.

Use the Proxy design pattern. Uses ServiceTrackerListener to either provide an implementation of RegistrationService or the null object (RegistrationServiceNull)

Date
2014-09-10
Author
Ole Vegard Solberg, SINTEF

Definition at line 40 of file cxRegistrationServiceProxy.h.

Constructor & Destructor Documentation

cx::RegistrationServiceProxy::RegistrationServiceProxy ( ctkPluginContext *  context)

Definition at line 23 of file cxRegistrationServiceProxy.cpp.

cx::RegistrationServiceProxy::~RegistrationServiceProxy ( )
inline

Definition at line 45 of file cxRegistrationServiceProxy.h.

Member Function Documentation

void cx::RegistrationServiceProxy::addImage2ImageRegistration ( Transform3D  delta_pre_rMd,
QString  description 
)
virtual

Implements cx::RegistrationService.

Definition at line 103 of file cxRegistrationServiceProxy.cpp.

void cx::RegistrationServiceProxy::addPatientRegistration ( Transform3D  rMpr_new,
QString  description 
)
virtual

Implements cx::RegistrationService.

Definition at line 113 of file cxRegistrationServiceProxy.cpp.

void cx::RegistrationServiceProxy::applyPatientOrientation ( const Transform3D tMtm,
const Transform3D prMt 
)
virtual

Implements cx::RegistrationService.

Definition at line 123 of file cxRegistrationServiceProxy.cpp.

void cx::RegistrationServiceProxy::doFastRegistration_Orientation ( const Transform3D tMtm,
const Transform3D prMt 
)
virtual

Implements cx::RegistrationService.

Definition at line 93 of file cxRegistrationServiceProxy.cpp.

void cx::RegistrationServiceProxy::doFastRegistration_Translation ( )
virtual

use the landmarks in master image and patient to perform a translation-only landmark registration

Implements cx::RegistrationService.

Definition at line 88 of file cxRegistrationServiceProxy.cpp.

void cx::RegistrationServiceProxy::doImageRegistration ( bool  translationOnly)
virtual

Implements cx::RegistrationService.

Definition at line 98 of file cxRegistrationServiceProxy.cpp.

void cx::RegistrationServiceProxy::doPatientRegistration ( )
virtual

registrates the fixed image to the patient

Implements cx::RegistrationService.

Definition at line 83 of file cxRegistrationServiceProxy.cpp.

DataPtr cx::RegistrationServiceProxy::getFixedData ( )
virtual

Implements cx::RegistrationService.

Definition at line 78 of file cxRegistrationServiceProxy.cpp.

QDateTime cx::RegistrationServiceProxy::getLastRegistrationTime ( )
virtual

Implements cx::RegistrationService.

Definition at line 128 of file cxRegistrationServiceProxy.cpp.

DataPtr cx::RegistrationServiceProxy::getMovingData ( )
virtual

Implements cx::RegistrationService.

Definition at line 73 of file cxRegistrationServiceProxy.cpp.

bool cx::RegistrationServiceProxy::isNull ( )
virtual

Implements cx::RegistrationService.

Definition at line 138 of file cxRegistrationServiceProxy.cpp.

void cx::RegistrationServiceProxy::setFixedData ( DataPtr  data)
virtual

Implements cx::RegistrationService.

Definition at line 68 of file cxRegistrationServiceProxy.cpp.

void cx::RegistrationServiceProxy::setLastRegistrationTime ( QDateTime  time)
virtual

Implements cx::RegistrationService.

Definition at line 133 of file cxRegistrationServiceProxy.cpp.

void cx::RegistrationServiceProxy::setMovingData ( DataPtr  data)
virtual

Implements cx::RegistrationService.

Definition at line 62 of file cxRegistrationServiceProxy.cpp.

void cx::RegistrationServiceProxy::updateImage2ImageRegistration ( Transform3D  delta_pre_rMd,
QString  description 
)
virtual

Implements cx::RegistrationService.

Definition at line 108 of file cxRegistrationServiceProxy.cpp.

void cx::RegistrationServiceProxy::updatePatientRegistration ( Transform3D  rMpr_new,
QString  description 
)
virtual

Implements cx::RegistrationService.

Definition at line 118 of file cxRegistrationServiceProxy.cpp.


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