[vtkusers] How to put Qt widgets on top of a VTK OpenGL scene
Clinton Stimpson
clinton at elemtech.com
Tue Oct 19 12:30:03 EDT 2010
I would suggest you use QVTKWidget2 in the current VTK repository.
There is also an example demonstrating how to use it with QGraphicsView,
but its basically similar to Nokia's example with QGLWidget. Also
available is QVTKGraphicsItem if you want to embed VTK views in the
QGraphicsView with an OpenGL based viewport widget such as QGLWidget or
QVTKWidget2.
Clint
On 10/19/2010 06:46 AM, Engel Markus wrote:
>
> Hi,
>
> has anyone been using this approach lately and knows about possible
> advantages and disadvantages compared to QVTKWidget?
>
> We have been using QVTKWidget for some time now in our Toolkit (MITK)
> and are currently thinking about switching to
> vtkQtGraphicsViewRenderWindow.
>
> Thanks for your help!
>
> Greets Markus
>
> --------------
>
> Dipl. Bioinform. (FH) Markus Engel
>
> German Cancer Research Center
>
> Division of Medical and Biological Informatics
>
> Im Neuenheimer Feld 280
>
> D-69120 Heidelberg
>
> Tel.: +49 (0) 6221 / 42-3549
>
> Fax: +49 (0) 6221 / 42-2345
>
> http://www.dkfz.de/en/mbi/people/Markus_Engel.html
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20101019/97debe38/attachment.htm>
More information about the vtkusers
mailing list