this->_ConfigureInput< _TImage >( "Input", true, false );
this->_ConfigureOutput< _TImage >( "Output" );
- this->m_Parameters.ConfigureAsReal( "BackgroundValue" );
- this->m_Parameters.ConfigureAsBool( "InsideIsPositive" );
- this->m_Parameters.ConfigureAsBool( "SquaredDistance" );
- this->m_Parameters.ConfigureAsBool( "UseImageSpacing" );
+ this->m_Parameters.ConfigureAsReal( "BackgroundValue", 0 );
+ this->m_Parameters.ConfigureAsBool( "InsideIsPositive", true );
+ this->m_Parameters.ConfigureAsBool( "SquaredDistance", false );
+ this->m_Parameters.ConfigureAsBool( "UseImageSpacing", true );
std::vector< std::string > choices;
#ifdef cpPlugins_CONFIG_REAL_TYPES_float
choices.push_back( "double" );
#endif // cpPlugins_CONFIG_REAL_TYPES_double
this->m_Parameters.ConfigureAsChoices( "OutputResolution", choices );
-
- this->m_Parameters.SetReal( "BackgroundValue", 0 );
- this->m_Parameters.SetBool( "InsideIsPositive", true );
- this->m_Parameters.SetBool( "SquaredDistance", false );
- this->m_Parameters.SetBool( "UseImageSpacing", true );
}
// -------------------------------------------------------------------------