MantisBT - VTK
View Issue Details
0003654VTK(No Category)public2006-08-23 07:082011-04-15 19:27
David Gobbi 
Karthik Krishnan 
urgentmajoralways
closedno change required 
 
 
0003654: The vtkImageActor fails if inputs WholeExtent changes
The image actor sets its DisplayExtent the first time it runs, but if the WholeExtent of the input ever changes afterwards in such a way the DisplayExtent is no longer within the WholeExtent, there is an error:


ERROR: In \vtk\source\Filtering\vtkStreamingDemandDrivenPipeline.cxx, line 628
vtkStreamingDemandDrivenPipeline (026B50E8): The update extent
specified in the information for output port 0 on algorithm
vtkImageReslice(026B4028) is 182 182 0 359 0 177, which is outside the
whole extent 0 363 0 359 0 0.

The vtkImageActor should not set its DisplayExtent ivar itself, it should have a protected ivar that it sets and uses instead. The DisplayExtent ivar should only get set by the SetDisplayExtent() method.
No tags attached.
Issue History
2008-02-06 10:10Jeff BaumesAssigned To => Karthik Krishnan
2011-04-15 19:27David GobbiNote Added: 0026193
2011-04-15 19:27David GobbiStatustabled => closed
2011-04-15 19:27David GobbiResolutionopen => no change required
2011-06-16 13:11Zack GalbreathCategory => (No Category)

Notes
(0004721)
Brad King   
2006-08-23 11:20   
The bug appears to be in vtkImageActor::RenderOpaqueGeometry. I'm assigning this to Ken because he appears to have written the offending code.

(0004751)
David Gobbi   
2006-08-25 11:02   
I have added a ComputedDisplayExtent ivar, which partially fixes this bug. With this change, if SetDisplayExtent() is not called to force a particular display extent, the ImageActor will automatically adjust itself according to the WholeExtent of its input.

I call the fix a "partial" fix since, if SetDisplayExtent() is used to set an extent that is incompatible with the WholeExtent(), an error still occurs.

Changed files: vtkImageActor.h(1.22), vtkImageActor.cxx(1.21), vtkOpenGLImageActor(1.33)

(0026193)
David Gobbi   
2011-04-15 19:27   
The vtkImageActor class has been rewritten, this bug report is no longer relevant.