]> SALOME platform Git repositories - modules/hexablock.git/commitdiff
Salome HOME
Porting to Paraview 3.98.1 V7_1_0b1
authorvtn <vtn@opencascade.com>
Mon, 4 Mar 2013 10:55:37 +0000 (10:55 +0000)
committervtn <vtn@opencascade.com>
Mon, 4 Mar 2013 10:55:37 +0000 (10:55 +0000)
src/HEXABLOCKGUI/HEXABLOCKGUI_VtkDocumentGraphicView.cxx

index ee975d04c3c63971b4f41ae1a526583d76d64676..5f0d860ea85bf8859fda5a01edb9c22c28c0db13 100755 (executable)
@@ -111,7 +111,7 @@ Document_Actor::Document_Actor( Document* doc, const QString& entry ):
     vtkUnstructuredGrid* aGrid = getUnstructuredGrid();
     //   std::cout << "Document_Actor aGrid->GetNumberOfCells() =>"<< aGrid->GetNumberOfCells();
     vtkDataSetMapper* aMapper = vtkDataSetMapper::New();
-    aMapper->SetInput(aGrid);
+    aMapper->SetInputData(aGrid);
     aGrid->Delete();
 
     SetVisibility( true );//VisibilityOff();
@@ -306,7 +306,7 @@ Associate_Actor::Associate_Actor( Document* doc, const QString& entry)
     vtkUnstructuredGrid* aGrid = getUnstructuredGrid();
 
     vtkDataSetMapper* aMapper = vtkDataSetMapper::New();
-    aMapper->SetInput(aGrid);
+    aMapper->SetInputData(aGrid);
     aGrid->Delete();
 
     SetVisibility( true );//VisibilityOff();