当前位置:网站首页>MITK create module
MITK create module
2022-07-28 14:52:00 【Love the west wind】
Medical Imaging Interaction Toolkit: How to create a new MITK Module
Official documents :
This is obviously much more complicated than creating plug-ins , You need to manually generate , There is no convenient way ;
One 、First, create a folder First create a module name file , stay MITK Modules Under the table of contents , Or your project Modules Under the table of contents ;
Two 、Open ModuleList.cmake Add your module name ;
3、 ... and 、Create CMakeLists.txt Create the corresponding... In the module directory you created CMakeList.txt;
example :

Four 、Create files.cmake Create your... In this directory files.cmake file
file(GLOB_RECURSE H_FILES RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}" "${CMAKE_CURRENT_SOURCE_DIR}/include/*")
set(CPP_FILES
Generator.cpp
)
set(MOC_H_FILES
include/Generator.h
)
set(QRC_FILES
)
set(RESOURCE_FILES
Interactions/TestConfig.xml
Interactions/TestInteraction.xml
)MOC_H_FILES This is used to generate the export header file , need ;
Generator.cpp
Generator.h
Are all your source files that need to be compiled ;
5、 ... and 、 Generate , again cmake Generate ; You will find that your module has been added VS The project is in progress ;
边栏推荐
- Copy excel row to specified row
- [Tanabata] Tanabata lonely little frog research edition? The final chapter of Tanabata Festival!
- 实时切换 Core Data 的云同步状态
- 35道MySQL面试必问题图解,这样也太好理解了吧
- C# 获取当前路径7种方法
- SwiftUI 布局 —— 尺寸( 上 )
- 多线程顺序运行有几种方法?
- Focus on differentiated product design, intelligent technology efficiency improvement and literacy education around new citizen Finance
- Node文件操作
- C语言中浮点数据类型(你学废了吗)
猜你喜欢

面试官:ThreadLocal使用场景有哪些?内存泄露问题如何避免?

数字化转型安全问题频发,山石网科助力数字政府建设
C # 7 methods to obtain the current path

The method of implementing simple student achievement management system with C language

Various pitfalls encountered in UI development

10、 Timestamp

MQTT入门级简单介绍与使用
![[ecmascript6] other new interface features](/img/da/377f93d83b6722bf250d270e4eea28.png)
[ecmascript6] other new interface features

文件批量重命名工具Bulk Rename Utility

7月29日 ApacheCon|Apache Pulsar 在 vivo 的探索与实践 即将开播
随机推荐
我正在使用中的博客创作工具
The second pre class exercise
&0xffffffff(0x08)
国产数据库的红利还能“吃”多久?
How long can we "eat" the dividends of domestic databases?
2022 low voltage electrician examination questions and answers
Create a table under swiftui with table
Various pitfalls encountered in UI development
58子站安居,经纪人营销管理平台登录接口加密逆向
Hcip day 10
使用Weka与Excel进行简单的数据分析
When Xcode writes swiftui code, it is a small trap that compiles successfully but causes the preview to crash
Four basic data types
实时切换 Core Data 的云同步状态
Animation mechanism of swiftui
2022 melting welding and thermal cutting examination questions and online simulation examination
C language: mathematical method of converting decimal system into binary system
Floating point data type in C language (did you learn to waste it)
SwiftUI 布局 —— 尺寸( 下 )
Redis configuration file explanation