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

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