Salome HOME
MAJ vers paraview 5.4
[modules/paravis.git] / src / Plugins / ElevationSurface / vtkElevationSurfaceFilter.h
index 761b87f754610499fa6ea769cc7a34d224188014..01a0809accadd3308f5562af16b3dc4991041147 100644 (file)
@@ -1,9 +1,9 @@
-// Copyright (C) 2010-2012  CEA/DEN, EDF R&D
+// Copyright (C) 2010-2016  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
 // License as published by the Free Software Foundation; either
-// version 2.1 of the License.
+// version 2.1 of the License, or (at your option) any later version.
 //
 // This library is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
 
 #include "vtkAlgorithm.h"
 
-class vtkPointSet;
+class vtkPolyData;
 
 class VTK_EXPORT vtkElevationSurfaceFilter: public vtkAlgorithm
 {
 public:
   static vtkElevationSurfaceFilter *New();
-  vtkTypeRevisionMacro(vtkElevationSurfaceFilter,vtkAlgorithm);
+  vtkTypeMacro(vtkElevationSurfaceFilter,vtkAlgorithm);
   void PrintSelf(ostream& os, vtkIndent indent);
 
   // Description :
@@ -79,7 +79,7 @@ protected:
                           vtkInformationVector**,
                           vtkInformationVector*);
 
-  virtual void  ComputeDirection(vtkPointSet*, double *outDir);
+  virtual void  ComputeDirection(vtkPolyData*, double *outDir);
 
   double ScaleFactor;
   double Direction[3];