www.pudn.com > roadextr.rar > extractlib.h


 
#include "valdef.h" 
#include "DefValue.h" 
 
//void	DrawExtractLinePt(dfPOINT *pptCent,		   
//				  dfPOINT *pptL, 
//				  dfPOINT *pptR, 
//			//	  dfPOINT *pptCrossPts, 
//			//	  DWORD   dwCrossPtC, 
//				  DWORD   dwPtCount, 
//				  BOOL    bErase,	 
//				  DWORD   dwInc, 
//				  int     wExtr_state, 
//				  int     beginCol,		   
//				  int     beginRow, 
//				  int     WindowHeight, 
//				  CDC*     pDC,		 
//				  BOOL	  bEndOneLine); 
 
void	DrawDigRect(digINFO	*pdigInfo, 
			   int	nDigStrC, 
			   int	nImgBeginX, 
			   int	nImgBeginY, 
			   int	nViewWinHeight,CDC *pDC); 
 
void	DrawAllCrosses(dfPOINT	*pptCross, 
			   int	nCrossPtC, 
			   int	nImgBeginX, 
			   int	nImgBeginY, 
			   int	nViewWinHeight, 
			   int	nImageHeight, 
			   CDC *pDC, 
			   float	fZoomRate); 
 
//void	DrawCrosses(CDC *pDC,int nX,int nY); 
 
void	DrawLine(CDC *pDC,int nX1,int nY1,int nX2,int nY2); 
 
//void	FreeExtractResult(double *pdfX, double *pdfY, double *pdfLX, 
//					   double *pdfLY,double *pdfRX,double *pdfRY); 
// 
//void    FreeExtractResult(double *pdfX ,double *pdfY,double *pdfCX,double *pdfCY); 
// 
//void	InsertStrLinePt(dfPOINT	*pptCenPt, 
//						dfPOINT	*pptSeedPt, 
//						int		nIPt, 
//						DWORD	*pdwSegCount, 
//						DWORD	*pdwOneLineNum, 
//						double	*pdfCC); 
// 
//void	StoreObject(dfPOINT	*pptCen, 
//					dfPOINT	*pptR, 
//					dfPOINT	*pptL, 
//					int		dwPtNumofALine, 
//					int		nTotalNum, 
//					int		nExtrType, 
//					mmOBJECT		*pobjTotalObj, 
//					int		nObjectType); 
 
// void DrawAllCornerPoints(CurSegNo pCurSegNo,int	nCurSegC,int nImgBeginX,int nImgBeginY, 
//					int nViewWinHeight,int nWholeImgH, 
//					CDC*	pDC,float		fZoomRate); 
 
void ShowAllSegsNo(CurSegNo *pCurSegNo,int	nCurSegC,int nImgBeginX,int nImgBeginY, 
					int nViewWinHeight,int nWholeImgH, 
					CDC*	pDC,float		fZoomRate); 
 
 
void	DrawAllObjects(mmOBJECT		*pobjTotalObj, 
						mmOBJECTRec		*pobjTotalRec, 
					   int			nTotalNum, 
					   int			nRecNum, 
					   int			beginCol,		   
					   int			beginRow, 
					   int			WindowHeight, 
					   int			nImageHeight, 
					   CDC*			pDC,float	fZoomRate); 
 
 
 
//void	FreeMMObj(mmOBJECT		*pobjTotalObj, 
//				  int			nTotalNum); 
 
 
void	DrawAllCornerPoints(dfPOINT		*pdfCornerPT, 
					   int			nCornerPtC, 
					   int			beginCol,		   
					   int			beginRow, 
					   int			WindowHeight, 
					   int			nImageHeight, 
					   CDC*			pDC,float	fZoomRate); 
 
 
void	DrawCrosses2(CDC *pDC,int nX,int nY,int	CrossW); 
 
void	DrawAllInCornerPoints(dfPOINT		*pdfCornerPT, 
					   int			nCornerPtC, 
					   int			beginCol,		   
					   int			beginRow, 
					   int			WindowHeight, 
					   CDC*			pDC);