[Paraview] Changing the size of vtkXOpenGLRenderWindow
the lily
the.1.lily at hotmail.com
Sun Feb 24 07:07:47 EST 2013
Thanks that worked
From: the.1.lily at hotmail.com
To: utkarsh.ayachit at kitware.com
CC: paraview at paraview.org
Subject: RE: [Paraview] Changing the size of vtkXOpenGLRenderWindow
Date: Wed, 13 Feb 2013 11:56:22 +0300
Dear Utkarsh
it turns out that I was writing the command after the Render which was not working
here how I did it "in case someone needed that"
view = GetActiveView().GetRenderWindow()
view.SetSize(wid,hig)
Render()
> Date: Tue, 12 Feb 2013 08:54:11 -0500
> Subject: Re: [Paraview] Changing the size of vtkXOpenGLRenderWindow
> From: utkarsh.ayachit at kitware.com
> To: the.1.lily at hotmail.com
> CC: paraview at paraview.org
>
> Try:
>
> view.ViewSize = [<width>, <height>]
>
> Utkarsh
>
> On Tue, Feb 12, 2013 at 6:25 AM, the lily <the.1.lily at hotmail.com> wrote:
> > Dear all
> >
> > I'm constructing the depth map using the following
> >
> > view = GetActiveView().GetRenderWindow()
> > w2i = vtkWindowToImageFilter()
> > w2i.SetInputBufferTypeToZBuffer ()
> > w2i.SetInput(view)
> > w2i.Update()
> >
> >
> > the only problem that it is always giving me a dpeth map of size (400,400)
> > and I think that because of the size of the view
> >
> > so I tried setting the view size but that did not work, so can someone hep ?
> >
> > _______________________________________________
> > 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 ParaView Wiki at:
> > http://paraview.org/Wiki/ParaView
> >
> > Follow this link to subscribe/unsubscribe:
> > http://www.paraview.org/mailman/listinfo/paraview
> >
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20130224/bfe507fe/attachment.htm>
More information about the ParaView
mailing list