From: apo Date: Mon, 27 Nov 2006 09:48:18 +0000 (+0000) Subject: Restore from wrong modfications X-Git-Tag: WP1_2_3_05-12-2006_cache_system~55 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=33f02a8f37b60afc3f79c910508bea542a304c2d;p=modules%2Fvisu.git Restore from wrong modfications --- 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