32 #ifndef vtkWin32RenderWindowInteractor_h
33 #define vtkWin32RenderWindowInteractor_h
37 #include "vtkWindows.h"
74 vtkSetMacro(InstallMessageProc,
int);
75 vtkGetMacro(InstallMessageProc,
int);
76 vtkBooleanMacro(InstallMessageProc,
int);
91 virtual int OnMouseMove(HWND wnd, UINT nFlags,
int X,
int Y);
92 virtual int OnNCMouseMove(HWND wnd, UINT nFlags,
int X,
int Y);
93 virtual int OnRButtonDown(HWND wnd, UINT nFlags,
int X,
int Y,
int repeat = 0);
94 virtual int OnRButtonUp(HWND wnd, UINT nFlags,
int X,
int Y);
95 virtual int OnMButtonDown(HWND wnd, UINT nFlags,
int X,
int Y,
int repeat = 0);
96 virtual int OnMButtonUp(HWND wnd, UINT nFlags,
int X,
int Y);
97 virtual int OnLButtonDown(HWND wnd, UINT nFlags,
int X,
int Y,
int repeat = 0);
98 virtual int OnLButtonUp(HWND wnd, UINT nFlags,
int X,
int Y);
99 virtual int OnSize(HWND wnd, UINT nType,
int X,
int Y);
100 virtual int OnTimer(HWND wnd, UINT nIDEvent);
101 virtual int OnKeyDown(HWND wnd, UINT nChar, UINT nRepCnt, UINT nFlags);
102 virtual int OnKeyUp(HWND wnd, UINT nChar, UINT nRepCnt, UINT nFlags);
103 virtual int OnChar(HWND wnd, UINT nChar, UINT nRepCnt, UINT nFlags);
104 virtual int OnMouseWheelForward(HWND wnd, UINT nFlags,
int X,
int Y);
105 virtual int OnMouseWheelBackward(HWND wnd, UINT nFlags,
int X,
int Y);
106 virtual int OnFocus(HWND wnd, UINT nFlags);
107 virtual int OnKillFocus(HWND wnd, UINT nFlags);
108 virtual int OnTouch(HWND wnd, UINT wParam, UINT lParam);
116 static void SetClassExitMethod(
void (*f)(
void *),
void *arg);
117 static void SetClassExitMethodArgDelete(
void (*f)(
void *));
130 int InstallMessageProc;
132 int StartedMessageLoop;
138 static void (*ClassExitMethod)(
void *);
139 static void (*ClassExitMethodArgDelete)(
void *);
140 static void *ClassExitMethodArg;
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)
#define VTKRENDERINGOPENGL2_EXPORT
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)