15 #include "attributeenginemod.h" 32 namespace Seis {
class SelData; }
52 virtual bool wantsOutput(
const BinID&)
const;
53 virtual bool wantsOutput(
const Coord&)
const;
59 { outputs = desoutputs_; }
61 { desoutputs_ = outputs; }
67 virtual void collectData(
const DataHolder&,
float step,
77 static const char* outputstr();
78 static const char* cubekey();
79 static const char* tskey();
80 static const char* surfkey();
81 static const char* scalekey();
82 static const char* varzlinekey();
84 virtual const char*
errMsg()
const {
return ""; }
95 #define mImplDefAttribOutputFns(typ) \ 96 virtual bool wantsOutput( const typ& t ) const \ 97 { return Output::wantsOutput(t); } \ 98 virtual TypeSet<Interval<int> > getLocalZRanges( const typ& t,float f, \ 99 TypeSet<float>& ts ) const \ 100 { return Output::getLocalZRanges(t,f,ts); } 116 { doSetGeometry(cs); }
119 bool wantsOutput(
const BinID&)
const;
123 virtual
void collectData(const
DataHolder&,
float step,
128 TrcKeyZSampling desiredvolume_;
129 TrcKeyZSampling dcsampling_;
151 virtual bool doInit();
152 virtual void set2D(
bool yn =
true ) { is2d_ = yn; }
154 bool getDesiredVolume(TrcKeyZSampling&)
const;
155 bool wantsOutput(
const BinID&)
const;
159 bool setStorageID(const
MultiID&);
160 void setGeometry( const TrcKeyZSampling& cs )
161 { doSetGeometry(cs); }
163 bool doUsePar(
const IOPar&);
164 virtual bool finishWrite();
165 virtual void collectData(
const DataHolder&,
float step,
167 virtual bool writeTrc();
171 { outptypes_ = typ; }
173 { outpnames_ = nms; }
176 {
return errmsg_.getFullString(); }
178 static const char* seisidkey();
179 static const char* attribkey();
180 static const char* inlrangekey();
181 static const char* crlrangekey();
182 static const char* depthrangekey();
227 virtual bool wantsOutput(
const Coord&)
const;
231 void setTrcsBounds(
Interval<
float>);
233 virtual
bool finishWrite();
234 virtual
void collectData(const
DataHolder&,
float step,
236 void setMaxDistBetwTrcs(
float maxdist )
237 { maxdisttrcs_ = maxdist; }
263 bool wantsOutput(
const BinID&)
const;
267 void setGeometry(const
Interval<
int>&,
272 void collectData(const
DataHolder&,
float step,
297 bool wantsOutput(
const BinID&)
const;
301 virtual
void collectData(const
DataHolder&,
float step,
303 void setPossibleBinIDDuplic() { arebiddupl_ =
true; }
306 static const char* filenamekey();
307 static const char* locationkey();
308 static const char* attribkey();
309 static const char* surfidkey();
318 bool areBIDDuplicated()
const;
334 bool wantsOutput(
const BinID&)
const;
339 void setTrcsBounds(
Interval<
float>);
340 virtual
void collectData(const
DataHolder&,
float,
346 SeisTrcBuf* outpbuf_;
365 bool useCoords()
const;
366 bool wantsOutput(
const BinID&)
const;
367 bool wantsOutput(
const Coord&)
const;
368 bool wantsOutput(
const TrcKey&)
const;
370 virtual void collectData(
const DataHolder&,
float step,
374 void collectDataSpecial60(
const DataHolder&,
387 { maxdisttrcs_ = maxdist; }
388 void setMedianDistBetwTrcs(
float mediandist);
390 void initPairsTable();
401 void computeAndSetVals(
const DataHolder&,
float,
403 bool areBIDDuplicated()
const;
427 {
return other.
gid_ == gid_ &&
428 other.
tid_ == tid_ &&
433 {
return gid_ > other.
gid_ 434 || (gid_==other.
gid_ && tid_>other.
tid_)
435 || (gid_==other.
gid_ && tid_==other.
tid_ 436 && rid_>other.
rid_); }
439 {
return gid_ == tkey.
geomID()
440 && tid_ == tkey.
trcNr(); }
#define mRefCountImpl(ClassName)
Macro to setup a class with destructor for reference counting.
Definition: refcount.h:163
TypeSet< Interval< int > > sampleinterval_
Definition: attriboutput.h:188
#define mExpClass(module)
Definition: commondefs.h:160
Attribute Processor.
Definition: attribprocessor.h:34
TypeSet< Interval< int > > sampleinterval_
Definition: attriboutput.h:278
SeisTrcWriter * writer_
Definition: attriboutput.h:194
Summary for a Seismic object.
Definition: segydirectdef.h:23
DataPointSet & datapointset_
Definition: attriboutput.h:393
const char * str() const
Definition: odstring.h:48
Data2DHolder * output_
Definition: attriboutput.h:281
TypeSet< int > desoutputs_
Definition: attriboutput.h:89
Scaler * scaler_
Definition: attriboutput.h:198
void setTrcGrow(bool yn)
Definition: attriboutput.h:169
bool operator==(const ArrayNDInfo &a1, const ArrayNDInfo &a2)
Definition: arrayndinfo.h:53
~TableOutput()
Definition: attriboutput.h:361
Set of data points with group selection.
Definition: datapointset.h:48
const Seis::SelData & getSelData()
Definition: attriboutput.h:72
TypeSet< Seis::DataType > outptypes_
Definition: attriboutput.h:199
bool arebiddupl_
Definition: attriboutput.h:395
virtual void adjustInlCrlStep(const TrcKeyZSampling &)
Definition: attriboutput.h:74
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
Index_Type TraceID
Definition: commontypes.h:51
virtual RegularSeisDataPack * getDataPack(float)
Definition: attriboutput.h:56
uiString errmsg_
Definition: attriboutput.h:191
void set2D(bool)
Definition: attriboutput.h:224
virtual bool useCoords() const
Definition: attriboutput.h:51
void setUndefValue(float v)
Definition: attriboutput.h:117
void setOutpNames(const BufferStringSet &nms)
Definition: attriboutput.h:172
~LocationOutput()
Definition: attriboutput.h:293
PosAndRowIDPair(Pos::GeomID gid, Pos::TraceID tid, DataPointSet::RowID rid)
Definition: attriboutput.h:419
virtual const char * errMsg() const
Definition: attriboutput.h:84
Pos::TraceID tid_
Definition: attriboutput.h:411
int RowID
Definition: datapointset.h:52
float maxdisttrcs_
Definition: attriboutput.h:397
Class that holds 2d seismic data or attribute data.
Definition: attribdataholder.h:82
Definition: seiswrite.h:41
virtual bool getDesiredVolume(TrcKeyZSampling &) const
Definition: attriboutput.h:49
SeisDataPack for 2D and 3D seismic data.
Definition: seisdatapack.h:28
virtual bool finishWrite()
Definition: attriboutput.h:75
Seismic trace storage Output.
Definition: attriboutput.h:144
Definition: uistring.h:89
void setPossibleBinIDDuplic()
Definition: attriboutput.h:389
A cartesian coordinate in 2D space.
Definition: coord.h:25
Set of BufferString objects.
Definition: bufstringset.h:28
float stdtrcsz_
Definition: attriboutput.h:243
virtual bool writeTrc()
Definition: attriboutput.h:70
void setDesiredOutputs(const TypeSet< int > &outputs)
Definition: attriboutput.h:60
Interval of values.
Definition: commontypes.h:31
SelType
Definition: seistype.h:26
Output at an assorted selection of traces.
Definition: attriboutput.h:326
Output at discrete locations ( For example a pickset. )
Definition: attriboutput.h:289
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:47
virtual void set2D(bool yn=true)
Definition: attriboutput.h:152
virtual void deleteTrc()
Definition: attriboutput.h:71
#define mImplDefAttribOutputFns(typ)
Definition: attriboutput.h:95
void setGeometry(const TrcKeyZSampling &cs)
Definition: attriboutput.h:115
bool useCoords() const
Definition: attriboutput.h:225
DataPointSet * poszvalues_
Definition: attriboutput.h:242
BufferString errmsg_
Definition: attriboutput.h:279
void setMaxDistBetwTrcs(float maxdist)
Definition: attriboutput.h:386
TypeSet< float > distpicktrc_
Definition: attriboutput.h:399
SeisTrc * getTrc()
Definition: attriboutput.h:168
Hor+Vert sampling in 3D surveys.
Definition: trckeyzsampling.h:35
float maxdisttrcs_
Definition: attriboutput.h:246
float stdstarttime_
Definition: attriboutput.h:244
bool storinited_
Definition: attriboutput.h:196
virtual SeisTrc * getTrc()
Definition: attriboutput.h:69
Position.
Definition: commontypes.h:42
Simple 2D Output.
Definition: attriboutput.h:254
Information for a seismic trace, AKA trace header info.
Definition: seisinfo.h:27
DataPointSet::RowID rid_
Definition: attriboutput.h:412
Scaling of floating point numbers.
Definition: scaler.h:33
float mediandisttrcs_
Definition: attriboutput.h:398
virtual void getDesiredOutputs(TypeSet< int > &outputs) const
Definition: attriboutput.h:58
float writez0shift_
Definition: attriboutput.h:204
IOPar * auxpars_
Definition: attriboutput.h:189
FixedString Output()
Definition: keystrs.h:97
bool is2d_
Definition: attriboutput.h:190
contains input (sub-)selection data from a cube or lineset
Definition: seisselection.h:82
BinIDValueSet & bidvalset_
Definition: attriboutput.h:312
bool getDesiredVolume(TrcKeyZSampling &) const
Definition: attriboutput.h:295
TrcKeyZSampling desiredvolume_
Definition: attriboutput.h:187
Index_Type GeomID
Definition: commontypes.h:52
TypeSet< PosAndRowIDPair > parpset_
Definition: attriboutput.h:443
Attribute DataPack Output.
Definition: attriboutput.h:106
virtual bool useCoords() const
Definition: attriboutput.h:153
virtual const RegularSeisDataPack * getDataPack() const
Definition: attriboutput.h:55
Holds the attribute data.
Definition: attribdataholder.h:43
SeisTrc * trc_
Definition: attriboutput.h:193
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:40
Definition: attriboutput.h:408
Positioning in a seismic survey: inline/crossline or lineNr/trcNr.
Definition: binid.h:30
Seismic trace.
Definition: seistrc.h:34
BufferString errmsg_
Definition: horizontracker.h:119
Pos::GeomID gid_
Definition: attriboutput.h:410
PosAndRowIDPair()
Definition: attriboutput.h:414
bool matchesTrcKey(const TrcKey &tkey) const
Definition: attriboutput.h:438
BinID prevpos_
Definition: attriboutput.h:195
set of seismic traces.
Definition: seisbuf.h:31
Output at a selection of locations.
Definition: attriboutput.h:357
A Pos::IdxPairValueSet with BinIDs.
Definition: binidvalset.h:23
float outval_
Definition: attriboutput.h:245
virtual const char * errMsg() const
Definition: attriboutput.h:175
2D trace Output with variable Z range.
Definition: attriboutput.h:217
int firstattrcol_
Definition: attriboutput.h:396
const char * errMsg() const
Definition: horizontracker.h:61
Represents a unique trace position in one of the surveys that OpendTect is managing.
Definition: trckey.h:28
bool arebiddupl_
Definition: attriboutput.h:314
BufferString attribname_
Definition: attriboutput.h:197
void setOutpTypes(const TypeSet< Seis::DataType > &typ)
Definition: attriboutput.h:170
Base class for attribute Output.
Definition: attriboutput.h:44
Description of binary data.
Definition: bindatadesc.h:43
MultiID & storid_
Definition: attriboutput.h:186
BufferString datatype_
Definition: attriboutput.h:201
BufferStringSet outpnames_
Definition: attriboutput.h:202
bool getDesiredVolume(TrcKeyZSampling &) const
Definition: attriboutput.h:363
Compound key consisting of ints.
Definition: multiid.h:25
Semblance Attribute.
Definition: attribdataholder.h:25
bool growtrctosi_
Definition: attriboutput.h:200
Seis::SelData * seldata_
Definition: attriboutput.h:88