Go to the source code of this file.
|
int | dGBPreStackEventsSetSurvey (const char *dataroot, const char *survey) |
|
float | dGBPreStackEventsGetInlDistance () |
| returns the distance on a crossline between two inlines numbers. More...
|
|
float | dGBPreStackEventsGetCrlDistance () |
| returns the distance on a inline between two crossline numbers. More...
|
|
int | dGBPreStackEventsOpenReader (const char *reference) |
|
void | dGBPreStackEventsCloseReader (int handle) |
|
int | dGBPreStackEventsGetRanges (int handle, int &firstinl, int &lastinl, int &inlstep, int &firstcrl, int &lastcrl, int &crlstep) |
|
int | dGBPreStackEventsGetNextCDP (int handle, int previnl, int prevcrl, int &nextinl, int &nextxrl) |
|
int | dGBPreStackEventsMoveReaderTo (int handle, int inl, int crl) |
|
int | dGBPreStackEventsGetNrEvents (int handle) |
|
int | dGBPreStackEventsGetEventSize (int handle, int eventindex) |
|
void | dGBPreStackEventsGetEvent (int handle, int eventindex, float *offsets, float *angles, float *depths, float *weights) |
|
void | dGBPreStackEventsGetDip (int handle, int eventindex, float &inldip, float &crldip) |
|
void | dGBPreStackEventsGetEventWeight (int handle, int eventindex, float &weight) |
|
int | dGBPreStackEventsGetHorizonID (int handle, int eventindex, int &horid) |
|
void dGBPreStackEventsCloseReader |
( |
int |
handle | ) |
|
float dGBPreStackEventsGetCrlDistance |
( |
| ) |
|
returns the distance on a inline between two crossline numbers.
void dGBPreStackEventsGetDip |
( |
int |
handle, |
|
|
int |
eventindex, |
|
|
float & |
inldip, |
|
|
float & |
crldip |
|
) |
| |
- Parameters
-
inldip | dip when going in the direction of increasing inline numbers |
crldip | dip when going in the direction of increasing crossline numbers |
void dGBPreStackEventsGetEvent |
( |
int |
handle, |
|
|
int |
eventindex, |
|
|
float * |
offsets, |
|
|
float * |
angles, |
|
|
float * |
depths, |
|
|
float * |
weights |
|
) |
| |
- Parameters
-
eventindex | goes from 0 to getNrEvents() -1 |
offsets | is either zero or a pointer to an array with at least getEventSize number of floats |
angles | is either zero or a pointer to an array with at least getEventSize number of floats |
depths | is either zero or a pointer to an array with at least getEventSize number of floats |
int dGBPreStackEventsGetEventSize |
( |
int |
handle, |
|
|
int |
eventindex |
|
) |
| |
- Parameters
-
eventindex | goes from 0 to getNrEvents() -1 |
- Returns
- number length of the pick
void dGBPreStackEventsGetEventWeight |
( |
int |
handle, |
|
|
int |
eventindex, |
|
|
float & |
weight |
|
) |
| |
int dGBPreStackEventsGetHorizonID |
( |
int |
handle, |
|
|
int |
eventindex, |
|
|
int & |
horid |
|
) |
| |
- Returns
- 1 if the pick has an identifier for the (post stack) horizon thats was used to track the pick into offset domain. Otherwise, it returns zero. The eventual horizon id is set in the horid parameter.
float dGBPreStackEventsGetInlDistance |
( |
| ) |
|
returns the distance on a crossline between two inlines numbers.
int dGBPreStackEventsGetNextCDP |
( |
int |
handle, |
|
|
int |
previnl, |
|
|
int |
prevcrl, |
|
|
int & |
nextinl, |
|
|
int & |
nextxrl |
|
) |
| |
Enables traversal of all data. At start with previnl=-1, prevcrl=-1, and the first cdp will be return. Next time, put in the current cdp, and the next cdp will be returned. |return -1 on error, 0 on no more cdps and 1 on success.
int dGBPreStackEventsGetNrEvents |
( |
int |
handle | ) |
|
- Returns
- number of picks available at current position
int dGBPreStackEventsGetRanges |
( |
int |
handle, |
|
|
int & |
firstinl, |
|
|
int & |
lastinl, |
|
|
int & |
inlstep, |
|
|
int & |
firstcrl, |
|
|
int & |
lastcrl, |
|
|
int & |
crlstep |
|
) |
| |
- Note
- There is not guarantee that all cdps in the sampling are present, but if you traverse all these cdps, you are guaranteed to get all available data.
int dGBPreStackEventsMoveReaderTo |
( |
int |
handle, |
|
|
int |
inl, |
|
|
int |
crl |
|
) |
| |
- Returns
- -1 on failure, 0 on no data present, 1 on success
int dGBPreStackEventsOpenReader |
( |
const char * |
reference | ) |
|
- Returns
- handle, or -1 if failure
int dGBPreStackEventsSetSurvey |
( |
const char * |
dataroot, |
|
|
const char * |
survey |
|
) |
| |