OpendTect  6.3
attribdataholderarray.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: Nanne Hemstra
7  Date: January 2007
8 ________________________________________________________________________
9 
10 -*/
11 
12 #include "attributeenginemod.h"
13 #include "arraynd.h"
14 
15 
16 namespace Attrib
17 {
18 
19 class DataHolder;
20 
24 mExpClass(AttributeEngine) DataHolderArray : public Array3D<float>
25 {
26 public:
28  /*Use for single inlines, crosslines or 2D lines
29  with multiple valueseries. type_=0 */
30 
32  int sidx,int dim0sz,int dim1sz);
33  /*Use for a block of data, eg the result of stepout.
34  dim0sz and dim1sz are usually nrinl and nrcrl.
35  Only 1 valueseries is used, the one at index sidx.
36  type_=1 */
37 
38  ~DataHolderArray();
39 
40  void set(int i0,int i1,int i2,float val);
41  float get(int i0,int i1,int i2) const;
42  const Array3DInfo& info() const { return info_; }
43 
44  virtual void getAll(float*) const;
45  virtual void getAll(ValueSeries<float>& vs) const;
46 
47 protected:
48 
51  char type_;
53 };
54 
55 } // namespace Attrib
#define mExpClass(module)
Definition: commondefs.h:157
Contains the information about the size of Array3D, and in what order the data is stored (if accessab...
Definition: arrayndinfo.h:116
An array of attribute data holders.
Definition: attribdataholderarray.h:24
const Array3DInfo & info() const
Definition: attribdataholderarray.h:42
char type_
Definition: attribdataholderarray.h:51
Array3DInfoImpl info_
Definition: attribdataholderarray.h:49
Set of pointers to objects.
Definition: commontypes.h:28
Implementation of Array3DInfo.
Definition: arrayndinfo.h:191
int seriesidx_
Definition: attribdataholderarray.h:52
ObjectSet< DataHolder > dh_
Definition: attribdataholderarray.h:50
Array3D ( Subclass of ArrayND ) is a three dimensional array.
Definition: arraynd.h:149
Semblance Attribute.
Definition: attribdataholder.h:21

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