1 ///////////////////////////////////////////////////////////////////////////////
2 // OCC_StereoConfigDlg.h : header file
3 ///////////////////////////////////////////////////////////////////////////////
5 #ifndef OCC_StereoConfigDlg_Header
6 #define OCC_StereoConfigDlg_Header
10 #endif // _MSC_VER >= 1000
12 #include "res\OCC_Resource.h"
13 #include <V3d_View.hxx>
15 // Dialog to dynamically configure 3D Viewer stereo
16 // projection properties.
17 class Standard_EXPORT OCC_StereoConfigDlg : public CDialog
21 OCC_StereoConfigDlg (CWnd* theParent = NULL)
22 : CDialog (IDD_DIALOG_STEREO, theParent) {}
24 void SetView (const Handle(V3d_View)& theView);
28 virtual void DoDataExchange (CDataExchange* theDX);
35 afx_msg void OnCheckFocus();
36 afx_msg void OnCheckIOD();
37 afx_msg void OnChangeFocus();
38 afx_msg void OnChangeIOD();
39 afx_msg void OnSpinFocus (NMHDR* theNMHDR, LRESULT* theResult);
40 afx_msg void OnSpinIOD (NMHDR* theNMHDR, LRESULT* theResult);
41 afx_msg void OnHScroll(UINT theSBCode, UINT thePos, CScrollBar* theScrollBar);
48 Standard_Real myFocus;
49 Standard_Integer mySliderFocus;
50 Standard_Boolean myIsRelativeIOD;
51 Standard_Boolean myIsRelativeFocus;
52 Handle(V3d_View) myView;