MITK-IGT
IGT Extension of MITK
Loading...
Searching...
No Matches
IterativeClosestPointRegistration.h
Go to the documentation of this file.
1/*===================================================================
2
3The Medical Imaging Interaction Toolkit (MITK)
4
5Copyright (c) German Cancer Research Center,
6Division of Medical and Biological Informatics.
7All rights reserved.
8
9This software is distributed WITHOUT ANY WARRANTY; without
10even the implied warranty of MERCHANTABILITY or FITNESS FOR
11A PARTICULAR PURPOSE.
12
13See LICENSE.txt or http://www.mitk.org for details.
14
15===================================================================*/
16
17
18#ifndef IterativeClosestPointRegistration_h
19#define IterativeClosestPointRegistration_h
20
21#include <berryISelectionListener.h>
22
23#include <QmitkAbstractView.h>
24
25#include "ui_IterativeClosestPointRegistrationControls.h"
26
35class IterativeClosestPointRegistration : public QmitkAbstractView
36{
37 // this is needed for all Qt objects that should have a Qt meta-object
38 // (everything that derives from QObject and wants to have signal/slots)
39 Q_OBJECT
40
41public:
42 static const std::string VIEW_ID;
43
44protected:
45 virtual void CreateQtPartControl(QWidget *parent) override;
46
47 virtual void SetFocus() override;
48
50 virtual void OnSelectionChanged(berry::IWorkbenchPart::Pointer source,
51 const QList<mitk::DataNode::Pointer> &nodes) override;
52
54 void PerformICP();
55
57 void MoveSurfaceBack();
58
59 mitk::AffineTransform3D::Pointer m_OldTransformation;
60
61 Ui::IterativeClosestPointRegistrationControls m_Controls;
62};
63
64#endif // IterativeClosestPointRegistration_h
virtual void OnSelectionChanged(berry::IWorkbenchPart::Pointer source, const QList< mitk::DataNode::Pointer > &nodes) override
called by QmitkFunctionality when DataManager's selection has changed
void PerformICP()
Called when the user clicks the GUI button perform the ICP.
void MoveSurfaceBack()
Called when the user clicks the GUI button to move the surface back.
Ui::IterativeClosestPointRegistrationControls m_Controls
virtual void CreateQtPartControl(QWidget *parent) override
mitk::AffineTransform3D::Pointer m_OldTransformation