]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Render() added
authorouv <ouv@opencascade.com>
Thu, 18 Aug 2005 05:40:56 +0000 (05:40 +0000)
committerouv <ouv@opencascade.com>
Thu, 18 Aug 2005 05:40:56 +0000 (05:40 +0000)
src/SVTK/SVTK_RenderWindowInteractor.cxx
src/SVTK/SVTK_RenderWindowInteractor.h

index a15783ce9461b7b7e6e6442d7fbabda73b0b2dad..7a98ca3ecdd825d4d03e0bd0ad24b71e203b4b5a 100644 (file)
@@ -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();
+}
index e580626a54e46a03c3634a528e96006831f01960..b2055d85dafdc5c698a53915d829c73138382135 100644 (file)
@@ -134,6 +134,8 @@ public:
 
   vtkRenderer* GetRenderer();
 
+  virtual void Render();
+
  protected:
   vtkGenericRenderWindowInteractor* myInteractor;