From db0201cdb9eac4a0d3d85107bebed5bbe420bda2 Mon Sep 17 00:00:00 2001 From: machado Date: Wed, 13 May 2009 09:30:36 +0000 Subject: [PATCH] Automatic Desallocation added so we will desallocates this object when we its pointer does not exist anymore --- src/creaVtk.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/creaVtk.h b/src/creaVtk.h index 7eb5b18..417438e 100644 --- a/src/creaVtk.h +++ b/src/creaVtk.h @@ -13,7 +13,8 @@ namespace crea vtkImageData* CREA_EXPORT NewVtkImageDataFromRaw( T* data, int nx, int ny, - int nz); + int nz, + bool do_not_desalloc = true); /* // Already provided by vtkTypeTraits::VTKTypeID() -- 2.45.1