- this->SetNumberOfInputs( 2 );
- this->SetNumberOfOutputs( 1 );
- this->_MakeOutput< cpPlugins::Interface::Mesh >( 0 );
-
- this->m_Parameters = this->m_DefaultParameters;
+ this->_AddInput( "InputMesh" );
+ this->_AddInput( "InputFunction" );
+ this->_AddOutput< cpPlugins::Interface::Mesh >( "Output" );