Fraxinus  2023.01.05-dev+develop.0da12
An IGT application
cxRMPCWidget.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 #ifndef CXRMPCWIDGET_H
12 #define CXRMPCWIDGET_H
13 
14 #include <QPushButton>
15 #include <QDomElement>
17 #include "cxForwardDeclarations.h"
18 #include "cxXmlOptionItem.h"
20 
21 namespace cx
22 {
23 class WidgetObscuredListener;
24 class ICPWidget;
25 typedef boost::shared_ptr<class Acquisition> AcquisitionPtr;
26 typedef boost::shared_ptr<class StringPropertySelectMesh> StringPropertySelectMeshPtr;
27 typedef boost::shared_ptr<class ToolRep3D> ToolRep3DPtr;
28 typedef boost::shared_ptr<class RecordSessionWidget> RecordSessionWidgetPtr;
29 typedef boost::shared_ptr<class AcquisitionData> AcquisitionDataPtr;
30 //typedef boost::shared_ptr<class BronchoscopyRegistration> BronchoscopyRegistrationPtr;
31 typedef std::map<QString, ToolPtr> ToolMap;
32 typedef boost::shared_ptr<class StringPropertySelectTool> StringPropertySelectToolPtr;
33 typedef boost::shared_ptr<class SeansVesselReg> SeansVesselRegPtr;
34 typedef boost::shared_ptr<class MeshInView> MeshInViewPtr;
35 typedef boost::shared_ptr<class SpaceListener> SpaceListenerPtr;
36 
49 {
50  Q_OBJECT
51 
52 public:
53  RMPCWidget(RegServicesPtr services, QWidget *parent);
54  virtual ~RMPCWidget() {}
55 
56 protected:
57  virtual void initializeRegistrator();
58  virtual void inputChanged();
59  virtual void applyRegistration(Transform3D delta);
60  virtual void onShown();
61  virtual void setup();
62 
63  virtual double getDefaultAutoLTS() const { return false; }
64 
65 private:
66  StringPropertyBasePtr mFixedImage;
67  StringPropertyBasePtr mMovingImage;
68 
69  SpaceListenerPtr mSpaceListenerMoving;
70  SpaceListenerPtr mSpaceListenerFixed;
71 };
72 
73 } //namespace cx
74 
75 #endif // CXRMPCWIDGET_H
Transform3D Transform3D
Transform3D is a representation of an affine 3D transform.
boost::shared_ptr< class StringPropertySelectTool > StringPropertySelectToolPtr
virtual void inputChanged()
boost::shared_ptr< class Acquisition > AcquisitionPtr
virtual void initializeRegistrator()
virtual double getDefaultAutoLTS() const
Definition: cxRMPCWidget.h:63
boost::shared_ptr< class AcquisitionData > AcquisitionDataPtr
boost::shared_ptr< class StringPropertyBase > StringPropertyBasePtr
boost::shared_ptr< class RecordSessionWidget > RecordSessionWidgetPtr
std::map< QString, ToolPtr > ToolMap
boost::shared_ptr< class RegServices > RegServicesPtr
Definition: cxRegServices.h:20
RMPCWidget(RegServicesPtr services, QWidget *parent)
virtual void onShown()
virtual void applyRegistration(Transform3D delta)
virtual void setup()
boost::shared_ptr< class SpaceListener > SpaceListenerPtr
boost::shared_ptr< class ToolRep3D > ToolRep3DPtr
virtual ~RMPCWidget()
Definition: cxRMPCWidget.h:54
boost::shared_ptr< class StringPropertySelectMesh > StringPropertySelectMeshPtr
boost::shared_ptr< class SeansVesselReg > SeansVesselRegPtr
boost::shared_ptr< class MeshInView > MeshInViewPtr
Namespace for all CustusX production code.