Salome HOME
projects
/
modules
/
gui.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
*** empty log message ***
[modules/gui.git]
/
src
/
SVTK
/
SVTK_ViewWindow.cxx
diff --git
a/src/SVTK/SVTK_ViewWindow.cxx
b/src/SVTK/SVTK_ViewWindow.cxx
index a7578a28dd3d2a5870c9c759ef3f6d3731a3643c..a6d58a5c20a5fec40c50433450464e8b2fda7be5 100755
(executable)
--- a/
src/SVTK/SVTK_ViewWindow.cxx
+++ b/
src/SVTK/SVTK_ViewWindow.cxx
@@
-1,3
+1,4
@@
+#include "SVTK_Selector.h"
#include "SALOME_Actor.h"
#include <qapplication.h>
#include "SALOME_Actor.h"
#include <qapplication.h>
@@
-21,7
+22,6
@@
#include "VTKViewer_Utilities.h"
#include "SVTK_Trihedron.h"
#include "VTKViewer_Utilities.h"
#include "SVTK_Trihedron.h"
-#include "SVTK_Selector.h"
#include "SVTK_ViewWindow.h"
#include "SVTK_ViewModel.h"
#include "SVTK_RenderWindow.h"
#include "SVTK_ViewWindow.h"
#include "SVTK_ViewModel.h"
#include "SVTK_RenderWindow.h"
@@
-73,13
+73,15
@@
SVTK_ViewWindow
// Create an interactor.
myRWInteractor = SVTK_RenderWindowInteractor::New();
myRWInteractor->SetRenderWindow( myRenderWindow->getRenderWindow() );
// Create an interactor.
myRWInteractor = SVTK_RenderWindowInteractor::New();
myRWInteractor->SetRenderWindow( myRenderWindow->getRenderWindow() );
+ myRWInteractor->setViewWindow( this );
SVTK_InteractorStyle* RWS = SVTK_InteractorStyle::New();
RWS->setGUIWindow( myRenderWindow );
RWS->setViewWindow( this );
SVTK_InteractorStyle* RWS = SVTK_InteractorStyle::New();
RWS->setGUIWindow( myRenderWindow );
RWS->setViewWindow( this );
- myRWInteractor->SetInteractorStyle( RWS );
+ myRWInteractor->SetInteractorStyle( RWS );
myRWInteractor->Initialize();
myRWInteractor->Initialize();
+
RWS->setTriedron( myTrihedron );
RWS->FindPokedRenderer( 0, 0 );
RWS->setTriedron( myTrihedron );
RWS->FindPokedRenderer( 0, 0 );