[vtkusers] bug in vtkImageStack

David Gobbi david.gobbi at gmail.com
Mon Jun 20 17:52:42 EDT 2011


Hi Dean,

Thanks for the test, I've located the error in gdb.  It has to do the
code that I added to the image mappers to automatically switch
between quality rendering vs. interactive rendering.  It looks like
a trivial mistake, so I should be able to push a fix later today.

 - David


On Mon, Jun 20, 2011 at 3:37 PM, Dean Inglis <dean.inglis at camris.ca> wrote:
> 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



More information about the vtkusers mailing list