[vtkusers] Problem with vtkImageReslice

Øystein Skotheim oystein+vtk at edge.no
Tue Nov 1 14:19:10 EST 2005


On Tue, 1 Nov 2005, David Gobbi wrote:

DG> Hi Øystein,

DG> I saw a similar error once, and it was because my application was 
DG> setting the DisplayExtent of a vtkImageActor incorrectly.  Since 
DG> vtkImageViewer2 uses vtkImageActor, I suspect that this is the same 
DG> problem.

DG> In your callback, get rid of reslice->Update()  and replace it with 
DG> this:

DG>  ImageViewer->UpdateDisplayExtent()

Thank you for the advice. The problem is that this method is protected 
(although the documentation says it's public!)

--- 

Øystein Skotheim, Research Scientist
SINTEF ICT, Dept. of Optical Measurement Systems
N-7465 Trondheim, Norway


More information about the vtkusers mailing list