CustusX
22.04-rc5
An IGT application
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
cxRMPCPluginActivator.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 "
cxRMPCPluginActivator.h
"
13
14
#include <QtPlugin>
15
#include <iostream>
16
17
#include "
cxRMPCService.h
"
18
#include "
cxRMPCFromPointerService.h
"
19
#include "
cxRegisteredService.h
"
20
21
22
namespace
cx
23
{
24
25
RMPCPluginActivator::RMPCPluginActivator
()
26
{
27
// std::cout << "Created RMPCPluginActivator" << std::endl;
28
}
29
30
RMPCPluginActivator::~RMPCPluginActivator
()
31
{
32
}
33
34
void
RMPCPluginActivator::start
(ctkPluginContext* context)
35
{
36
mPointerToSurface = RegisteredService::create<RMPCFromPointerImageToPatientService>(context,
RegistrationMethodService_iid
);
37
mPointCloud = RegisteredService::create<RMPCImageToPatientService>(context,
RegistrationMethodService_iid
);
38
}
39
40
void
RMPCPluginActivator::stop
(ctkPluginContext* context)
41
{
42
mPointerToSurface.reset();
43
mPointCloud.reset();
44
Q_UNUSED(context);
45
}
46
47
}
// namespace cx
48
49
cx::RMPCPluginActivator::RMPCPluginActivator
RMPCPluginActivator()
Definition:
cxRMPCPluginActivator.cpp:25
cxRMPCService.h
cxRMPCPluginActivator.h
cx::RMPCPluginActivator::~RMPCPluginActivator
~RMPCPluginActivator()
Definition:
cxRMPCPluginActivator.cpp:30
cxRMPCFromPointerService.h
cx::RMPCPluginActivator::start
void start(ctkPluginContext *context)
Definition:
cxRMPCPluginActivator.cpp:34
RegistrationMethodService_iid
#define RegistrationMethodService_iid
Definition:
cxRegistrationMethodService.h:21
cxRegisteredService.h
cx::RMPCPluginActivator::stop
void stop(ctkPluginContext *context)
Definition:
cxRMPCPluginActivator.cpp:40
cx
Namespace for all CustusX production code.
Definition:
cx_dev_group_definitions.h:13
CX
source
plugins
org.custusx.registration.method.pointcloud
cxRMPCPluginActivator.cpp
Generated on Thu Jun 16 2022 21:30:01 for CustusX by
1.8.11