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=0f4429c2badb3363023fe4f443073305fc0395ec;hpb=1c889394b028b786898a995d38c07c8f3d564837;p=modules%2Fgui.git diff --git a/src/VTKViewer/VTKViewer_ConvexTool.h b/src/VTKViewer/VTKViewer_ConvexTool.h index 0f4429c2b..621dde78e 100644 --- a/src/VTKViewer/VTKViewer_ConvexTool.h +++ b/src/VTKViewer/VTKViewer_ConvexTool.h @@ -1,29 +1,31 @@ -// Copyright (C) 2007-2008 CEA/DEN, EDF R&D, OPEN CASCADE +// 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 +// 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. +// 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. +// 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 +// 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 +// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // + #ifndef _VTKViewer_ConvexTool_H #define _VTKViewer_ConvexTool_H #include "VTKViewer.h" +#include #include #include @@ -52,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; @@ -74,7 +78,7 @@ class VTKVIEWER_EXPORT VTKViewer_Triangulator virtual vtkPoints* InitPoints(vtkUnstructuredGrid *theInput, - vtkIdType theCellId); + vtkIdType theCellId); virtual vtkIdType @@ -90,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); @@ -121,7 +125,7 @@ class VTKVIEWER_EXPORT VTKViewer_OrderedTriangulator : public VTKViewer_Triangul virtual vtkPoints* InitPoints(vtkUnstructuredGrid *theInput, - vtkIdType theCellId); + vtkIdType theCellId); virtual vtkIdType @@ -151,7 +155,7 @@ class VTKVIEWER_EXPORT VTKViewer_DelaunayTriangulator : public VTKViewer_Triangu virtual vtkPoints* InitPoints(vtkUnstructuredGrid *theInput, - vtkIdType theCellId); + vtkIdType theCellId); virtual vtkIdType