Hi Miri,

no problem, questions are always welcome.
Regarding your first question: As far as I know, there is no such functionality 
in MITK yet. But you can easily write a small bootstrapping program, which 
starts on the command line and uses your module. Here`s a sample CMakeLists.txt:

PROJECT ( MirisMiniApp )
MITK_USE_MODULE(MitkExt MiriModule)
INCLUDE_DIRECTORIES(${ALL_INCLUDE_DIRECTORIES})
ADD_EXECUTABLE(MirisMiniApp MirisMiniApp.cpp)
TARGET_LINK_LIBRARIES(MirisMiniApp ${ALL_LIBRARIES})

Of course, you have to write the command line code "MirisMiniApp.cpp" on your 
own and you must have access to the MITK CMake macros. I didn't test this, but 
it should work.

Regarding your 2nd question: What do you mean by "Module progress"? What do you 
want to monitor? There is an abstract progress bar implementation in MITK:
http://docs.mitk.org/nightly-qt4/classmitk_1_1ProgressBar.html
And the concrete Qt implementation:
http://docs.mitk.org/nightly-qt4/classQmitkProgressBar.html

You can use it but I don't know if it fits your needs.

Regards,
Michael

Von: Miri Trope [mailto:[email protected]]
Gesendet: Sonntag, 8. Januar 2012 22:41
An: mitk-users
Betreff: [mitk-users] Mitk's facilities

Hi All,

I'm wondering if it's possible to:

a. Run my module (with some arguments) with Mitk but without its gui (like: 
command line operation)?
b. Show a progress bar for my module? and where should I add this option (in 
myProjectView.cpp ?)?


BTW, sorry for all my latest posts, It's because I'm having a huje progress in 
my project :-)
Regards,
Miri
------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to