OpendTect-6_4  6.4
attribslice.h
Go to the documentation of this file.
1 #ifndef attribslice_h
2 #define attribslice_h
3 /*+
4 ________________________________________________________________________
5 
6  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
7  Author: A.H. Bril
8  Date: Apr 2002
9  RCS: $Id$
10 ________________________________________________________________________
11 
12 -*/
13 
14 #include "attributeenginemod.h"
15 #include "sets.h"
16 #include "arrayndimpl.h"
17 #include "trckeyzsampling.h"
18 #include "refcount.h"
19 
20 namespace Attrib
21 {
22 
31 mExpClass(AttributeEngine) Slice : public Array2DImpl<float>
33 public:
34 
35  Slice(int nrows,int ncols,float udfval=0);
36  float undefValue() const;
37  void setUndefValue( float udfval, bool initdata=false );
38 
39 protected:
40 
41  float udfval_;
42 
43 };
44 
45 
55 mExpClass(AttributeEngine) SliceSet : public ObjectSet<Slice>
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 };
74 
75 }; //namespace
76 
77 #endif
TrcKeyZSampling sampling_
Definition: attribslice.h:62
#define mRefCountImpl(ClassName)
Macro to setup a class with destructor for reference counting.
Definition: refcount.h:163
#define mExpClass(module)
Definition: commondefs.h:160
float udfval_
Definition: attribslice.h:41
Implementation of Array2D.
Definition: arrayndimpl.h:102
Set of pointers to objects.
Definition: commontypes.h:32
#define mRefCountImplNoDestructor(ClassName)
Macro to setup a class without destructor for reference counting.
Definition: refcount.h:167
Hor+Vert sampling in 3D surveys.
Definition: trckeyzsampling.h:35
Dir
Definition: trckeyzsampling.h:43
Set of attrib slices.
Definition: attribslice.h:55
Slice containing attribute values.
Definition: attribslice.h:31
Semblance Attribute.
Definition: attribdataholder.h:25
TrcKeyZSampling::Dir direction_
Definition: attribslice.h:61

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