Go to the documentation of this file.
32 #ifndef vtkWin32RenderWindowInteractor_h
33 #define vtkWin32RenderWindowInteractor_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);
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);
108 virtual void OnTouch(HWND wnd, UINT wParam, UINT lParam);
130 int InstallMessageProc;
132 int StartedMessageLoop;
138 static void (*ClassExitMethod)(
void *);
139 static void (*ClassExitMethodArgDelete)(
void *);
140 static void *ClassExitMethodArg;
virtual void StartEventLoop()
friend VTKRENDERINGOPENGL2_EXPORT LRESULT CALLBACK vtkHandleMessage2(HWND hwnd, UINT uMsg, WPARAM w, LPARAM l, vtkWin32RenderWindowInteractor *me)
friend VTKRENDERINGOPENGL2_EXPORT LRESULT CALLBACK vtkHandleMessage(HWND hwnd, UINT uMsg, WPARAM w, LPARAM l)
virtual void OnRButtonUp(HWND wnd, UINT nFlags, int X, int Y)
~vtkWin32RenderWindowInteractor()
virtual void OnMouseMove(HWND wnd, UINT nFlags, int X, int Y)
virtual void OnTimer(HWND wnd, UINT nIDEvent)
virtual void OnChar(HWND wnd, UINT nChar, UINT nRepCnt, UINT nFlags)
virtual int InternalCreateTimer(int timerId, int timerType, unsigned long duration)
Implementation of vtkTDxDevice on Windows.
vtkWin32RenderWindowInteractor()
#define vtkTypeMacro(thisClass, superclass)
virtual void OnKeyDown(HWND wnd, UINT nChar, UINT nRepCnt, UINT nFlags)
virtual void Initialize()
virtual void OnMouseWheelBackward(HWND wnd, UINT nFlags, int X, int Y)
implements Win32 specific functions required by vtkRenderWindowInteractor.
virtual void OnLButtonUp(HWND wnd, UINT nFlags, int X, int Y)
virtual void OnKillFocus(HWND wnd, UINT nFlags)
virtual void OnRButtonDown(HWND wnd, UINT nFlags, int X, int Y, int repeat=0)
virtual void OnFocus(HWND wnd, UINT nFlags)
static void SetClassExitMethod(void(*f)(void *), void *arg)
a simple class to control print indentation
virtual int InternalDestroyTimer(int platformTimerId)
virtual void OnKeyUp(HWND wnd, UINT nChar, UINT nRepCnt, UINT nFlags)
static void SetClassExitMethodArgDelete(void(*f)(void *))
#define vtkGetMacro(name, type)
virtual void OnSize(HWND wnd, UINT nType, int X, int Y)
platform-independent render window interaction including picking and frame rate control.
virtual void OnTouch(HWND wnd, UINT wParam, UINT lParam)
vtkBooleanMacro(IgnoreDriverBugs, bool)
vtkSetMacro(IgnoreDriverBugs, bool)
virtual void OnMButtonDown(HWND wnd, UINT nFlags, int X, int Y, int repeat=0)
virtual void ExitCallback()
#define VTKI_MAX_POINTERS
int GetContactIndex(int id)
typedef void(APIENTRYP PFNGLBLENDCOLORPROC)(GLclampf red
GLubyte GLubyte GLubyte GLubyte w
virtual void OnLButtonDown(HWND wnd, UINT nFlags, int X, int Y, int repeat=0)
static vtkWin32RenderWindowInteractor * New()
virtual void OnMButtonUp(HWND wnd, UINT nFlags, int X, int Y)
void PrintSelf(ostream &os, vtkIndent indent)
virtual void OnMouseWheelForward(HWND wnd, UINT nFlags, int X, int Y)
virtual void OnNCMouseMove(HWND wnd, UINT nFlags, int X, int Y)