X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FOBJECT%2FSMESH_FaceOrientationFilter.h;h=b70ec90bd026dc0093ecec42dc6020c1588f2321;hb=1dadb7d2e2350c62b25efa48135d55cd0b704c83;hp=dcd4c33d596cfa6e09bc2f08883c8f2f5aa99672;hpb=bd4e115a78b52e3fbc016e5e30bb0e19b2a9e7d6;p=modules%2Fsmesh.git diff --git a/src/OBJECT/SMESH_FaceOrientationFilter.h b/src/OBJECT/SMESH_FaceOrientationFilter.h index dcd4c33d5..b70ec90bd 100644 --- a/src/OBJECT/SMESH_FaceOrientationFilter.h +++ b/src/OBJECT/SMESH_FaceOrientationFilter.h @@ -1,9 +1,9 @@ -// Copyright (C) 2007-2012 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2007-2016 CEA/DEN, EDF R&D, OPEN CASCADE // // 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 @@ -33,13 +33,13 @@ class VTKViewer_CellCenters; class SMESHOBJECT_EXPORT SMESH_FaceOrientationFilter : public vtkPolyDataAlgorithm { public: - vtkTypeRevisionMacro( SMESH_FaceOrientationFilter, vtkPolyDataAlgorithm ); + vtkTypeMacro( SMESH_FaceOrientationFilter, vtkPolyDataAlgorithm ); /*!Create a new SMESH_FaceOrientationFilter.*/ static SMESH_FaceOrientationFilter *New(); - void SetOrientationScale( vtkFloatingPointType ); - vtkFloatingPointType GetOrientationScale() const { return myOrientationScale; } + void SetOrientationScale( double ); + double GetOrientationScale() const { return myOrientationScale; } void Set3dVectors( bool ); bool Get3dVectors() const { return my3dVectors; } @@ -61,7 +61,7 @@ private: private: bool my3dVectors; - vtkFloatingPointType myOrientationScale; + double myOrientationScale; vtkPolyData* myArrowPolyData; vtkPolyData* myFacePolyData; VTKViewer_CellCenters* myFaceCenters;