Page MenuHomePhabricator

No OneTemporary

This document is not UTF8. It was detected as ISO-8859-1 (Latin 1) and converted to UTF8 for display.
diff --git a/Modules/Bundles/PluginList.cmake b/Modules/Bundles/PluginList.cmake
index 34207399ce..5cae2f511d 100644
--- a/Modules/Bundles/PluginList.cmake
+++ b/Modules/Bundles/PluginList.cmake
@@ -1,41 +1,42 @@
SET(MITK_EXT_PLUGINS
org.mitk.core.ext:ON
org.mitk.core.jobs:OFF
org.mitk.planarfigure:ON
org.mitk.diffusionimaging:OFF
org.mitk.gui.qt.ext:ON
org.mitk.gui.qt.extapplication:ON
org.mitk.gui.qt.datamanager:ON
org.mitk.gui.qt.segmentation:OFF
org.mitk.gui.qt.diffusionimaging:OFF
org.mitk.gui.qt.dtiatlasapp:OFF
org.mitk.gui.qt.diffusionimagingapp:OFF
org.mitk.gui.qt.igtnavigationtoolmanager:OFF
org.mitk.gui.qt.igttoolpairnavigation:OFF
+ org.mitk.gui.qt.igttrackinglab:OFF
org.mitk.gui.qt.igttrackingtoolbox:OFF
org.mitk.gui.qt.regiongrowing:OFF
org.mitk.gui.qt.navigationdataplayer:OFF
org.mitk.gui.qt.basicimageprocessing:OFF
org.mitk.gui.qt.igttutorial:OFF
org.mitk.gui.qt.colourimageprocessing:OFF
org.mitk.gui.qt.tofutil:OFF
org.mitk.gui.qt.toftutorial:OFF
org.mitk.gui.qt.imagenavigator:ON
org.mitk.gui.qt.moviemaker:OFF
org.mitk.gui.qt.deformableregistration:OFF
org.mitk.gui.qt.rigidregistration:OFF
org.mitk.gui.qt.imagestatistics:OFF
org.mitk.gui.qt.volumetry:OFF
org.mitk.gui.qt.materialeditor:OFF
org.mitk.gui.qt.simpleexample:OFF
org.mitk.gui.qt.ugvisualization:OFF
org.mitk.gui.qt.measurement:OFF
org.mitk.gui.qt.simplemeasurement:OFF
org.mitk.gui.qt.imagecropper:OFF
org.mitk.gui.qt.pointbasedregistration:OFF
org.mitk.gui.qt.viewinitialization:OFF
org.mitk.gui.qt.volumevisualization:OFF
org.mitk.gui.qt.pointsetinteraction:OFF
org.mitk.gui.qt.videoplayer:OFF
org.mitk.gui.qt.python.console:OFF
)
diff --git a/Modules/Bundles/org.mitk.gui.qt.igttrackinglab/CMakeLists.txt b/Modules/Bundles/org.mitk.gui.qt.igttrackinglab/CMakeLists.txt
new file mode 100644
index 0000000000..ba3dc96c99
--- /dev/null
+++ b/Modules/Bundles/org.mitk.gui.qt.igttrackinglab/CMakeLists.txt
@@ -0,0 +1,7 @@
+project(org_mitk_gui_qt_igttrackinglab)
+
+MACRO_CREATE_MITK_CTK_PLUGIN(
+ EXPORT_DIRECTIVE IGTTRACKINGLAB_EXPORT
+ EXPORTED_INCLUDE_SUFFIXES src
+ MODULE_DEPENDENCIES QmitkExt
+)
diff --git a/Modules/Bundles/org.mitk.gui.qt.igttrackinglab/documentation/Manual/Manual.dox b/Modules/Bundles/org.mitk.gui.qt.igttrackinglab/documentation/Manual/Manual.dox
new file mode 100644
index 0000000000..05684cd0c2
--- /dev/null
+++ b/Modules/Bundles/org.mitk.gui.qt.igttrackinglab/documentation/Manual/Manual.dox
@@ -0,0 +1,19 @@
+/**
+\bundlemainpage{org.mitk.gui.qt.igttrackinglab} Igttrackinglab
+
+\image html icon.png "Icon of Igttrackinglab"
+
+Available sections:
+ - \ref org.mitk.gui.qt.igttrackinglabOverview
+
+\section org.mitk.gui.qt.igttrackinglabOverview
+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>
+
+*/
+
diff --git a/Modules/Bundles/org.mitk.gui.qt.igttrackinglab/documentation/Manual/icon.png b/Modules/Bundles/org.mitk.gui.qt.igttrackinglab/documentation/Manual/icon.png
new file mode 100644
index 0000000000..7a51d8cb11
--- /dev/null
+++ b/Modules/Bundles/org.mitk.gui.qt.igttrackinglab/documentation/Manual/icon.png
@@ -0,0 +1,26 @@
+‰PNG
+
+
+•|€©$¦Š@IQIaSR•TRPyUÀ/­dKÁ6ے‘eëe=VÒJûÞyõtߓÝ=ÓÓ;+Ù Nü©ÚšÙîž{ï9÷œÿ9çîÀ¯_¿~½ª_?ûÙÏ^ÑñåW=`î¾jŸèlºæ}~n‹ 7ˆÊZT‡Œh7*í¨"h‘9QpÐs®Øþvç‘gß=:bÓc<òÈ#ìÙ³çÕ©
+#EuÎ}ºà؇þzû±oýöö”Óó=úè£Üy睯8÷ ïíˆqßÂzU>%»DµSQƒÅ€Ò×fXÓe*ݞЩ€Zh™¯*WŠ–ñù™Rˆ0‚5¨¨v:á¿oé]øÒ÷>rý"¯ 0”°/DÜ¿àd-èçP½GròºeБ[‡\npèkT›'‰>‹D˜ó•ç.×xê‚ϱ‰šVj*µPUzrÁC¯˜¿o÷ÐÜS¿ÿŽ'æE>
+À°Ö222òÊ+@î/¢ñŽËýÅë>Šê'èõ`]·£;V¸²}¹KޅPÁ*¨*o_]p
+H®׀çÀ‚¯<9îóø™ªž› d¦’Â5…êßÝÚWü篼ó±'éýêÈ4
+ÀÁƒÙ½{÷¯Puዮ ßWÕ7·­ÏéÎ.9â]‹?4 ±H-¬ÁÈb|hVŽb¢i¨–GN”õ[O/ˆç ËÛkÿõ‘›ÆÿüÎóß²óîé—6¯­€/”àc¸¿ÔŽðª[;r»7zzû #ª &<R£‘MÖÔS×ëÂk›¬ ~¶I=}Oyþ²¯_98+Õ@Y‘¯=óñ­g?½¦à?1::rñ¥*aiÜWÇF¡؉ʏQÝÙ㉾ïOnpðÃxAdv±•Ég>g­d‘ÅÈÕ¬DG„““>ÿòجN­\W¨>óÉÛÎ~fu§ÿؔßvá7ïÚÍ¡C‡ð}Éa–ð±ðV
+¨|«;{Û ¼±M^ÛïPKÚ¬F›¡=õk!Öltßs Ëƒ¾ `¨
+®2¯E°
+A¨¼yk+{s\*¹«÷÷¼eÁw¶#˓qüñ«(à åÄ÷W¢úρmCŽôy±ð*XR“Ó
+—‹p©“e¨…K[G¢„î6xMoMl‹h£¤7CXћ“mëòz¹d:žœè¸£šMª¬IÆ=tèP£”oü€w:;–åÄ5B`#ݦwÅjŒâqҒ$/6YMJ¨¹*œœ†‹ ʗjÑsm `ÛJXÑÙ#’`M7¼0©¦’¥d-iÌ9ÂÖµž;_áç—:¶ýÖºéC+:üÓcccGFFæwíÚÕÂóùT½åyÑë» ~H“é7™=)ßO]³qî^®ÁÃ'áëÏFïO^€gàJ ¦Ë‘<;ß==»F‰BèÕ,®áŠUX՗“ Ë<­ïà…®×;ÂZ`ÅÒ ø±<<P*
+üD6£8×w;ØHOÆ÷ÓæGc‡Zùi+ì°
+¾…U]°®§u¨L¬æâ|sHm…͘¥H«Úpå…éüÏè Â`†ÀÞ½{›¢ÀZ”•
+С‚'´9ˆÆhºÈücM‡×ÐÌÎ.Š ™1Bj„·lŒB\@fRã§'¢ÈÑï3•Í l¬¸Á#hhŜšm[™3Ú£ªûöíË&B:€Ò×ëI¼pi65myuPÊ,¨é+"+ïÂ;n„›VÑJø‰"ì;í~2V¨-\¡Ed
+-t\Œˆ Êø‚7àºE¤ÓÄ5rʤlwG.šÉ&¦¤©Ê+ÅèÔÍ?6E£ÍæŸv‹º+ÅBåspÏXۓ2ÛLÁ$ >|õp#é²)’5Ô¨@ۘ7Læ«_¾Pð 3>2Su»Œh§ªv¨ªl]F5oi3 $šý8Ê&B¦h­0QBê;Mø'H>>»ë%J_6
+¥MìRj\kã I¯%‹Ñ¼‚µÐî(ÕL»@ȋH³¨ª àˆÔ‰ˆ¹4ÃÓ©¶XP, \å¾kà]7GyýRi/DdÈwŽE™¢#`M›ÚEŠÐFyî:Q8,9 '"^B¸ÉEUµ ÐÒDG3¶0ñ¥îÇ߯†ð–õ°y¨µðɵssðÍ£è¹&Us¤ mme¶Nž¦Ö'l¢`¢àSUטh‹
+@k
+|õHôϓ ¥æëJ¯ÛµÀ"(í®EµÎꈪ¦]@Š A%P×jJ“×P6’8}ßƶ—°8¡Â꘻ôíc0UŽwÞ6*Á¦¹¤a‹Ö•YK̅r5ª¹»<Zƒ‘ªŠHCFìŒ*³Åš„4£kS‹K»¶¦Ò÷“d*´ÐíET×RLÕ(Þ{i³×Œk%}„Ôçì¼MkA¨øà×,F` _óCÈꄷI¹
+Ûü¼M‘"M|‚f®i‹’ܶ(Ém\#¤X©Ë3UJå@E`Ûʅ™š•i`(íÝ»w1+<ñG}.”“3AœnjƒŠ¶
+<!$ìb¢$¹–°H* ÚîD­±v'ª Úݨ0rœÆXš¢¿Cm¦Ä[­ES
+ “Ï—&+,”C¹eYÙvæìe«2)"SªZJºÇn—?XûÆLÍÝzz®&7ôåÄÄH¥éŒ, F™L0 F‚'ð¡­ù‘
+°gϞ†8p
+³ Jƒ`lÂKž<“殏f‘VN¶3”¥àj5ˉ³s„Ê]¯™«xŽž΋ÈxŒWï þñ¦S_l3vz¶jå̜¯ ªÚĈÕÅDH؂H¹V3ޑ¥Q½•5´ŠV£¨uîb‘K“U¹y°Â¦þÊ%#zô,p~dd¤’îšìqT€ßÛ|bü֞…ÏZ gg}™)‡1Òj=üeim›ª¼Òi¢®Ñtd1Ël[)¶`„R½ÁJ%àȱiÍç`çêbiyGí pxQU/%ó%=Â&ìÙ³‡ýû÷#ëï±÷¬ºðÍe^õÀ‚rjºŠ¨*B˜tˆS´vØ"¤i)›Ê—T€ÓºšØfоѓˆ6&´Ê“G®Z+¯*Û«.Xå¸*'EäÔèèhñšíñä áGo¸xñ ˦>ßéÚKç檜­Öµ¬hK0²KðtFççáôÌâ¿ssQhiAr.Jp·Â”ˆù9z|š©™
+C…·n˜™î̅Ï[•€"r> öK7GcW›÷„OúñÁ3Åö/ý|ºûS'&+y× k{ÛŪÔOfd‰p‰b©\ƒ|:s™SI-`R¬oúûM,šj(¼X…3gç8{~^syû¦éò¦ÊñrÍ=&"ÏWðƒÔÁþª
+HŽ–m½ã'³Ÿ®æþõ“G6^ÿËùÂRkaÝ@;֦θ]ƒ(‘¸U5]Y|f0Ý6©Z>!ZÉtMº ×hî³ãsœ|qF«È‡·N¿±jád%# ¿‘_ŠÈ€žžž—qJ ùKní?÷W·{ð†ŽÒ÷ §§Êzâr9&&‘·•©fk„ô¹ô)¥D–¥úiWh
diff --git a/Modules/Bundles/org.mitk.gui.qt.igttrackinglab/documentation/doxygen/modules.dox b/Modules/Bundles/org.mitk.gui.qt.igttrackinglab/documentation/doxygen/modules.dox
new file mode 100644
index 0000000000..d7522c6fbc
--- /dev/null
+++ b/Modules/Bundles/org.mitk.gui.qt.igttrackinglab/documentation/doxygen/modules.dox
@@ -0,0 +1,16 @@
+/**
+ \defgroup org_mitk_gui_qt_igttrackinglab org.mitk.gui.qt.igttrackinglab Plugin
+ \ingroup MITKPlugins
+
+ \brief Describe your plugin here.
+
+*/
+
+/**
+ \defgroup org_mitk_gui_qt_igttrackinglab_internal Internal
+ \ingroup org_mitk_gui_qt_igttrackinglab
+
+ \brief This subcategory includes the internal classes of the org.mitk.gui.qt.igttrackinglab plugin. Other
+ plugins must not rely on these classes. They contain implementation details and their interface
+ may change at any time. We mean it.
+*/
diff --git a/Modules/Bundles/org.mitk.gui.qt.igttrackinglab/files.cmake b/Modules/Bundles/org.mitk.gui.qt.igttrackinglab/files.cmake
new file mode 100644
index 0000000000..6a0879962c
--- /dev/null
+++ b/Modules/Bundles/org.mitk.gui.qt.igttrackinglab/files.cmake
@@ -0,0 +1,43 @@
+set(SRC_CPP_FILES
+
+)
+
+set(INTERNAL_CPP_FILES
+ mitkPluginActivator.cpp
+ IGTTrackingLab.cpp
+)
+
+set(UI_FILES
+ src/internal/IGTTrackingLabControls.ui
+)
+
+set(MOC_H_FILES
+ src/internal/mitkPluginActivator.h
+ src/internal/IGTTrackingLab.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})
+
diff --git a/Modules/Bundles/org.mitk.gui.qt.igttrackinglab/manifest_headers.cmake b/Modules/Bundles/org.mitk.gui.qt.igttrackinglab/manifest_headers.cmake
new file mode 100644
index 0000000000..4105679f63
--- /dev/null
+++ b/Modules/Bundles/org.mitk.gui.qt.igttrackinglab/manifest_headers.cmake
@@ -0,0 +1,5 @@
+set(Plugin-Name "Igttrackinglab")
+set(Plugin-Version "0.1")
+set(Plugin-Vendor "DKFZ, Medical and Biological Informatics")
+set(Plugin-ContactAddress "")
+set(Require-Plugin org.mitk.gui.qt.common)
diff --git a/Modules/Bundles/org.mitk.gui.qt.igttrackinglab/plugin.xml b/Modules/Bundles/org.mitk.gui.qt.igttrackinglab/plugin.xml
new file mode 100644
index 0000000000..2fadf78e9c
--- /dev/null
+++ b/Modules/Bundles/org.mitk.gui.qt.igttrackinglab/plugin.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<plugin>
+
+ <extension point="org.blueberry.ui.views">
+ <view id="org.mitk.views.igttrackinglab"
+ name="IGT Tracking Lab"
+ class="IGTTrackingLab"
+ icon="resources/icon.xpm" />
+ </extension>
+
+</plugin>
diff --git a/Modules/Bundles/org.mitk.gui.qt.igttrackinglab/resources/icon.xpm b/Modules/Bundles/org.mitk.gui.qt.igttrackinglab/resources/icon.xpm
new file mode 100644
index 0000000000..9057c20bc6
--- /dev/null
+++ b/Modules/Bundles/org.mitk.gui.qt.igttrackinglab/resources/icon.xpm
@@ -0,0 +1,21 @@
+/* XPM */
+static const char * icon_xpm[] = {
+"16 16 2 1",
+" c #FF0000",
+". c #000000",
+" ",
+" ",
+" ",
+" ",
+" ",
+" ",
+" ",
+" ",
+" ",
+" ",
+" ",
+" ",
+" ",
+" ",
+" ",
+" "};
diff --git a/Modules/Bundles/org.mitk.gui.qt.igttrackinglab/src/internal/IGTTrackingLab.cpp b/Modules/Bundles/org.mitk.gui.qt.igttrackinglab/src/internal/IGTTrackingLab.cpp
new file mode 100644
index 0000000000..beb112f076
--- /dev/null
+++ b/Modules/Bundles/org.mitk.gui.qt.igttrackinglab/src/internal/IGTTrackingLab.cpp
@@ -0,0 +1,110 @@
+/*=========================================================================
+
+Program: Medical Imaging & Interaction Toolkit
+Language: C++
+Date: $Date$
+Version: $Revision$
+
+Copyright (c) German Cancer Research Center, Division of Medical and
+Biological Informatics. All rights reserved.
+See MITKCopyright.txt or http://www.mitk.org/copyright.html for details.
+
+This software is distributed WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE. See the above copyright notices for more information.
+
+=========================================================================*/
+
+
+// Blueberry
+#include <berryISelectionService.h>
+#include <berryIWorkbenchWindow.h>
+
+// Qmitk
+#include "IGTTrackingLab.h"
+#include "QmitkStdMultiWidget.h"
+
+// Qt
+#include <QMessageBox>
+
+
+const std::string IGTTrackingLab::VIEW_ID = "org.mitk.views.igttrackinglab";
+
+IGTTrackingLab::IGTTrackingLab()
+: QmitkFunctionality()
+{
+}
+
+IGTTrackingLab::~IGTTrackingLab()
+{
+}
+
+void IGTTrackingLab::CreateQtPartControl( QWidget *parent )
+{
+ // create GUI widgets from the Qt Designer's .ui file
+ m_Controls.setupUi( parent );
+ connect( m_Controls.buttonPerformImageProcessing, SIGNAL(clicked()), this, SLOT(DoImageProcessing()) );
+}
+
+void IGTTrackingLab::OnSelectionChanged( std::vector<mitk::DataNode*> nodes )
+{
+ // iterate all selected objects, adjust warning visibility
+ for( std::vector<mitk::DataNode*>::iterator it = nodes.begin();
+ it != nodes.end();
+ ++it )
+ {
+ mitk::DataNode::Pointer node = *it;
+
+ if( node.IsNotNull() && dynamic_cast<mitk::Image*>(node->GetData()) )
+ {
+ m_Controls.labelWarning->setVisible( false );
+ m_Controls.buttonPerformImageProcessing->setEnabled( true );
+ return;
+ }
+ }
+
+ m_Controls.labelWarning->setVisible( true );
+ m_Controls.buttonPerformImageProcessing->setEnabled( false );
+}
+
+
+void IGTTrackingLab::DoImageProcessing()
+{
+ std::vector<mitk::DataNode*> nodes = this->GetDataManagerSelection();
+ if (nodes.empty()) return;
+
+ mitk::DataNode* node = nodes.front();
+
+ if (!node)
+ {
+ // Nothing selected. Inform the user and return
+ QMessageBox::information( NULL, "Template", "Please load and select an image before starting image processing.");
+ return;
+ }
+
+ // here we have a valid mitk::DataNode
+
+ // a node itself is not very useful, we need its data item (the image)
+ mitk::BaseData* data = node->GetData();
+ if (data)
+ {
+ // test if this data item is an image or not (could also be a surface or something totally different)
+ mitk::Image* image = dynamic_cast<mitk::Image*>( data );
+ if (image)
+ {
+ std::stringstream message;
+ std::string name;
+ message << "Performing image processing for image ";
+ if (node->GetName(name))
+ {
+ // a property called "name" was found for this DataNode
+ message << "'" << name << "'";
+ }
+ message << ".";
+ MITK_INFO << message.str();
+
+ // actually do something here...
+
+ }
+ }
+}
diff --git a/Modules/Bundles/org.mitk.gui.qt.igttrackinglab/src/internal/IGTTrackingLab.h b/Modules/Bundles/org.mitk.gui.qt.igttrackinglab/src/internal/IGTTrackingLab.h
new file mode 100644
index 0000000000..7e70ad3ace
--- /dev/null
+++ b/Modules/Bundles/org.mitk.gui.qt.igttrackinglab/src/internal/IGTTrackingLab.h
@@ -0,0 +1,67 @@
+/*=========================================================================
+
+Program: Medical Imaging & Interaction Toolkit
+Language: C++
+Date: $Date$
+Version: $Revision$
+
+Copyright (c) German Cancer Research Center, Division of Medical and
+Biological Informatics. All rights reserved.
+See MITKCopyright.txt or http://www.mitk.org/copyright.html for details.
+
+This software is distributed WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE. See the above copyright notices for more information.
+
+=========================================================================*/
+
+
+#ifndef IGTTrackingLab_h
+#define IGTTrackingLab_h
+
+#include <berryISelectionListener.h>
+
+#include <QmitkFunctionality.h>
+
+#include "ui_IGTTrackingLabControls.h"
+
+
+/*!
+ \brief IGTTrackingLab
+
+ \warning This class is not yet documented. Use "git blame" and ask the author to provide basic documentation.
+
+ \sa QmitkFunctionality
+ \ingroup ${plugin_target}_internal
+*/
+class IGTTrackingLab : public QmitkFunctionality
+{
+ // this is needed for all Qt objects that should have a Qt meta-object
+ // (everything that derives from QObject and wants to have signal/slots)
+ Q_OBJECT
+
+ public:
+
+ static const std::string VIEW_ID;
+
+ IGTTrackingLab();
+ virtual ~IGTTrackingLab();
+
+ virtual void CreateQtPartControl(QWidget *parent);
+
+ protected slots:
+
+ /// \brief Called when the user clicks the GUI button
+ void DoImageProcessing();
+
+ protected:
+
+ /// \brief called by QmitkFunctionality when DataManager's selection has changed
+ virtual void OnSelectionChanged( std::vector<mitk::DataNode*> nodes );
+
+ Ui::IGTTrackingLabControls m_Controls;
+
+};
+
+#endif // IGTTrackingLab_h
+
diff --git a/Modules/Bundles/org.mitk.gui.qt.igttrackinglab/src/internal/IGTTrackingLabControls.ui b/Modules/Bundles/org.mitk.gui.qt.igttrackinglab/src/internal/IGTTrackingLabControls.ui
new file mode 100644
index 0000000000..0e574489fc
--- /dev/null
+++ b/Modules/Bundles/org.mitk.gui.qt.igttrackinglab/src/internal/IGTTrackingLabControls.ui
@@ -0,0 +1,64 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0">
+ <class>IGTTrackingLabControls</class>
+ <widget class="QWidget" name="IGTTrackingLabControls">
+ <property name="geometry">
+ <rect>
+ <x>0</x>
+ <y>0</y>
+ <width>222</width>
+ <height>161</height>
+ </rect>
+ </property>
+ <property name="minimumSize">
+ <size>
+ <width>0</width>
+ <height>0</height>
+ </size>
+ </property>
+ <property name="windowTitle">
+ <string>QmitkTemplate</string>
+ </property>
+ <layout class="QVBoxLayout" name="verticalLayout">
+ <item>
+ <widget class="QLabel" name="labelWarning">
+ <property name="styleSheet">
+ <string notr="true">QLabel { color: rgb(255, 0, 0) }</string>
+ </property>
+ <property name="text">
+ <string>Please select an image!</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QPushButton" name="buttonPerformImageProcessing">
+ <property name="toolTip">
+ <string>Do image processing</string>
+ </property>
+ <property name="text">
+ <string>Do Something</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <spacer name="spacer1">
+ <property name="orientation">
+ <enum>Qt::Vertical</enum>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Expanding</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>20</width>
+ <height>220</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ </layout>
+ </widget>
+ <layoutdefault spacing="6" margin="11"/>
+ <resources/>
+ <connections/>
+</ui>
diff --git a/Modules/Bundles/org.mitk.gui.qt.igttrackinglab/src/internal/mitkPluginActivator.cpp b/Modules/Bundles/org.mitk.gui.qt.igttrackinglab/src/internal/mitkPluginActivator.cpp
new file mode 100644
index 0000000000..17a8797c65
--- /dev/null
+++ b/Modules/Bundles/org.mitk.gui.qt.igttrackinglab/src/internal/mitkPluginActivator.cpp
@@ -0,0 +1,39 @@
+/*=========================================================================
+
+Program: Medical Imaging & Interaction Toolkit
+Language: C++
+Date: $Date$
+Version: $Revision$
+
+Copyright (c) German Cancer Research Center, Division of Medical and
+Biological Informatics. All rights reserved.
+See MITKCopyright.txt or http://www.mitk.org/copyright.html for details.
+
+This software is distributed WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE. See the above copyright notices for more information.
+
+=========================================================================*/
+
+
+#include "mitkPluginActivator.h"
+
+#include <QtPlugin>
+
+#include "IGTTrackingLab.h"
+
+namespace mitk {
+
+void PluginActivator::start(ctkPluginContext* context)
+{
+ BERRY_REGISTER_EXTENSION_CLASS(IGTTrackingLab, context)
+}
+
+void PluginActivator::stop(ctkPluginContext* context)
+{
+ Q_UNUSED(context)
+}
+
+}
+
+Q_EXPORT_PLUGIN2(org_mitk_gui_qt_igttrackinglab, mitk::PluginActivator)
diff --git a/Modules/Bundles/org.mitk.gui.qt.igttrackinglab/src/internal/mitkPluginActivator.h b/Modules/Bundles/org.mitk.gui.qt.igttrackinglab/src/internal/mitkPluginActivator.h
new file mode 100644
index 0000000000..7592169885
--- /dev/null
+++ b/Modules/Bundles/org.mitk.gui.qt.igttrackinglab/src/internal/mitkPluginActivator.h
@@ -0,0 +1,41 @@
+/*=========================================================================
+
+Program: Medical Imaging & Interaction Toolkit
+Language: C++
+Date: $Date$
+Version: $Revision$
+
+Copyright (c) German Cancer Research Center, Division of Medical and
+Biological Informatics. All rights reserved.
+See MITKCopyright.txt or http://www.mitk.org/copyright.html for details.
+
+This software is distributed WITHOUT ANY WARRANTY; without even
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE. See the above copyright notices for more information.
+
+=========================================================================*/
+
+
+#ifndef MITKPLUGINACTIVATOR_H
+#define MITKPLUGINACTIVATOR_H
+
+#include <ctkPluginActivator.h>
+
+namespace mitk {
+
+class PluginActivator :
+ public QObject, public ctkPluginActivator
+{
+ Q_OBJECT
+ Q_INTERFACES(ctkPluginActivator)
+
+public:
+
+ void start(ctkPluginContext* context);
+ void stop(ctkPluginContext* context);
+
+}; // PluginActivator
+
+}
+
+#endif // MITKPLUGINACTIVATOR_H

File Metadata

Mime Type
application/octet-stream
Expires
Mon, Sep 30, 9:20 AM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2291539
Default Alt Text
(19 KB)

Event Timeline