[vtkusers] How to get the framebuffer

ling Hai qyaoza at gmail.com
Tue Jul 24 13:57:42 EDT 2018

I am new to vtk and I am trying to get the front framebuffer from the
renderwindow like this:
int * dim = renderWindow->GetSize();
unsigned char* pixels =

but in pixels there is only a null value. I am using this on a 3d render if
that makes a difference the above segment of code called after rendering
the volume. What am I missing? Any help is appreciated thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://public.kitware.com/pipermail/vtkusers/attachments/20180724/5b70511c/attachment.html>

More information about the vtkusers mailing list