AppendMeshesFilter( )
: Superclass( )
{
- this->_AddInput( "Input0", true );
- this->_AddInput( "Input1", true );
+ this->_AddInput( "Input0" );
+ this->_AddInput( "Input1" );
this->_AddOutput< cpPlugins::Interface::Mesh >( "Output" );
}
{
auto m0 = this->GetInputData< cpPlugins::Interface::Mesh >( "Input0" );
auto m1 = this->GetInputData< cpPlugins::Interface::Mesh >( "Input1" );
- if( m0 == NULL || m1 == NULL )
- return( "AppendMeshesFilter: No input meshes." );
auto filter = this->_CreateVTK< vtkAppendPolyData >( );
filter->AddInputData( m0->GetVTK< vtkPolyData >( ) );