X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=packages%2Fitkvtk%2Fsrc%2FbbitkvtkitkImage2vtkImageData.cxx;h=2dd6a03951257d9c09521c370c09d78c19cd20ca;hb=dfc6fa4fa336044fef3db25a80ca4fb1d2ec84a4;hp=cfbeb4ca7c6598f7f15362313cd38fe23dec9903;hpb=8dd53a72bc1dd1ca2c6e2763c0aeb51c77ee352e;p=bbtk.git diff --git a/packages/itkvtk/src/bbitkvtkitkImage2vtkImageData.cxx b/packages/itkvtk/src/bbitkvtkitkImage2vtkImageData.cxx index cfbeb4c..2dd6a03 100644 --- a/packages/itkvtk/src/bbitkvtkitkImage2vtkImageData.cxx +++ b/packages/itkvtk/src/bbitkvtkitkImage2vtkImageData.cxx @@ -2,8 +2,8 @@ Program: bbtk Module: $RCSfile: bbitkvtkitkImage2vtkImageData.cxx,v $ Language: C++ - Date: $Date: 2009/05/18 10:45:46 $ - Version: $Revision: 1.9 $ + Date: $Date: 2011/06/16 12:28:57 $ + Version: $Revision: 1.11 $ =========================================================================*/ /* --------------------------------------------------------------------- @@ -22,11 +22,11 @@ * modify and redistribute granted by the license, users are provided only * with a limited warranty and the software's author, the holder of the * economic rights, and the successive licensors have only limited -* liability. +* liability. * * The fact that you are presently reading this means that you have had * knowledge of the CeCILL-B license and that you accept its terms. -* ------------------------------------------------------------------------ */ +* ------------------------------------------------------------------------ */ /** * \file @@ -37,9 +37,6 @@ #include "bbitkvtkitkImage2vtkImageData.h" #include "bbitkvtkPackage.h" -// VtkToItkConnection -//#include "itkVTKImageToImageFilter.h" -// ItkToVtkConnection #include "itkImageToVTKImageFilter.h" @@ -49,16 +46,11 @@ namespace bbitkvtk BBTK_ADD_BLACK_BOX_TO_PACKAGE(itkvtk,itkImage2vtkImageData); - - - void itkImage2vtkImageData::Convert() { bbtk::TypeInfo t = bbGetInputIn().type(); BBTK_TEMPLATE_ITK_IMAGE_SWITCH(t,Convert); } - - template void itkImage2vtkImageData::Convert() @@ -68,7 +60,7 @@ namespace bbitkvtk <<">()"< ItkToVtkConnection; typename ItkToVtkConnection::Pointer conv; @@ -83,11 +75,11 @@ namespace bbitkvtk else { bbtkDebugMessage("process",5," ["< - ((itk::ProcessObject*)mConverter); + ((itk::ProcessObject*)mConverter); if (!conv) { bbtkDebugMessage("process",5," ["<() <<">() *DONE*"<