class to display a VTK window in an MFC window  
 More...
#include <vtkMFCWindow.h>
List of all members.
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 vtkRenderWindowInteractor *  | GetInteractor () | 
|   | 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 | 
| vtkWin32OpenGLRenderWindow *  | pvtkWin32OpenGLRW | 
|   | the vtk window  
  | 
Detailed Description
class to display a VTK window in an MFC window 
Definition at line 37 of file vtkMFCWindow.h.
Constructor & Destructor Documentation
      
        
          | vtkMFCWindow::vtkMFCWindow  | 
          ( | 
          CWnd *  | 
          pcWnd | ) | 
           | 
        
      
 
constructor requires a parent 
 
 
      
        
          | virtual vtkMFCWindow::~vtkMFCWindow  | 
          ( | 
           | ) | 
           [virtual] | 
        
      
 
 
Member Function Documentation
      
        
          | void vtkMFCWindow::DrawDC  | 
          ( | 
          CDC *  | 
          pDC | ) | 
           | 
        
      
 
 
give an instance of a vtk render window to the mfc window 
 
 
      
        
          | afx_msg void vtkMFCWindow::OnSize  | 
          ( | 
          UINT  | 
          nType,  | 
        
        
           | 
           | 
          int  | 
          cx,  | 
        
        
           | 
           | 
          int  | 
          cy  | 
        
        
           | 
          ) | 
           |  [protected] | 
        
      
 
 
      
        
          | afx_msg void vtkMFCWindow::OnPaint  | 
          ( | 
           | ) | 
           [protected] | 
        
      
 
 
      
        
          | afx_msg void vtkMFCWindow::OnDestroy  | 
          ( | 
           | ) | 
           [protected] | 
        
      
 
 
      
        
          | BOOL vtkMFCWindow::OnEraseBkgnd  | 
          ( | 
          CDC *  | 
          pDC | ) | 
           [protected] | 
        
      
 
 
      
        
          | 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 documentation for this class was generated from the following file: