MeshWriter( )
: Superclass( )
{
- this->_AddInput( "Input", true );
+ this->_AddInput( "Input" );
this->m_Parameters->ConfigureAsSaveFileName( "FileName" );
this->m_Parameters->SetAcceptedFileExtensions(
"FileName",
_GenerateData( )
{
auto mesh = this->GetInputData< cpPlugins::Interface::Mesh >( "Input" );
- if( mesh == NULL )
- return( "MeshWriter: No input mesh." );
vtkPolyData* i = mesh->GetVTK< vtkPolyData >( );
if( i == NULL )
return( "MeshWriter: No suitable input." );