ChildView.h

00001 // ChildView.h : interface of the CChildView class
00002 //
00004 
00005 
00006 
00007 
00008 #pragma once
00009 
00010 #include "../common/standard.h"
00011 #include "../ScannerSupport/Scanner.h"
00012 
00013 
00014 
00018 class CChildView : public CWnd
00019 {
00020 public:
00022     CChildView();
00023 
00025     Scanner m_scanner;
00026 
00028     HGLRC m_hglrc;
00029 
00031     CPoint m_oldMousePos;
00032 
00034     CPoint m_newMousePos;
00035 
00037     bool m_bMouseDown;
00038 
00040     bool m_bShowSmooth;
00041 
00043     bool m_bFileLoaded;
00044     
00045     CString stringToDraw;
00046 
00047 // Operations
00048 public:
00049 
00051     bool openFile(const char *filename);
00052 
00053     void Draw();
00054 // Overrides
00055         // ClassWizard generated virtual function overrides
00056         //{{AFX_VIRTUAL(CChildView)
00057         protected:
00058         virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
00059         //}}AFX_VIRTUAL
00060 
00061 // Implementation
00062 public:
00063         virtual ~CChildView();
00064 
00065         // Generated message map functions
00066 protected:
00067         //{{AFX_MSG(CChildView)
00068         afx_msg void OnPaint();
00069         afx_msg void OnUpdateFileOpen(CCmdUI* pCmdUI);
00070         afx_msg void OnFileOpen();
00071         afx_msg void OnSize(UINT nType, int cx, int cy);
00072         afx_msg BOOL OnEraseBkgnd(CDC* pDC);
00073         afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
00074         afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
00075         afx_msg void OnMouseMove(UINT nFlags, CPoint point);
00076         afx_msg void OnSnapshotButton();
00077         afx_msg void OnSelchangeVoxelsmoothCombo();
00078         //}}AFX_MSG
00079         DECLARE_MESSAGE_MAP()
00080 };
00081 
00083 
00084 //{{AFX_INSERT_LOCATION}}
00085 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
00086 

Generated on Tue May 21 03:34:51 2002 for Archimedes by doxygen1.2.15