From: machado Date: Wed, 13 May 2009 09:30:36 +0000 (+0000) Subject: Automatic Desallocation added so we will desallocates this object when we its pointer... X-Git-Tag: EED.02Oct2009~30 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=db0201cdb9eac4a0d3d85107bebed5bbe420bda2;p=crea.git Automatic Desallocation added so we will desallocates this object when we its pointer does not exist anymore --- 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()