]> Creatis software - bbtk.git/blobdiff - packages/vtk/src/bbvtkMIPCreator.cxx
*** empty log message ***
[bbtk.git] / packages / vtk / src / bbvtkMIPCreator.cxx
index 708d19431b61355f3658b0abf66de17efa41472f..39d615f3651c207caba05d287534b158cce37fde 100644 (file)
@@ -3,8 +3,8 @@
   Program:   bbtk
   Module:    $RCSfile: bbvtkMIPCreator.cxx,v $
   Language:  C++
-  Date:      $Date: 2008/03/19 13:30:18 $
-  Version:   $Revision: 1.1 $
+  Date:      $Date: 2008/05/09 10:39:47 $
+  Version:   $Revision: 1.3 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -33,7 +33,7 @@ namespace bbvtk
 
 
    BBTK_ADD_BLACK_BOX_TO_PACKAGE(vtk,MIPCreator)
-   BBTK_USER_BLACK_BOX_IMPLEMENTATION(MIPCreator,bbtk::AtomicBlackBox);
+   BBTK_BLACK_BOX_IMPLEMENTATION(MIPCreator,bbtk::AtomicBlackBox);
 
 
 
@@ -74,6 +74,14 @@ namespace bbvtk
     bbSetOutputOut(mVolume);
 }
 
+   void MIPCreator::bbUserDestructor() 
+   { 
+     mCast->Delete();
+     mMIP->Delete();
+     mMapper->Delete();
+     mVolume->Delete();
+
+   }
 //---------------------------------------------------------------------
 
    void MIPCreator::Process()