35 #ifndef vtkWin32RenderWindowInteractor_h
36 #define vtkWin32RenderWindowInteractor_h
38 #include "vtkRenderingOpenGLModule.h"
40 #include "vtkWindows.h"
77 vtkSetMacro(InstallMessageProc,
int);
78 vtkGetMacro(InstallMessageProc,
int);
79 vtkBooleanMacro(InstallMessageProc,
int);
89 friend VTKRENDERINGOPENGL_EXPORT LRESULT CALLBACK vtkHandleMessage(HWND hwnd,UINT uMsg, WPARAM w, LPARAM l);
95 virtual int OnMouseMove(HWND wnd, UINT nFlags,
int X,
int Y);
96 virtual int OnNCMouseMove(HWND wnd, UINT nFlags,
int X,
int Y);
97 virtual int OnRButtonDown(HWND wnd, UINT nFlags,
int X,
int Y,
int repeat = 0);
98 virtual int OnRButtonUp(HWND wnd, UINT nFlags,
int X,
int Y);
99 virtual int OnMButtonDown(HWND wnd, UINT nFlags,
int X,
int Y,
int repeat = 0);
100 virtual int OnMButtonUp(HWND wnd, UINT nFlags,
int X,
int Y);
101 virtual int OnLButtonDown(HWND wnd, UINT nFlags,
int X,
int Y,
int repeat = 0);
102 virtual int OnLButtonUp(HWND wnd, UINT nFlags,
int X,
int Y);
103 virtual int OnSize(HWND wnd, UINT nType,
int X,
int Y);
104 virtual int OnTimer(HWND wnd, UINT nIDEvent);
105 virtual int OnKeyDown(HWND wnd, UINT nChar, UINT nRepCnt, UINT nFlags);
106 virtual int OnKeyUp(HWND wnd, UINT nChar, UINT nRepCnt, UINT nFlags);
107 virtual int OnChar(HWND wnd, UINT nChar, UINT nRepCnt, UINT nFlags);
108 virtual int OnMouseWheelForward(HWND wnd, UINT nFlags,
int X,
int Y);
109 virtual int OnMouseWheelBackward(HWND wnd, UINT nFlags,
int X,
int Y);
110 virtual int OnFocus(HWND wnd, UINT nFlags);
111 virtual int OnKillFocus(HWND wnd, UINT nFlags);
120 static void SetClassExitMethod(
void (*f)(
void *),
void *arg);
121 static void SetClassExitMethodArgDelete(
void (*f)(
void *));
143 static void (*ClassExitMethod)(
void *);
144 static void (*ClassExitMethodArgDelete)(
void *);
Implementation of vtkTDxDevice on Windows.
virtual int InternalDestroyTimer(int platformTimerId)
void PrintSelf(ostream &os, vtkIndent indent)
virtual int InternalCreateTimer(int timerId, int timerType, unsigned long duration)
implements Win32 specific functions required by vtkRenderWindowInteractor.
virtual void Initialize()
static vtkRenderWindowInteractor * New()
platform-independent render window interaction including picking and frame rate control.
static void * ClassExitMethodArg
a simple class to control print indentation
virtual void ExitCallback()
virtual void StartEventLoop()
virtual void TerminateApp(void)