#if !defined(AFX_MCELEVELCONTROLSECONDARY_H__A501B46B_A358_47C4_9066_D8A4C47CE29B__INCLUDED_)
#define AFX_MCELEVELCONTROLSECONDARY_H__A501B46B_A358_47C4_9066_D8A4C47CE29B__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// MCELevelControlSecondary.h : header file
//
#include "MapSetting2D.h"
#include "TrajectoriesSetting.h"
/////////////////////////////////////////////////////////////////////////////
// CMCELevelControlSecondary dialog
#define WM_EXIT_LC_SEC WM_USER + 7
#define WM_APPLY_LC_CHANGES_SEC WM_USER + 8
class CMCELevelControlSecondary : public CDialog
{
// Construction
public:
CMCELevelControlSecondary(CView *pView);
BOOL Create();
float m_fMapMinimum;
float m_fMapMaximum;
float m_fMapMean;
float m_fMapSigma;
CMCELevelControlSecondary(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CMCELevelControlSecondary)
enum { IDD = IDD_LEVEL_CONTROL_SECONDARY };
int m_nDropList2DMapDirection;
int m_nDropList2DMapStyle;
CSpinButtonCtrl m_wndSpin_2D_Level;
int m_nLayer1Scroll;
float m_fLayer1Value;
int m_nLayer2Scroll;
float m_fLayer2Value;
BOOL m_bLayer2Visible;
int m_nLayer3Scroll;
float m_fLayer3Value;
MyRGB m_mshCol1;
MyRGB m_mshCol2;
BOOL m_bLayer3Visible;
BOOL m_bLayer1Visible;
int m_n2D_map_level;
BOOL m_b2D_map_Visible;
CButton m_bSLinearSB;
CButton m_bSExponencialSB;
int m_iMapMode;
BOOL m_bReverseNormals;
float m_fMapColor[3][3];
BOOL m_bTransparentSurface;
BOOL m_map_surface;
BOOL m_bSurfaceLikeLines;
float m_fTransparency_level;
BOOL m_calculate_trajectories;
int m_traj_nb_traj;
float m_traj_starting_distance;
float m_traj_step_size;
int m_traj_col[3];
float m_traj_max_atom_dist;
int m_color_map_type;
//}}AFX_DATA
// scroll bar parameters
enum { nScrollMin = 0 };
enum { nScrollMax = 100 };
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMCELevelControlSecondary)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CMCELevelControlSecondary)
afx_msg void OnApply();
virtual void OnCancel();
afx_msg void OnClickedOk();
virtual void OnOK();
afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
virtual BOOL OnInitDialog();
afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
afx_msg void OnSlinearSb();
afx_msg void OnSexponencialSb();
afx_msg void OnContourLines();
HBRUSH OnCtlColor(CDC* pDC, CWnd *pWnd, UINT nCtlColor);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
void RefreshScrollValues();
void RefreshLevelValues();
void ApplyGraphicChanges();
CView* m_pMCEView;
public:
afx_msg void OnBnClickedButtonCustom2();
afx_msg void OnBnClickedButtonCustomTraj2();
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_MCELEVELCONTROLSECONDARY_H__A501B46B_A358_47C4_9066_D8A4C47CE29B__INCLUDED_)