[vtkusers] bug in vtkImageStack

Dean Inglis dean.inglis at camris.ca
Mon Jun 20 17:37:04 EDT 2011


last week the attached tcl example worked, but now crashes (on Win 7, VS2010 
release build).
The example is a test for overlaying a binary mask using vtkImageSlice and 
vtkImageStack
classes.  The crash occurs if the stack has only one image slice added to it 
.  The use
case scenario is a vtkImageViewer like class that adds a vtkImageStack to a 
renderer
and has the ability to then add or remove overlay masks to a pre-existing 
image using
the stack's AddImage and RemoveImage API.

Dean 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ImageStack2DCrash.tcl
Type: application/octet-stream
Size: 2282 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110620/89af37b4/attachment.obj>


More information about the vtkusers mailing list