forked from zhaomengxiao/MITK_lancet
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tutorial Step9 is now based on compilable code.
- Loading branch information
1 parent
9b7eeca
commit a3ada97
Showing
15 changed files
with
634 additions
and
170 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
Examples/Plugins/org.mitk.example.gui.regiongrowing/CMakeLists.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
project(org_mitk_example_gui_regiongrowing) | ||
|
||
MACRO_CREATE_MITK_CTK_PLUGIN( | ||
EXPORT_DIRECTIVE REGIONGROWING_EXPORT | ||
EXPORTED_INCLUDE_SUFFIXES src | ||
MODULE_DEPENDENCIES QmitkExt | ||
) |
18 changes: 18 additions & 0 deletions
18
Examples/Plugins/org.mitk.example.gui.regiongrowing/documentation/UserManual/Manual.dox
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
/** | ||
\page org_mitk_example_gui_regiongrowing Region Grower Example | ||
|
||
\image html icon.xpm "Icon of Region Grower Example" | ||
|
||
Available sections: | ||
- \ref org_mitk_example_gui_regiongrowingOverview | ||
|
||
\section org_mitk_example_gui_regiongrowingOverview | ||
Describe the features of your awesome plugin here | ||
<ul> | ||
<li>Increases productivity | ||
<li>Creates beautiful images | ||
<li>Generates PhD thesis | ||
<li>Brings world peace | ||
</ul> | ||
|
||
*/ |
21 changes: 21 additions & 0 deletions
21
Examples/Plugins/org.mitk.example.gui.regiongrowing/documentation/UserManual/icon.xpm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
/* XPM */ | ||
static const char * icon_xpm[] = { | ||
"16 16 2 1", | ||
" c #FF0000", | ||
". c #000000", | ||
" ", | ||
" ", | ||
" ", | ||
" ", | ||
" ", | ||
" ", | ||
" ", | ||
" ", | ||
" ", | ||
" ", | ||
" ", | ||
" ", | ||
" ", | ||
" ", | ||
" ", | ||
" "}; |
16 changes: 16 additions & 0 deletions
16
Examples/Plugins/org.mitk.example.gui.regiongrowing/documentation/doxygen/modules.dox
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
/** | ||
\defgroup org_mitk_example_gui_regiongrowing org.mitk.example.gui.regiongrowing | ||
\ingroup MITKPlugins | ||
|
||
\brief Describe your plugin here. | ||
|
||
*/ | ||
|
||
/** | ||
\defgroup org_mitk_example_gui_regiongrowing_internal Internal | ||
\ingroup org_mitk_example_gui_regiongrowing | ||
|
||
\brief This subcategory includes the internal classes of the org.mitk.example.gui.regiongrowing plugin. Other | ||
plugins must not rely on these classes. They contain implementation details and their interface | ||
may change at any time. We mean it. | ||
*/ |
42 changes: 42 additions & 0 deletions
42
Examples/Plugins/org.mitk.example.gui.regiongrowing/files.cmake
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
set(SRC_CPP_FILES | ||
|
||
) | ||
|
||
set(INTERNAL_CPP_FILES | ||
org_mitk_example_gui_regiongrowing_Activator.cpp | ||
QmitkRegionGrowingView.cpp | ||
) | ||
|
||
set(UI_FILES | ||
src/internal/QmitkRegionGrowingViewControls.ui | ||
) | ||
|
||
set(MOC_H_FILES | ||
src/internal/org_mitk_example_gui_regiongrowing_Activator.h | ||
src/internal/QmitkRegionGrowingView.h | ||
) | ||
|
||
# list of resource files which can be used by the plug-in | ||
# system without loading the plug-ins shared library, | ||
# for example the icon used in the menu and tabs for the | ||
# plug-in views in the workbench | ||
set(CACHED_RESOURCE_FILES | ||
resources/icon.xpm | ||
plugin.xml | ||
) | ||
|
||
# list of Qt .qrc files which contain additional resources | ||
# specific to this plugin | ||
set(QRC_FILES | ||
|
||
) | ||
|
||
set(CPP_FILES ) | ||
|
||
foreach(file ${SRC_CPP_FILES}) | ||
set(CPP_FILES ${CPP_FILES} src/${file}) | ||
endforeach(file ${SRC_CPP_FILES}) | ||
|
||
foreach(file ${INTERNAL_CPP_FILES}) | ||
set(CPP_FILES ${CPP_FILES} src/internal/${file}) | ||
endforeach(file ${INTERNAL_CPP_FILES}) |
5 changes: 5 additions & 0 deletions
5
Examples/Plugins/org.mitk.example.gui.regiongrowing/manifest_headers.cmake
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
set(Plugin-Name "Region Grower Example") | ||
set(Plugin-Version "0.1") | ||
set(Plugin-Vendor "DKFZ, Medical and Biological Informatics") | ||
set(Plugin-ContactAddress "") | ||
set(Require-Plugin org.mitk.gui.qt.common) |
11 changes: 11 additions & 0 deletions
11
Examples/Plugins/org.mitk.example.gui.regiongrowing/plugin.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<plugin> | ||
|
||
<extension point="org.blueberry.ui.views"> | ||
<view id="org.mitk.views.example.regiongrowing" | ||
name="Region Growing" | ||
class="QmitkRegionGrowingView" | ||
icon="resources/icon.xpm" /> | ||
</extension> | ||
|
||
</plugin> |
21 changes: 21 additions & 0 deletions
21
Examples/Plugins/org.mitk.example.gui.regiongrowing/resources/icon.xpm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
/* XPM */ | ||
static const char * icon_xpm[] = { | ||
"16 16 2 1", | ||
" c #FF0000", | ||
". c #000000", | ||
" ", | ||
" ", | ||
" ", | ||
" ", | ||
" ", | ||
" ", | ||
" ", | ||
" ", | ||
" ", | ||
" ", | ||
" ", | ||
" ", | ||
" ", | ||
" ", | ||
" ", | ||
" "}; |
Oops, something went wrong.