Salome HOME
Copyright update 2022
[modules/gui.git] / src / VTKViewer / VTKViewer_RenderWindowInteractor.h
old mode 100755 (executable)
new mode 100644 (file)
index 91557d5..ad83349
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2014  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2022  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
@@ -61,7 +61,7 @@ class VTKVIEWER_EXPORT VTKViewer_RenderWindowInteractor : public QObject, public
 public:
   static VTKViewer_RenderWindowInteractor *New();
 
-  vtkTypeMacro(VTKViewer_RenderWindowInteractor,vtkRenderWindowInteractor);
+  vtkTypeMacro(VTKViewer_RenderWindowInteractor,vtkRenderWindowInteractor)
 
   void PrintSelf(ostream& os, vtkIndent indent);
 
@@ -104,15 +104,15 @@ public:
   
   /** @name Selection Management */
   //@{
-  bool highlightCell(const TColStd_IndexedMapOfInteger& MapIndex,
+  bool highlightCell(const TIndexedMapOfVtkId& MapIndex,
                      VTKViewer_Actor* theMapActor,
                      bool hilight,
                      bool update = true );
-  bool highlightEdge(const TColStd_IndexedMapOfInteger& MapIndex,
+  bool highlightEdge(const TIndexedMapOfVtkId& MapIndex,
                      VTKViewer_Actor* theMapActor,
                      bool hilight,
                      bool update = true );
-  bool highlightPoint(const TColStd_IndexedMapOfInteger& MapIndex,
+  bool highlightPoint(const TIndexedMapOfVtkId& MapIndex,
                       VTKViewer_Actor* theMapActor,
                       bool hilight,
                       bool update = true );
@@ -163,18 +163,18 @@ public:
 
   void setViewWindow( VTKViewer_ViewWindow* theViewWnd );
 
-  void setCellData(const int& theIndex,
-                   VTKViewer_Actor* theMapActor,
-                   VTKViewer_Actor* theActor) {}
-  void setEdgeData(const int& theCellIndex,
-                   VTKViewer_Actor* theMapActor,
-                   const int& theEdgeIndex,
-                   VTKViewer_Actor* theActor ) {} //NB
-  void setPointData(const int& theIndex,
-                    VTKViewer_Actor* theMapActor,
-                    VTKViewer_Actor* theActor) {}
-
-  typedef void (*TUpdateActor)(const TColStd_IndexedMapOfInteger& theMapIndex,
+  void setCellData(const int& /*theIndex*/,
+                   VTKViewer_Actor* /*theMapActor*/,
+                   VTKViewer_Actor* /*theActor*/) {}
+  void setEdgeData(const int& /*theCellIndex*/,
+                   VTKViewer_Actor* /*theMapActor*/,
+                   const int& /*theEdgeIndex*/,
+                   VTKViewer_Actor* /*theActor*/ ) {} //NB
+  void setPointData(const int& /*theIndex*/,
+                    VTKViewer_Actor* /*theMapActor*/,
+                    VTKViewer_Actor* /*theActor*/) {}
+
+  typedef void (*TUpdateActor)(const TIndexedMapOfVtkId& theMapIndex,
                                VTKViewer_Actor* theMapActor,
                                VTKViewer_Actor* theActor);
  protected:
@@ -184,10 +184,10 @@ public:
 
   VTKViewer_InteractorStyle* myInteractorStyle;
 
-  bool highlight(const TColStd_IndexedMapOfInteger& theMapIndex,
+  bool highlight(const TIndexedMapOfVtkId& theMapIndex,
                  VTKViewer_Actor* theMapActor, VTKViewer_Actor* theActor,
                  TUpdateActor theFun, bool hilight, bool update);
-  void setActorData(const TColStd_IndexedMapOfInteger& theMapIndex,
+  void setActorData(const TIndexedMapOfVtkId& theMapIndex,
                     VTKViewer_Actor* theMapActor,
                     VTKViewer_Actor *theActor,
                     TUpdateActor theFun);