OpendTect-6_4  6.4
attribdataholderarray.h
Go to the documentation of this file.
1 #ifndef attribdataholderarray_h
2 #define attribdataholderarray_h
3 /*+
4 ________________________________________________________________________
5 
6  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
7  Author: Nanne Hemstra
8  Date: January 2007
9  RCS: $Id$
10 ________________________________________________________________________
11 
12 -*/
13 
14 #include "attributeenginemod.h"
15 #include "arraynd.h"
16 
17 
18 namespace Attrib
19 {
20 
21 class DataHolder;
22 
26 mExpClass(AttributeEngine) DataHolderArray : public Array3D<float>
27 {
28 public:
30  /*Use for single inlines, crosslines or 2D lines
31  with multiple valueseries. type_=0 */
32 
34  int sidx,int dim0sz,int dim1sz);
35  /*Use for a block of data, eg the result of stepout.
36  dim0sz and dim1sz are usually nrinl and nrcrl.
37  Only 1 valueseries is used, the one at index sidx.
38  type_=1 */
39 
40  ~DataHolderArray();
41 
42  void set(int i0,int i1,int i2,float val);
43  float get(int i0,int i1,int i2) const;
44  const Array3DInfo& info() const { return info_; }
45 
46  virtual void getAll(float*) const;
47  virtual void getAll(ValueSeries<float>& vs) const;
48 
49 protected:
50 
53  char type_;
55 };
56 
57 } // namespace Attrib
58 
59 #endif
#define mExpClass(module)
Definition: commondefs.h:160
Contains the information about the size of Array3D, and in what order the data is stored (if accessab...
Definition: arrayndinfo.h:118
An array of attribute data holders.
Definition: attribdataholderarray.h:26
const Array3DInfo & info() const
Definition: attribdataholderarray.h:44
char type_
Definition: attribdataholderarray.h:53
Array3DInfoImpl info_
Definition: attribdataholderarray.h:51
Set of pointers to objects.
Definition: commontypes.h:32
Implementation of Array3DInfo.
Definition: arrayndinfo.h:193
int seriesidx_
Definition: attribdataholderarray.h:54
ObjectSet< DataHolder > dh_
Definition: attribdataholderarray.h:52
Array3D ( Subclass of ArrayND ) is a three dimensional array.
Definition: arraynd.h:153
Semblance Attribute.
Definition: attribdataholder.h:25

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