 |
VTK
9.0.1
|
Go to the documentation of this file.
30 #ifndef vtkWin32RenderWindowInteractor_h
31 #define vtkWin32RenderWindowInteractor_h
34 #include "vtkRenderingUIModule.h"
35 #include "vtkWindows.h"
37 #include "vtkTDxConfigure.h"
39 class vtkTDxWinDevice;
86 vtkSetMacro(InstallMessageProc,
int);
87 vtkGetMacro(InstallMessageProc,
int);
88 vtkBooleanMacro(InstallMessageProc,
int);
99 HWND hwnd, UINT uMsg, WPARAM w, LPARAM l);
110 virtual int OnRButtonDown(HWND wnd, UINT nFlags,
int X,
int Y,
int repeat = 0);
112 virtual int OnMButtonDown(HWND wnd, UINT nFlags,
int X,
int Y,
int repeat = 0);
114 virtual int OnLButtonDown(HWND wnd, UINT nFlags,
int X,
int Y,
int repeat = 0);
116 virtual int OnSize(HWND wnd, UINT nType,
int X,
int Y);
118 virtual int OnKeyDown(HWND wnd, UINT nChar, UINT nRepCnt, UINT nFlags);
119 virtual int OnKeyUp(HWND wnd, UINT nChar, UINT nRepCnt, UINT nFlags);
120 virtual int OnChar(HWND wnd, UINT nChar, UINT nRepCnt, UINT nFlags);
125 virtual int OnTouch(HWND wnd, UINT wParam, UINT lParam);
162 static void (*ClassExitMethod)(
void*);
163 static void (*ClassExitMethodArgDelete)(
void*);
184 vtkTDxWinDevice* Device;
virtual int OnDropFiles(HWND wnd, WPARAM wParam)
virtual int OnSize(HWND wnd, UINT nType, int X, int Y)
vtkWin32RenderWindowInteractor()
int InternalDestroyTimer(int platformTimerId) override
virtual int OnKillFocus(HWND wnd, UINT nFlags)
implements Win32 specific functions required by vtkRenderWindowInteractor.
void ProcessEvents() override
Run the event loop and return.
virtual void Enable() override
Enable/Disable interactions.
virtual int OnNCMouseMove(HWND wnd, UINT nFlags, int X, int Y)
virtual int OnTimer(HWND wnd, UINT nIDEvent)
virtual int OnChar(HWND wnd, UINT nChar, UINT nRepCnt, UINT nFlags)
virtual int OnMouseMove(HWND wnd, UINT nFlags, int X, int Y)
Various methods that a Win32 window can redirect to this class to be handled.
static void SetClassExitMethod(void(*f)(void *), void *arg)
Methods to set the default exit method for the class.
virtual int OnKeyUp(HWND wnd, UINT nChar, UINT nRepCnt, UINT nFlags)
void TerminateApp(void) override
Win32 specific application terminate, calls ClassExitMethod then calls PostQuitMessage(0) to terminat...
virtual int OnMButtonDown(HWND wnd, UINT nFlags, int X, int Y, int repeat=0)
friend VTKRENDERINGUI_EXPORT LRESULT CALLBACK vtkHandleMessage(HWND hwnd, UINT uMsg, WPARAM w, LPARAM l)
a simple class to control print indentation
virtual int OnLButtonDown(HWND wnd, UINT nFlags, int X, int Y, int repeat=0)
static void SetClassExitMethodArgDelete(void(*f)(void *))
virtual void Initialize() override
Initialize the event handler.
void ExitCallback() override
These methods correspond to the Exit, User and Pick callbacks.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
platform-independent render window interaction including picking and frame rate control.
~vtkWin32RenderWindowInteractor() override
int InternalCreateTimer(int timerId, int timerType, unsigned long duration) override
Win32-specific internal timer methods.
virtual int OnKeyDown(HWND wnd, UINT nChar, UINT nRepCnt, UINT nFlags)
virtual int OnFocus(HWND wnd, UINT nFlags)
virtual int OnMouseWheelBackward(HWND wnd, UINT nFlags, int X, int Y)
virtual void Disable() override
virtual int OnMouseWheelForward(HWND wnd, UINT nFlags, int X, int Y)
virtual int OnRButtonUp(HWND wnd, UINT nFlags, int X, int Y)
virtual int OnMButtonUp(HWND wnd, UINT nFlags, int X, int Y)
static void * ClassExitMethodArg
virtual int OnRButtonDown(HWND wnd, UINT nFlags, int X, int Y, int repeat=0)
virtual int OnLButtonUp(HWND wnd, UINT nFlags, int X, int Y)
friend VTKRENDERINGUI_EXPORT LRESULT CALLBACK vtkHandleMessage2(HWND hwnd, UINT uMsg, WPARAM w, LPARAM l, vtkWin32RenderWindowInteractor *me)
static vtkWin32RenderWindowInteractor * New()
Construct object so that light follows camera motion.
virtual int OnTouch(HWND wnd, UINT wParam, UINT lParam)
void StartEventLoop() override
This will start up the event loop and never return.