|
|
|
|
|
//////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
//<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 ".\sectioncube.h"
|
|
|
|
|
|
|
|
|
|
|
|
class AFX_EXT_CLASS CTrace3D : public CSectionCube
|
|
|
|
|
|
{
|
|
|
|
|
|
public:
|
|
|
|
|
|
CTrace3D(void);
|
|
|
|
|
|
virtual ~CTrace3D(void);
|
|
|
|
|
|
|
|
|
|
|
|
virtual BOOL Open(void);
|
|
|
|
|
|
virtual void Close(void);
|
|
|
|
|
|
virtual void Clear(void);
|
|
|
|
|
|
int TraceAll(int i, int j, double k);
|
|
|
|
|
|
|
|
|
|
|
|
BOOL Create
|
|
|
|
|
|
(
|
|
|
|
|
|
double error,
|
|
|
|
|
|
CString m_position, CString m_result,
|
|
|
|
|
|
CString m_A, int n, double dt, int IsPC, int nFormatCode
|
|
|
|
|
|
);
|
|
|
|
|
|
int Trace(int i, int j, double k);
|
|
|
|
|
|
int CreateResult(void);
|
|
|
|
|
|
double Result(void);
|
|
|
|
|
|
int WriteResult(double z0);
|
|
|
|
|
|
double TraceNext(int i, int j, int k);
|
|
|
|
|
|
int TraceOne(int i,int j);
|
|
|
|
|
|
int GetDirect(int i,int j,int l);
|
|
|
|
|
|
int Trace(void);
|
|
|
|
|
|
|
|
|
|
|
|
protected:
|
|
|
|
|
|
double ExtremumPoint(int j);
|
|
|
|
|
|
double ExtremumPointNegative(int j);
|
|
|
|
|
|
double ExtremumPointPositive(int j);
|
|
|
|
|
|
void TraceBegin(int i, int j, double k);
|
|
|
|
|
|
void TraceBegin1(int i, int j);
|
|
|
|
|
|
|
|
|
|
|
|
CFileSegy *fr;
|
|
|
|
|
|
CString m_result;
|
|
|
|
|
|
double error;
|
|
|
|
|
|
int IsPositive;
|
|
|
|
|
|
double aone;
|
|
|
|
|
|
double amin;
|
|
|
|
|
|
double range[2];
|
|
|
|
|
|
};
|