OpendTect  6.3
attribslice.h
Go to the documentation of this file.
1 #pragma once
2 /*+
3 ________________________________________________________________________
4 
5  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
6  Author: A.H. Bril
7  Date: Apr 2002
8 ________________________________________________________________________
9 
10 -*/
11 
12 #include "attributeenginemod.h"
13 #include "sets.h"
14 #include "arrayndimpl.h"
15 #include "trckeyzsampling.h"
16 #include "refcount.h"
17 
18 namespace Attrib
19 {
20 
29 mExpClass(AttributeEngine) Slice : public RefCount::Referenced
30  , public Array2DImpl<float>
31 {
32 public:
33 
34  Slice(int nrows,int ncols,float udfval=0);
35  float undefValue() const;
36  void setUndefValue( float udfval, bool initdata=false );
37 
38 protected:
39 
40  float udfval_;
41 
42 };
43 
44 
54 mExpClass(AttributeEngine) SliceSet : public RefCount::Referenced
55  , public ObjectSet<Slice>
56 {
57 public:
58 
59  SliceSet();
60 
63 
64  void getIdx(int dimnr,int inl,int crl,float z,int&) const;
65  void getIdxs(int inl,int crl,float z,int&,int&,int&) const;
66 
67  Array3D<float>* createArray(int inldim=0, int crlcim=1,
68  int depthdim=2) const;
71  float getValue(int inl,int crl,float z) const;
72 
73 protected:
74  ~SliceSet();
75 };
76 
77 }; //namespace
TrcKeyZSampling sampling_
Definition: attribslice.h:62
#define mExpClass(module)
Definition: commondefs.h:157
float udfval_
Definition: attribslice.h:40
Implementation of Array2D.
Definition: arrayndimpl.h:101
Set of pointers to objects.
Definition: commontypes.h:28
Hor+Vert sampling in 3D surveys.
Definition: trckeyzsampling.h:32
Dir
Definition: trckeyzsampling.h:42
Set of attrib slices.
Definition: attribslice.h:54
Slice containing attribute values.
Definition: attribslice.h:29
Semblance Attribute.
Definition: attribdataholder.h:21
TrcKeyZSampling::Dir direction_
Definition: attribslice.h:61

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