Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
9089253afThis file is pinned to the selected release. Download the original to open it in your design tool.
// GearsDoc.h : interface of the CGearsDoc class
//
#pragma once
class CGearsDoc : public CADDoc
{
protected:
CGearsDoc( );
DECLARE_DYNCREATE( CGearsDoc )
//sp_layer_set_type layers;
// DrawingObect drawobj;
bool bAnimate;
//experimental, not used yet
// gc_process gc;
std::string gear_info;
DrawingObect export_drawobj;
//void gear( );
void test( );
void test( pgear_params_t pg );
virtual DrawingObect& GetExportDrawObject( );
void gear_org( );
public:
DrawingObect& GetDrawingObjects( ) { return drawobj; }
const std::string& GetInfoStr( ) const { return gear_info; }
// const sp_layer_set_type& GetLayers( ) const { return layers; }
public:
virtual ~CGearsDoc( );
virtual BOOL OnNewDocument( );
virtual void Serialize( CArchive& ar );
virtual BOOL OnSaveDocument(LPCTSTR lpszPathName);
virtual BOOL OnCmdMsg(UINT nID, int nCode, void* pExtra, AFX_CMDHANDLERINFO* pHandlerInfo);
#ifdef SHARED_HANDLERS
virtual void InitializeSearchContent( );
virtual void OnDrawThumbnail( CDC& dc, LPRECT lprcBounds );
protected:
void SetSearchContent( const CString& value );
#endif // SHARED_HANDLERS
public:
#ifdef _DEBUG
virtual void AssertValid( ) const;
virtual void Dump( CDumpContext& dc ) const;
#endif
protected:
DECLARE_MESSAGE_MAP( )
afx_msg void OnFileExport( );
afx_msg LRESULT OnLayerEnable( WPARAM, LPARAM );
afx_msg void OnFileGCode( );
afx_msg void OnToolsAnimate( );
afx_msg void OnUpdateToolsAnimate( CCmdUI *pCmdUI );
afx_msg void OnTimer( UINT nIDEvent );
};