<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
I see, the default constructor of vtkOpenGLRenderWindow&nbsp;is protected.&nbsp; So it is accessible via&nbsp;the derived class' constructor.<BR><BR>Xiaofeng<BR><BR><BR>&nbsp;<BR>&gt; Date: Fri, 11 Jun 2010 00:37:20 +0530<BR>&gt; Subject: Re: [vtkusers] How to put Qt widgets on top of a VTK OpenGL scene<BR>&gt; From: prashanth.udupa@gmail.com<BR>&gt; To: xf10036@hotmail.com<BR>&gt; CC: vtkusers@vtk.org<BR>&gt; <BR>&gt; vtkRenderWindowClass is a typedef for vtkWin32OpenGLRenderWindow or<BR>&gt; vtkXOpenGLRenderWindow, depending on the platform on which the class<BR>&gt; is compiled. Both of these classes have default constructors.<BR>&gt; <BR>&gt; / Prashanth<BR>&gt; <BR>&gt; On Thu, Jun 10, 2010 at 10:22 PM, Xiaofeng Z &lt;xf10036@hotmail.com&gt; wrote:<BR>&gt; &gt; Prashanth,<BR>&gt; &gt; That's very interesting.&nbsp; I have a question:<BR>&gt; &gt;<BR>&gt; &gt; vtkQtGraphicsViewRenderWindow gView;<BR>&gt; &gt;<BR>&gt; &gt; How would the above&nbsp;statement be possible given that<BR>&gt; &gt; vtkQtGraphicsViewRenderWindow is a subclass of vtkRenderWindowClass<BR>&gt; &gt; and&nbsp;vtkRenderWindowClass does not allow default constructor?<BR>&gt; &gt;<BR>&gt; &gt; Xiaofeng<BR>                                               <br /><hr />Hotmail is redefining busy with tools for the New Busy. Get more from your inbox. <a href='http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_2' target='_new'>See how.</a></body>
</html>