MantisBT - VTK
View Issue Details
0012679VTK(No Category)public2011-10-25 18:042011-10-27 01:47
David Gobbi 
David Gobbi 
normalminorhave not tried
closedfixed 
 
 
TBD
incorrect functionality
0012679: Incorrect rendering with vtkImageResliceMapper after vtkImageClip
The vtkImageClip filter gives an output whose extent is larger than its whole extent. This confuses the vtkImageResliceMapper and seems to result in the following behaviour:
1) when rendering is done to a polygon, the polygon shape is incorrect
2) when rendering to the whole viewport (without a polygon) no cropping is done at all
No tags attached.
Issue History
2011-10-25 18:04David GobbiNew Issue
2011-10-25 18:04David GobbiStatusbacklog => tabled
2011-10-25 18:04David GobbiAssigned To => David Gobbi
2011-10-27 01:47David GobbiNote Added: 0027615
2011-10-27 01:47David GobbiStatustabled => closed
2011-10-27 01:47David GobbiResolutionopen => fixed

Notes
(0027615)
David Gobbi   
2011-10-27 01:47   
Fixed in commit acb5b09dc5846116ee277334f684b24edbed184a

The bug was because the interpolation code was using the Extent for bounds checks instead of using the WholeExtent, so if the Extent was larger than the WholeExtent, the rendering would extend past the WholeExtent.