vtkMFCWindow Class Reference

#include <vtkMFCWindow.h>

Collaboration diagram for vtkMFCWindow:

Collaboration graph
[legend]

List of all members.


Detailed Description

class to display a VTK window in an MFC window

Definition at line 37 of file vtkMFCWindow.h.


Public Member Functions

 vtkMFCWindow (CWnd *pcWnd)
 constructor requires a parent
virtual ~vtkMFCWindow ()
 destructor
void DrawDC (CDC *pDC)
 draw to a device context
virtual void SetRenderWindow (vtkWin32OpenGLRenderWindow *)
 give an instance of a vtk render window to the mfc window
virtual
vtkWin32OpenGLRenderWindow
GetRenderWindow ()
 get the render window
virtual vtkRenderWindowInteractorGetInteractor ()
 get the interactor

Protected Member Functions

afx_msg void OnSize (UINT nType, int cx, int cy)
 handle size events
afx_msg void OnPaint ()
 handle paint events
afx_msg void OnDestroy ()
 handle destroy events
BOOL OnEraseBkgnd (CDC *pDC)
 don't clear background
afx_msg void OnLButtonDblClk (UINT nFlags, CPoint point)
afx_msg void OnLButtonDown (UINT nFlags, CPoint point)
afx_msg void OnMButtonDown (UINT nFlags, CPoint point)
afx_msg void OnRButtonDown (UINT nFlags, CPoint point)
afx_msg void OnLButtonUp (UINT nFlags, CPoint point)
afx_msg void OnMButtonUp (UINT nFlags, CPoint point)
afx_msg void OnRButtonUp (UINT nFlags, CPoint point)
afx_msg void OnMouseMove (UINT nFlags, CPoint point)
afx_msg BOOL OnMouseWheel (UINT nFlags, short zDelta, CPoint pt)
afx_msg void OnChar (UINT nChar, UINT nRepCnt, UINT nFlags)
afx_msg void OnKeyUp (UINT nChar, UINT nRepCnt, UINT nFlags)
afx_msg void OnKeyDown (UINT nChar, UINT nRepCnt, UINT nFlags)
afx_msg void OnTimer (UINT_PTR nIDEvent)

Protected Attributes

vtkWin32OpenGLRenderWindowpvtkWin32OpenGLRW
 the vtk window

Constructor & Destructor Documentation

vtkMFCWindow::vtkMFCWindow ( CWnd *  pcWnd  ) 

constructor requires a parent

virtual vtkMFCWindow::~vtkMFCWindow (  )  [virtual]

destructor


Member Function Documentation

void vtkMFCWindow::DrawDC ( CDC *  pDC  ) 

draw to a device context

virtual void vtkMFCWindow::SetRenderWindow ( vtkWin32OpenGLRenderWindow  )  [virtual]

give an instance of a vtk render window to the mfc window

virtual vtkWin32OpenGLRenderWindow* vtkMFCWindow::GetRenderWindow (  )  [virtual]

get the render window

virtual vtkRenderWindowInteractor* vtkMFCWindow::GetInteractor (  )  [virtual]

get the interactor

afx_msg void vtkMFCWindow::OnSize ( UINT  nType,
int  cx,
int  cy 
) [protected]

handle size events

afx_msg void vtkMFCWindow::OnPaint (  )  [protected]

handle paint events

afx_msg void vtkMFCWindow::OnDestroy (  )  [protected]

handle destroy events

BOOL vtkMFCWindow::OnEraseBkgnd ( CDC *  pDC  )  [protected]

don't clear background

afx_msg void vtkMFCWindow::OnLButtonDblClk ( UINT  nFlags,
CPoint  point 
) [protected]

afx_msg void vtkMFCWindow::OnLButtonDown ( UINT  nFlags,
CPoint  point 
) [protected]

afx_msg void vtkMFCWindow::OnMButtonDown ( UINT  nFlags,
CPoint  point 
) [protected]

afx_msg void vtkMFCWindow::OnRButtonDown ( UINT  nFlags,
CPoint  point 
) [protected]

afx_msg void vtkMFCWindow::OnLButtonUp ( UINT  nFlags,
CPoint  point 
) [protected]

afx_msg void vtkMFCWindow::OnMButtonUp ( UINT  nFlags,
CPoint  point 
) [protected]

afx_msg void vtkMFCWindow::OnRButtonUp ( UINT  nFlags,
CPoint  point 
) [protected]

afx_msg void vtkMFCWindow::OnMouseMove ( UINT  nFlags,
CPoint  point 
) [protected]

afx_msg BOOL vtkMFCWindow::OnMouseWheel ( UINT  nFlags,
short  zDelta,
CPoint  pt 
) [protected]

afx_msg void vtkMFCWindow::OnChar ( UINT  nChar,
UINT  nRepCnt,
UINT  nFlags 
) [protected]

afx_msg void vtkMFCWindow::OnKeyUp ( UINT  nChar,
UINT  nRepCnt,
UINT  nFlags 
) [protected]

afx_msg void vtkMFCWindow::OnKeyDown ( UINT  nChar,
UINT  nRepCnt,
UINT  nFlags 
) [protected]

afx_msg void vtkMFCWindow::OnTimer ( UINT_PTR  nIDEvent  )  [protected]


Member Data Documentation

the vtk window

Definition at line 86 of file vtkMFCWindow.h.


The documentation for this class was generated from the following file:

Generated on Wed Aug 24 11:48:05 2011 for VTK by  doxygen 1.5.6