00001
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
00048 public:
00049
00051 bool openFile(const char *filename);
00052
00053 void Draw();
00054
00055
00056
00057 protected:
00058 virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
00059
00060
00061
00062 public:
00063 virtual ~CChildView();
00064
00065
00066 protected:
00067
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
00079 DECLARE_MESSAGE_MAP()
00080 };
00081
00083
00084
00085
00086