Hi there,

I am developing a screen to enable multiple QmitkStdMultiViewWidgets to be used 
simultaneously, thereby providing things such as linked cursors, which is 
useful for assessing registrations.
In doing so, I have raised the following bugs/feature requests and provided 
code fixes on GitHub. 

Please can these be reviewed, and if at all possible merged into the main MITK? 

The DataManager already enables you to drag nodes (bug 10124), I made the 
following changes to QmitkRenderWindow to enable a NodesDropped signal to be 
emitted, (providing you programmatically setAcceptDrops(true) on the widget. 
This provides another way for users to interact with the QmitkStdMultiWidget, 
and also if you are using Renderer specific properties, you can drag different 
nodes into different windows, and visualise them separately.
http://bugs.mitk.org/show_bug.cgi?id=10919

When having multiple widgets on different editors, I found it more useful to 
create my own RenderingManager, and pass it to the QmitkStdMultiWidget.  THis 
means I have one RenderingManager per widget, and manage updating them myself, 
but provides additional flexibility for other third party MITK users.
http://bugs.mitk.org/show_bug.cgi?id=10921

This is more of a bug.  If you repeatedly add and remove vtkRenderWindows from 
the RenderingManager, the application will crash due to the fact that if a 
rendering event calls RequestUpdate or ForceImmediateUpdate on your 
RenderingManager (possibly from another thread?), then the current 
implementation adds vtkRenderWindow pointers back into the m_RenderWindowList, 
which then causes the map to have the wrong number of entries.
http://bugs.mitk.org/show_bug.cgi?id=11154

Also, in order to have multiple QmitkStdMultiViewWidget, I had to uniquely name 
the m_PlaneNode1, m_PlaneNode2, m_PlaneNode3, so they can be added and removed 
from DataStorage at will.
http://bugs.mitk.org/show_bug.cgi?id=11160

Thanks

Matt



------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to