[vtkusers] Re: update window display

Frank Gao gao at mdimaging.com
Thu Jun 22 14:22:26 EDT 2006


Hi All,

Would anybody please shed some light on this?

I am working on a simple win32 application to cycle through axial images.
The input is a series of DICOM file read by ITK reader, and exported to VTK.
VtkExtractVOI is used to get the 2D data. vtkWin32OpenGLRenderWindow is
used. In my mouse callback, I change the VOI data, and call
renderwindow->Render() to update the display.

Problem: I can never see more than 10 slices. After 9, I got empty screen. I
change to use vtkReslice, and had the same problem. Can only see like 5
slices.

Question: what I am supposed to use to update image? Is the Render( ) method
working in a separate thread, and I have to copy image data to the window
DC?

Thanks in advance,

Frank

-----Original Message-----
From: vtkusers-bounces+gao=mdimaging.com at vtk.org
[mailto:vtkusers-bounces+gao=mdimaging.com at vtk.org]On Behalf Of
vtkusers-request at vtk.org
Sent: Thursday, June 22, 2006 9:01 AM
To: vtkusers at vtk.org
Subject: vtkusers Digest, Vol 26, Issue 23

Send vtkusers mailing list submissions to
        vtkusers at vtk.org

To subscribe or unsubscribe via the World Wide Web, visit
        http://www.vtk.org/mailman/listinfo/vtkusers
or, via email, send a message with subject or body 'help' to
        vtkusers-request at vtk.org

You can reach the person managing the list at
        vtkusers-owner at vtk.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of vtkusers digest..."




More information about the vtkusers mailing list