|
|
|
|
|
//////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
//<2F>ļ<EFBFBD>: SegY<67>ļ<EFBFBD><C4BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
|
//<2F><>Ҫ<EFBFBD><D2AA><EFBFBD><EFBFBD>:
|
|
|
|
|
|
//
|
|
|
|
|
|
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>д: 2005-12-07
|
|
|
|
|
|
//
|
|
|
|
|
|
//
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
#include "sectionbase.h"
|
|
|
|
|
|
|
|
|
|
|
|
class AFX_EXT_CLASS CSectionDraw :
|
|
|
|
|
|
public CSectionBase
|
|
|
|
|
|
{
|
|
|
|
|
|
public:
|
|
|
|
|
|
CSectionDraw(void);
|
|
|
|
|
|
virtual ~CSectionDraw(void);
|
|
|
|
|
|
|
|
|
|
|
|
virtual void Serialize(CArchive& ar, const short& ver);
|
|
|
|
|
|
virtual void Clear(void);
|
|
|
|
|
|
virtual void operator=(CSectionDraw& sb);
|
|
|
|
|
|
|
|
|
|
|
|
protected:
|
|
|
|
|
|
virtual void SectionMath(CVector& vt); //<2F>Զ<EFBFBD>ȡ<EFBFBD>ĵ<EFBFBD><C4B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>д<EFBFBD><D0B4><EFBFBD>
|
|
|
|
|
|
void DrawRightSolid(CDC* pDC,CCurve &mCurve,double x0, double y0, double dx, double dy,int height,int nStartIndex,int nEndIndex);
|
|
|
|
|
|
void DrawLeftSolid (CDC* pDC,CCurve &mCurve,double x0, double y0, double dx, double dy,int height,int nStartIndex,int nEndIndex);
|
|
|
|
|
|
void DrawT0 (CDC *pDC,CCurve &mCurve,double x0, double y0, double dx, double dy,int height,int nStartIndex,int nEndIndex);
|
|
|
|
|
|
void Draw2Vdf(CDC *pDC,int x1,int x2,double y0,double dy,CVector *v,void *pColor,int height,int nStartIndex,int nEndIndex);
|
|
|
|
|
|
void Draw2V(CDC *pDC,int x1,int x2,double y0,double dy,CVector *v,void *pColor,int height,int nStartIndex,int nEndIndex);
|
|
|
|
|
|
CPoint* pSolid; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
double m_dSolidMinimumWidth; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʾʱ<CABE><CAB1><EFBFBD><EFBFBD>С<EFBFBD><D0A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʵ<EFBFBD><CAB5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
|
double m_dSolidMaximalWidth; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʾʱ<CABE><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʵ<EFBFBD><CAB5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
|
int WidthPixel;
|
|
|
|
|
|
int HeightPixel;
|
|
|
|
|
|
|
|
|
|
|
|
//<2F>˲<EFBFBD><CBB2><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
|
double filter1,filter2;
|
|
|
|
|
|
long filter_mode;
|
|
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
void DrawOld (CDC *pDC,double x0, double y0,double dx, double dy,int step,double times,int IsSolid);
|
|
|
|
|
|
void DrawOld (CDC *pDC,double x0, double y0,double dx, double dy,int step,void *pColor,int IsDF=0);
|
|
|
|
|
|
|
|
|
|
|
|
void Draw (CDC *pDC,double x0, double y0,double dx, double dy,int step,double times,int IsSolid);
|
|
|
|
|
|
void Draw (CDC *pDC,double x0, double y0,double dx, double dy,int step,void *pColor,int IsDF=0);
|
|
|
|
|
|
void DrawDepth (CDC *pDC,double x0, double y0,double dx, double dy,int step,void *pColor,int IsDF=0);
|
|
|
|
|
|
|
|
|
|
|
|
BOOL IsFilterMode(void);
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
AFX_EXT_API void WINAPI GetMaximum(CVector &vt,CCurve &cu);
|
|
|
|
|
|
AFX_EXT_API void WINAPI GetMaximum(CCurve &cu);
|
|
|
|
|
|
AFX_EXT_API void WINAPI GetMaximum(CVector &vt,int times);
|
|
|
|
|
|
AFX_EXT_API void WINAPI GetMaximum(CVector &vt);
|