20#include "vtkGUISupportMFCModule.h"
25#include "vtkMFCConfigure.h"
37 virtual void AssertValid()
const;
38 virtual void Dump(CDumpContext& dc)
const;
53 afx_msg
void OnSize(UINT nType,
int cx,
int cy);
70 afx_msg
void OnChar(UINT nChar, UINT nRepCnt, UINT nFlags);
71 afx_msg
void OnKeyUp(UINT nChar, UINT nRepCnt, UINT nFlags);
72 afx_msg
void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
class to display a VTK window in an MFC window
afx_msg void OnMouseMove(UINT nFlags, CPoint point)
afx_msg void OnMButtonDown(UINT nFlags, CPoint point)
BOOL OnEraseBkgnd(CDC *pDC)
don't clear background
vtkMFCWindow(CWnd *pcWnd)
constructor requires a parent
afx_msg void OnRButtonDown(UINT nFlags, CPoint point)
vtkWin32OpenGLRenderWindow * pvtkWin32OpenGLRW
the vtk window
virtual void SetRenderWindow(vtkWin32OpenGLRenderWindow *)
give an instance of a vtk render window to the mfc window
afx_msg void OnRButtonUp(UINT nFlags, CPoint point)
afx_msg void OnLButtonDown(UINT nFlags, CPoint point)
afx_msg void OnMButtonUp(UINT nFlags, CPoint point)
virtual ~vtkMFCWindow()
destructor
afx_msg void OnSize(UINT nType, int cx, int cy)
handle size events
virtual vtkWin32OpenGLRenderWindow * GetRenderWindow()
get the render window
afx_msg void OnPaint()
handle paint events
virtual vtkRenderWindowInteractor * GetInteractor()
get the interactor
afx_msg void OnDestroy()
handle destroy events
afx_msg void OnKeyUp(UINT nChar, UINT nRepCnt, UINT nFlags)
afx_msg void OnLButtonUp(UINT nFlags, CPoint point)
afx_msg void OnLButtonDblClk(UINT nFlags, CPoint point)
afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags)
afx_msg void OnChar(UINT nChar, UINT nRepCnt, UINT nFlags)
void DrawDC(CDC *pDC)
draw to a device context
afx_msg void OnTimer(UINT_PTR nIDEvent)
afx_msg BOOL OnMouseWheel(UINT nFlags, short zDelta, CPoint pt)
platform-independent render window interaction including picking and frame rate control.