-
Notifications
You must be signed in to change notification settings - Fork 4
/
qSlicerROS2Module.h
65 lines (46 loc) · 1.91 KB
/
qSlicerROS2Module.h
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
/*==============================================================================
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.
==============================================================================*/
#ifndef __qSlicerROS2Module_h
#define __qSlicerROS2Module_h
// Slicer includes
#include "qSlicerLoadableModule.h"
#include "qSlicerROS2ModuleExport.h"
/// \ingroup Slicer_QtModules_ExtensionTemplate
class Q_SLICER_QTMODULES_ROS2_EXPORT
qSlicerROS2Module
: public qSlicerLoadableModule
{
Q_OBJECT
Q_PLUGIN_METADATA(IID "org.slicer.modules.loadable.qSlicerLoadableModule/1.0");
Q_INTERFACES(qSlicerLoadableModule);
public:
typedef qSlicerLoadableModule Superclass;
explicit qSlicerROS2Module(QObject *parent=nullptr);
~qSlicerROS2Module() override;
qSlicerGetTitleMacro(QTMODULE_TITLE);
QString helpText() const override;
QString acknowledgementText() const override;
QStringList contributors() const override;
QIcon icon() const override;
QStringList categories() const override;
QStringList dependencies() const override;
protected:
/// Initialize the module. Register the volumes reader/writer
void setup() override;
/// Create and return the widget representation associated to this module
qSlicerAbstractModuleRepresentation * createWidgetRepresentation() override;
/// Create and return the logic associated to this module
vtkMRMLAbstractLogic* createLogic() override;
private:
Q_DISABLE_COPY(qSlicerROS2Module);
};
#endif