From 33f02a8f37b60afc3f79c910508bea542a304c2d Mon Sep 17 00:00:00 2001 From: apo Date: Mon, 27 Nov 2006 09:48:18 +0000 Subject: [PATCH] Restore from wrong modfications --- src/VISU_I/VISU_ViewManager_i.hh | 25 +++++-------------------- 1 file changed, 5 insertions(+), 20 deletions(-) diff --git a/src/VISU_I/VISU_ViewManager_i.hh b/src/VISU_I/VISU_ViewManager_i.hh index ba4e7c4c..2fc22558 100644 --- a/src/VISU_I/VISU_ViewManager_i.hh +++ b/src/VISU_I/VISU_ViewManager_i.hh @@ -28,10 +28,11 @@ #define VISU_ViewManager_i_HeaderFile #include "VISUConfig.hh" -#include "VISU_Actor.h" class SalomeApp_Application; +class VISU_Actor; + class SUIT_ViewWindow; class SVTK_ViewWindow; @@ -41,8 +42,7 @@ class vtkRenderer; class vtkCamera; -namespace VISU -{ +namespace VISU { class Prs3d_i; class Curve_i; @@ -73,25 +73,10 @@ namespace VISU VISU_Actor* UpdateViewer (SUIT_ViewWindow* theViewWindow, int theDisplaing, Prs3d_i* thePrs = NULL); void UpdatePlot2d (Plot2d_ViewFrame *theView, int theDisplaying, Curve_i* theCurve); - void DeleteActors (VISU::Prs3d_i* thePrs); - void DeleteActors (VISU::Curve_i* thePrs); - VISU_Actor* GetActor (VISU::Prs3d_i* thePrs, SVTK_ViewWindow* theViewWindow); - struct TIsSamePrs3d - { - VISU::Prs3d_i* myPrs3d; - - TIsSamePrs3d(VISU::Prs3d_i* thePrs3d): - myPrs3d(thePrs3d) - {} - - bool - operator()(VISU_Actor* theActor) - { - return theActor->GetPrs3d() == myPrs3d; - } - }; + void DeleteActors (VISU::Prs3d_i* thePrs); + void DeleteActors (VISU::Curve_i* thePrs); } #endif -- 2.39.2