NorMIT-nav  22.09
An IGT application
cxVBService.cpp
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 #include "cxVBService.h"
13 #include "ctkPluginContext.h"
14 #include "cxVBWidget.h"
15 #include "cxVisServices.h"
16 
17 namespace cx
18 {
19 
21  mServices(services)
22 {
23 }
24 std::vector<GUIExtenderService::CategorizedWidget> VBGUIExtenderService::createWidgets() const
25 {
26  std::vector<CategorizedWidget> retval;
28  new VBWidget(mServices, NULL),
29  "Utility"));
30 
31  return retval;
32 }
33 
34 } /* namespace cx */
cx
Namespace for all CustusX production code.
Definition: cx_dev_group_definitions.h:13
cx::VisServicesPtr
boost::shared_ptr< class VisServices > VisServicesPtr
Definition: cxMainWindow.h:40
cxVBWidget.h
cxVBService.h
cx::VBGUIExtenderService::createWidgets
std::vector< CategorizedWidget > createWidgets() const
Definition: cxVBService.cpp:24
cx::VBGUIExtenderService::VBGUIExtenderService
VBGUIExtenderService(VisServicesPtr services)
Definition: cxVBService.cpp:20
cx::VBWidget
Definition: cxVBWidget.h:44
cx::GUIExtenderService::CategorizedWidget
Definition: cxGUIExtenderService.h:44
cxVisServices.h