frametuning.h

来自「3D reconstruction, medical image process」· C头文件 代码 · 共 114 行

H
114
字号
#if !defined(AFX_FRAMETUNING_H__53B3ABC4_C0FF_4744_9EDE_54597765D829__INCLUDED_)#define AFX_FRAMETUNING_H__53B3ABC4_C0FF_4744_9EDE_54597765D829__INCLUDED_#if _MSC_VER > 1000#pragma once#endif // _MSC_VER > 1000// FrameTuning.h : header file///////////////////////////////////////////////////////////////////////////////// RxFrameTuning window#include "FrameWnd.h"class RxHistogram;class RxPresetOTF;class RxBitmapStatic;class RxEditInt;class RxEditFloat;class RxBitmapButton;class RxFrameTuning : public RxFrameWnd{// Constructionpublic:	RxFrameTuning();// Attributespublic:	CFont				m_Font;	RxHistogram			*m_pHistogramWnd[2];	RxBitmapStatic		*m_pStcThreshold4;	RxEditInt			*m_pEdThreshold1;	RxEditInt			*m_pEdThreshold2;	RxEditInt			*m_pEdThreshold3;	RxEditInt			*m_pEdThreshold4;	RxBitmapButton		*m_pBtnThreshold;	CComboBox			*m_pCBPresetOTF;	RxPresetOTF			*m_pPresetOTF;	RxBitmapStatic		*m_pStcOTF;	RxBitmapButton		*m_pBtnAddOTF;	RxBitmapButton		*m_pBtnROI;	RxBitmapButton		*m_pBtnDelOTF;	RxBitmapStatic		*m_pStcOpacity;	RxEditFloat			*m_pEdOpacity;	CSpinButtonCtrl		*m_pSBCOpacity;// Operationspublic:	void			RecalcLayout		();	void			OnOpenDicom			();	void			OnChangedSeries		(int nSeries);	void			InitOTFComboBox		();	void			UpdateThreshold		(int nSeries = -1);	void			UpdateVRWnd			(int nSeries = -1);	void			AddOTFPolygon		(int nSeries = -1);	void			DelOTFPolygon		(int nSeries = -1);	void*			GetSpectrumMPR		(int nSeries);	void*			GetSpectrum			(int nSeries);	void			SetWindowing		(int nSeries, int nLevel, int nWidth);	void			SetWindowingLevel	(int nSeries, int nLevel);	void			SetWindowingWidth	(int nSeries, int nWidth);	void			SetWindowingVisible	(int nSeries, BOOL bShow);	void			GetWindowing		(int nSeries, int &nLevel, int &nWidth);	BYTE*			GetWindowingTable	(int nSeries);// Overrides	// ClassWizard generated virtual function overrides	//{{AFX_VIRTUAL(RxFrameTuning)	protected:	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);	//}}AFX_VIRTUAL// Implementationpublic:	virtual ~RxFrameTuning();	virtual void OnSwitchToMainMenu(BOOL bActive, int nOldMainMenuID, int nCurMainMenuID);	// Generated message map functionsprotected:	//{{AFX_MSG(RxFrameTuning)	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);	afx_msg void OnPaint();	afx_msg void OnDestroy();	//}}AFX_MSG	afx_msg void OnInitialUpdate();	afx_msg void OnOTFPosChanged(NMHDR* pNMHDR, LRESULT* pResult);	afx_msg void OnOTFActiveChanged(NMHDR* pNMHDR, LRESULT* pResult);	afx_msg void OnOTFColorChanged(NMHDR* pNMHDR, LRESULT* pResult);	afx_msg void OnDeltaposSpinOpacity(NMHDR* pNMHDR, LRESULT* pResult);	afx_msg void OnOTFEditChanged(NMHDR* pNMHDR, LRESULT* pResult);	afx_msg void OnOpacityEditChanged(NMHDR* pNMHDR, LRESULT* pResult);	afx_msg void OnBtnThreshold();	afx_msg void OnBtnAddOTF();	afx_msg void OnBtnDelOTF();	DECLARE_MESSAGE_MAP()};///////////////////////////////////////////////////////////////////////////////{{AFX_INSERT_LOCATION}}// Microsoft Visual C++ will insert additional declarations immediately before the previous line.#endif // !defined(AFX_FRAMETUNING_H__53B3ABC4_C0FF_4744_9EDE_54597765D829__INCLUDED_)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?