OpendTect  6.6
prestackmutedef.h
Go to the documentation of this file.
1 #pragma once
2 
3 /*+
4 ________________________________________________________________________
5 
6  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
7  Author: Bert Bril
8  Date: Nov 2006
9  RCS: $Id$
10 ________________________________________________________________________
11 
12 
13 -*/
14 
15 #include "prestackprocessingmod.h"
16 
17 #include "mathfunc.h"
18 #include "multiid.h"
19 #include "namedobj.h"
20 #include "position.h"
21 #include "samplingdata.h"
22 
23 
24 namespace PreStack
25 {
26 
31 mExpClass(PreStackProcessing) MuteDef : public NamedObject
32 {
33 public:
34  MuteDef(const char* nm=0);
35  MuteDef(const MuteDef&);
37 
39 
40  int size() const;
41  int indexOf(const BinID&) const;
43  BinID& getPos(int idx);
44  const PointBasedMathFunction& getFn(int idx) const;
45  const BinID& getPos(int idx) const;
46 
48  const BinID& pos);
50  void remove(int idx);
51  float value(float offs,const BinID&) const;
54  void computeIntervals(float offs,
55  const BinID&,
56  TypeSet<Interval<float> >&) const;
60  bool isChanged() const { return ischanged_; }
61  void setChanged(bool yn) { ischanged_=yn; }
62 
64  const MultiID& getReferenceHorizon() const;
65 
66 protected:
67 
71 
72  bool ischanged_;
73 
75 };
76 
77 } // namespace PreStack
78 
NamedObject
object with a name.
Definition: namedobj.h:42
PreStack::MuteDef::remove
void remove(int idx)
PreStack::MuteDef::isChanged
bool isChanged() const
Definition: prestackmutedef.h:60
PreStack::MuteDef::setReferenceHorizon
void setReferenceHorizon(const MultiID &)
ObjectSet
Set of pointers to objects.
Definition: commontypes.h:31
PreStack::MuteDef::~MuteDef
~MuteDef()
mExpClass
#define mExpClass(module)
Definition: commondefs.h:177
namedobj.h
samplingdata.h
PreStack::MuteDef::getFn
PointBasedMathFunction & getFn(int idx)
PreStack::MuteDef::getPos
const BinID & getPos(int idx) const
PreStack::MuteDef::size
int size() const
BendPointBasedMathFunction
MathFunction based on bend points.
Definition: mathfunc.h:151
multiid.h
BinID
Positioning in a seismic survey: inline/crossline or lineNr/trcNr.
Definition: binid.h:31
PreStack::MuteDef::operator=
MuteDef & operator=(const MuteDef &)
PreStack::MuteDef::fns_
ObjectSet< PointBasedMathFunction > fns_
Definition: prestackmutedef.h:68
PreStack::MuteDef::getReferenceHorizon
const MultiID & getReferenceHorizon() const
PreStack::MuteDef::refhor_
MultiID refhor_
Definition: prestackmutedef.h:70
PreStack::MuteDef::value
float value(float offs, const BinID &) const
PreStack::MuteDef::pos_
TypeSet< BinID > pos_
Definition: prestackmutedef.h:69
PreStack::MuteDef::getPos
BinID & getPos(int idx)
mathfunc.h
position.h
PreStack
Definition: synthseis.h:35
MultiID
Compound key consisting of ints.
Definition: multiid.h:24
PreStack::MuteDef::add
void add(PointBasedMathFunction *, const BinID &pos)
Function becomes mine.
PreStack::MuteDef::getFn
const PointBasedMathFunction & getFn(int idx) const
PreStack::MuteDef::ischanged_
bool ischanged_
Definition: prestackmutedef.h:72
PreStack::MuteDef::MuteDef
MuteDef(const MuteDef &)
PreStack::MuteDef::indexOf
int indexOf(const BinID &) const
PreStack::MuteDef
NamedObject for definition of a mute function.
Definition: prestackmutedef.h:32
PreStack::MuteDef::getAllZVals
void getAllZVals(TypeSet< float > &) const
PreStack::MuteDef::setChanged
void setChanged(bool yn)
Definition: prestackmutedef.h:61
Interval< float >
PreStack::MuteDef::computeIntervals
void computeIntervals(float offs, const BinID &, TypeSet< Interval< float > > &) const
PreStack::MuteDef::MuteDef
MuteDef(const char *nm=0)
TypeSet
Sets of (small) copyable elements.
Definition: commontypes.h:29

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