36 #ifndef vtkWin32RenderWindowInteractor_h
37 #define vtkWin32RenderWindowInteractor_h
40 #include "vtkRenderingUIModule.h"
41 #include "vtkWindows.h"
43 #include "vtkTDxConfigure.h"
45 class vtkTDxWinDevice;
74 virtual void Enable()
override;
75 virtual void Disable()
override;
92 vtkSetMacro(InstallMessageProc,
int);
93 vtkGetMacro(InstallMessageProc,
int);
94 vtkBooleanMacro(InstallMessageProc,
int);
104 friend VTKRENDERINGUI_EXPORT LRESULT CALLBACK vtkHandleMessage(
105 HWND hwnd, UINT uMsg, WPARAM w, LPARAM l);
106 friend VTKRENDERINGUI_EXPORT LRESULT CALLBACK vtkHandleMessage2(
114 virtual int OnMouseMove(HWND wnd, UINT nFlags,
int X,
int Y);
115 virtual int OnNCMouseMove(HWND wnd, UINT nFlags,
int X,
int Y);
116 virtual int OnRButtonDown(HWND wnd, UINT nFlags,
int X,
int Y,
int repeat = 0);
117 virtual int OnRButtonUp(HWND wnd, UINT nFlags,
int X,
int Y);
118 virtual int OnMButtonDown(HWND wnd, UINT nFlags,
int X,
int Y,
int repeat = 0);
119 virtual int OnMButtonUp(HWND wnd, UINT nFlags,
int X,
int Y);
120 virtual int OnLButtonDown(HWND wnd, UINT nFlags,
int X,
int Y,
int repeat = 0);
121 virtual int OnLButtonUp(HWND wnd, UINT nFlags,
int X,
int Y);
122 virtual int OnSize(HWND wnd, UINT nType,
int X,
int Y);
123 virtual int OnTimer(HWND wnd, UINT nIDEvent);
124 virtual int OnKeyDown(HWND wnd, UINT nChar, UINT nRepCnt, UINT nFlags);
125 virtual int OnKeyUp(HWND wnd, UINT nChar, UINT nRepCnt, UINT nFlags);
126 virtual int OnChar(HWND wnd, UINT nChar, UINT nRepCnt, UINT nFlags);
127 virtual int OnMouseWheelForward(HWND wnd, UINT nFlags,
int X,
int Y);
128 virtual int OnMouseWheelBackward(HWND wnd, UINT nFlags,
int X,
int Y);
129 virtual int OnFocus(HWND wnd, UINT nFlags);
130 virtual int OnKillFocus(HWND wnd, UINT nFlags);
131 virtual int OnTouch(HWND wnd, UINT wParam, UINT lParam);
132 virtual int OnDropFiles(HWND wnd, WPARAM wParam);
142 static void SetClassExitMethod(
void (*f)(
void*),
void* arg);
143 static void SetClassExitMethodArgDelete(
void (*f)(
void*));
168 static void (*ClassExitMethod)(
void*);
169 static void (*ClassExitMethodArgDelete)(
void*);
190 vtkTDxWinDevice* Device;