1 #ifndef volstatsattrib_h 2 #define volstatsattrib_h 15 #include "attributesmod.h" 28 static void initDesc(
Desc&);
32 static const char*
shapeStr() {
return "shape"; }
33 static const char*
gateStr() {
return "gate"; }
37 static const char* shapeTypeStr(
int);
39 virtual void prepPriorToBoundsCalc();
42 {
return !stepout_.inl() && !stepout_.crl(); }
48 int* outputTypes()
const;
50 static void updateDefaults(
Desc&);
55 virtual bool getInputOutput(
int,
TypeSet<int>& res)
const;
56 virtual bool getInputData(
const BinID&,
int zintv);
61 int threadid)
const = 0;
63 const BinID* desStepout(
int input,
int output)
const;
119 static const char*
attribName() {
return "VolumeStatistics"; }
123 static const char* optStackDirTypeStr(
int);
125 void prepPriorToBoundsCalc();
128 { linetruepos_ = truepos
131 linepath_ = snappedpos
139 static void updateDesc(
Desc&);
141 virtual bool getInputData(
const BinID&,
int zintv);
142 virtual bool getInputOutput(
int,
TypeSet<int>& res)
const;
146 int z0,
int nrsamples,
150 void getIdealStackPos(
153 void reInitPosAndSteerIdxes();
#define mExpClass(module)
Definition: commondefs.h:160
bool dosteer_
Definition: volstatsattrib.h:157
int dataidx_
Definition: volstatsattrib.h:74
bool isSingleTrace() const
Definition: volstatsattrib.h:41
static const char * optstackdirStr()
Definition: volstatsattrib.h:122
static const char * stepoutStr()
Definition: volstatsattrib.h:31
int optstackstep_
Definition: volstatsattrib.h:164
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
int minnrtrcs_
Definition: volstatsattrib.h:71
int shape_
Definition: volstatsattrib.h:68
static const char * nrvolumesStr()
Definition: volstatsattrib.h:30
FixedString Attributes()
Definition: keystrs.h:40
static const char * allowEdgeEffStr()
Definition: volstatsattrib.h:120
Use VolStats instead.
Definition: volstatsattrib.h:25
static const char * attribName()
Definition: volstatsattrib.h:119
TypeSet< BinID > positions_
Definition: volstatsattrib.h:73
bool allowParallelComputation() const
Definition: volstatsattrib.h:52
ObjectSet< const DataHolder > inputdata_
Definition: volstatsattrib.h:76
void setRdmPaths(TypeSet< BinID > *truepos, TypeSet< BinID > *snappedpos)
For directional attributes.
Definition: volstatsattrib.h:126
TypeSet< BinID > * linetruepos_
Definition: volstatsattrib.h:162
Set of pointers to objects.
Definition: commontypes.h:32
static const char * steeringStr()
Definition: volstatsattrib.h:36
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
const DataHolder * steeringdata_
Definition: volstatsattrib.h:77
Volume Statistics Attribute.
Definition: volstatsattrib.h:113
Interval< float > desgate_
Definition: volstatsattrib.h:70
TypeSet< BinID > * linepath_
Definition: volstatsattrib.h:161
TypeSet< int > steerindexes_
Definition: volstatsattrib.h:160
Holds the attribute data.
Definition: attribdataholder.h:43
bool allowedgeeffects_
Definition: volstatsattrib.h:158
Positioning in a seismic survey: inline/crossline or lineNr/trcNr.
Definition: binid.h:30
static const char * nrtrcsStr()
Definition: volstatsattrib.h:35
static const char * optstackstepStr()
Definition: volstatsattrib.h:121
static const char * gateStr()
Definition: volstatsattrib.h:33
Provides the actual output to ...
Definition: attribprovider.h:44
Interval< float > gate_
Definition: volstatsattrib.h:69
virtual void initSteering()
Definition: volstatsattrib.h:40
static const char * shapeStr()
Definition: volstatsattrib.h:32
static const char * absolutegateStr()
Definition: volstatsattrib.h:34
BinID stepout_
Definition: volstatsattrib.h:67
Semblance Attribute.
Definition: attribdataholder.h:25
int optstackdir_
Definition: volstatsattrib.h:163