presetwindowing.h

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

H
43
字号
#ifndef __PRESETWINDOWING_H__#define __PRESETWINDOWING_H__typedef struct{	TCHAR		strTitle[20];	int			iLevel;	int			iWidth;	int			iHotKey;} _PRESET_WINDOWING, *_PRESET_WINDOWING_PTR;class RxPresetWindowing{protected:	UINT			m_nModality;			// 0 : MR, 1 : CT	CString			m_strFileName;	CPtrArray		m_ArrayWindowing;public:	RxPresetWindowing();	virtual					~RxPresetWindowing			();	void					CreatePresetWindowingFile	(UINT nModality);	void					ReadPresetWindowingFile		(UINT nModality, LPCTSTR lpszFileName);	void					WritePresetWindowingFile	();	void					SetModality				(UINT nModality)	{	m_nModality = nModality;	}	UINT					GetModality				()					{	return m_nModality;			}	int						AddPresetWindowing			(_PRESET_WINDOWING_PTR stpPresetWindowing);	int						AddPresetWindowing			(LPCTSTR lpszTitle, int iLevel, int iWidth, int iHotKey);	_PRESET_WINDOWING_PTR	GetPresetWindowing			(UINT nIndex);	int						GetPresetWindowingByHotKey	(int iHotKey);	int						GetPresetWindowingCount		();	void					RemovePresetWindowing		(UINT nIndex);	void					RemoveAllPresetWindowing	();	void					ShowPresetWindowDialog		(int iLevel, int iWidth);};#endif  __PRESETWINDOWING_H__

⌨️ 快捷键说明

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