Salome HOME
Porting to VTK 6.
[modules/visu.git] / src / PIPELINE / VISU_PipeLineUtils.hxx
index c71c0e4ebd7006295eacfbbdb89dfd8056bf1b8f..aad4cb0918c1d1e07330a00451dfc21d224658dc 100644 (file)
@@ -81,11 +81,12 @@ namespace VISU
 
   {
     if(VISU::IsDataOnCells(theDataSet)){
-      theCellDataToPointData->SetInput(theDataSet);
+      theCellDataToPointData->SetInputData(theDataSet);
       theCellDataToPointData->PassCellDataOn();
-      theOutputFilter->SetInput(theCellDataToPointData->GetUnstructuredGridOutput());
+      //theOutputFilter->SetInput(theCellDataToPointData->GetUnstructuredGridOutput());
+      theOutputFilter->SetInputConnection(theCellDataToPointData->GetOutputPort()); // OUV_PORTING: to check
     }else
-      theOutputFilter->SetInput(theDataSet);
+      theOutputFilter->SetInputData(theDataSet);
   }
 
   //----------------------------------------------------------------------------