OpendTect-6_4  6.4
emhorizonutils.h
Go to the documentation of this file.
1 #ifndef emhorizonutils_h
2 #define emhorizonutils_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: Helene Payraudeau
9  Date: September 2005
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 -*/
14 
15 #include "earthmodelmod.h"
16 
17 #include "emsurfaceiodata.h"
18 #include "emposid.h"
19 #include "multiid.h"
20 #include "sets.h"
21 #include "ranges.h"
22 
23 class RowCol;
24 class od_ostream;
25 class BinIDValueSet;
26 class DataPointSet;
27 class TrcKeySampling;
28 namespace Pos { class Provider; }
29 
30 namespace EM
31 {
32 
33 class Surface;
34 
41 {
42 public:
44 
45  static float getZ(const RowCol&,const Surface*);
46  static float getMissingZ(const RowCol&,const Surface*,int);
47  static Surface* getSurface(const MultiID&);
48  static void getPositions(od_ostream&,const MultiID&,
50  static void getExactCoords(od_ostream&,const MultiID&,
53  static void getWantedPositions(od_ostream&,ObjectSet<MultiID>&,
55  const Interval<float>& extraz,
56  int nrinterpsamp,int mainhoridx,
57  float extrawidth,
58  Pos::Provider* provider=0);
59  static void getWantedPos2D(od_ostream&,ObjectSet<MultiID>&,
61  const Interval<float>& extraz,
62  Pos::GeomID);
63  static bool getZInterval(int idi,int idc,Surface*,Surface*,
64  float& topz,float& botz,int nrinterpsamp,
65  int mainhoridx,float& lastzinterval,
66  float extrawidth);
67 
68  static bool SolveIntersect(float& topz,float& botz,int nrinterpsamp,
69  int is1main,float extrawidth,
70  bool is1interp,bool is2interp);
71  static void addSurfaceData(const MultiID&,const BufferStringSet&,
73 
74 protected:
75 
76 };
77 
78 
80 {
81 public:
82  HorizonSelInfo( const MultiID& key )
83  : key_(key), emobjid_(-1) {}
88 
89  static void getAll(ObjectSet<HorizonSelInfo>&,bool is2d);
90 };
91 
92 
93 } // namespace EM
94 
95 #endif
#define mExpClass(module)
Definition: commondefs.h:160
od_int32 ObjectID
Definition: emposid.h:24
OD class for stream write common access to the user log file, or std::cout in batch progs...
Definition: od_ostream.h:26
Provides a series of positions; can also be used for subselection.
Definition: posprovider.h:33
Set of data points with group selection.
Definition: datapointset.h:48
BufferString name_
Definition: emhorizonutils.h:84
HorizonSelInfo(const MultiID &key)
Definition: emhorizonutils.h:82
Data interesting for Surface I/O.
Definition: emsurfaceiodata.h:30
Group of utilities for horizons: here are all functions required in od_process_attrib_em for computin...
Definition: emhorizonutils.h:40
Definition: emhorizonutils.h:79
Set of BufferString objects.
Definition: bufstringset.h:28
MultiID key_
Definition: emhorizonutils.h:85
Horizontal sampling (inline and crossline range and steps).
Definition: trckeysampling.h:27
Position.
Definition: commontypes.h:42
EM::SurfaceIOData iodata_
Definition: emhorizonutils.h:87
Index_Type GeomID
Definition: commontypes.h:52
IdxPair used for its row() and col().
Definition: rowcol.h:25
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:40
FixedString Surface()
Definition: keystrs.h:126
Base class for surfaces like horizons and faults. A surface is made up of one or more segments or pat...
Definition: emsurface.h:33
Earth Model objects like horizons, faults, fault-sticks and bodies.
Definition: embody.h:25
ObjectID emobjid_
Definition: emhorizonutils.h:86
A Pos::IdxPairValueSet with BinIDs.
Definition: binidvalset.h:23
HorizonUtils()
Definition: emhorizonutils.h:43
Compound key consisting of ints.
Definition: multiid.h:25

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