NorMIT-nav
2023.01.05-dev+develop.0da12
An IGT application
cxTrackingShapeGUIExtenderService.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 "
cxTrackingShapeGUIExtenderService.h
"
13
#include "ctkPluginContext.h"
14
#include "
cxShapeSensorWidget.h
"
15
#include "
cxVisServices.h
"
16
17
namespace
cx
18
{
19
20
TrackingShapeGUIExtenderService::TrackingShapeGUIExtenderService
(ctkPluginContext *context) :
21
mContext(context)
22
{
23
}
24
25
std::vector<GUIExtenderService::CategorizedWidget>
TrackingShapeGUIExtenderService::createWidgets
()
const
26
{
27
std::vector<CategorizedWidget> retval;
28
29
VisServicesPtr
services =
VisServices::create
(mContext);
30
31
retval.push_back(
GUIExtenderService::CategorizedWidget
(
32
new
ShapeSensorWidget
(services),
33
"Utility"
));
34
35
return
retval;
36
}
37
38
39
}
/* namespace cx */
cxShapeSensorWidget.h
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
cxTrackingShapeGUIExtenderService.h
cx::TrackingShapeGUIExtenderService::TrackingShapeGUIExtenderService
TrackingShapeGUIExtenderService(ctkPluginContext *context)
Definition:
cxTrackingShapeGUIExtenderService.cpp:20
cx::VisServices::create
static VisServicesPtr create(ctkPluginContext *context)
Definition:
cxVisServices.cpp:17
cx::TrackingShapeGUIExtenderService::createWidgets
std::vector< CategorizedWidget > createWidgets() const
Definition:
cxTrackingShapeGUIExtenderService.cpp:25
cx::ShapeSensorWidget
Definition:
cxShapeSensorWidget.h:34
cx::GUIExtenderService::CategorizedWidget
Definition:
cxGUIExtenderService.h:44
cxVisServices.h
CX
source
plugins
org.custusx.core.tracking.shape
cxTrackingShapeGUIExtenderService.cpp
Generated on Thu Jan 5 2023 03:15:51 for NorMIT-nav by
1.8.17