30 #ifndef vtkWin32RenderWindowInteractor_h
31 #define vtkWin32RenderWindowInteractor_h
33 #include "vtkRenderingOpenGL2Module.h"
35 #include "vtkWindows.h"
37 #include "vtkTDxConfigure.h"
39 class vtkTDxWinDevice;
68 virtual void Enable()
override;
69 virtual void Disable()
override;
79 vtkSetMacro(InstallMessageProc,
int);
80 vtkGetMacro(InstallMessageProc,
int);
81 vtkBooleanMacro(InstallMessageProc,
int);
91 friend VTKRENDERINGOPENGL2_EXPORT LRESULT CALLBACK vtkHandleMessage(HWND hwnd,UINT uMsg, WPARAM w, LPARAM l);
99 virtual int OnMouseMove(HWND wnd, UINT nFlags,
int X,
int Y);
100 virtual int OnNCMouseMove(HWND wnd, UINT nFlags,
int X,
int Y);
101 virtual int OnRButtonDown(HWND wnd, UINT nFlags,
int X,
int Y,
int repeat = 0);
102 virtual int OnRButtonUp(HWND wnd, UINT nFlags,
int X,
int Y);
103 virtual int OnMButtonDown(HWND wnd, UINT nFlags,
int X,
int Y,
int repeat = 0);
104 virtual int OnMButtonUp(HWND wnd, UINT nFlags,
int X,
int Y);
105 virtual int OnLButtonDown(HWND wnd, UINT nFlags,
int X,
int Y,
int repeat = 0);
106 virtual int OnLButtonUp(HWND wnd, UINT nFlags,
int X,
int Y);
107 virtual int OnSize(HWND wnd, UINT nType,
int X,
int Y);
108 virtual int OnTimer(HWND wnd, UINT nIDEvent);
109 virtual int OnKeyDown(HWND wnd, UINT nChar, UINT nRepCnt, UINT nFlags);
110 virtual int OnKeyUp(HWND wnd, UINT nChar, UINT nRepCnt, UINT nFlags);
111 virtual int OnChar(HWND wnd, UINT nChar, UINT nRepCnt, UINT nFlags);
112 virtual int OnMouseWheelForward(HWND wnd, UINT nFlags,
int X,
int Y);
113 virtual int OnMouseWheelBackward(HWND wnd, UINT nFlags,
int X,
int Y);
114 virtual int OnFocus(HWND wnd, UINT nFlags);
115 virtual int OnKillFocus(HWND wnd, UINT nFlags);
116 virtual int OnTouch(HWND wnd, UINT wParam, UINT lParam);
126 static void SetClassExitMethod(
void (*f)(
void *),
void *arg);
127 static void SetClassExitMethodArgDelete(
void (*f)(
void *));
152 static void (*ClassExitMethod)(
void *);
153 static void (*ClassExitMethodArgDelete)(
void *);
174 vtkTDxWinDevice *Device;