35 #ifndef __vtkWin32RenderWindowInteractor_h
36 #define __vtkWin32RenderWindowInteractor_h
39 #include "vtkWindows.h"
41 #include "vtkTDxConfigure.h"
81 vtkSetMacro(InstallMessageProc,
int);
82 vtkGetMacro(InstallMessageProc,
int);
83 vtkBooleanMacro(InstallMessageProc,
int);
93 friend VTK_RENDERING_EXPORT LRESULT CALLBACK vtkHandleMessage(HWND hwnd,UINT uMsg, WPARAM w, LPARAM l);
99 virtual void OnMouseMove (HWND wnd, UINT nFlags,
int X,
int Y);
100 virtual void OnNCMouseMove(HWND wnd, UINT nFlags,
int X,
int Y);
101 virtual void OnRButtonDown(HWND wnd, UINT nFlags,
int X,
int Y,
int repeat=0);
102 virtual void OnRButtonUp (HWND wnd, UINT nFlags,
int X,
int Y);
103 virtual void OnMButtonDown(HWND wnd, UINT nFlags,
int X,
int Y,
int repeat=0);
104 virtual void OnMButtonUp (HWND wnd, UINT nFlags,
int X,
int Y);
105 virtual void OnLButtonDown(HWND wnd, UINT nFlags,
int X,
int Y,
int repeat=0);
106 virtual void OnLButtonUp (HWND wnd, UINT nFlags,
int X,
int Y);
107 virtual void OnSize (HWND wnd, UINT nType,
int X,
int Y);
108 virtual void OnTimer (HWND wnd, UINT nIDEvent);
109 virtual void OnKeyDown (HWND wnd, UINT nChar, UINT nRepCnt, UINT nFlags);
110 virtual void OnKeyUp (HWND wnd, UINT nChar, UINT nRepCnt, UINT nFlags);
111 virtual void OnChar (HWND wnd, UINT nChar, UINT nRepCnt, UINT nFlags);
112 virtual void OnMouseWheelForward (HWND wnd, UINT nFlags,
int X,
int Y);
113 virtual void OnMouseWheelBackward(HWND wnd, UINT nFlags,
int X,
int Y);
114 virtual void OnFocus(HWND wnd, UINT nFlags);
115 virtual void OnKillFocus(HWND wnd, UINT nFlags);
124 static void SetClassExitMethod(
void (*f)(
void *),
void *arg);
125 static void SetClassExitMethodArgDelete(
void (*f)(
void *));
147 static void (*ClassExitMethod)(
void *);
148 static void (*ClassExitMethodArgDelete)(
void *);
Implementation of vtkTDxDevice on Windows.
static void * ClassExitMethodArg
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 TerminateApp(void)