Fraxinus  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_ */
Transform3D Transform3D
Transform3D is a representation of an affine 3D transform.
boost::shared_ptr< class SeansVesselRegistrationDebugger > SeansVesselRegistrationDebuggerPtr
I2I (image2image) ICP registration.
boost::shared_ptr< class StringPropertyBase > StringPropertyBasePtr
boost::shared_ptr< class RegServices > RegServicesPtr
Definition: cxRegServices.h:20
boost::shared_ptr< class SpaceListener > SpaceListenerPtr
boost::shared_ptr< class SeansVesselReg > SeansVesselRegPtr
boost::shared_ptr< class MeshInView > MeshInViewPtr
boost::shared_ptr< class GeometricRep > GeometricRepPtr
Namespace for all CustusX production code.