OpendTect-6_4  6.4
externalattrib.h
Go to the documentation of this file.
1 #ifndef externalattrib_h
2 #define externalattrib_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: A.H. Bril
9  Date: Nov 2004
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 -*/
14 
15 #include "attributeenginemod.h"
16 #include "factory.h"
17 #include "datapack.h"
18 #include "sets.h"
19 #include "uistring.h"
20 
21 class BinIDValueSet;
22 class TrcKeyZSampling;
23 class LineKey;
24 class SeisTrcBuf;
25 class TaskRunner;
26 
27 
28 namespace Attrib
29 {
30 
31 class SelSpec;
32 
37 mExpClass(AttributeEngine) ExtAttribCalc
38 {
39 public:
40  virtual ~ExtAttribCalc() {}
41  virtual bool setTargetSelSpec(const SelSpec&) = 0;
45  virtual DataPack::ID createAttrib(const TrcKeyZSampling&,
47  virtual bool createAttrib(ObjectSet<BinIDValueSet>&,
48  TaskRunner*);
49  virtual bool createAttrib(const BinIDValueSet&, SeisTrcBuf&,
50  TaskRunner*);
51  virtual DataPack::ID createAttrib(const TrcKeyZSampling&,
52  const LineKey&,TaskRunner*);
53 
54  virtual bool isIndexes() const { return false; }
55 
57 };
58 
59 
60 mDefineFactory1Param( AttributeEngine, ExtAttribCalc, const Attrib::SelSpec&,
61  ExtAttrFact );
62 
63 
64 } // namespace Attrib
65 
66 #endif
#define mExpClass(module)
Definition: commondefs.h:160
Generic class for attribs that does not come from the attribute engine.
Definition: externalattrib.h:37
virtual bool isIndexes() const
Definition: externalattrib.h:54
uiString errmsg_
Definition: externalattrib.h:56
Definition: uistring.h:89
int ID
Definition: datapack.h:38
mDefineFactory1Param(AttributeEngine, ExtAttribCalc, const Attrib::SelSpec &, ExtAttrFact)
Key for a line in a line set.
Definition: linekey.h:22
Class that can execute a task.
Definition: task.h:169
Hor+Vert sampling in 3D surveys.
Definition: trckeyzsampling.h:35
set of seismic traces.
Definition: seisbuf.h:31
A Pos::IdxPairValueSet with BinIDs.
Definition: binidvalset.h:23
virtual ~ExtAttribCalc()
Definition: externalattrib.h:40
Specifies an attribute selection (ID or output number of NN).
Definition: attribsel.h:45
Semblance Attribute.
Definition: attribdataholder.h:25

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