32 #ifndef vtkWin32OpenGLRenderWindowInteractor_h 33 #define vtkWin32OpenGLRenderWindowInteractor_h 35 #include "vtkRenderingOpenGL2Module.h" 85 friend VTKRENDERINGOPENGL2_EXPORT LRESULT CALLBACK vtkHandleMessage(HWND hwnd,UINT uMsg, WPARAM
w, LPARAM l);
91 virtual void OnMouseMove (HWND wnd, UINT nFlags,
int X,
int Y);
92 virtual void OnNCMouseMove(HWND wnd, UINT nFlags,
int X,
int Y);
93 virtual void OnRButtonDown(HWND wnd, UINT nFlags,
int X,
int Y,
int repeat=0);
94 virtual void OnRButtonUp (HWND wnd, UINT nFlags,
int X,
int Y);
95 virtual void OnMButtonDown(HWND wnd, UINT nFlags,
int X,
int Y,
int repeat=0);
96 virtual void OnMButtonUp (HWND wnd, UINT nFlags,
int X,
int Y);
97 virtual void OnLButtonDown(HWND wnd, UINT nFlags,
int X,
int Y,
int repeat=0);
98 virtual void OnLButtonUp (HWND wnd, UINT nFlags,
int X,
int Y);
99 virtual void OnSize (HWND wnd, UINT nType,
int X,
int Y);
100 virtual void OnTimer (HWND wnd, UINT nIDEvent);
101 virtual void OnKeyDown (HWND wnd, UINT nChar, UINT nRepCnt, UINT nFlags);
102 virtual void OnKeyUp (HWND wnd, UINT nChar, UINT nRepCnt, UINT nFlags);
103 virtual void OnChar (HWND wnd, UINT nChar, UINT nRepCnt, UINT nFlags);
104 virtual void OnMouseWheelForward (HWND wnd, UINT nFlags,
int X,
int Y);
105 virtual void OnMouseWheelBackward(HWND wnd, UINT nFlags,
int X,
int Y);
106 virtual void OnFocus(HWND wnd, UINT nFlags);
107 virtual void OnKillFocus(HWND wnd, UINT nFlags);
108 virtual void OnTouch(HWND wnd, UINT wParam, UINT lParam);
116 static void SetClassExitMethod(
void (*
f)(
void *),
void *arg);
117 static void SetClassExitMethodArgDelete(
void (*
f)(
void *));
138 static void (*ClassExitMethod)(
void *);
139 static void (*ClassExitMethodArgDelete)(
void *);
155 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)
#define vtkGetMacro(name, type)
typedef void(APIENTRYP PFNGLBLENDCOLORPROC)(GLclampf red
static void * ClassExitMethodArg
#define vtkTypeMacro(thisClass, superclass)
virtual void Initialize()
static vtkRenderWindowInteractor * New()
implements Win32 specific functions required by vtkRenderWindowInteractor.
platform-independent render window interaction including picking and frame rate control.
GLubyte GLubyte GLubyte GLubyte w
a simple class to control print indentation
virtual void ExitCallback()
virtual void StartEventLoop()
virtual void TerminateApp(void)
#define VTKI_MAX_POINTERS
#define vtkBooleanMacro(name, type)
#define vtkSetMacro(name, type)