Hi Caspar

That did the trick. Adding IOExt fixes both issues on all my platforms.

Thank you very much for your help!

Best,
Thomas


On 05.11.2015, at 17:51, Goch, Caspar Jonas 
<c.g...@dkfz-heidelberg.de<mailto:c.g...@dkfz-heidelberg.de>> wrote:

Hi Thomas,

I did re-test it and it seems that while trying out different settings I forgot 
to delete the old libs. You additionally need to add IOExt to your whitelist to 
get the level window. At least on Ubuntu this also seems to result in a working 
volume visualization.

Best,
Caspar

Von: Fitze Thomas (fitz) [mailto:f...@zhaw.ch]
Gesendet: Donnerstag, 5. November 2015 10:32
An: Goch, Caspar Jonas
Cc: mitk-users@lists.sourceforge.net<mailto:mitk-users@lists.sourceforge.net>
Betreff: Re: [mitk-users] level/window widget is missing when building mitk via 
superbuild

Hi Caspar,

Thanks for your help. I added the LegacyIO module, but at least on my dev 
machine, this did not solve the issue. In the mean time i found that 
org.mitk.gui.qt.volumevisualization also silently breaks (as in, it just 
doesn’t render anything) with my whitelist setup.

I updated my example at https://github.com/araex/MITK-ProjectTemplate to 
include your change and the volume vis plugin. Attached is a screenshot of a 
build (OS X 10.11, Clang 7) including the changes. it shows the 2 issues:
- missing level / window widget
- volumerendering not actually rendering

I’ll give it a shot on my build servers to verify the issue still occurs on all 
platforms.

Best,
Thomas

<image001.png>



On 04.11.2015, at 14:43, Goch, Caspar Jonas 
<c.g...@dkfz-heidelberg.de<mailto:c.g...@dkfz-heidelberg.de>> wrote:

Hi Thomas,

sorry for the delay, but I think I was able to narrow down the cause somewhat. 
If I add the LegacyIO module to your whitelist it works as expected. It seems 
the “levelwindow” and “imageForLevelWindow” properties are not added to the 
node otherwise.

Best,
Caspar

Von: Fitze Thomas (fitz) [mailto:f...@zhaw.ch]
Gesendet: Dienstag, 20. Oktober 2015 11:16
An: Goch, Caspar Jonas
Cc: mitk-users@lists.sourceforge.net<mailto:mitk-users@lists.sourceforge.net>
Betreff: Re: [mitk-users] level/window widget is missing when building mitk via 
superbuild

Hi Caspar

Thank you very much for giving it a shot! As far as im able to tell, the error 
happens when i pass down a Whitelist from the Superbuild to the MITK build. I 
set up a minimal example of my issue based on the Project Template: 
https://github.com/araex/MITK-ProjectTemplate
Building from that source, the MitkWorkbench and the AwesomeApp will have a 
broken level/window widget.

If i apply CMake/Whitelists/AwesomeProject_Whitelist.cmake to a MITK build 
manually, it works as expected.

The problem persist on all my build servers which are: Window 10 MSVC2013, OS X 
10.10 Clang 6, OS X 10.11 Clang 7, Ubuntu 14.04 GCC 4.8.

Thanks,
Thomas


On 19.10.2015, at 14:21, Goch, Caspar Jonas 
<c.g...@dkfz-heidelberg.de<mailto:c.g...@dkfz-heidelberg.de>> wrote:

Hi Thomas,

I cannot reproduce that error using the template project and MITK 2015.05.2 on 
Windows. Do you just use the default settings for everything? What OS, 
compiler…?

Best,
Caspar

Von: Fitze Thomas (fitz) [mailto:f...@zhaw.ch]
Gesendet: Freitag, 9. Oktober 2015 17:13
An: Goch, Caspar Jonas
Cc: mitk-users@lists.sourceforge.net<mailto:mitk-users@lists.sourceforge.net>
Betreff: Re: [mitk-users] level/window widget is missing when building mitk via 
superbuild

Hi Caspar

No, the logs look normal. The only warning i get is:
[1.253] [BlueBerry] LOG: Warning: Detected recursive attempt by part 
org.mitk.views.datamanager to create itself (this is probably, but not 
necessarily, a bug)
but i get that in both builds and i’m pretty sure that’s been there for ages.

The workbenches in the superbuild/mitk-build have the same problem, yes.

Thanks,
Thomas

On 09.10.2015, at 17:01, Goch, Caspar Jonas 
<c.g...@dkfz-heidelberg.de<mailto:c.g...@dkfz-heidelberg.de>> wrote:

Hi Thomas,

is there some kind of error/warning message? Does the workbench of your 
superbuild/MITK-build have the same problem?

Best,
Caspar

-----Ursprüngliche Nachricht-----
Von: Fitze Thomas (fitz) [mailto:f...@zhaw.ch]
Gesendet: Freitag, 9. Oktober 2015 14:55
An: mitk-users@lists.sourceforge.net<mailto:mitk-users@lists.sourceforge.net>
Betreff: [mitk-users] level/window widget is missing when building mitk via 
superbuild

Hi all,

My stdmultiwidgeteditor doesn’t activate the level/window widget when opening a 
grayscale image. It just stays the way it is when opening the MITK Workbench 
without an image (empty space). This only happens when i let the superbuild 
take care of building MITK. If i inject a MITK build by hand 
(EXTERNAL_MITK_DIR), everything works as expected. Both MITK builds use the 
same git # and do not have any manual configuration besides applying a 
whitelist.

I verified that the preference “Show level/window widget” on 
“org.mitk.gui.qt.stdmultiwidgeteditor” is set. Im working with v2015.05.2.

Does anyone have any ideas what could be going on here or where to look?

Thomas
------------------------------------------------------------------------------
_______________________________________________
mitk-users mailing list
mitk-users@lists.sourceforge.net<mailto:mitk-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/mitk-users


------------------------------------------------------------------------------
_______________________________________________
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to