NorMIT-nav  2023.01.05-dev+develop.0da12
An IGT application
cxSeansVesselRegistrationWidget.h
Go to the documentation of this file.
1 /*=========================================================================
2 This file is part of CustusX, an Image Guided Therapy Application.
3 
4 Copyright (c) SINTEF Department of Medical Technology.
5 All rights reserved.
6 
7 CustusX is released under a BSD 3-Clause license.
8 
9 See Lisence.txt (https://github.com/SINTEFMedtek/CustusX/blob/master/License.txt) for details.
10 =========================================================================*/
11 
12 #ifndef CXSEANSVESSELREGISTRATIONWIDGET_H_
13 #define CXSEANSVESSELREGISTRATIONWIDGET_H_
14 
16 #include "cxStringPropertyBase.h"
17 
18 class QSpinBox;
19 class QPushButton;
20 class QLabel;
21 #include "cxBoolProperty.h"
22 #include "cxDoubleProperty.h"
24 #include "cxTransform3D.h"
25 #include "org_custusx_registration_method_vessel_Export.h"
26 
27 namespace cx
28 {
29 class ICPWidget;
30 typedef boost::shared_ptr<class SeansVesselRegistrationDebugger> SeansVesselRegistrationDebuggerPtr;
31 typedef boost::shared_ptr<class GeometricRep> GeometricRepPtr;
32 typedef boost::shared_ptr<class SeansVesselReg> SeansVesselRegPtr;
33 typedef boost::shared_ptr<class MeshInView> MeshInViewPtr;
34 typedef boost::shared_ptr<class SpaceListener> SpaceListenerPtr;
35 
36 
37 
38 
47 class org_custusx_registration_method_vessel_EXPORT SeansVesselRegistrationWidget : public ICPRegistrationBaseWidget
48 {
49  Q_OBJECT
50 public:
51  SeansVesselRegistrationWidget(RegServicesPtr services, QWidget* parent);
53 
54 protected:
55  virtual void initializeRegistrator();
56  virtual void inputChanged();
57  virtual void applyRegistration(Transform3D delta);
58  virtual void onShown();
59  virtual void setup();
60 
61 private:
62  StringPropertyBasePtr mFixedImage;
63  StringPropertyBasePtr mMovingImage;
64 
65  SpaceListenerPtr mSpaceListenerMoving;
66  SpaceListenerPtr mSpaceListenerFixed;
67 };
68 
69 
70 }//namespace cx
71 
72 #endif /* CXSEANSVESSELREGISTRATIONWIDGET_H_ */
cx::SpaceListenerPtr
boost::shared_ptr< class SpaceListener > SpaceListenerPtr
Definition: cxAxisConnector.h:23
cx::SeansVesselRegistrationWidget
I2I (image2image) ICP registration.
Definition: cxSeansVesselRegistrationWidget.h:47
cx
Namespace for all CustusX production code.
Definition: cx_dev_group_definitions.h:13
cxICPRegistrationBaseWidget.h
cx::ICPRegistrationBaseWidget
Definition: cxICPRegistrationBaseWidget.h:49
cxDoubleProperty.h
cx::SeansVesselRegPtr
boost::shared_ptr< class SeansVesselReg > SeansVesselRegPtr
Definition: cxRMPCFromPointerWidget.h:35
cx::SeansVesselRegistrationDebuggerPtr
boost::shared_ptr< class SeansVesselRegistrationDebugger > SeansVesselRegistrationDebuggerPtr
Definition: cxICPRegistrationBaseWidget.h:27
cx::Transform3D
Transform3D Transform3D
Transform3D is a representation of an affine 3D transform.
Definition: cxLandmarkPatientRegistrationWidget.h:33
cxRegistrationBaseWidget.h
cx::RegServicesPtr
boost::shared_ptr< class RegServices > RegServicesPtr
Definition: cxRegServices.h:20
cx::MeshInViewPtr
boost::shared_ptr< class MeshInView > MeshInViewPtr
Definition: cxRMPCFromPointerWidget.h:36
cxStringPropertyBase.h
cx::StringPropertyBasePtr
boost::shared_ptr< class StringPropertyBase > StringPropertyBasePtr
Definition: cxIGTLinkStreamerService.h:20
cxTransform3D.h
cxBoolProperty.h
cx::GeometricRepPtr
boost::shared_ptr< class GeometricRep > GeometricRepPtr
Definition: cxICPRegistrationBaseWidget.h:29