- cpPlugins::Interface::Mesh* mesh =
- this->GetInput< cpPlugins::Interface::Mesh >( 0 );
- cpPlugins::Interface::ImplicitFunction* function =
- this->GetInput< cpPlugins::Interface::ImplicitFunction >( 1 );
- if( function == NULL )
- return( "Cutter: Input data 1 is not a valid implicit function." );
-
+ auto mesh = this->GetInputData< cpPlugins::Interface::Mesh >( "InputMesh" );
+ auto function =
+ this->GetInputData< cpPlugins::Interface::ImplicitFunction >(
+ "InputFunction"
+ );