]> Creatis software - crea.git/commitdiff
Automatic Desallocation added so we will desallocates this object when we its pointer...
authormachado <machado>
Wed, 13 May 2009 09:30:36 +0000 (09:30 +0000)
committermachado <machado>
Wed, 13 May 2009 09:30:36 +0000 (09:30 +0000)
src/creaVtk.h

index 7eb5b18e4e75066d0385b90e394c71910ea66812..417438ec74ae765460c55abac4725e71db73e962 100644 (file)
@@ -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<T>::VTKTypeID()