Salome HOME
CMake: minimal set of changes so that ParaViS configures and compiles.
[modules/paravis.git] / src / Plugins / IntegrationPoints / vtkELNOMeshFilter.cxx
index bd43bdffc8f23660b1dbfaba4a12dce5a96b7cef..b4bec6de8777146fab4a4880b98f8da884f61302 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2010-2012  CEA/DEN, EDF R&D
+// Copyright (C) 2010-2013  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -33,8 +33,8 @@
 #include "vtkCellData.h"
 #include "vtkIdList.h"
 
-vtkCxxRevisionMacro(vtkELNOMeshFilter, "$Revision$")
-;
+//vtkCxxRevisionMacro(vtkELNOMeshFilter, "$Revision$")
+//;
 vtkStandardNewMacro(vtkELNOMeshFilter)
 ;
 
@@ -77,7 +77,7 @@ int vtkELNOMeshFilter::RequestData(vtkInformation *request,
 
   vtkSmartPointer<vtkShrinkFilter> shrink =
       vtkSmartPointer<vtkShrinkFilter>::New();
-  shrink->SetInput(usgInClone);
+  shrink->SetInputData(usgInClone);
   shrink->SetShrinkFactor(0.9999);
   shrink->Update();
   vtkUnstructuredGrid* shrinked = shrink->GetOutput();