35 #ifndef vtkWin32RenderWindowInteractor_h
36 #define vtkWin32RenderWindowInteractor_h
38 #include "vtkRenderingOpenGL2Module.h"
40 #include "vtkWindows.h"
77 vtkSetMacro(InstallMessageProc,
int);
78 vtkGetMacro(InstallMessageProc,
int);
79 vtkBooleanMacro(InstallMessageProc,
int);
88 friend VTKRENDERINGOPENGL2_EXPORT LRESULT CALLBACK vtkHandleMessage(HWND hwnd,UINT uMsg, WPARAM w, LPARAM l);
94 virtual void OnMouseMove (HWND wnd, UINT nFlags,
int X,
int Y);
95 virtual void OnNCMouseMove(HWND wnd, UINT nFlags,
int X,
int Y);
96 virtual void OnRButtonDown(HWND wnd, UINT nFlags,
int X,
int Y,
int repeat=0);
97 virtual void OnRButtonUp (HWND wnd, UINT nFlags,
int X,
int Y);
98 virtual void OnMButtonDown(HWND wnd, UINT nFlags,
int X,
int Y,
int repeat=0);
99 virtual void OnMButtonUp (HWND wnd, UINT nFlags,
int X,
int Y);
100 virtual void OnLButtonDown(HWND wnd, UINT nFlags,
int X,
int Y,
int repeat=0);
101 virtual void OnLButtonUp (HWND wnd, UINT nFlags,
int X,
int Y);
102 virtual void OnSize (HWND wnd, UINT nType,
int X,
int Y);
103 virtual void OnTimer (HWND wnd, UINT nIDEvent);
104 virtual void OnKeyDown (HWND wnd, UINT nChar, UINT nRepCnt, UINT nFlags);
105 virtual void OnKeyUp (HWND wnd, UINT nChar, UINT nRepCnt, UINT nFlags);
106 virtual void OnChar (HWND wnd, UINT nChar, UINT nRepCnt, UINT nFlags);
107 virtual void OnMouseWheelForward (HWND wnd, UINT nFlags,
int X,
int Y);
108 virtual void OnMouseWheelBackward(HWND wnd, UINT nFlags,
int X,
int Y);
109 virtual void OnFocus(HWND wnd, UINT nFlags);
110 virtual void OnKillFocus(HWND wnd, UINT nFlags);
111 virtual void OnTouch(HWND wnd, UINT wParam, UINT lParam);
119 static void SetClassExitMethod(
void (*f)(
void *),
void *arg);
120 static void SetClassExitMethodArgDelete(
void (*f)(
void *));
133 int InstallMessageProc;
135 int StartedMessageLoop;
141 static void (*ClassExitMethod)(
void *);
142 static void (*ClassExitMethodArgDelete)(
void *);
143 static void *ClassExitMethodArg;
158 int GetContactIndex(
int id);
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.
a simple class to control print indentation
virtual void ExitCallback()
virtual void StartEventLoop()
virtual void TerminateApp(void)
#define VTKI_MAX_POINTERS