Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
#include <QmitkRegistrationJob.h>
Signals | |
void | Finished () |
void | Error (QString err) |
void | RegResultIsAvailable (mitk::MAPRegistrationWrapper::Pointer spResultRegistration, const QmitkRegistrationJob *pJob) |
void | AlgorithmIterated (QString info, bool hasIterationCount, unsigned long currentIteration) |
void | LevelChanged (QString info, bool hasLevelCount, unsigned long currentLevel) |
void | AlgorithmStatusChanged (QString info) |
void | AlgorithmInfo (QString info) |
Public Member Functions | |
QmitkRegistrationJob (map::algorithm::RegistrationAlgorithmBase *pAlgorithm) | |
~QmitkRegistrationJob () | |
void | run () |
const map::algorithm::RegistrationAlgorithmBase * | GetLoadedAlgorithm () const |
Protected Types | |
typedef map::algorithm::facet::IterativeAlgorithmInterface | IIterativeAlgorithm |
typedef map::algorithm::facet::MultiResRegistrationAlgorithmInterface | IMultiResAlgorithm |
Protected Member Functions | |
const mitk::Image * | GetTargetDataAsImage () const |
const mitk::Image * | GetMovingDataAsImage () const |
void | OnMapAlgorithmEvent (::itk::Object *, const itk::EventObject &event) |
Protected Attributes | |
map::core::RegistrationBase::Pointer | m_spResultRegistration |
mitk::DataNode::Pointer | m_spRegNode |
mitk::DataNode::Pointer | m_spMappedImageNode |
::itk::MemberCommand< QmitkRegistrationJob >::Pointer | m_spCommand |
unsigned long | m_ObserverID |
map::algorithm::RegistrationAlgorithmBase::Pointer | m_spLoadedAlgorithm |
Definition at line 42 of file QmitkRegistrationJob.h.
|
protected |
Definition at line 85 of file QmitkRegistrationJob.h.
|
protected |
Definition at line 86 of file QmitkRegistrationJob.h.
QmitkRegistrationJob::QmitkRegistrationJob | ( | map::algorithm::RegistrationAlgorithmBase * | pAlgorithm | ) |
Definition at line 145 of file QmitkRegistrationJob.cpp.
References m_ErrorOccured, m_JobName, m_MapEntity, m_MovingDataUID, m_ObserverID, m_spCommand, m_spLoadedAlgorithm, m_spMovingMask, m_spTargetMask, m_StoreReg, m_TargetDataUID, mitk::New(), and OnMapAlgorithmEvent().
QmitkRegistrationJob::~QmitkRegistrationJob | ( | ) |
Definition at line 163 of file QmitkRegistrationJob.cpp.
References m_ObserverID, and m_spLoadedAlgorithm.
|
signal |
Referenced by OnMapAlgorithmEvent().
|
signal |
Referenced by OnMapAlgorithmEvent().
|
signal |
Referenced by OnMapAlgorithmEvent().
|
signal |
Referenced by run().
|
signal |
Referenced by run().
const map::algorithm::RegistrationAlgorithmBase * QmitkRegistrationJob::GetLoadedAlgorithm | ( | ) | const |
Definition at line 48 of file QmitkRegistrationJob.cpp.
References m_spLoadedAlgorithm.
|
protected |
Definition at line 43 of file QmitkRegistrationJob.cpp.
References m_spMovingData.
|
protected |
Definition at line 38 of file QmitkRegistrationJob.cpp.
References m_spTargetData.
|
signal |
Referenced by OnMapAlgorithmEvent().
|
protected |
Definition at line 53 of file QmitkRegistrationJob.cpp.
References AlgorithmInfo(), AlgorithmIterated(), AlgorithmStatusChanged(), info(), LevelChanged(), and m_spLoadedAlgorithm.
Referenced by QmitkRegistrationJob().
|
signal |
Referenced by run().
void QmitkRegistrationJob::run | ( | ) |
Definition at line 168 of file QmitkRegistrationJob.cpp.
References Error(), Finished(), mitk::MITKAlgorithmHelper::GetRegistration(), m_spLoadedAlgorithm, m_spMovingData, m_spMovingMask, m_spResultRegistration, m_spTargetData, m_spTargetMask, mitk::MAPRegistrationWrapper::New(), RegResultIsAvailable(), mitk::MITKAlgorithmHelper::SetData(), and mitk::MaskedAlgorithmHelper::SetMasks().
bool QmitkRegistrationJob::m_ErrorOccured |
Definition at line 75 of file QmitkRegistrationJob.h.
Referenced by QmitkRegistrationJob().
std::string QmitkRegistrationJob::m_JobName |
Definition at line 76 of file QmitkRegistrationJob.h.
Referenced by QmitkRegistrationJob().
bool QmitkRegistrationJob::m_MapEntity |
Definition at line 73 of file QmitkRegistrationJob.h.
Referenced by QmitkRegistrationJob().
mitk::NodeUIDType QmitkRegistrationJob::m_MovingDataUID |
Definition at line 78 of file QmitkRegistrationJob.h.
Referenced by QmitkRegistrationJob().
mitk::NodeUIDType QmitkRegistrationJob::m_MovingMaskDataUID |
Definition at line 80 of file QmitkRegistrationJob.h.
|
protected |
Definition at line 95 of file QmitkRegistrationJob.h.
Referenced by QmitkRegistrationJob(), and ~QmitkRegistrationJob().
|
protected |
Definition at line 94 of file QmitkRegistrationJob.h.
Referenced by QmitkRegistrationJob().
|
protected |
Definition at line 96 of file QmitkRegistrationJob.h.
Referenced by GetLoadedAlgorithm(), OnMapAlgorithmEvent(), QmitkRegistrationJob(), run(), and ~QmitkRegistrationJob().
|
protected |
Definition at line 92 of file QmitkRegistrationJob.h.
mitk::BaseData::ConstPointer QmitkRegistrationJob::m_spMovingData |
Definition at line 67 of file QmitkRegistrationJob.h.
Referenced by GetMovingDataAsImage(), and run().
mitk::Image::ConstPointer QmitkRegistrationJob::m_spMovingMask |
Definition at line 70 of file QmitkRegistrationJob.h.
Referenced by QmitkRegistrationJob(), and run().
|
protected |
Definition at line 90 of file QmitkRegistrationJob.h.
|
protected |
Definition at line 89 of file QmitkRegistrationJob.h.
Referenced by run().
mitk::BaseData::ConstPointer QmitkRegistrationJob::m_spTargetData |
Definition at line 66 of file QmitkRegistrationJob.h.
Referenced by GetTargetDataAsImage(), and run().
mitk::Image::ConstPointer QmitkRegistrationJob::m_spTargetMask |
Definition at line 69 of file QmitkRegistrationJob.h.
Referenced by QmitkRegistrationJob(), and run().
bool QmitkRegistrationJob::m_StoreReg |
Definition at line 74 of file QmitkRegistrationJob.h.
Referenced by QmitkRegistrationJob().
mitk::NodeUIDType QmitkRegistrationJob::m_TargetDataUID |
Definition at line 77 of file QmitkRegistrationJob.h.
Referenced by QmitkRegistrationJob().
mitk::NodeUIDType QmitkRegistrationJob::m_TargetMaskDataUID |
Definition at line 79 of file QmitkRegistrationJob.h.