[vtkusers] bug in vtkImageStack

Dean Inglis dean.inglis at camris.ca
Mon Jun 20 19:29:26 EDT 2011


thanks David.  Fixed!


From: "David Gobbi" <david.gobbi at gmail.com>
To: "Dean Inglis" <dean.inglis at camris.ca>
Cc: <vtkusers at vtk.org>
Sent: Monday, June 20, 2011 5:52 PM
Subject: Re: [vtkusers] bug in vtkImageStack


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