]> Creatis software - cpPlugins.git/blobdiff - lib/cpPlugins/Plugins/BasicFilters/Cutter.cxx
...
[cpPlugins.git] / lib / cpPlugins / Plugins / BasicFilters / Cutter.cxx
index a6a916cbd48f129f92bb30ef916236473c3d161e..2afadd58691e04c0f04db481d40bbb8d58ee3541 100644 (file)
@@ -29,11 +29,8 @@ std::string cpPlugins::BasicFilters::Cutter::
 _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 >( ) );
@@ -43,7 +40,7 @@ _GenerateData( )
   cutter->Update( );
 
   // Execute filter
-  auto out = this->GetOutputData< cpPlugins::Interface::Mesh >( "Output" );
+  auto out = this->GetOutputData( "Output" );
   out->SetVTK( cutter->GetOutput( ) );
 
   return( "" );