[Paraview] Changing the size of vtkXOpenGLRenderWindow

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Tue Feb 12 08:54:11 EST 2013


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
>


More information about the ParaView mailing list