View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0008269VTK(No Category)public2008-12-09 12:232014-10-02 11:05
ReporterMichael Knopke 
Assigned ToDavid Gobbi 
PrioritynormalSeveritycrashReproducibilityalways
StatusclosedResolutionunable to reproduce 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version5.10.0 
Summary0008269: vtkImageStencil fails if vtkPolyDataToImageStencil is outside of image
DescriptionWith VTK 5.2 release the stencil either produces wrong croppings or produces access violations if the polydata used to create the stencil is outside of volume/image bounds.

Additional InformationSteps to reproduce:

change line 237 of ImageTracerWidget.tcl :
isw ClosedOff
to:
isw ClosedOn
...to make the tracer widget always close the spline (a closed path doesn't
update the spline).

Start the script.
In the left window draw something like a circle but don't close it, it will
automatically close the spline on the right side.
No move the spline outside the image:
When moving up or down all is correct, but moving left right (outside of the
image) produces wrong cropping (or crashes). This bug was not in VTK 5.1
(cvs nightly).
Tagshackaton
Project
Type
Attached Files

 Relationships

  Notes
(0033459)
David Gobbi (developer)
2014-10-02 11:05

I've tested as described in the bug report (against VTK 6) and could not reproduce. I suspect that it was fixed by one of the following commits several years ago. The code has changed extensively since the bug was reported.

commit 494839e38faa117e446e982bf0022204002ca1d1
Author: David Gobbi <david.gobbi@gmail.com>
Date: Tue Nov 15 11:40:44 2011 -0700
BUG: Eliminate degenerate lines before creating stencil

commit 23be97ed82eff8092a4f23b5a484f4a79b8be9da
Author: David Gobbi <david.gobbi@gmail.com>
Date: Mon Nov 14 22:24:56 2011 -0700
BUG: Fix bug in contour-closing code.
    
commit 01eee39752b48ea96971789cae5937f4cdf093a5
Author: David Gobbi <david.gobbi@gmail.com>
Date: Wed Nov 10 10:24:48 2010 -0700
BUG: Fix recent bugs in vtkImageStencilData, vtkPolyDataToImageStencil.

 Issue History
Date Modified Username Field Change
2008-12-09 12:23 Michael Knopke New Issue
2011-02-26 10:25 David Gobbi Assigned To => David Gobbi
2011-02-26 10:25 David Gobbi Status backlog => tabled
2011-06-16 13:11 Zack Galbreath Category => (No Category)
2014-10-02 09:33 David Gobbi Tag Attached: hackaton
2014-10-02 11:05 David Gobbi Note Added: 0033459
2014-10-02 11:05 David Gobbi Status backlog => closed
2014-10-02 11:05 David Gobbi Resolution open => unable to reproduce
2014-10-02 11:05 David Gobbi Fixed in Version => 5.10.0


Copyright © 2000 - 2018 MantisBT Team