]> Creatis software - bbtk.git/blobdiff - packages/itkvtk/src/bbitkvtkvtkImageData2itkImage.h
*** empty log message ***
[bbtk.git] / packages / itkvtk / src / bbitkvtkvtkImageData2itkImage.h
index d092863f23127ba6f09324dd0dbbc6cb9ed85066..1ee762bd9c7ab7d3336d2f59985688ed82a647e3 100644 (file)
@@ -3,8 +3,8 @@
   Program:   bbtk
   Module:    $RCSfile: bbitkvtkvtkImageData2itkImage.h,v $
   Language:  C++
-  Date:      $Date: 2008/04/18 12:59:50 $
-  Version:   $Revision: 1.3 $
+  Date:      $Date: 2008/07/23 12:02:15 $
+  Version:   $Revision: 1.5 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -14,7 +14,7 @@
      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
      PURPOSE.  See the above copyright notices for more information.
                                                                                 
-=========================================================================*//**
+=========================================================================*/
 /**
  * \file 
  * \brief class vtkImageData2itkImage : Converts a vtkImageData to a generic itkImage
@@ -32,6 +32,7 @@
 #include "bbtkAtomicBlackBox.h"
 #include "bbitkImage.h"
 #include "vtkImageData.h"
+#include "itkProcessObject.h"
 
 namespace bbitkvtk
 {
@@ -46,10 +47,15 @@ namespace bbitkvtk
     BBTK_DECLARE_OUTPUT(Out,bbitk::anyImagePointer);
     BBTK_PROCESS(Convert);
     void Convert();
+    void bbUserConstructor();
+    void bbUserCopyConstructor();
+    void bbUserDestructor();
 
   private:
-    // Convert method template on type of the itk image to be created
+    // Convert method template on type of the itk image to be created
     template<class T, unsigned int D> void Convert();
+    // stores the pointer on the template itk::VTKImageToImageFilter 
+    itk::ProcessObject::Pointer mConverter;
   };