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

#include <cxRegistrationImplService.h>

Inheritance diagram for cx::RegistrationImplService:
cx::RegistrationService

Public Member Functions

 RegistrationImplService (ctkPluginContext *context)
 
virtual ~RegistrationImplService ()
 
virtual void setMovingData (DataPtr data)
 
virtual void setFixedData (DataPtr data)
 
void setMovingData (QString uid)
 
void setFixedData (QString uid)
 
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 dMd, QString description)
 
virtual void updateImage2ImageRegistration (Transform3D dMd, 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)
 Identical to doFastRegistration_Orientation(), except data does not move. More...
 
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

Implementation of Registration service.

Date
2014-08-26
Author
Ole Vegard Solberg, SINTEF
Geir Arne Tangen, SINTEF

Definition at line 41 of file cxRegistrationImplService.h.

Constructor & Destructor Documentation

cx::RegistrationImplService::RegistrationImplService ( ctkPluginContext *  context)

Definition at line 36 of file cxRegistrationImplService.cpp.

cx::RegistrationImplService::~RegistrationImplService ( )
virtual

Definition at line 47 of file cxRegistrationImplService.cpp.

Member Function Documentation

void cx::RegistrationImplService::addImage2ImageRegistration ( Transform3D  dMd,
QString  description 
)
virtual

Implements cx::RegistrationService.

Definition at line 396 of file cxRegistrationImplService.cpp.

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

Implements cx::RegistrationService.

Definition at line 419 of file cxRegistrationImplService.cpp.

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

Identical to doFastRegistration_Orientation(), except data does not move.

When applying a new transform to the patient orientation, all data is moved the the inverse of that value, thus giving a net zero change along the path pr...d_i.

Implements cx::RegistrationService.

Definition at line 464 of file cxRegistrationImplService.cpp.

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

Perform a fast orientation by setting the patient registration equal to the current active tool position. Input is an additional transform tMtm that modifies the tool position. Use this to define DICOM-ish spaces relative to the tool.

Implements cx::RegistrationService.

Definition at line 229 of file cxRegistrationImplService.cpp.

void cx::RegistrationImplService::doFastRegistration_Translation ( )
virtual

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

Implements cx::RegistrationService.

Definition at line 185 of file cxRegistrationImplService.cpp.

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

Implements cx::RegistrationService.

Definition at line 277 of file cxRegistrationImplService.cpp.

void cx::RegistrationImplService::doPatientRegistration ( )
virtual

registrates the fixed image to the patient

Implements cx::RegistrationService.

Definition at line 150 of file cxRegistrationImplService.cpp.

DataPtr cx::RegistrationImplService::getFixedData ( )
virtual

Implements cx::RegistrationService.

Definition at line 135 of file cxRegistrationImplService.cpp.

QDateTime cx::RegistrationImplService::getLastRegistrationTime ( )
virtual

Implements cx::RegistrationService.

Definition at line 140 of file cxRegistrationImplService.cpp.

DataPtr cx::RegistrationImplService::getMovingData ( )
virtual

Implements cx::RegistrationService.

Definition at line 130 of file cxRegistrationImplService.cpp.

bool cx::RegistrationImplService::isNull ( )
virtual

Implements cx::RegistrationService.

Definition at line 541 of file cxRegistrationImplService.cpp.

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

Implements cx::RegistrationService.

Definition at line 109 of file cxRegistrationImplService.cpp.

void cx::RegistrationImplService::setFixedData ( QString  uid)

Definition at line 122 of file cxRegistrationImplService.cpp.

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

Implements cx::RegistrationService.

Definition at line 145 of file cxRegistrationImplService.cpp.

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

Implements cx::RegistrationService.

Definition at line 104 of file cxRegistrationImplService.cpp.

void cx::RegistrationImplService::setMovingData ( QString  uid)

Definition at line 114 of file cxRegistrationImplService.cpp.

void cx::RegistrationImplService::updateImage2ImageRegistration ( Transform3D  dMd,
QString  description 
)
virtual

Implements cx::RegistrationService.

Definition at line 401 of file cxRegistrationImplService.cpp.

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

Implements cx::RegistrationService.

Definition at line 424 of file cxRegistrationImplService.cpp.


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