MeshReader( )
: Superclass( )
{
- this->_MakeOutput< cpPlugins::Interface::Mesh >( "Output" );
+ this->_AddOutput< cpPlugins::Interface::Mesh >( "Output" );
std::vector< TParameters::TString > valid_types;
valid_types.push_back( "float" );
pdr->SetFileName( fname.c_str( ) );
pdr->Update( );
- cpPlugins::Interface::Mesh* out =
- this->GetOutput< cpPlugins::Interface::Mesh >( "Output" );
+ auto out = this->GetOutputData< cpPlugins::Interface::Mesh >( "Output" );
if( out != NULL )
out->SetVTK( pdr->GetOutput( ) );
else