+ vtkAlgorithmOutput *data = pcontour->GetOutputPort();
+
+ if ( (argsInfo.decimate_arg>=0) && (argsInfo.decimate_arg<=1) ) {
+ vtkSmartPointer<vtkDecimatePro> psurface = vtkDecimatePro::New();
+ psurface->SetInputConnection(pcontour->GetOutputPort());
+ psurface->SetTargetReduction(argsInfo.decimate_arg);
+
+ data = psurface->GetOutputPort();
+ }
+
+