<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 is protected. So it is accessible via the derived class' constructor.<BR><BR>Xiaofeng<BR><BR><BR> <BR>> Date: Fri, 11 Jun 2010 00:37:20 +0530<BR>> Subject: Re: [vtkusers] How to put Qt widgets on top of a VTK OpenGL scene<BR>> From: prashanth.udupa@gmail.com<BR>> To: xf10036@hotmail.com<BR>> CC: vtkusers@vtk.org<BR>> <BR>> vtkRenderWindowClass is a typedef for vtkWin32OpenGLRenderWindow or<BR>> vtkXOpenGLRenderWindow, depending on the platform on which the class<BR>> is compiled. Both of these classes have default constructors.<BR>> <BR>> / Prashanth<BR>> <BR>> On Thu, Jun 10, 2010 at 10:22 PM, Xiaofeng Z <xf10036@hotmail.com> wrote:<BR>> > Prashanth,<BR>> > That's very interesting. I have a question:<BR>> ><BR>> > vtkQtGraphicsViewRenderWindow gView;<BR>> ><BR>> > How would the above statement be possible given that<BR>> > vtkQtGraphicsViewRenderWindow is a subclass of vtkRenderWindowClass<BR>> > and vtkRenderWindowClass does not allow default constructor?<BR>> ><BR>> > 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>