std::string cpPlugins::BasicFilters::AppendMeshesFilter::
_GenerateData( )
{
- auto m0 = this->GetInputData< cpPlugins::Interface::Mesh >( "Input0" );
- auto m1 = this->GetInputData< cpPlugins::Interface::Mesh >( "Input1" );
+ auto m0 = this->GetInputData( "Input0" );
+ auto m1 = this->GetInputData( "Input1" );
auto filter = this->_CreateVTK< vtkAppendPolyData >( );
filter->AddInputData( m0->GetVTK< vtkPolyData >( ) );
filter->AddInputData( m1->GetVTK< vtkPolyData >( ) );
filter->Update( );
- auto out = this->GetOutputData< cpPlugins::Interface::Mesh >( "Output" );
+ auto out = this->GetOutputData( "Output" );
out->SetVTK( filter->GetOutput( ) );
return( "" );
}