1 #if !defined(AFX_SelectionDialog_H__0307BDF3_AF53_11D1_8DAE_0800369C8A03__INCLUDED_)
2 #define AFX_SelectionDialog_H__0307BDF3_AF53_11D1_8DAE_0800369C8A03__INCLUDED_
6 #endif // _MSC_VER >= 1000
7 // SelectionDialog.h : header file
10 #include <ISession2D/ISession2D_Shape.h>
11 #include "SelectionDialog.h"
14 /////////////////////////////////////////////////////////////////////////////
15 // CSelectionDialog dialog
17 class CSelectionDialog : public CDialog
21 void SetTitle(CString& aTitle);
22 CSelectionDialog(CHLRDoc* aDoc,CWnd* pParent = NULL); // standard constructor
23 void OnDisplay(bool isfit);
26 //{{AFX_DATA(CSelectionDialog)
27 enum { IDD = IDD_SelectionDialog };
31 BOOL m_DrawHiddenLine;
32 BOOL m_DegeneratedModeOn;
36 // ClassWizard generated virtual function overrides
37 //{{AFX_VIRTUAL(CSelectionDialog)
39 virtual void DoDataExchange(CDataExchange* pDX);
45 // Generated message map functions
46 //{{AFX_MSG(CSelectionDialog)
47 virtual BOOL OnInitDialog();
48 afx_msg void OnGetShape();
49 afx_msg void OnDisplayDefault();
50 afx_msg void OnVIsoParametrics();
51 afx_msg void OnVApparentContour();
52 afx_msg void OnVSewingEdges();
53 afx_msg void OnVsharpEdges();
54 afx_msg void OnVsmoothEdges();
55 afx_msg void OnHsharpEdges();
56 afx_msg void OnHsmoothEdges();
57 afx_msg void OnHSewingEdges();
58 afx_msg void OnHIsoParametrics();
59 afx_msg void OnHApparentContour();
60 afx_msg void OnChangeEDITNBIsos();
61 afx_msg void OnAlgo();
62 afx_msg void OnPolyAlgo();
63 afx_msg void OnUpdate2D();
64 afx_msg void OnTopView();
65 afx_msg void OnBottomView();
66 afx_msg void OnLeftView();
67 afx_msg void OnRightView();
68 afx_msg void OnFrontView();
69 afx_msg void OnBackView();
70 afx_msg void OnAxoView();
72 afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
73 afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
74 afx_msg void OnRButtonDown(UINT nFlags, CPoint point);
75 afx_msg void OnRButtonUp(UINT nFlags, CPoint point);
76 afx_msg void OnMouseMove(UINT nFlags, CPoint point);
77 afx_msg void OnDrawHiddenLine();
78 afx_msg void OnDegeneratedMode();
79 afx_msg void OnPaint();
83 void UpdateProjector();
84 void ShowHideButton(Standard_Boolean EnableButton=Standard_True;);
88 Handle(V3d_Viewer) myActiveViewer;
89 Handle(V3d_View) myActiveView;
90 Standard_Integer myPosMaxX, myPosMinX ,myBoxX;
91 Standard_Integer myPosMinY, myPosMaxY ,myBoxY;
92 Standard_Integer myXmax;
93 Standard_Integer myYmax;
95 Handle(AIS_InteractiveContext) myInteractiveContext;
96 Handle(AIS_Trihedron) myTrihedron;
97 Handle(ISession2D_Shape) myDisplayableShape;
100 CBitmapButton TopView ;
101 CBitmapButton BottomView ;
102 CBitmapButton LeftView ;
103 CBitmapButton RightView ;
104 CBitmapButton FrontView ;
105 CBitmapButton BackView ;
106 CBitmapButton AxoView ;
110 //{{AFX_INSERT_LOCATION}}
111 // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
113 #endif // !defined(AFX_SelectionDialog_H__0307BDF3_AF53_11D1_8DAE_0800369C8A03__INCLUDED_)