[vtkusers] vtkImagePlaneWidget crashes after a second load of data
snrf at no-log.org
Thu Jul 26 00:34:47 EDT 2007
after few hours of work I found that the problem is related to my
RenderWindowInteractor affected to the vtkImagePlaneWidget . In fact,
if I create two different windows with two separate
RenderWindowInteractor and if I change the RenderWindowInteractor
while loading the second data set, everything is fine.
However, I still don't know what is wrong as, while reloading, I
clean ever actors and volume in the renderwindow ---
I'm wondering is there is not a leak/undeleted reference to the iren
in the vtkImagePlaneWidget code .... Any help is appreciated !
On 25-Jul-07, at 10:39 PM, Flo wrote:
> Dear all:
> I use vtkImagePlaneWidget in my application with the original code.
> Using it while loading a dataset is fine.
> However, while, in the same application sequence, I re-load a
> second set of data, as soon as I click or interact with any of the
> plane I have a crash. However, interacting with the renderer
> (outside the ImagePlane outline but inside the renderwindow,
> meaning zooming and rotation) is fine.
> Any idea where this kind of crash my come from ?
> This is the private VTK discussion list.Please keep messages on-
> topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
More information about the vtkusers