16 #ifndef vtkMFCWindow_h
17 #define vtkMFCWindow_h
19 #include "vtkGUISupportMFCModule.h"
25 #include "vtkMFCConfigure.h"
37 virtual void AssertValid()
const;
38 virtual void Dump(CDumpContext& dc)
const;
42 void DrawDC(CDC* pDC);
54 afx_msg
void OnSize(UINT nType,
int cx,
int cy);
56 afx_msg
void OnPaint();
58 afx_msg
void OnDestroy();
60 BOOL OnEraseBkgnd(CDC* pDC);
62 afx_msg
void OnLButtonDblClk(UINT nFlags, CPoint
point);
63 afx_msg
void OnLButtonDown(UINT nFlags, CPoint point);
64 afx_msg
void OnMButtonDown(UINT nFlags, CPoint point);
65 afx_msg
void OnRButtonDown(UINT nFlags, CPoint point);
66 afx_msg
void OnLButtonUp(UINT nFlags, CPoint point);
67 afx_msg
void OnMButtonUp(UINT nFlags, CPoint point);
68 afx_msg
void OnRButtonUp(UINT nFlags, CPoint point);
69 afx_msg
void OnMouseMove(UINT nFlags, CPoint point);
70 afx_msg BOOL OnMouseWheel(UINT nFlags,
short zDelta, CPoint pt);
71 afx_msg
void OnChar(UINT nChar, UINT nRepCnt, UINT nFlags);
72 afx_msg
void OnKeyUp(UINT nChar, UINT nRepCnt, UINT nFlags);
73 afx_msg
void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
74 afx_msg
void OnTimer(UINT_PTR nIDEvent);
vtkWin32OpenGLRenderWindow * pvtkWin32OpenGLRW
the vtk window
vtkRenderWindow * GetRenderWindow()
virtual void SetRenderWindow(vtkRenderWindow *renwin)
class to display a VTK window in an MFC window
platform-independent render window interaction including picking and frame rate control.