Menu

[r124]: / MCELevelControlSecondary.h  Maximize  Restore  History

Download this file

109 lines (98 with data), 3.3 kB

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
#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_)