-// 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
public:
static VTKViewer_RenderWindowInteractor *New();
- vtkTypeMacro(VTKViewer_RenderWindowInteractor,vtkRenderWindowInteractor);
+ vtkTypeMacro(VTKViewer_RenderWindowInteractor,vtkRenderWindowInteractor)
void PrintSelf(ostream& os, vtkIndent indent);
/** @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 );
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:
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);