|
#include <ChildView.h>
Collaboration diagram for CChildView:
Public Methods | |
CChildView () | |
Constructor. | |
bool | openFile (const char *filename) |
Attempt to open a file. | |
void | Draw () |
virtual | ~CChildView () |
Public Attributes | |
Scanner | m_scanner |
This object reconstructs shapes from the images that we give it. | |
HGLRC | m_hglrc |
OpenGL rendering context, used with wglMakeCurrent(). | |
CPoint | m_oldMousePos |
Old mouse position (used for rotation). | |
CPoint | m_newMousePos |
New mouse position (used for rotation). | |
bool | m_bMouseDown |
Whether the left-mouse-button is down (used for rotation). | |
bool | m_bShowSmooth |
Whether to show a smooth, polygonized object (rather than a cubical voxel one). | |
bool | m_bFileLoaded |
Whether we've loaded any files yet. | |
CString | stringToDraw |
Protected Methods | |
virtual BOOL | PreCreateWindow (CREATESTRUCT &cs) |
afx_msg void | OnPaint () |
Our drawing callback. | |
afx_msg void | OnUpdateFileOpen (CCmdUI *pCmdUI) |
afx_msg void | OnFileOpen () |
afx_msg void | OnSize (UINT nType, int cx, int cy) |
afx_msg BOOL | OnEraseBkgnd (CDC *pDC) |
Overridden to eliminate flickering. | |
afx_msg void | OnLButtonDown (UINT nFlags, CPoint point) |
afx_msg void | OnLButtonUp (UINT nFlags, CPoint point) |
afx_msg void | OnMouseMove (UINT nFlags, CPoint point) |
afx_msg void | OnSnapshotButton () |
afx_msg void | OnSelchangeVoxelsmoothCombo () |
Callback for our smooth/voxel combobox. |
Definition at line 18 of file ChildView.h.