X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FVTKViewer%2FVTKViewer_ConvexTool.h;h=621dde78ee6c21d50b14aafe754ea1a92633f88f;hb=refs%2Fheads%2Fngr%2Fpython3_dev_pv5.4;hp=5e391d976af4cc0667d687c10e8f5a82ac4cc132;hpb=f830c97c748d8f8a6a7eccc8e3a58e19066a1181;p=modules%2Fgui.git diff --git a/src/VTKViewer/VTKViewer_ConvexTool.h b/src/VTKViewer/VTKViewer_ConvexTool.h index 5e391d976..621dde78e 100644 --- a/src/VTKViewer/VTKViewer_ConvexTool.h +++ b/src/VTKViewer/VTKViewer_ConvexTool.h @@ -1,20 +1,22 @@ -// Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, -// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS -// -// 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. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// License along with this library; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -// +// Copyright (C) 2007-2016 CEA/DEN, EDF R&D, OPEN CASCADE +// +// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, +// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS +// +// 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, 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 +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +// // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // @@ -23,6 +25,7 @@ #include "VTKViewer.h" +#include #include #include @@ -51,16 +54,18 @@ class VTKVIEWER_EXPORT VTKViewer_Triangulator bool Execute(vtkUnstructuredGrid *theInput, - vtkCellData* thInputCD, - vtkIdType theCellId, - int theShowInside, - int theAllVisible, - const char* theCellsVisibility, - vtkPolyData *theOutput, - vtkCellData* theOutputCD, - int theStoreMapping, - std::vector& theVTK2ObjIds, - bool theIsCheckConvex); + vtkCellData* thInputCD, + vtkIdType theCellId, + int theShowInside, + int theAllVisible, + int theAppendCoincident3D, + const char* theCellsVisibility, + vtkPolyData *theOutput, + vtkCellData* theOutputCD, + int theStoreMapping, + std::vector& theVTK2ObjIds, + std::vector< std::vector >& theDimension2VTK2ObjIds, + bool theIsCheckConvex); private: vtkIdList* myCellIds; @@ -73,7 +78,7 @@ class VTKVIEWER_EXPORT VTKViewer_Triangulator virtual vtkPoints* InitPoints(vtkUnstructuredGrid *theInput, - vtkIdType theCellId); + vtkIdType theCellId); virtual vtkIdType @@ -89,14 +94,14 @@ class VTKVIEWER_EXPORT VTKViewer_Triangulator vtkIdType GetPointId(vtkIdType thePointId); - vtkFloatingPointType + double GetCellLength(); void GetCellNeighbors(vtkUnstructuredGrid *theInput, - vtkIdType theCellId, - vtkCell* theFace, - vtkIdList* theCellIds); + vtkIdType theCellId, + vtkCell* theFace, + vtkIdList* theCellIds); vtkIdType GetConnectivity(vtkIdType thePntId); @@ -120,7 +125,7 @@ class VTKVIEWER_EXPORT VTKViewer_OrderedTriangulator : public VTKViewer_Triangul virtual vtkPoints* InitPoints(vtkUnstructuredGrid *theInput, - vtkIdType theCellId); + vtkIdType theCellId); virtual vtkIdType @@ -150,7 +155,7 @@ class VTKVIEWER_EXPORT VTKViewer_DelaunayTriangulator : public VTKViewer_Triangu virtual vtkPoints* InitPoints(vtkUnstructuredGrid *theInput, - vtkIdType theCellId); + vtkIdType theCellId); virtual vtkIdType