Integration of OCCT 6.5.0 from SVN
[occt.git] / samples / mfc / standard / 04_Viewer3d / src / ModelClippingDlg.h
1 #if !defined(AFX_MODELCLIPPINGDLG_H__E206D99D_646E_11D3_8D0A_00AA00D10994__INCLUDED_)
2 #define AFX_MODELCLIPPINGDLG_H__E206D99D_646E_11D3_8D0A_00AA00D10994__INCLUDED_
3
4 #if _MSC_VER >= 1000
5 #pragma once
6 #endif // _MSC_VER >= 1000
7 // ModelClippingDlg.h : header file
8 //
9
10 /////////////////////////////////////////////////////////////////////////////
11 // CModelClippingDlg dialog
12 #include "Viewer3dDoc.h"
13
14 class CModelClippingDlg : public CDialog
15 {
16 // Construction
17 public:
18         CModelClippingDlg(Handle(V3d_View) aView, Handle(V3d_Plane) aPlane, 
19                           Handle(AIS_Shape) aShape, CViewer3dDoc* pDoc, CWnd* pParent = NULL);   // standard constructor
20
21 // Dialog Data
22         //{{AFX_DATA(CModelClippingDlg)
23         enum { IDD = IDD_MODELCLIPPING };
24         CSliderCtrl     m_ModelClippingZSlidCtrl;
25         double  m_ModelClipping_Z;
26         BOOL    m_ModelClippingONOFF;
27         //}}AFX_DATA
28
29
30 // Overrides
31         // ClassWizard generated virtual function overrides
32         //{{AFX_VIRTUAL(CModelClippingDlg)
33         protected:
34         virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
35         //}}AFX_VIRTUAL
36
37 // Implementation
38 protected:
39
40         // Generated message map functions
41         //{{AFX_MSG(CModelClippingDlg)
42         afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
43         virtual BOOL OnInitDialog();
44         afx_msg void OnChangeEditModelclippingZ();
45         afx_msg void OnCheckModelclippingonoff();
46         virtual void OnCancel();
47         virtual void OnOK();
48         //}}AFX_MSG
49         DECLARE_MESSAGE_MAP()
50
51 private:
52         Handle_V3d_View myView;
53         Handle_AIS_Shape myShape;
54         Handle_V3d_Plane myPlane;
55         CViewer3dDoc* myDoc;
56         double  myModelClipping_Z;
57 };
58
59 //{{AFX_INSERT_LOCATION}}
60 // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
61
62 #endif // !defined(AFX_MODELCLIPPINGDLG_H__E206D99D_646E_11D3_8D0A_00AA00D10994__INCLUDED_)