[vtkusers] How to put Qt widgets on top of a VTK OpenGL scene

Xiaofeng Z xf10036 at hotmail.com
Thu Jun 10 12:52:40 EDT 2010


Prashanth,

That's very interesting.  I have a question:

 

vtkQtGraphicsViewRenderWindow gView;

 

How would the above statement be possible given that vtkQtGraphicsViewRenderWindow is a subclass of vtkRenderWindowClass and vtkRenderWindowClass does not allow default constructor?


Xiaofeng


 
> Date: Thu, 10 Jun 2010 15:28:26 +0530
> From: prashanth.udupa at gmail.com
> To: clinton at elemtech.com
> CC: vtkusers at vtk.org
> Subject: Re: [vtkusers] How to put Qt widgets on top of a VTK OpenGL scene
> 
> I guess this thread is rather old now, but I thought of sharing this
> http://www.vcreatelogic.com/p/2010/06/using-vtkrenderwindow-with-qgraphicsview/
> 
> Hope it is useful to somebody!
> 
> / Prashanth
> 
> On Tue, Oct 21, 2008 at 10:50 PM, <clinton at elemtech.com> wrote:
> >
> > In a QGraphicsView, QGLWidget::paintEvent isn't called, which means QGLWidget
> > isn't doing some things for you.
> > Be sure you're calling glClear, glViewport, etc..
> _______________________________________________
> 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
 		 	   		  
_________________________________________________________________
The New Busy think 9 to 5 is a cute idea. Combine multiple calendars with Hotmail. 
http://www.windowslive.com/campaign/thenewbusy?tile=multicalendar&ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_5
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100610/bcc4af31/attachment.htm>


More information about the vtkusers mailing list