1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00
occt/samples/mfc/standard/Common/ParamsFacesPage.h
aba 60bf98ae02 0024425: Improve usage ergonomics of new dimension presentations
- Added format for value string.
- Construction and validness.
- Revise modification of properties and update of presentations.
- Units moved to Drawer; code revisions.
- Length and angle initialization was changed. Type of geometry filed was added to AIS_Dimension.
- Method for test case bugs/vis/buc60915 was corrected. Description of the dimension classes was corrected.
- Fixed initialization of angle and length.
2013-12-12 19:36:55 +04:00

32 lines
770 B
C++

#pragma once
#include "res\OCC_Resource.h"
// CParamsFacesPage dialog
class CParamsFacesPage : public CDialog
{
DECLARE_DYNAMIC(CParamsFacesPage)
private:
Handle(AIS_InteractiveContext) myAISContext;
bool myIsAngleDimension;
TopoDS_Face myFirstFace;
TopoDS_Face mySecondFace;
public:
CParamsFacesPage (Handle(AIS_InteractiveContext) theAISContext,
bool isAngleDimension = false,
CWnd* pParent = NULL); // standard constructor
virtual ~CParamsFacesPage();
// Dialog Data
enum { IDD = IDD_ParamsFacesPage };
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
DECLARE_MESSAGE_MAP()
public:
afx_msg void OnBnClickedFacesbtn1();
afx_msg void OnBnClickedFacesbtn2();
};