mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-29 14:00: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:
29
samples/mfc/standard/Common/LengthParamsVerticesPage.h
Normal file
29
samples/mfc/standard/Common/LengthParamsVerticesPage.h
Normal file
@@ -0,0 +1,29 @@
|
||||
#pragma once
|
||||
|
||||
#include "res\OCC_Resource.h"
|
||||
|
||||
// CLengthParamsVerticesPage dialog
|
||||
|
||||
class CLengthParamsVerticesPage : public CDialog
|
||||
{
|
||||
DECLARE_DYNAMIC(CLengthParamsVerticesPage)
|
||||
|
||||
public:
|
||||
CLengthParamsVerticesPage(Handle(AIS_InteractiveContext) theAISContext,CWnd* pParent = NULL); // standard constructor
|
||||
virtual ~CLengthParamsVerticesPage();
|
||||
const TopoDS_Vertex& getFirstVertex() const;
|
||||
const TopoDS_Vertex& getSecondVertex() const;
|
||||
// Dialog Data
|
||||
enum { IDD = IDD_LengthParamsVerticesPage };
|
||||
private:
|
||||
Handle(AIS_InteractiveContext) myAISContext;
|
||||
TopoDS_Vertex myFirstVertex;
|
||||
TopoDS_Vertex mySecondVertex;
|
||||
protected:
|
||||
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
||||
|
||||
DECLARE_MESSAGE_MAP()
|
||||
public:
|
||||
afx_msg void OnBnClickedVertex1Btn();
|
||||
afx_msg void OnBnClickedVertex2Btn();
|
||||
};
|
Reference in New Issue
Block a user