From: ouv Date: Thu, 18 Aug 2005 05:40:56 +0000 (+0000) Subject: Render() added X-Git-Tag: BR-D5-38-2003_D2005-12-09~43 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=61f597e85fc4126efbd8759f4e383ff568b0f391;p=modules%2Fgui.git Render() added --- diff --git a/src/SVTK/SVTK_RenderWindowInteractor.cxx b/src/SVTK/SVTK_RenderWindowInteractor.cxx index a15783ce9..7a98ca3ec 100644 --- a/src/SVTK/SVTK_RenderWindowInteractor.cxx +++ b/src/SVTK/SVTK_RenderWindowInteractor.cxx @@ -94,7 +94,6 @@ SVTK_RenderWindowInteractor myInteractor->Initialize(); } - //---------------------------------------------------------------------------- void SVTK_RenderWindowInteractor @@ -103,7 +102,6 @@ SVTK_RenderWindowInteractor myInteractor->UpdateSize(w,h); } - //---------------------------------------------------------------------------- int SVTK_RenderWindowInteractor @@ -670,3 +668,11 @@ SVTK_RenderWindowInteractor if ( selColor.isValid() ) theRenderer->SetBackground( selColor.red()/255., selColor.green()/255., selColor.blue()/255. ); } + +//---------------------------------------------------------------------------- +void +SVTK_RenderWindowInteractor +::Render() +{ + getRenderWindow()->Render(); +} diff --git a/src/SVTK/SVTK_RenderWindowInteractor.h b/src/SVTK/SVTK_RenderWindowInteractor.h index e580626a5..b2055d85d 100644 --- a/src/SVTK/SVTK_RenderWindowInteractor.h +++ b/src/SVTK/SVTK_RenderWindowInteractor.h @@ -134,6 +134,8 @@ public: vtkRenderer* GetRenderer(); + virtual void Render(); + protected: vtkGenericRenderWindowInteractor* myInteractor;