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 );
}
_GenerateData( )
{
auto o = this->GetInputData( "Input" );
+ std::cout << o << std::endl;
cpPlugins_Demangle_Image_ScalarPixels_VisualDims_1( o, _GD0 )
this->_Error( "Invalid input image dimension." );
}
{
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
}
// -------------------------------------------------------------------------
typedef
itk::SignedMaurerDistanceMapImageFilter< _TImage, _TDMap >
_TFilter;
+ std::cout << "_Z" << typeid( _TFilter ).name( ) << std::endl;
// Get parameters
double bv = this->m_Parameters.GetReal( "BackgroundValue" );