[vtkusers] Polydata to Image - vtkWindowToImageFilter

Charles Boivin Charles.Boivin at rwdiwest.com
Wed Sep 29 12:43:30 EDT 2004


Forgot to also CC the mailing list on this...
-------------- next part --------------
Hi Bernhard,

You can use vtkRenderWindow::SetOffScreenRendering() to prevent the
image from being displayed on the screen. I run on Windows right now,
and this works fine. However, I believe this function is not supported
in all the different flavors of vtkRenderWindow (i.e. for other OS's).

Hope this helps,

Charles

>>> "Bernhard Mayrhofer" <berninho1 at hotmail.com> 09/29/04 09:58am >>>
Hi!

I use now vtkWindowToImageFilter to get an image of a polydata object.
It 
works fine. I want to speed up it. I found that this->Input->Render();
in 
vtkWindowToImageFilter.cpp costs most time. The data is rendered and is

displayed. Could it be faster if this is not displayed (if it is an
option 
the skip this part)? If yes, how can this be done?

Thanks
Bernhard 
_______________________________________________
This is the private VTK discussion list. 
Please keep messages on-topic. Check the FAQ at:
<http://public.kitware.com/cgi-bin/vtkfaq>
Follow this link to subscribe/unsubscribe:
http://www.vtk.org/mailman/listinfo/vtkusers


More information about the vtkusers mailing list