OpendTect-6_4  6.4
dipfilterattrib.h
Go to the documentation of this file.
1 #ifndef dipfilterattrib_h
2 #define dipfilterattrib_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: Kristofer Tingdahl
9  Date: 07-10-1999
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 -*/
14 
15 #include "attributesmod.h"
16 #include "attribprovider.h"
17 #include "arrayndimpl.h"
18 
19 namespace Attrib
20 {
21 
80 {
81 public:
82  static void initClass();
83  DipFilter(Desc&);
84 
85  static const char* attribName() { return "DipFilter"; }
86  static const char* sizeStr() { return "size"; }
87  static const char* typeStr() { return "type"; }
88  static const char* minvelStr() { return "minvel"; }
89  static const char* maxvelStr() { return "maxvel"; }
90  static const char* filteraziStr() { return "filterazi"; }
91  static const char* minaziStr() { return "minazi"; }
92  static const char* maxaziStr() { return "maxazi"; }
93  static const char* taperlenStr() { return "taperlen"; }
94  static const char* filterTypeNamesStr(int);
95 
96 protected:
98  static Provider* createInstance(Desc&);
99  static void updateDesc(Desc&);
100  static void updateDefaults(Desc&);
101 
102  bool allowParallelComputation() const { return true; }
103 
104  bool getInputOutput(int input,TypeSet<int>& res) const;
105  bool getInputData(const BinID&,int idx);
106  bool computeData(const DataHolder&,const BinID& relpos,
107  int t0,int nrsamples,int threadid) const;
108  bool initKernel();
109  void prepareForComputeData() { initKernel(); }
110  float taper(float) const;
111 
112  const BinID* desStepout(int input,int output) const;
113  const Interval<int>* desZSampMargin(int,int) const;
114 
115  int size_;
116  int type_;
117  float minvel_;
118  float maxvel_;
120 
121  float minazi_;
122  float maxazi_;
123  float taperlen_;
124  bool isinited_;
125 
128  float azi_;
130 
133  int dataidx_;
134 
136 };
137 
138 }; // namespace Attrib
139 
140 
141 #endif
#define mExpClass(module)
Definition: commondefs.h:160
static const char * sizeStr()
Definition: dipfilterattrib.h:86
float minazi_
Definition: dipfilterattrib.h:121
Interval< float > valrange_
Definition: dipfilterattrib.h:127
static const char * minaziStr()
Definition: dipfilterattrib.h:91
int size_
Definition: dipfilterattrib.h:115
Interval< int > zmargin_
Definition: dipfilterattrib.h:132
static const char * taperlenStr()
Definition: dipfilterattrib.h:93
float taperlen_
Definition: dipfilterattrib.h:123
FixedString Attributes()
Definition: keystrs.h:40
Array3DImpl< float > kernel_
Definition: dipfilterattrib.h:126
static const char * filteraziStr()
Definition: dipfilterattrib.h:90
static const char * maxaziStr()
Definition: dipfilterattrib.h:92
ObjectSet< const DataHolder > inputdata_
Definition: dipfilterattrib.h:135
Set of pointers to objects.
Definition: commontypes.h:32
static const char * minvelStr()
Definition: dipfilterattrib.h:88
static const char * typeStr()
Definition: dipfilterattrib.h:87
Description of an attribute in an Attrib::DescSet. Each attribute has a name (e.g. "Similarity"), a user reference (e.g. "My similarity"), and at least one output. In addition, it may have parameters and inputs. If it has multiple outputs, only one of the outputs are selected.
Definition: attribdesc.h:89
void prepareForComputeData()
Definition: dipfilterattrib.h:109
int type_
Definition: dipfilterattrib.h:116
bool filterazi_
Definition: dipfilterattrib.h:119
float maxazi_
Definition: dipfilterattrib.h:122
~DipFilter()
Definition: dipfilterattrib.h:97
bool allowParallelComputation() const
Definition: dipfilterattrib.h:102
static const char * attribName()
Definition: dipfilterattrib.h:85
Holds the attribute data.
Definition: attribdataholder.h:43
Positioning in a seismic survey: inline/crossline or lineNr/trcNr.
Definition: binid.h:30
Dip filtering Attribute.
Definition: dipfilterattrib.h:79
bool isinited_
Definition: dipfilterattrib.h:124
Provides the actual output to ...
Definition: attribprovider.h:44
float aziaperture_
Definition: dipfilterattrib.h:129
float azi_
Definition: dipfilterattrib.h:128
int dataidx_
Definition: dipfilterattrib.h:133
float minvel_
Definition: dipfilterattrib.h:117
static const char * maxvelStr()
Definition: dipfilterattrib.h:89
BinID stepout_
Definition: dipfilterattrib.h:131
float maxvel_
Definition: dipfilterattrib.h:118
static void initClass()
Semblance Attribute.
Definition: attribdataholder.h:25

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