+#include "SVTK_Selector.h"
#include "SALOME_Actor.h"
#include <qapplication.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"
// 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 );
- myRWInteractor->SetInteractorStyle( RWS );
+ myRWInteractor->SetInteractorStyle( RWS );
myRWInteractor->Initialize();
+
RWS->setTriedron( myTrihedron );
RWS->FindPokedRenderer( 0, 0 );