VTK
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vtkMFCWindow Class Reference

class to display a VTK window in an MFC window More...

#include <vtkMFCWindow.h>

Inherits CWnd.

Collaboration diagram for vtkMFCWindow:
[legend]

Public Member Functions

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

Protected Member Functions

afx_msg void OnSize (UINT nType, int cx, int cy)
 handle size events More...
 
afx_msg void OnPaint ()
 handle paint events More...
 
afx_msg void OnDestroy ()
 handle destroy events More...
 
BOOL OnEraseBkgnd (CDC *pDC)
 don't clear background More...
 
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 More...
 

Detailed Description

class to display a VTK window in an MFC window

Definition at line 28 of file vtkMFCWindow.h.

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

vtkWin32OpenGLRenderWindow* vtkMFCWindow::pvtkWin32OpenGLRW
protected

the vtk window

Definition at line 77 of file vtkMFCWindow.h.


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