|
|
//////////////////////////////////////////////////////////////////////////////
|
|
|
//文件: SegY文件操作类
|
|
|
//主要功能:
|
|
|
//
|
|
|
//程序编写: 2005-12-07
|
|
|
//
|
|
|
//
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
#pragma once
|
|
|
#include "trace3d.h"
|
|
|
|
|
|
class AFX_EXT_CLASS CTraceContour :
|
|
|
public CTrace3D
|
|
|
{
|
|
|
public:
|
|
|
CTraceContour(void);
|
|
|
~CTraceContour(void);
|
|
|
|
|
|
virtual int Open(void);
|
|
|
int PlayAround(int i,int j,int times);
|
|
|
int Play(void);
|
|
|
|
|
|
int GetContour(void);
|
|
|
int Play(int i, int j, double m_contour, FILE*& fw, char*& mark);
|
|
|
int TraceOne(double x0, double y0);
|
|
|
CDimension3D* pResult;
|
|
|
CString m_contour;
|
|
|
|
|
|
////////////////////////////////////////////////////////////////////////
|
|
|
static int Trace3D
|
|
|
(
|
|
|
int i, int j,int times,double error, //i=道号,j=线号,times=蔓延距离,error=追踪误差
|
|
|
CString m_position, CString m_result, CString m_A, //位置文件,解释结果文件,数据体文件
|
|
|
int n, double dt, int IsPC, //每道数据个数,采样间隔,是否微机格式(工作站格式)
|
|
|
int nFormatCode //振幅格式代码
|
|
|
);
|
|
|
static int Trace3DAll
|
|
|
(
|
|
|
int i, int j, double t0,double error, //i=道号,j=线号,t0=时间,error=追踪误差
|
|
|
CString m_position, CString m_result, CString m_A, //位置文件,解释结果文件,数据体文件
|
|
|
int n, double dt, int IsPC, //每道数据个数,采样间隔,是否微机格式(工作站格式)
|
|
|
int times, int nFormatCode //振幅格式代码
|
|
|
);
|
|
|
|
|
|
};
|