27 #ifndef SVTK_RenderWindowInteractor_h
28 #define SVTK_RenderWindowInteractor_h
33 #include <vtkSmartPointer.h>
45 class vtkCallbackCommand;
46 class vtkRenderWindow;
54 #pragma warning ( disable:4251 )
88 InvokeEvent(
unsigned long theEvent,
void* theCallData);
91 virtual QPaintEngine* paintEngine()
const;
98 virtual void polish();
101 virtual void resize(
int w,
int h);
104 virtual void paintEvent( QPaintEvent* );
105 virtual void resizeEvent( QResizeEvent* );
107 virtual void mouseMoveEvent( QMouseEvent* );
108 virtual void mousePressEvent( QMouseEvent* );
109 virtual void mouseReleaseEvent( QMouseEvent* );
110 virtual void mouseDoubleClickEvent( QMouseEvent* );
111 virtual void wheelEvent( QWheelEvent* );
112 virtual void keyPressEvent( QKeyEvent* );
113 virtual void keyReleaseEvent( QKeyEvent* );
114 virtual void enterEvent(
QEvent * );
115 virtual void leaveEvent(
QEvent * );
117 virtual void contextMenuEvent( QContextMenuEvent * e );
121 virtual void focusInEvent( QFocusEvent* );
122 virtual void focusOutEvent( QFocusEvent* );
125 virtual bool nativeEvent(
const QByteArray&,
void*,
long* );
127 vtkSmartPointer<vtkGenericRenderWindowInteractor>
myDevice;
146 const char* theName);
169 GetInteractorStyle();
177 PopInteractorStyle();
186 SelectionMode()
const;
195 onEmitSelectionChanged();
213 virtual void mouseMoveEvent( QMouseEvent* );
214 virtual void mousePressEvent( QMouseEvent* );
215 virtual void mouseReleaseEvent( QMouseEvent* );
216 virtual void mouseDoubleClickEvent( QMouseEvent* );
217 virtual void wheelEvent( QWheelEvent* );
218 virtual void keyPressEvent( QKeyEvent* );
219 virtual void keyReleaseEvent( QKeyEvent* );
235 unsigned long theEvent,
256 #pragma warning ( default:4251 )
Selection_Mode
Definition: SALOME_Selection.h:27
#define SVTK_EXPORT
Definition: SVTK.h:37
Definition: SVTK_RenderWindowInteractor.h:65
vtkSmartPointer< vtkRenderWindow > myRenderWindow
Definition: SVTK_RenderWindowInteractor.h:126
vtkSmartPointer< vtkGenericRenderWindowInteractor > myDevice
Definition: SVTK_RenderWindowInteractor.h:127
Extends QVTK_RenderWindowInteractor functionality.
Definition: SVTK_RenderWindowInteractor.h:141
void KeyPressed(QKeyEvent *)
void contextMenuRequested(QContextMenuEvent *e)
vtkSmartPointer< SVTK_Renderer > myRenderer
Definition: SVTK_RenderWindowInteractor.h:248
void WheelMoved(QWheelEvent *)
void MouseMove(QMouseEvent *)
vtkSmartPointer< vtkCallbackCommand > myEventCallbackCommand
Definition: SVTK_RenderWindowInteractor.h:240
void ButtonReleased(const QMouseEvent *event)
void MouseButtonReleased(QMouseEvent *)
void MouseButtonPressed(QMouseEvent *)
vtkSmartPointer< vtkInteractorStyle > PInteractorStyle
Definition: SVTK_RenderWindowInteractor.h:250
std::stack< PInteractorStyle > TInteractorStyles
Definition: SVTK_RenderWindowInteractor.h:251
void KeyReleased(QKeyEvent *)
void MouseDoubleClicked(QMouseEvent *)
float myPriority
Definition: SVTK_RenderWindowInteractor.h:243
void ButtonPressed(const QMouseEvent *event)
TInteractorStyles myInteractorStyles
Definition: SVTK_RenderWindowInteractor.h:252
vtkSmartPointer< SVTK_Selector > mySelector
Definition: SVTK_RenderWindowInteractor.h:246
Definition: SVTK_Renderer.h:66
Define an abstract interface for selection in SVTK package.
Definition: SVTK_Selector.h:58