]> Creatis software - crea.git/blobdiff - src/creaVtk.h
Automatic Desallocation added so we will desallocates this object when we its pointer...
[crea.git] / 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()