|
Public Member Functions |
| | ToolpathViewer (const std::vector< geom::CurvePtr2d > &partBoundaries, const std::vector< geom::CurvePtr2d > &materialBoundaries, boost::shared_ptr< exchange::ToolpathRecords > pRecords, double topZ, double rapidZ, double deltaZ, int numberOfCuts, CWnd *pParent=NULL) |
| virtual | ~ToolpathViewer () |
| void | oglCreate (CRect rect, CWnd *pParent) |
| void | reset () |
| void | selectLastRecord () |
| BOOL | OnMouseWheel (UINT nFlags, short zDelta, CPoint point) |
| afx_msg int | OnCreate (LPCREATESTRUCT lpCreateStruct) |
| virtual void | OnSize (UINT nType, int cx, int cy) |
Public Attributes |
| ViewerGLData | m_viewerGLData |
Protected Member Functions |
| void | initGL () |
| void | computeBoundingBox () |
| void | buildDisplayList () |
| void | setInitialTransformation () |
| void | renderScene () |
| void | setSelPoint (CPoint point) |
| void | getCurveInfo (std::string *pCurveInfo) |
| virtual BOOL | OnEraseBkgnd (CDC *pDC) |
| afx_msg void | OnLButtonDown (UINT nFlags, CPoint point) |
| afx_msg void | OnLButtonUp (UINT nFlags, CPoint point) |
| afx_msg void | OnRButtonDown (UINT nFlags, CPoint point) |
| afx_msg void | OnRButtonUp (UINT nFlags, CPoint point) |
| afx_msg void | OnMButtonDown (UINT nFlags, CPoint point) |
| afx_msg void | OnMButtonUp (UINT nFlags, CPoint point) |
| afx_msg void | OnMouseMove (UINT nFlags, CPoint point) |
| afx_msg void | OnPaint () |
Protected Attributes |
| CWnd * | m_pParent |
| boost::shared_ptr< exchange::ToolpathRecords > | m_pRecords |
| std::vector< geom::CurvePtr2d > | m_partBoundaries |
| std::vector< geom::CurvePtr2d > | m_materialBoundaries |
| double | m_topZ |
| double | m_rapidZ |
| double | m_deltaZ |
| int | m_numberOfCuts |
| BOOL | m_leftButtonDown |
| BOOL | m_rightButtonDown |
| BOOL | m_middleButtonDown |
| CPoint | m_leftDownPos |
| CPoint | m_rightDownPos |
| CPoint | m_middleDownPos |