[vtkusers] Deleting vtk Java objects
Steve M. Robbins
steven.robbins at videotron.ca
Wed Feb 15 22:21:59 EST 2006
On Tue, Feb 14, 2006 at 12:28:15PM +0100, Pfeifer Franz wrote:
> we are currently developing a Java application which uses the vtk java
> wrapper classes. Our problem now is that we don't know how to delete vtk
> objects created in java. Using vtkObject.VTKDelete() causes the VM to
> crash. Using the vtkObject.Unregister() method is a bit tricky, because
> it is not quite clear which references an object is holding.
I asked the same question last October. David Gobbi pointed us to
ReleaseData() which does the trick.
http://public.kitware.com/pipermail/vtkusers/2005-October/082073.html
-Steve
More information about the vtkusers
mailing list