Hi Matt, we don't have such a kind of viewer, yet. But it sounds interesting and we think it is feasible. There are some examples of views implementing a QmitkRenderWindow and fill it with some content: -The QmitkODFDetailsView uses a QmitkODFRenderWidget to render a single QBall according to the current cursor position. -The Material Editor renders a ball in a QmitkRenderWindow to show material properties
To generate a "thumbnail viewer" you should be able to get all the relevant information from the DisplayGeometry (holds the information about zooming, panning, etc.) and from the CurrentWorldGeometry2D (holds the extent of the scene). The BaseRenderer offers functions to get both Geometries and can be obtained by via the QmitkRenderwindows. The QmitkRenderwindows are managed by the QmitkStdMultiWidget. For the 3D render window I think you have to copy the vtkCamera. Regards Thomas -----Ursprüngliche Nachricht----- Von: Clarkson, Matt [mailto:[email protected]] Gesendet: Montag, 7. November 2011 17:42 An: mitk-users Betreff: [mitk-users] Thumbnail Viewer Hi there, has anyone implemented a "thumbnail viewer". By this I mean something like the following: I would like a view (subclass of berry::QtViewPart) to display a single QmitkRenderWindow, probably with no interaction enabled, always showing a thumbnail version of the currently focused QmitkRenderWindow. If the currently focused QmitkRenderWindow has been zoomed in to highlight a small region, then I want to see the whole rendered scene in my thumbnail viewer, with an outline box showing the range/extent of the currently focussed QmitkRenderWindow. Any pointers would be welcome. I can create a new view, and put a new QmitkRenderWindow in it, but how do I get a copy of the scene from the main focussed window, and adjust my widget to always show the full extent of all the data loaded into the DataManager? Thanks Matt ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ mitk-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mitk-users ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ mitk-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mitk-users
