Try: view.ViewSize = [<width>, <height>]
Utkarsh On Tue, Feb 12, 2013 at 6:25 AM, the lily <[email protected]> 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 > _______________________________________________ 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
