[vtkusers] QVTKWidget vs QVTKOpenglWidget vs QVTKWidget2

Leonid Dulman leonid_dulman at yahoo.co.uk
Tue Sep 18 01:27:50 EDT 2018


Hi to allI have problems to use QVTKOpenglWidget  vs QVTKWidget2If somebody have a simple example how to use  QVTKOpenglWidget instead of  QVTKWidget2Thanks, Leonid

      From: Andras Lasso <lasso at queensu.ca>
 To: minjun <mey1k at naver.com>; "vtkusers at vtk.org" <vtkusers at vtk.org> 
 Sent: Tuesday, September 18, 2018 5:43 AM
 Subject: Re: [vtkusers] QVTKWidget vs QVTKOpenglWidget vs QVTKWidget2
   
You may try the recently added QVTKOpenGLNativeWidget instead.

https://www.vtk.org/doc/nightly/html/classQVTKOpenGLNativeWidget.html

Let us know if it works for this use case.

Andras

-----Original Message-----
From: vtkusers <vtkusers-bounces at public.kitware.com> On Behalf Of minjun
Sent: Monday, September 17, 2018 8:55 PM
To: vtkusers at vtk.org
Subject: [vtkusers] QVTKWidget vs QVTKOpenglWidget vs QVTKWidget2

I want to have qvtkwidget as background and place a generic QWidget on top of it.

However, when I place a generic qwidget, the widget looks like to stop or not work properly.

I came to know through many searches that this is a opengl context problem.

So some people advice me to use QWidget2 or QVTKOpenglWidget to solve this problem.

Is this the right way?

If you have any experience like this, I would like to get some advice. Thank you.



--
Sent from: https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fvtk.1045678.n5.nabble.com%2FVTK-Users-f1224199.html&data=02%7C01%7Classo%40queensu.ca%7C997ba21511cb4be5f0f008d61d015eb6%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636728289083872456&sdata=6B8JqvIzktn4XNu3v18rNcJyhxhZDYy26Gwof34s4xM%3D&reserved=0
_______________________________________________
Powered by https://na01.safelinks.protection.outlook.com/?url=www.kitware.com&data=02%7C01%7Classo%40queensu.ca%7C997ba21511cb4be5f0f008d61d015eb6%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636728289083872456&sdata=AkgZvzAL7n8armZ8649xepsg%2Buj%2BMil3frU6J3S9bRs%3D&reserved=0

Visit other Kitware open-source projects at https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.kitware.com%2Fopensource%2Fopensource.html&data=02%7C01%7Classo%40queensu.ca%7C997ba21511cb4be5f0f008d61d015eb6%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636728289083872456&sdata=W2ZVY9Q66kNWrbfoaonUGqUcV3sOkJJ3SkSpt6S%2FkIQ%3D&reserved=0

Please keep messages on-topic and check the VTK FAQ at: https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.vtk.org%2FWiki%2FVTK_FAQ&data=02%7C01%7Classo%40queensu.ca%7C997ba21511cb4be5f0f008d61d015eb6%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636728289083882461&sdata=5ykO5UWnOawjKVcuB4Y0gj4f1G1oCtrUNXI%2FWfTyP8U%3D&reserved=0

Search the list archives at: https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmarkmail.org%2Fsearch%2F%3Fq%3Dvtkusers&data=02%7C01%7Classo%40queensu.ca%7C997ba21511cb4be5f0f008d61d015eb6%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636728289083882461&sdata=Fa0SmWYAebDG5IDvFcWpXrbRD3vFBysxPUJ2nMuh9Xs%3D&reserved=0

Follow this link to subscribe/unsubscribe:
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpublic.kitware.com%2Fmailman%2Flistinfo%2Fvtkusers&data=02%7C01%7Classo%40queensu.ca%7C997ba21511cb4be5f0f008d61d015eb6%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636728289083882461&sdata=fY1lu2ueycUk5r1TNSq%2FP0W733wkfT4vKf99LPe4KzY%3D&reserved=0
_______________________________________________
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

Search the list archives at: http://markmail.org/search/?q=vtkusers

Follow this link to subscribe/unsubscribe:
https://public.kitware.com/mailman/listinfo/vtkusers


   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://public.kitware.com/pipermail/vtkusers/attachments/20180918/cb1f76ce/attachment.html>


More information about the vtkusers mailing list