Hi Marcieano,

sorry for the late reply.

You could add the plug-in org.mitk.gui.qt.ext as a dependency to your 
pointbasedregistration plug-in by adding it to the "Require-Plugin" list 
in the manifest_headers.cmake file of the pointbasedregistration 
plug-in. This will allow you to include the 
QmitkExtFileSaveProjectAction.h header file and use the class as you 
suggested.

In case you are modifying the MITK plug-ins inside the MITK source-tree, 
I would recommend to create your own project: 
http://docs.mitk.org/nightly-qt4/HowToNewProject.html and then copy the 
original MITK plug-ins into your own project's source tree and adapt 
them to your needs (make sure to rename the plug-ins).

Best,
Sascha

On 01/30/2013 08:18 PM, marcieano pascal wrote:
> Hello MITK users,
>
> I'm quite new to MITK.
> I'm changing the existing Mitk's plug ins to my needs and would like 
> to automatically save (not by pressing the button) as mitk's project 
> images and landmark points of the registration plugin. I thought to 
> simply call to the function: QmitkExtFileSaveProjectAction->Run() from 
> the QmitkPointBasedRegistrationView::calculateLandmarkbased() 
> implementation but they are not in the same directory/location:
>
> 1) the first is located at: 
> ...\MITK\Modules\Bundles\org.mitk.gui.qt.pointbasedregistration\src\internal\QmitkPointBasedRegistrationView.cpp
> 2) the second is located at: 
> ...\MITK\Modules\Bundles\org.mitk.gui.qt.ext\src\QmitkExtFileSaveProjectAction.cpp
>
> is there any way to do this? or maybe there is another solution ...
>
> Any help would be very helpful.
>
> Thanks in advance,
> Marcieano
>


------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to