NorMIT-nav
2023.01.05-dev+develop.0da12
An IGT application
cxAcquisitionPlugin.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
#include "
cxAcquisitionPlugin.h
"
12
13
#include <vector>
14
#include <QDomNode>
15
#include <QDateTime>
16
#include <QStringList>
17
#include <ctkPluginContext.h>
18
#include "
cxTime.h
"
19
#include "
cxAcquisitionData.h
"
20
21
#include "
cxUSAcqusitionWidget.h
"
22
23
#include "
cxPatientModelService.h
"
24
#include "
cxUsReconstructionServiceProxy.h
"
25
#include "
cxAcquisitionServiceProxy.h
"
26
#include "
cxVisServices.h
"
27
28
namespace
cx
29
{
30
31
AcquisitionPlugin::AcquisitionPlugin
(ctkPluginContext *context) :
32
mUsReconstructionService(new
UsReconstructionServiceProxy
(context)),
33
mAcquisitionService(new
AcquisitionServiceProxy
(context))
34
{
35
mServices =
VisServices::create
(context);
36
}
37
38
AcquisitionPlugin::~AcquisitionPlugin
()
39
{
40
41
}
42
43
std::vector<GUIExtenderService::CategorizedWidget>
AcquisitionPlugin::createWidgets
()
const
44
{
45
std::vector<CategorizedWidget> retval;
46
47
retval.push_back(
GUIExtenderService::CategorizedWidget
(
new
USAcqusitionWidget
(mAcquisitionService, mServices, mUsReconstructionService, NULL),
"Utility"
));
48
49
return
retval;
50
51
}
52
53
}
cx::AcquisitionPlugin::~AcquisitionPlugin
virtual ~AcquisitionPlugin()
Definition:
cxAcquisitionPlugin.cpp:38
cx::AcquisitionServiceProxy
Always provides an AcqusitionService.
Definition:
cxAcquisitionServiceProxy.h:31
cx
Namespace for all CustusX production code.
Definition:
cx_dev_group_definitions.h:13
cxUsReconstructionServiceProxy.h
cx::USAcqusitionWidget
Definition:
cxUSAcqusitionWidget.h:44
cx::AcquisitionPlugin::createWidgets
virtual std::vector< CategorizedWidget > createWidgets() const
Definition:
cxAcquisitionPlugin.cpp:43
cxAcquisitionServiceProxy.h
cx::AcquisitionPlugin::AcquisitionPlugin
AcquisitionPlugin(ctkPluginContext *context)
Definition:
cxAcquisitionPlugin.cpp:31
cxPatientModelService.h
cx::VisServices::create
static VisServicesPtr create(ctkPluginContext *context)
Definition:
cxVisServices.cpp:17
cxUSAcqusitionWidget.h
cxTime.h
cxAcquisitionPlugin.h
cx::UsReconstructionServiceProxy
Definition:
cxUsReconstructionServiceProxy.h:27
cx::GUIExtenderService::CategorizedWidget
Definition:
cxGUIExtenderService.h:44
cxAcquisitionData.h
cxVisServices.h
CX
source
plugins
org.custusx.acquisition
gui
cxAcquisitionPlugin.cpp
Generated on Thu Jan 5 2023 03:15:51 for NorMIT-nav by
1.8.17