ToolpathViewer Class Reference

#include <ToolpathViewer.h>

List of all members.

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


Constructor & Destructor Documentation

ToolpathViewer::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::~ToolpathViewer (   )  [virtual]
 


Member Function Documentation

void ToolpathViewer::buildDisplayList (   )  [protected]
 

void ToolpathViewer::computeBoundingBox (   )  [protected]
 

void ToolpathViewer::getCurveInfo (  std::string *  pCurveInfo  )  [protected]
 

void ToolpathViewer::initGL (   )  [protected]
 

void ToolpathViewer::oglCreate (  CRect  rect,
CWnd *  pParent
) 
 

afx_msg int ToolpathViewer::OnCreate (  LPCREATESTRUCT  lpCreateStruct  ) 
 

virtual BOOL ToolpathViewer::OnEraseBkgnd (  CDC *  pDC  )  [protected, virtual]
 

afx_msg void ToolpathViewer::OnLButtonDown (  UINT  nFlags,
CPoint  point
)  [protected]
 

afx_msg void ToolpathViewer::OnLButtonUp (  UINT  nFlags,
CPoint  point
)  [protected]
 

afx_msg void ToolpathViewer::OnMButtonDown (  UINT  nFlags,
CPoint  point
)  [protected]
 

afx_msg void ToolpathViewer::OnMButtonUp (  UINT  nFlags,
CPoint  point
)  [protected]
 

afx_msg void ToolpathViewer::OnMouseMove (  UINT  nFlags,
CPoint  point
)  [protected]
 

BOOL ToolpathViewer::OnMouseWheel (  UINT  nFlags,
short  zDelta,
CPoint  point
) 
 

afx_msg void ToolpathViewer::OnPaint (   )  [protected]
 

afx_msg void ToolpathViewer::OnRButtonDown (  UINT  nFlags,
CPoint  point
)  [protected]
 

afx_msg void ToolpathViewer::OnRButtonUp (  UINT  nFlags,
CPoint  point
)  [protected]
 

virtual void ToolpathViewer::OnSize (  UINT  nType,
int  cx,
int  cy
)  [virtual]
 

void ToolpathViewer::renderScene (   )  [protected]
 

void ToolpathViewer::reset (   ) 
 

void ToolpathViewer::selectLastRecord (   ) 
 

void ToolpathViewer::setInitialTransformation (   )  [protected]
 

void ToolpathViewer::setSelPoint (  CPoint  point  )  [protected]
 


Member Data Documentation

double ToolpathViewer::m_deltaZ [protected]
 

BOOL ToolpathViewer::m_leftButtonDown [protected]
 

CPoint ToolpathViewer::m_leftDownPos [protected]
 

std::vector<geom::CurvePtr2d> ToolpathViewer::m_materialBoundaries [protected]
 

BOOL ToolpathViewer::m_middleButtonDown [protected]
 

CPoint ToolpathViewer::m_middleDownPos [protected]
 

int ToolpathViewer::m_numberOfCuts [protected]
 

std::vector<geom::CurvePtr2d> ToolpathViewer::m_partBoundaries [protected]
 

CWnd* ToolpathViewer::m_pParent [protected]
 

boost::shared_ptr<exchange::ToolpathRecords> ToolpathViewer::m_pRecords [protected]
 

double ToolpathViewer::m_rapidZ [protected]
 

BOOL ToolpathViewer::m_rightButtonDown [protected]
 

CPoint ToolpathViewer::m_rightDownPos [protected]
 

double ToolpathViewer::m_topZ [protected]
 

ViewerGLData ToolpathViewer::m_viewerGLData
 


The documentation for this class was generated from the following file:
Generated on Tue Jan 29 21:37:57 2008 for VoluMill Universal Client by  doxygen 1.4.6