36 #ifndef vtkWin32RenderWindowInteractor_h
37 #define vtkWin32RenderWindowInteractor_h
39 #include "vtkRenderingOpenGL2Module.h"
41 #include "vtkWindows.h"
43 #include "vtkTDxConfigure.h"
45 class vtkTDxWinDevice;
74 virtual void Enable()
override;
75 virtual void Disable()
override;
85 vtkSetMacro(InstallMessageProc,
int);
86 vtkGetMacro(InstallMessageProc,
int);
87 vtkBooleanMacro(InstallMessageProc,
int);
97 friend VTKRENDERINGOPENGL2_EXPORT LRESULT CALLBACK vtkHandleMessage(HWND hwnd,UINT uMsg, WPARAM w, LPARAM l);
105 virtual int OnMouseMove(HWND wnd, UINT nFlags,
int X,
int Y);
106 virtual int OnNCMouseMove(HWND wnd, UINT nFlags,
int X,
int Y);
107 virtual int OnRButtonDown(HWND wnd, UINT nFlags,
int X,
int Y,
int repeat = 0);
108 virtual int OnRButtonUp(HWND wnd, UINT nFlags,
int X,
int Y);
109 virtual int OnMButtonDown(HWND wnd, UINT nFlags,
int X,
int Y,
int repeat = 0);
110 virtual int OnMButtonUp(HWND wnd, UINT nFlags,
int X,
int Y);
111 virtual int OnLButtonDown(HWND wnd, UINT nFlags,
int X,
int Y,
int repeat = 0);
112 virtual int OnLButtonUp(HWND wnd, UINT nFlags,
int X,
int Y);
113 virtual int OnSize(HWND wnd, UINT nType,
int X,
int Y);
114 virtual int OnTimer(HWND wnd, UINT nIDEvent);
115 virtual int OnKeyDown(HWND wnd, UINT nChar, UINT nRepCnt, UINT nFlags);
116 virtual int OnKeyUp(HWND wnd, UINT nChar, UINT nRepCnt, UINT nFlags);
117 virtual int OnChar(HWND wnd, UINT nChar, UINT nRepCnt, UINT nFlags);
118 virtual int OnMouseWheelForward(HWND wnd, UINT nFlags,
int X,
int Y);
119 virtual int OnMouseWheelBackward(HWND wnd, UINT nFlags,
int X,
int Y);
120 virtual int OnFocus(HWND wnd, UINT nFlags);
121 virtual int OnKillFocus(HWND wnd, UINT nFlags);
122 virtual int OnTouch(HWND wnd, UINT wParam, UINT lParam);
132 static void SetClassExitMethod(
void (*f)(
void *),
void *arg);
133 static void SetClassExitMethodArgDelete(
void (*f)(
void *));
158 static void (*ClassExitMethod)(
void *);
159 static void (*ClassExitMethodArgDelete)(
void *);
180 vtkTDxWinDevice *Device;