<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
<br>Thanks that worked <br><div><div id="SkyDrivePlaceholder"></div><hr id="stopSpelling">From: the.1.lily@hotmail.com<br>To: utkarsh.ayachit@kitware.com<br>CC: paraview@paraview.org<br>Subject: RE: [Paraview] Changing the size of vtkXOpenGLRenderWindow<br>Date: Wed, 13 Feb 2013 11:56:22 +0300<br><br>
<style><!--
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Tahoma;}
--></style>
<div dir="ltr">
Dear Utkarsh<br><br>it turns out that I was writing the command after the Render which was not working<br><br>here how I did it "in case someone needed that"<br><br>view = GetActiveView().GetRenderWindow()<br>view.SetSize(wid,hig)<br><br>Render()<br><br><div><div id="ecxSkyDrivePlaceholder"></div>> Date: Tue, 12 Feb 2013 08:54:11 -0500<br>> Subject: Re: [Paraview] Changing the size of vtkXOpenGLRenderWindow<br>> From: utkarsh.ayachit@kitware.com<br>> To: the.1.lily@hotmail.com<br>> CC: paraview@paraview.org<br>> <br>> Try:<br>> <br>> view.ViewSize = [<width>, <height>]<br>> <br>> Utkarsh<br>> <br>> On Tue, Feb 12, 2013 at 6:25 AM, the lily <the.1.lily@hotmail.com> wrote:<br>> > Dear all<br>> ><br>> > I'm constructing the depth map using the following<br>> ><br>> > view = GetActiveView().GetRenderWindow()<br>> > w2i = vtkWindowToImageFilter()<br>> > w2i.SetInputBufferTypeToZBuffer ()<br>> > w2i.SetInput(view)<br>> > w2i.Update()<br>> ><br>> ><br>> > the only problem that it is always giving me a dpeth map of size (400,400)<br>> > and I think that because of the size of the view<br>> ><br>> > so I tried setting the view size but that did not work, so can someone hep ?<br>> ><br>> > _______________________________________________<br>> > Powered by www.kitware.com<br>> ><br>> > Visit other Kitware open-source projects at<br>> > http://www.kitware.com/opensource/opensource.html<br>> ><br>> > Please keep messages on-topic and check the ParaView Wiki at:<br>> > http://paraview.org/Wiki/ParaView<br>> ><br>> > Follow this link to subscribe/unsubscribe:<br>> > http://www.paraview.org/mailman/listinfo/paraview<br>> ><br></div>                                            </div></div>                                            </div></body>
</html>