UNIVERS  15.3
UNIVERS base processing software API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
UAGStorage Class Reference

#include <u_ag_storage.hpp>

Public Member Functions

 UAGStorage (U3dPoints sp_ar, U3dPoints rec_ar, U3dModAreaPos modelOrigin)
 
int getSPNum ()
 
int getRecNum ()
 
bool getSP (int spId, U3dPoint &sp)
 
bool getRec (int recId, U3dPoint &recp)
 
bool setSP (U3dPoint sp, int id=-1)
 
bool setRec (U3dPoint recp, int id=-1)
 
bool getReady ()
 
virtual bool loadSPTraces (int spId)
 
double getAmpl (int recId, double time, double f, double az)
 
double getAmplPure (int recId, double time, double f, double az)
 
double getAmplParabolic (int recId, double time, double f, double az)
 
double getAmplWindowSumm (int recId, double time, double f, double az)
 
double getA (int recId, int sample_num, double f, double az)
 
int getTraceLength ()
 
double getTraceStep ()
 
U3dBox getAGBox ()
 
float ** getTraceXComp ()
 
float ** getTraceYComp ()
 
float ** getTraceZComp ()
 
void setReady (bool flag)
 

Protected Member Functions

void agModelCoordRecalc (U3dPoints sp_ar, U3dPoints recs_ar)
 

Protected Attributes

bool m_ready
 
int m_compNum
 
int m_trLength
 
double m_trStep
 
int m_currentSP
 
U3dModAreaPos m_modelOrigin
 
float ** m_seisDataXComp
 
float ** m_seisDataYComp
 
float ** m_seisDataZComp
 
U3dPoints m_sp_ar
 
U3dPoints m_rec_ar
 

Detailed Description

Abstract class for acquisition geometry data storaging

Member Function Documentation

void UAGStorage::agModelCoordRecalc ( U3dPoints  sp_ar,
U3dPoints  recs_ar 
)
protected

Recalculates sources and receivers coordinates according to the model origin point

double UAGStorage::getA ( int  recId,
int  sample_num,
double  f,
double  az 
)

Returns amplitude value according to the given sample number

U3dBox UAGStorage::getAGBox ( )

Returns 3d box of whole observation system

double UAGStorage::getAmpl ( int  recId,
double  time,
double  f,
double  az 
)

Returns amplitude value according to the given time

double UAGStorage::getAmplParabolic ( int  recId,
double  time,
double  f,
double  az 
)

Returns amplitude value according to the given time (parabolic interpolation is used)

double UAGStorage::getAmplPure ( int  recId,
double  time,
double  f,
double  az 
)

Returns amplitude value according to the given time

double UAGStorage::getAmplWindowSumm ( int  recId,
double  time,
double  f,
double  az 
)

Returns amplitude value according to the given time (summing in given time window is used)

bool UAGStorage::getReady ( )
inline

Returns object status flag

bool UAGStorage::getRec ( int  recId,
U3dPoint recp 
)

Returns receiver coordinates

int UAGStorage::getRecNum ( )
inline

Returns receivers number

bool UAGStorage::getSP ( int  spId,
U3dPoint sp 
)

Returns shot point coordinates

int UAGStorage::getSPNum ( )
inline

Returns shot points number

int UAGStorage::getTraceLength ( )
inline

Returns trace length

double UAGStorage::getTraceStep ( )
inline

Returns step along the trace

virtual bool UAGStorage::loadSPTraces ( int  spId)
inlinevirtual

Loads traces data for given shot point

Member Data Documentation

int UAGStorage::m_compNum
protected

seismic field data components number (1, 2, 3)

bool UAGStorage::m_ready
protected

TRUE, if the object is ready to work

U3dPoints UAGStorage::m_rec_ar
protected

receivers coordinates storage (in model local coordinate system)

float** UAGStorage::m_seisDataXComp
protected

X-component seismic traces data storage

float** UAGStorage::m_seisDataYComp
protected

Y-component seismic traces data storage

float** UAGStorage::m_seisDataZComp
protected

Z-component seismic traces data storage

U3dPoints UAGStorage::m_sp_ar
protected

shot points coordinates storage (in model local coordinate system)

int UAGStorage::m_trLength
protected

seismic trace length (ms)

double UAGStorage::m_trStep
protected

seismic trace time step (ms)


The documentation for this class was generated from the following file: