MantisBT - VTK
View Issue Details
0015662VTK(No Category)public2015-08-19 22:302015-08-30 21:14
Dan Lipsa 
Dan Lipsa 
normalminorhave not tried
closedfixed 
 
 
TBD
incorrect functionality
0015662: vtkAppendPolyData does not remove vtkStreamingDemandDrivenPipeline::UPDATE_EXTENT()
For a pipeline as the following:

  // image0 image1 image2
  // dmcubes0 dmcubes1 dmcubes2
  // \ | /
  // vtkAppendPolyData
  // mapper/actor
  // renderer

dmcubes is a discrete marching cubes alg.
The pipeline forwards the update_extent upstream but the append filter does
not remove it in its RequestUpdateExtent method. This results in the update extent from the first image being compared with the extent of the second image which results in a mismatch. The following error is printed:

ERROR: In /home/danlipsa/src/VTK/Common/ExecutionModel/vtkStreamingDemandDrivenPipeline.cxx, line 857
vtkStreamingDemandDrivenPipeline (0x12a7d70): The update extent specified in the information for output port 0 on algorithm vtkTrivialProducer(0x12a77b0) is 0 67 0 72 0 9, which is outside the whole extent 0 69 0 58 0 10.

See also the following discussion

http://vtk.markmail.org/search/?q=vtkAppendPolydata%20-%20wrong%20extents%20on%20multiple%20inputs#query:vtkAppendPolydata%20-%20wrong%20extents%20on%20multiple%20inputs+page:1+mid:facdxlzi7g5hks5b+state:results [^]
No tags attached.
Issue History
2015-08-19 22:30Dan LipsaNew Issue
2015-08-19 22:30Dan LipsaAssigned To => Dan Lipsa
2015-08-19 22:34Dan LipsaDescription Updatedbug_revision_view_page.php?rev_id=1235#r1235
2015-08-19 22:36Dan LipsaStatusbacklog => active development
2015-08-19 22:49Dan LipsaNote Added: 0035036
2015-08-25 21:45Dan LipsaAdditional Information Updatedbug_revision_view_page.php?rev_id=1241#r1241
2015-08-25 21:46Dan LipsaNote Added: 0035063
2015-08-25 21:46Dan LipsaAdditional Information Updatedbug_revision_view_page.php?rev_id=1242#r1242
2015-08-30 21:13Dan LipsaStatusactive development => closed
2015-08-30 21:14Dan LipsaResolutionopen => fixed

Notes
(0035036)
Dan Lipsa   
2015-08-19 22:49   
commit 190aba041074b80b1e629f075fe7681879ea131a
Author: Dan Lipsa <dan.lipsa@kitware.com>
Date: Wed Aug 19 22:32:07 2015 -0400

    BUG 0015662: vtkAppendPolyData does not remove UPDATE_EXTENT
    
    For a pipeline as the following:
    
      // image0 image1 image2
      // dmcubes0 dmcubes1 dmcubes2
      // \ | /
      // vtkAppendPolyData
      // mapper/actor
      // renderer
    
    dmcubes is a discrete marching cubes alg.
    The pipeline forwards the update_extent upstream but the append filter does
    not remove it in its RequestUpdateExtent method. This results in the update extent from the first image being compared with the extent of the second image which results in
(0035063)
Dan Lipsa   
2015-08-25 21:46   
vtkAppendFilter has the same problem.