]> Creatis software - cpPlugins.git/blobdiff - plugins/ITKDistanceMapFilters/SignedMaurerDistanceMapImageFilter.cxx
...
[cpPlugins.git] / plugins / ITKDistanceMapFilters / SignedMaurerDistanceMapImageFilter.cxx
index a8f5767aab96bb31aa785f34aa6785a2ae6ca072..e62f1df171c70def845edad9cc433a3163a3274a 100644 (file)
@@ -19,12 +19,8 @@ SignedMaurerDistanceMapImageFilter( )
   this->m_Parameters.ConfigureAsBool( "UseImageSpacing", true );
 
   std::vector< std::string > choices;
-#ifdef cpPlugins_CONFIG_REAL_TYPES_float
   choices.push_back( "float" );
-#endif // cpPlugins_CONFIG_REAL_TYPES_float
-#ifdef cpPlugins_CONFIG_REAL_TYPES_double
   choices.push_back( "double" );
-#endif // cpPlugins_CONFIG_REAL_TYPES_double
   this->m_Parameters.ConfigureAsChoices( "OutputResolution", choices );
 }
 
@@ -50,12 +46,8 @@ _GD0( _TImage* image )
 {
   std::string out_res =
     this->m_Parameters.GetSelectedChoice( "OutputResolution" );
-#ifdef cpPlugins_CONFIG_REAL_TYPES_float
   if( out_res == "float" ) this->_GD1< _TImage, float >( image );
-#endif // cpPlugins_CONFIG_REAL_TYPES_float
-#ifdef cpPlugins_CONFIG_REAL_TYPES_double
   if( out_res == "double" ) this->_GD1< _TImage, double >( image );
-#endif // cpPlugins_CONFIG_REAL_TYPES_double
 }
 
 // -------------------------------------------------------------------------