30 #ifndef vtkWin32RenderWindowInteractor_h 31 #define vtkWin32RenderWindowInteractor_h 34 #include "vtkRenderingUIModule.h" 35 #include "vtkWindows.h" 37 #include "vtkTDxConfigure.h" 39 class vtkTDxWinDevice;
68 virtual void Enable()
override;
69 virtual void Disable()
override;
86 vtkSetMacro(InstallMessageProc,
int);
87 vtkGetMacro(InstallMessageProc,
int);
88 vtkBooleanMacro(InstallMessageProc,
int);
98 friend VTKRENDERINGUI_EXPORT LRESULT CALLBACK vtkHandleMessage(
99 HWND hwnd, UINT uMsg, WPARAM w, LPARAM l);
100 friend VTKRENDERINGUI_EXPORT LRESULT CALLBACK vtkHandleMessage2(
108 virtual int OnMouseMove(HWND wnd, UINT nFlags,
int X,
int Y);
109 virtual int OnNCMouseMove(HWND wnd, UINT nFlags,
int X,
int Y);
110 virtual int OnRButtonDown(HWND wnd, UINT nFlags,
int X,
int Y,
int repeat = 0);
111 virtual int OnRButtonUp(HWND wnd, UINT nFlags,
int X,
int Y);
112 virtual int OnMButtonDown(HWND wnd, UINT nFlags,
int X,
int Y,
int repeat = 0);
113 virtual int OnMButtonUp(HWND wnd, UINT nFlags,
int X,
int Y);
114 virtual int OnLButtonDown(HWND wnd, UINT nFlags,
int X,
int Y,
int repeat = 0);
115 virtual int OnLButtonUp(HWND wnd, UINT nFlags,
int X,
int Y);
116 virtual int OnSize(HWND wnd, UINT nType,
int X,
int Y);
117 virtual int OnTimer(HWND wnd, UINT nIDEvent);
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);
121 virtual int OnMouseWheelForward(HWND wnd, UINT nFlags,
int X,
int Y);
122 virtual int OnMouseWheelBackward(HWND wnd, UINT nFlags,
int X,
int Y);
123 virtual int OnFocus(HWND wnd, UINT nFlags);
124 virtual int OnKillFocus(HWND wnd, UINT nFlags);
125 virtual int OnTouch(HWND wnd, UINT wParam, UINT lParam);
126 virtual int OnDropFiles(HWND wnd, WPARAM wParam);
136 static void SetClassExitMethod(
void (*f)(
void*),
void* arg);
137 static void SetClassExitMethodArgDelete(
void (*f)(
void*));
162 static void (*ClassExitMethod)(
void*);
163 static void (*ClassExitMethodArgDelete)(
void*);
184 vtkTDxWinDevice* Device;
static void * ClassExitMethodArg
Class variables so an exit method can be defined for this class (used to set different exit methods f...
virtual void Enable()
Enable/Disable interactions.
virtual int InternalDestroyTimer(int platformTimerId)
Internal methods for creating and destroying timers that must be implemented by subclasses.
virtual int InternalCreateTimer(int timerId, int timerType, unsigned long duration)
Internal methods for creating and destroying timers that must be implemented by subclasses.
implements Win32 specific functions required by vtkRenderWindowInteractor.
virtual void Initialize()
Prepare for handling events and set the Enabled flag to true.
static vtkRenderWindowInteractor * New()
platform-independent render window interaction including picking and frame rate control.
a simple class to control print indentation
virtual void ExitCallback()
These methods correspond to the Exit, User and Pick callbacks.
virtual void StartEventLoop()
Run the event loop (does not return until TerminateApp is called).
virtual void TerminateApp(void)
This function is called on 'q','e' keypress if exitmethod is not specified and should be overridden b...
virtual void ProcessEvents()
Run the event loop and return.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.