ImageReader( )
: Superclass( )
{
- this->_MakeOutput< cpPlugins::Interface::Image >( "Output" );
+ this->_AddOutput< cpPlugins::Interface::Image >( "Output" );
this->m_Parameters->ConfigureAsOpenFileNameList( "FileNames" );
this->m_Parameters->ConfigureAsBool( "VectorType" );
std::string cpPlugins::IO::ImageReader::
_RealGD( const TStringList& names )
{
- cpPlugins::Interface::Image* out =
- this->GetOutput< cpPlugins::Interface::Image >( "Output" );
+ auto out = this->GetOutputData< cpPlugins::Interface::Image >( "Output" );
if( out == NULL )
return( "ImageReader: No output object properly created." );