[vtkusers] Free memory after Write() a BMP

Dmitri Danewitz d.danewitz at yahoo.de
Wed Aug 26 08:23:30 EDT 2009


Hello! I write a BMP with the .Write() method and after this I get a memory leak in my program, although I do Delete() the vtkBMPWriter object. What am I doing wrong?
 
Here is the pipeline i use:
 
vtkRectilineargridReader (read 3D data)
vtkPlaneSource (extrace a 3D Plane for the Data)
vtkProbeFilter (Use the output of planeSource and rectilinearGridReader to cut a plane off the data)
vtkPolyDataMapper (map the cut off plane)
vtkActor (put the mapper here)
vtkRenderer (put the actor here)
vtkRenderWindow (put the renderer here)
vtkWindowToImageFilter (put the renderWindow here)
vtkBMPWriter (put the imageFilter here)
 
Greets
Dmitri
 


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20090826/544ab46b/attachment.htm>


More information about the vtkusers mailing list