Salome HOME
Fix selection of cells with delegateToVtk
[modules/gui.git] / src / VTKViewer / VTKViewer_GeometryFilter.h
index af65b0267d040111d3addd2072a6a0f403cb9d8b..119427545d1ee734735199cbe1d9053e6ab124fd 100644 (file)
@@ -130,7 +130,7 @@ protected:
   //special cases for performance
   
   /*! \fn void UnstructuredGridExecute();
-   * \brief Filter culculation method for data object type is VTK_UNSTRUCTURED_GRID.
+   * \brief Filter calculation method for data object type is VTK_UNSTRUCTURED_GRID.
    */
   int UnstructuredGridExecute (vtkDataSet *, vtkPolyData *, vtkInformation *);
 
@@ -141,6 +141,12 @@ protected:
                          TMapOfVectorId& theDimension2VTK2ObjIds,
                          bool triangulate = false);
 
+  /*! \fn void FillVTK2ObjIds(vtkPolyData *output);
+   * \brief fill myVTK2ObjIds to get the correspondence between vtk ids (displayed edges and faces
+   * computed in vtkGeometryFilter::UnstructuredGridExecute) and original cell ids (mesh cells)
+   */
+  void FillVTK2ObjIds(vtkPolyData *output);
+
   // Delegate VTKViewer_GeometryFilter::UnstructuredGridExecute to vtkGeometryFilter::UnstructuredGridExecute
   bool delegateToVtk = false;