-
Notifications
You must be signed in to change notification settings - Fork 4
/
qSlicerROS2Module.cxx
94 lines (75 loc) · 3.09 KB
/
qSlicerROS2Module.cxx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
/*==============================================================================
Program: 3D Slicer
Portions (c) Copyright Brigham and Women's Hospital (BWH) All Rights Reserved.
See COPYRIGHT.txt
or http://www.slicer.org/copyright/copyright.txt for details.
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
==============================================================================*/
// SlicerROS2 Logic includes
#include <vtkSlicerROS2Logic.h>
// SlicerROS2 includes
#include "qSlicerROS2Module.h"
#include "qSlicerROS2ModuleWidget.h"
//-----------------------------------------------------------------------------
// qSlicerROS2Module methods
//-----------------------------------------------------------------------------
qSlicerROS2Module::qSlicerROS2Module(QObject* _parent)
: Superclass(_parent)
{
}
//-----------------------------------------------------------------------------
qSlicerROS2Module::~qSlicerROS2Module()
{
}
//-----------------------------------------------------------------------------
QString qSlicerROS2Module::helpText() const
{
return "ROS 2 Slicer Module. See https://github.com/rosmed/slicer_ros2_module";
}
//-----------------------------------------------------------------------------
QString qSlicerROS2Module::acknowledgementText() const
{
return "This work was partially funded by National Institutes of Health (USA) grant R01EB020667, the National Sciences and Engineering Research Council of Canada and the Canadian Institutes of Health Research";
}
//-----------------------------------------------------------------------------
QStringList qSlicerROS2Module::contributors() const
{
QStringList moduleContributors;
moduleContributors << QString("Laura Connolly (Queen’s University, Kingston, Canada), Anton Deguet (Johns Hopkins University, Baltimore, USA)");
return moduleContributors;
}
//-----------------------------------------------------------------------------
QIcon qSlicerROS2Module::icon() const
{
return QIcon(":/Icons/SlicerROS2.png");
}
//-----------------------------------------------------------------------------
QStringList qSlicerROS2Module::categories() const
{
return QStringList() << "IGT";
}
//-----------------------------------------------------------------------------
QStringList qSlicerROS2Module::dependencies() const
{
return QStringList();
}
//-----------------------------------------------------------------------------
void qSlicerROS2Module::setup()
{
this->Superclass::setup();
}
//-----------------------------------------------------------------------------
qSlicerAbstractModuleRepresentation* qSlicerROS2Module
::createWidgetRepresentation()
{
return new qSlicerROS2ModuleWidget;
}
//-----------------------------------------------------------------------------
vtkMRMLAbstractLogic* qSlicerROS2Module::createLogic()
{
return vtkSlicerROS2Logic::New();
}