_GenerateData( )
{
// Get inputs
- auto mesh = this->GetInputData< cpPlugins::Interface::Mesh >( "InputMesh" );
- auto function =
- this->GetInputData< cpPlugins::Interface::ImplicitFunction >(
- "InputFunction"
- );
+ auto mesh = this->GetInputData( "InputMesh" );
+ auto function = this->GetInputData( "InputFunction" );
vtkCutter* cutter = this->_CreateVTK< vtkCutter >( );
cutter->DebugOn( );
cutter->SetInputData( mesh->GetVTK< vtkPolyData >( ) );
cutter->Update( );
// Execute filter
- auto out = this->GetOutputData< cpPlugins::Interface::Mesh >( "Output" );
+ auto out = this->GetOutputData( "Output" );
out->SetVTK( cutter->GetOutput( ) );
return( "" );