CustusX  2023.01.05-dev+develop.0da12
An IGT application
cxVBService.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 CXVBSERVICE_H_
13 #define CXVBSERVICE_H_
14 
15 #include "cxGUIExtenderService.h"
16 #include "org_custusx_virtualbronchoscopy_Export.h"
17 class ctkPluginContext;
18 
19 namespace cx
20 {
21 typedef boost::shared_ptr<class VisServices> VisServicesPtr;
22 
31 class org_custusx_virtualbronchoscopy_EXPORT VBGUIExtenderService : public GUIExtenderService
32 {
33  Q_INTERFACES(cx::GUIExtenderService)
34 public:
35  VBGUIExtenderService(VisServicesPtr services);
36  virtual ~VBGUIExtenderService() {}
37  std::vector<CategorizedWidget> createWidgets() const;
38 
39 // virtual QString getWidgetName() {return QString("org_custusx_virtualbronchoscopy_widget");}
40 private:
41  VisServicesPtr mServices;
42 };
43 typedef boost::shared_ptr<VBGUIExtenderService> VBGUIExtenderServicePtr;
44 
45 } /* namespace cx */
46 
47 #endif /* CXM2USSERVICE_H_ */
48 
boost::shared_ptr< class VisServices > VisServicesPtr
Definition: cxMainWindow.h:40
boost::shared_ptr< class VBGUIExtenderService > VBGUIExtenderServicePtr
virtual ~VBGUIExtenderService()
Definition: cxVBService.h:36
Namespace for all CustusX production code.