On 28.04.2011 10:37, Matt Clarkson wrote:
> Hello there!
> 
> I'm just taking a look at MITK, and considering how I can use it in/for
> my project.
> 
> I have compiled the code, and run "make install" in the MITK-build
> directory, and in the installation folder, I get the CoreApp.app and
> ExtApp.app, with all the plugins underneath.  (Im running on a Mac). I
> have looked at the wiki, and it mentions using the framework as a
> library which would be useful. For example, the way that ITK manages
> different data types in the data manager seems useful.  In addition, in
> the application I am writing, the general BlueBerry based architecture
> could be useful in the long run, as already my code is a bit messy when
> plugging things together. Also, several of the available plugins would
> be immediately useful to me.
> 
> So my questions now are how to use this in my own project. However, it's
> not clear to me how I should best go about this:
> 
> 1. I am used to downloading and compiling libraries, such as ITK, VTK,
> Qt, boost etc, and our application then links against these libraries.
> This means I have my own subclass of QMainWindow, and we code all our
> application ourselves, and off we go, which is all quite simple.
>  However, if I was to use MITK would I 
> 
>   a) ... create my own application like
> MITK/Applications/CoreApp/CoreApp.cpp and start from there?  This means
> I would have to write my own CMake code to FindMITK, link against the
> right libraries, but also package all the right plugins in the right
> folders when I install or deploy my application
> 
>   b) ... write my code from within the MITK source code tree?  i.e. if I
> created a new plugin in the MITK directory structure, it would
> presumably be much easier to get all the compiled code packaged in the
> right place, but then my application would probably end up being called
> ExtApp! i.e. it would be an MITK extension, not my own application.
> 
>   c) ... just use MITK as a library.
> 
> 2. Are there any examples where people have used MITK as a 3rd Party
> library.  I am also taking a look at gimias to see how they approach
> this problem.
> 
> Any help would be appreciated.  I apologise if this is covered in detail
> on previous postings to the mailing list.
> 
> Thanks in advance.
> 
> Matt
> 


Hi Matt,

we use MITK in our project for segmentation and geometry extraction
purposes.

As you wrote in your introduction, there is the CoreApp and the more
modular ExtApp. To be happy in the long run, which to take is basically
one of the first decisions for your project's architecture; I'd advise
the more modular (and hence flexible) ExtApp framework.

Yes, i did some cmake coding around our stuff, but basically i treat
MITK as an external 3rdparty ressource providing librares like any
other, and invoke it thus just by using add_subdirectory()... with
setting the include paths and making sure that everything gets created
at the correct place..

So it is kind of an solution d), where MITK is used through its librarys
but at the same time is used in our own Project folder through the
Makros for the Extapp main binary and our own plugins.

Regarding your doubts b), no, your extapp based program can have an own
name, and is your oww Application. But using the mechanisms of the MITK
ExtApp, so it is also an extension at the same time. You can clearly
define which plugins you want to use and which not, you have full
control over everything.

Hope I could help & Regards,
Thomas Wolf

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to