]> Creatis software - bbtk.git/blobdiff - packages/itk/src/bbitkImage.h
remove useless
[bbtk.git] / packages / itk / src / bbitkImage.h
index 974582786df4a539432119bd9b90937c5882cde8..4481c910ef5fb06bfa17d38185d5bfce5136d433 100644 (file)
@@ -2,8 +2,8 @@
   Program:   bbtk
   Module:    $RCSfile: bbitkImage.h,v $
   Language:  C++
-  Date:      $Date: 2009/06/24 08:08:57 $
-  Version:   $Revision: 1.7 $
+  Date:      $Date: 2011/05/25 12:34:48 $
+  Version:   $Revision: 1.8 $
 =========================================================================*/
 
 /* ---------------------------------------------------------------------
@@ -294,7 +294,9 @@ namespace bbitk
     BBTK_SWITCH_ITK_IMAGE_uint32_t_4(TYPE_INFO,FUN,)   \
     BBTK_SWITCH_ITK_IMAGE_float_4(TYPE_INFO,FUN,)      \
     BBTK_SWITCH_ITK_IMAGE_double_4(TYPE_INFO,FUN,)     \
-    BBTK_END_TEMPLATE_SWITCH(TYPE_INFO)                               
+  BBTK_END_TEMPLATE_SWITCH(TYPE_INFO)
+
+
 
   /// General macro which calls the template function FUN instanciated 
   /// on the right type of itk image depending on the value of TYPE_INFO (which must be of type type_info). 
@@ -308,7 +310,7 @@ namespace bbitk
     BBTK_SWITCH_ITK_IMAGE_uint32_t_3(TYPE_INFO,FUN,)   \
     BBTK_SWITCH_ITK_IMAGE_float_3(TYPE_INFO,FUN,)      \
     BBTK_SWITCH_ITK_IMAGE_double_3(TYPE_INFO,FUN,)     \
-    BBTK_END_TEMPLATE_SWITCH_MESSAGE(TYPE_INFO,ERROR_MESSAGE)
+  BBTK_END_TEMPLATE_SWITCH_MESSAGE(TYPE_INFO,ERROR_MESSAGE)
 
 
   /// General macro which calls the template function FUN instanciated 
@@ -340,7 +342,7 @@ namespace bbitk
     BBTK_SWITCH_ITK_IMAGE_uint32_t_4(TYPE_INFO,FUN,c)  \
     BBTK_SWITCH_ITK_IMAGE_float_4(TYPE_INFO,FUN,c)     \
     BBTK_SWITCH_ITK_IMAGE_double_4(TYPE_INFO,FUN,c)    \
-    BBTK_END_TEMPLATE_SWITCH(TYPE_INFO)      
+  BBTK_END_TEMPLATE_SWITCH(TYPE_INFO)      
 
 #define BBTK_GITIFPTI_DIM(DIM)                         \
   if (pti == typeid(unsigned char))                    \
@@ -419,7 +421,7 @@ protected:
 };
 
 #define BBTK_BUILD_ITK_IMAGE_FUNCTION_MAPPING(MAP,FUN)                         \
-  MAP.value<bbtk::Image_int8_t_2_ptr>() = FUN<bbtk::Image_int8_t_2_ptr>;       \
+    MAP.value<bbtk::Image_int8_t_2_ptr>() = FUN<bbtk::Image_int8_t_2_ptr>;     \
     MAP.value<bbtk::Image_int16_t_2_ptr>() = FUN<bbtk::Image_int16_t_2_ptr>;   \
     MAP.value<bbtk::Image_int32_t_2_ptr>() = FUN<bbtk::Image_int32_t_2_ptr>;   \
     MAP.value<bbtk::Image_uint8_t_2_ptr>() = FUN<bbtk::Image_uint8_t_2_ptr>;   \