mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-19 13:40:49 +03:00
0024133: Development of improvement of dimensions implementation; new length, radius,diameter and angle dimensions.
Some corrections; test cases were added; coding standards in MFC samples & presentations Request stencil buffer for Linux. correct test cases; correct compilation errors compilation warnings (gcc/Linux)
This commit is contained in:
30
samples/mfc/standard/Common/LengthParamsEdgesPage.h
Normal file
30
samples/mfc/standard/Common/LengthParamsEdgesPage.h
Normal file
@@ -0,0 +1,30 @@
|
||||
#pragma once
|
||||
|
||||
#include "res\OCC_Resource.h"
|
||||
|
||||
// CLenghtParamsEdgesPage dialog
|
||||
|
||||
class CLengthParamsEdgesPage : public CDialog
|
||||
{
|
||||
private:
|
||||
Handle(AIS_InteractiveContext) myAISContext;
|
||||
bool myIsAngleDimension;
|
||||
TopoDS_Edge myFirstEdge;
|
||||
TopoDS_Edge mySecondEdge;
|
||||
public:
|
||||
CLengthParamsEdgesPage (Handle(AIS_InteractiveContext) theAISContext,
|
||||
bool isAngleDimension = false,
|
||||
CWnd* pParent = NULL); // standard constructor
|
||||
virtual ~CLengthParamsEdgesPage();
|
||||
|
||||
// Dialog Data
|
||||
enum { IDD = IDD_LengthParamsEdgesPage };
|
||||
|
||||
protected:
|
||||
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
||||
|
||||
DECLARE_MESSAGE_MAP()
|
||||
public:
|
||||
afx_msg void OnBnClickedEdge1Btn();
|
||||
afx_msg void OnBnClickedEdge2Btn();
|
||||
};
|
Reference in New Issue
Block a user