OpendTect  6.3
prestackeventsapimgr.h
Go to the documentation of this file.
1 #pragma once
2 
3 /*+
4 ________________________________________________________________________
5 
6  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
7  Author: K. Tingdahl
8  Date: March 2007
9 ________________________________________________________________________
10 
11 
12 -*/
13 
14 #include "sets.h"
15 
16 namespace PreStack { class EventManager; }
17 namespace Vel { class Picks; }
18 
19 
20 namespace PreStack
21 {
22 
27 mClass(PreStackProcessing) EventsAPIMgr
28 {
29 public:
30  EventsAPIMgr();
31  ~EventsAPIMgr();
32 
33  int setSurvey( const char* dataroot, const char* survey );
34  float inlDistance() const;
35  float crlDistance() const;
36 
37  int openReader(const char* reference);
38  void closeReader(int handle);
39 
40  int getRanges(int handle,int& firstinl,int& lastinl,int& inlstep,
41  int& firstcrl,int& lastcrl,int& crlstep) const;
42  int getNextCDP(int handle, int previnl, int prevcrl,
43  int& nextinl, int& nextcrl );
44  int moveReaderTo(int handle,int inl,int crl);
45 
46  int getNrEvents(int handle) const;
47 
48  int getEventSize(int handle,int eventindex) const;
49 
50  void getEvent(int handle,int eventindex,float* offsets,float* angles,
51  float* depths, float* quality ) const;
52 
53  void getDip(int handle,int eventindex,
54  float& inldip,float& crldip);
55  void getQuality(int handle, int eventindex,float& weight) const;
56  int getHorizonID(int handle,int eventindex,int& horid) const;
57 
58  static EventsAPIMgr& getMgr();
59 
60 protected:
61 
67 };
68 
69 
70 
71 }; //namespace
Velocity.
Definition: velocityfunction.h:30
Definition: prestackagc.h:18
API Manager for PreStack Events.
Definition: prestackeventsapimgr.h:27
TypeSet< BinID > curpos_
Definition: prestackeventsapimgr.h:66
ObjectSet< Vel::Picks > velpicks_
Definition: prestackeventsapimgr.h:62
ObjectSet< BinIDValueSet > locations_
Definition: prestackeventsapimgr.h:64
TypeSet< int > ids_
Definition: prestackeventsapimgr.h:65
C & handle()
Definition: i_uiobjqtbody.h:105
#define mClass(module)
Definition: commondefs.h:161
ObjectSet< PreStack::EventManager > events_
Definition: prestackeventsapimgr.h:63

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2017