mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +03:00
Integration of OCCT 6.5.0 from SVN
This commit is contained in:
69
samples/mfc/standard/Common/Resource2D/CircularGrid.h
Executable file
69
samples/mfc/standard/Common/Resource2D/CircularGrid.h
Executable file
@@ -0,0 +1,69 @@
|
||||
// CircularGrid.h : header file
|
||||
//
|
||||
|
||||
#if !defined(AFX_CIRCULARGRID_H__338883C5_510A_11D1_A4A8_00C04FB15CA3__INCLUDED_)
|
||||
#define AFX_CIRCULARGRID_H__338883C5_510A_11D1_A4A8_00C04FB15CA3__INCLUDED_
|
||||
|
||||
#if _MSC_VER >= 1000
|
||||
#pragma once
|
||||
#endif // _MSC_VER >= 1000
|
||||
|
||||
#include <res\\OCC_Resource.h>
|
||||
#include <Standard_Macro.hxx>
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// CCircularGrid dialog
|
||||
|
||||
class Standard_EXPORT CCircularGrid : public CDialog
|
||||
{
|
||||
// Construction
|
||||
public:
|
||||
CCircularGrid(CWnd* pParent = NULL); // standard constructor
|
||||
void SetViewer(Handle(V2d_Viewer) aViewer) { myViewer = aViewer; } ;
|
||||
void UpdateValues();
|
||||
// Dialog Data
|
||||
//{{AFX_DATA(CCircularGrid)
|
||||
enum { IDD = IDD_GrilleCirculaire };
|
||||
double m_RotationAngle;
|
||||
double m_XOrigin;
|
||||
double m_YOrigin;
|
||||
double m_RadiusStep;
|
||||
int m_DivisionNumber;
|
||||
//}}AFX_DATA
|
||||
|
||||
|
||||
// Overrides
|
||||
// ClassWizard generated virtual function overrides
|
||||
//{{AFX_VIRTUAL(CCircularGrid)
|
||||
protected:
|
||||
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
||||
//}}AFX_VIRTUAL
|
||||
|
||||
// Implementation
|
||||
protected:
|
||||
|
||||
// Generated message map functions
|
||||
//{{AFX_MSG(CCircularGrid)
|
||||
virtual void OnCancel();
|
||||
afx_msg void OnUpdateCircGridDivNumber();
|
||||
afx_msg void OnUpdateCircGridRotationAngle();
|
||||
afx_msg void OnUpdateCircGridXOrigin();
|
||||
afx_msg void OnUpdateCircGridYorigin();
|
||||
afx_msg void OnUpdateCirctGridRadiusStep();
|
||||
//}}AFX_MSG
|
||||
DECLARE_MESSAGE_MAP()
|
||||
void UpdateDialogData();
|
||||
|
||||
private :
|
||||
Handle(V2d_Viewer) myViewer;
|
||||
|
||||
Quantity_Length SavedXOrigin,SavedYOrigin,SavedRadiusStep;
|
||||
Standard_Integer SavedDivisionNumber;
|
||||
Quantity_PlaneAngle SavedRotationAngle ;
|
||||
|
||||
};
|
||||
|
||||
//{{AFX_INSERT_LOCATION}}
|
||||
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.
|
||||
|
||||
#endif // !defined(AFX_CIRCULARGRID_H__338883C5_510A_11D1_A4A8_00C04FB15CA3__INCLUDED_)
|
Reference in New Issue
Block a user