0027756: Visualization - add Draw() method taking Graphic3d_Group to tools Prs3d_Arro...
[occt.git] / samples / mfc / standard / 04_Viewer3d / src / ZClippingDlg.h
CommitLineData
7fd59977 1#if !defined(AFX_ZCLIPPINGDLG_H__B8439A01_61FB_11D3_8D0A_00AA00D10994__INCLUDED_)
2#define AFX_ZCLIPPINGDLG_H__B8439A01_61FB_11D3_8D0A_00AA00D10994__INCLUDED_
3
4#if _MSC_VER >= 1000
5#pragma once
6#endif // _MSC_VER >= 1000
7// ZClippingDlg.h : header file
8//
9
10/////////////////////////////////////////////////////////////////////////////
11// ZClippingDlg dialog
12
13class ZClippingDlg : public CDialog
14{
15// Construction
16public:
92efcf78 17 ZClippingDlg(Handle(V3d_View) Current_V3d_View, CViewer3dDoc* pDoc, CWnd* pParent = NULL); // standard constructor
7fd59977 18
19// Dialog Data
20 //{{AFX_DATA(ZClippingDlg)
21 enum { IDD = IDD_ZCLIPPING };
22 CSliderCtrl m_ZClippingWidthSlidCtrl;
23 CSliderCtrl m_ZClippingDepthSlidCtrl;
24 CComboBox m_ZClippingTypeList;
25 double m_ZClippingDepth;
26 double m_ZClippingWidth;
27 //}}AFX_DATA
28
29
30// Overrides
31 // ClassWizard generated virtual function overrides
32 //{{AFX_VIRTUAL(ZClippingDlg)
33 protected:
34 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
35 //}}AFX_VIRTUAL
36
37// Implementation
38protected:
39
40 // Generated message map functions
41 //{{AFX_MSG(ZClippingDlg)
42 afx_msg void OnChangeEditZclippingdepth();
43 afx_msg void OnChangeEditZclippingwidth();
44 afx_msg void OnSelchangeComboZclippingtype();
45 virtual BOOL OnInitDialog();
46 afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
47 //}}AFX_MSG
48 DECLARE_MESSAGE_MAP()
49
50private:
51
52 Handle(V3d_View) myCurrent_V3d_View;
53 CViewer3dDoc* myDoc;
54};
55
56
57//{{AFX_INSERT_LOCATION}}
58// Microsoft Developer Studio will insert additional declarations immediately before the previous line.
59
60#endif // !defined(AFX_ZCLIPPINGDLG_H__B8439A01_61FB_11D3_8D0A_00AA00D10994__INCLUDED_)