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

Xiaofeng Z xf10036 at hotmail.com
Thu Jun 10 15:46:29 EDT 2010


I see, the default constructor of vtkOpenGLRenderWindow is protected.  So it is accessible via the derived class' constructor.

Xiaofeng


 
> Date: Fri, 11 Jun 2010 00:37:20 +0530
> Subject: Re: [vtkusers] How to put Qt widgets on top of a VTK OpenGL scene
> From: prashanth.udupa at gmail.com
> To: xf10036 at hotmail.com
> CC: vtkusers at vtk.org
> 
> vtkRenderWindowClass is a typedef for vtkWin32OpenGLRenderWindow or
> vtkXOpenGLRenderWindow, depending on the platform on which the class
> is compiled. Both of these classes have default constructors.
> 
> / Prashanth
> 
> On Thu, Jun 10, 2010 at 10:22 PM, Xiaofeng Z <xf10036 at hotmail.com> wrote:
> > 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
 		 	   		  
_________________________________________________________________
Hotmail is redefining busy with tools for the New Busy. Get more from your inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100610/66905996/attachment.htm>


More information about the vtkusers mailing list