View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0003654VTK(No Category)public2006-08-23 07:082011-04-15 19:27
ReporterDavid Gobbi 
Assigned ToKarthik Krishnan 
PriorityurgentSeveritymajorReproducibilityalways
StatusclosedResolutionno change required 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0003654: The vtkImageActor fails if inputs WholeExtent changes
DescriptionThe 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.
TagsNo tags attached.
Project
Type
Attached Files

 Relationships

  Notes
(0004721)
Brad King (developer)
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 (developer)
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 (developer)
2011-04-15 19:27

The vtkImageActor class has been rewritten, this bug report is no longer relevant.

 Issue History
Date Modified Username Field Change
2008-02-06 10:10 Jeff Baumes Assigned To => Karthik Krishnan
2011-04-15 19:27 David Gobbi Note Added: 0026193
2011-04-15 19:27 David Gobbi Status tabled => closed
2011-04-15 19:27 David Gobbi Resolution open => no change required
2011-06-16 13:11 Zack Galbreath Category => (No Category)


Copyright © 2000 - 2018 MantisBT Team