|
// ECG_DRAW.h: interface for the ECG_DRAW class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_ECG_DRAW_H__3400DA62_9119_11D7_8A9A_F26D4DCAD47A__INCLUDED_)
#define AFX_ECG_DRAW_H__3400DA62_9119_11D7_8A9A_F26D4DCAD47A__INCLUDED_
#include "Person.h" // Added by ClassView
#include "ECG_Info.h" // Added by ClassView
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class AFX_EXT_CLASS ECG_DRAW
{
public:
void SetEcgInfo(CString info);
void PrintBMP(CPerson* lpperson);
void SaveBMP();
void SetArr(double* srcECG,double *srcQRS,int lenght);
void SetEcgDrawRect(CDC* pDC,CRect rDrawRect,int from,int to);
ECG_DRAW();
virtual ~ECG_DRAW();
private:
int DrawPersonalInfo(CDC *pDC, int x, int y,CPerson* lpperson);
CPerson person;
int i_to;
int i_from;
void DrawFromTo(CDC* pDC,int d);
void DrawQRS(CDC* pDC,int d);
void DrawText(CDC* pDC,int d);
CString s_BmpInfo;
void DrawEcg(CDC* pDC,CRect rRect,int d);
void DrawGrid(CDC* pDC,CRect rRect,int d,COLORREF color);
float ECG[2500];
float QRS[2500];
void Draw();
CRect m_rDrawRect;
CDC* DC;
};
#endif // !defined(AFX_ECG_DRAW_H__3400DA62_9119_11D7_8A9A_F26D4DCAD47A__INCLUDED_)
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.
A list of licenses authors might use can be found here