}
// -------------------------------------------------------------------------
-std::string cpPluginsMeshFilters::AppendMeshesFilter::
+void cpPluginsMeshFilters::AppendMeshesFilter::
_GenerateData( )
{
auto m0 = this->GetInputData( "Input0" )->GetVTK< vtkPolyData >( );
auto m4 = this->GetInputData( "Input4" );
auto m5 = this->GetInputData( "Input5" );
+ if( m0 == NULL || m1 == NULL )
+ this->_Error( "Invalid inputs." );
+
auto filter = this->_CreateVTK< vtkAppendPolyData >( );
filter->AddInputData( m0 );
filter->AddInputData( m1 );
filter->Update( );
this->GetOutputData( "Output" )->SetVTK( filter->GetOutput( ) );
- return( "" );
}
// eof - $RCSfile$