- bool ret = false;
- if ( dIt->second.second == "1" ) ret = this->_Update0< 1 >( );
- else if( dIt->second.second == "2" ) ret = this->_Update0< 2 >( );
- else if( dIt->second.second == "3" ) ret = this->_Update0< 3 >( );
- else if( dIt->second.second == "4" ) ret = this->_Update0< 4 >( );
+ std::string ret = "itk::Image dimension not supported.";
+ if ( dIt->second.second == "1" ) ret = this->_GenerateData0< 1 >( );
+ else if( dIt->second.second == "2" ) ret = this->_GenerateData0< 2 >( );
+ else if( dIt->second.second == "3" ) ret = this->_GenerateData0< 3 >( );
+ else if( dIt->second.second == "4" ) ret = this->_GenerateData0< 4 >( );