⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 imageprocess.h

📁 CT工作站具有打印报告、病历管理、图像处理专家词库等功能
💻 H
字号:
#if !defined(AFX_IMAGEPROCESS_H__8EEC95A2_5CC1_11D4_9FD5_5254ABDD2B16__INCLUDED_)
#define AFX_IMAGEPROCESS_H__8EEC95A2_5CC1_11D4_9FD5_5254ABDD2B16__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ImageProcess.h : header file
//
#include "pic.h"
#include "mt.h"

/////////////////////////////////////////////////////////////////////////////
// ImageProcess dialog

struct POINT_LIST
{
	CPoint p;
	POINT_LIST *next,*last;
};

class ImageProcess : public CDialog
{
// Construction
public:
	float GetAngle();
	ImageProcess(char *ipath,CWnd* pParent = NULL);   // standard constructor
	CStatic	ff[10];
	CString	m_msg;
	CRect	rw;
	int		fw,fh;
	void	HideAllFrame();

	CPic	*cp,*mpp[100];
	int		imgNum,TopPicNum,curPicNum;
	int		mouseAction;
	CString	path;
	CPoint	oldPoint;
	void	refresh(char *newpath = NULL);
	int		stretch;
	void	SetVs();
	void	DrawImg();

	double	m_width,m_height;
	int		top,left;
	bool	SelectNone();
	bool	m_hilight;
	item	*m_selitem,*m_selmeasitem;
	bool	ReDrawItem();
	item	*m_itemhead;
	bool	GetArrow(CPoint start,CPoint end,CPoint &pa,CPoint &pb);
	CPoint m_pointa,m_pointb,m_start,m_end,m_start2;
	double	m_len;
	double	m_x0,m_y0,m_x1,m_y1;
	bool	m_mousedown;
	int		m_action;
	float	m_d1,m_d2;
	CString	m_unit;
	CPoint	m_anglep0,m_anglep1,m_anglep2,m_anglep3;
	CPoint	m_firstpoint;
	POINT_LIST *plh,*m_cp,*node2;
	float	m_chaos_area;

	MT		*mark;
	MEAS	*meas;
// Dialog Data
	//{{AFX_DATA(ImageProcess)
	enum { IDD = IDD_IMGPROCESS };
//	CStatic	m_fcur;
	CScrollBar	m_vs;
	CStatic	m_frame;
	CString	m_curPic;
	//}}AFX_DATA
	void OnOK( ){};
	virtual void OnCancel( ){;}; 


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(ImageProcess)
	public:
	virtual BOOL DestroyWindow();
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL
	afx_msg void SetDisp(WPARAM wParm,LPARAM lParm);
	afx_msg void DispPrc(WPARAM wParm,LPARAM lParm);
	afx_msg void DispMeasure(WPARAM wParm,LPARAM lParm);
	afx_msg void DispMark(WPARAM wParm,LPARAM lParm);
	afx_msg void DispZoom(WPARAM wParm,LPARAM lParm);
	afx_msg void DispStretch(WPARAM wParm,LPARAM lParm);
	afx_msg void ChgPlatte(WPARAM wParm,LPARAM lParm);
	afx_msg void ChgConBri(WPARAM wParm,LPARAM lParm);
	afx_msg void ChgGryWin(WPARAM wParm,LPARAM lParm);

	//afx_msg void DispZoom(WPARAM wParm,LPARAM lParm);
	//afx_msg void DispStretch(WPARAM wParm,LPARAM lParm);
	
	int DispStyle;//1 one,4-four,6-six,9-nine,2-Tile_V,3-Tile_H
// Implementation
protected:
	// Generated message map functions
	//{{AFX_MSG(ImageProcess)
	virtual BOOL OnInitDialog();
	afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
	afx_msg void OnMouseMove(UINT nFlags, CPoint point);
	afx_msg void OnPaint();
	afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
	afx_msg void OnChangeCurpic();
	afx_msg void OnTimer(UINT nIDEvent);
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_IMAGEPROCESS_H__8EEC95A2_5CC1_11D4_9FD5_5254ABDD2B16__INCLUDED_)

⌨️ 快捷键说明

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