OpendTect  6.3
Public Types | Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Friends | List of all members
Well::Track Class Reference

Well track. More...

Inheritance diagram for Well::Track:
[legend]

Public Types

typedef Coord3 PosType
 
typedef TypeSet< PosTypePosSetType
 
- Public Types inherited from Well::DahObj
typedef float ZType
 
typedef TypeSet< ZTypeZSetType
 
typedef Interval< ZTypeZIntvType
 
typedef ZSetType::size_type size_type
 
typedef size_type IdxType
 
typedef IntegerID< IdxTypePointID
 
typedef float ValueType
 
typedef TypeSet< ValueTypeValueSetType
 
typedef Interval< ValueTypeValueIntvType
 
- Public Types inherited from Monitorable
typedef int ChangeType
 
typedef int64_t IDType
 
typedef int64_t DirtyCountType
 
typedef CNotifier< Monitorable, ChangeDataChangeDataNotifier
 

Public Member Functions

 Track (const char *nm=0)
 
 ~Track ()
 
 mDeclMonitorableAssignment (Track)
 
 mDeclInstanceCreatedNotifierAccess (Track)
 
Coord3 pos (PointID) const
 
Coord3 posByIdx (IdxType) const
 
Coord3 firstPos () const
 
Coord3 lastPos () const
 
Coord3 getPos (ZType d_ah) const
 
 mImplSimpleMonitoredGet (zIsTime, bool, zistime_) mImplSimpleMonitoredGet(getAllPos
 
pos_ ZType getKbElev () const
 
ZType td () const
 
Interval< double > zRangeD () const
 
Interval< float > zRange () const
 returns (0, 0) for empty track More...
 
bool alwaysDownward () const
 
ZType getDahForTVD (double, ZType prevdah=mUdf(float)) const
 
ZType getDahForTVD (ZType, ZType prevdah=mUdf(float)) const
 
ZType nearestDah (const Coord3 &) const
 
void toTime (const Data &)
 
PointID insertPoint (Coord3)
 
PointID insertPoint (Coord, float z)
 
PointID addPoint (Coord3, float dah=mUdf(float))
 
PointID addPoint (Coord, float z, float dah=mUdf(float))
 Point must be further down track. No checks. More...
 
void setPoint (PointID, const Coord3 &)
 
void setPoint (PointID, const Coord &, float z)
 
virtual void getData (ZSetType &, ValueSetType &) const
 
- Public Member Functions inherited from Well::DahObj
 DahObj (const char *nm=0)
 
virtual ~DahObj ()
 
 mDeclInstanceCreatedNotifierAccess (DahObj)
 
 mDeclAbstractMonitorableAssignment (DahObj)
 
size_type size () const
 
bool isEmpty () const
 
ZType dah (PointID) const
 
ZType firstDah () const
 
ZType lastDah () const
 
ValueType value (PointID) const
 
ValueType valueAt (ZType, bool no_undefs=false) const
 
ValueType firstValue (bool no_undefs=false) const
 
ValueType lastValue (bool no_undefs=false) const
 
ZIntvType dahRange () const
 
ZType dahStep (bool min_else_average) const
 
void getDahValues (ZSetType &) const
 
virtual bool valsAreCodes () const
 
PointID firstID () const
 
PointID lastID () const
 
PointID nextID (PointID) const
 
PointID prevID (PointID) const
 
PointID nearestID (ZType) const
 
void setEmpty ()
 
void setDah (PointID, ZType)
 
bool setValue (PointID, ValueType)
 
PointID setValueAt (ZType, ValueType)
 
void remove (PointID)
 
void deInterpolate ()
 Remove unnecessary points. More...
 
void shiftDahFrom (PointID, ZType)
 
PointID pointIDFor (IdxType) const
 
IdxType indexOf (PointID) const
 
IdxType indexOf (ZType) const
 
ZType dahByIdx (IdxType) const
 
ValueType valueByIdx (IdxType) const
 
void removeByIdx (IdxType)
 
- Public Member Functions inherited from NamedMonitorable
 NamedMonitorable (const char *nm=0)
 
 NamedMonitorable (const NamedObject &)
 
virtual ~NamedMonitorable ()
 
 NamedMonitorable (const NamedMonitorable &)
 
NamedMonitorableoperator= (const NamedMonitorable &)
 
bool operator== (const NamedMonitorable &) const
 
bool operator!= (const NamedMonitorable &oth) const
 
virtual NamedMonitorableclone () const
 
ChangeType compareWith (const Monitorable &) const
 
virtual NamedMonitorablegetClone () const
 
virtual BufferString getName () const
 
virtual void setName (const char *)
 
- Public Member Functions inherited from Monitorable
 Monitorable (const Monitorable &)
 
virtual ~Monitorable ()
 
Monitorableoperator= (const Monitorable &)
 
bool operator== (const Monitorable &) const
 
virtual ChangeDataNotifierobjectChanged () const
 
virtual Notifier< Monitorable > & objectToBeDeleted () const
 
virtual void touch () const
 
virtual DirtyCountType dirtyCount () const
 
void sendChangeNotification (const ChangeData &) const
 
void sendEntireObjectChangeNotification () const
 
void transferNotifsTo (const Monitorable &, const CallBacker *onlyfor=0) const
 
- Public Member Functions inherited from CallBacker
 CallBacker ()
 
 CallBacker (const CallBacker &)
 
virtual ~CallBacker ()
 
bool attachCB (const NotifierAccess &, const CallBack &, bool onlyifnew=false) const
 
bool attachCB (const NotifierAccess *notif, const CallBack &cb, bool onlyifnew=false) const
 
void detachCB (const NotifierAccess &, const CallBack &) const
 
void detachCB (const NotifierAccess *notif, const CallBack &cb) const
 
bool isNotifierAttached (const NotifierAccess *) const
 Only for debugging purposes, don't use. More...
 
virtual bool isCapsule () const
 
void stopReceivingNotifications () const
 
- Public Member Functions inherited from NamedObject
 NamedObject (const char *nm=0)
 
 NamedObject (const NamedObject &oth)
 
virtual ~NamedObject ()
 
NamedObjectoperator= (const NamedObject &)
 
bool operator== (const NamedObject &oth) const
 
virtual const OD::Stringname () const
 
bool getNameFromPar (const IOPar &)
 
void putNameInPar (IOPar &) const
 

Public Attributes

 PosSetType
 

Protected Member Functions

virtual bool doSet (IdxType, ValueType)
 
virtual PointID doInsAtDah (ZType, ValueType)
 
virtual ValueType gtVal (IdxType) const
 
virtual void removeAux (IdxType i)
 
virtual void eraseAux ()
 
void doSetPoint (IdxType, const Coord3 &)
 
PointID addPt (ZType, const Coord3 &, AccessLocker *)
 
PointID insPt (IdxType, ZType, const Coord3 &, AccessLocker *)
 
PointID insAfterIdx (IdxType, const Coord3 &, AccessLocker &)
 
Coord3 coordAfterIdx (ZType, IdxType) const
 
Interval< double > gtZRangeD () const
 
- Protected Member Functions inherited from Well::DahObj
void doRemove (IdxType)
 
void doSetEmpty ()
 
PointID doIns (ZType dh, ValueType val, ValueSetType &, bool ascendingvalsonly)
 
bool doSetData (const ZSetType &, const ValueSetType &, ValueSetType &)
 
size_type gtSize () const
 
IdxType gtIsEmpty () const
 
PointID gtNeighbourID (PointID, bool) const
 
PointID gtNewPointID () const
 
IdxType gtIndexOf (ZType) const
 
IdxType gtIdx (PointID) const
 
ZType gtDah (IdxType) const
 
ValueType gtValueAt (ZType, bool noudfs) const
 
- Protected Member Functions inherited from NamedMonitorable
void copyAll (const NamedMonitorable &)
 
- Protected Member Functions inherited from Monitorable
 Monitorable ()
 
void copyAll (const Monitorable &)
 
void sendChgNotif (AccessLocker &, const ChangeData &) const
 calls objectChanged with released lock More...
 
void sendChgNotif (AccessLocker &, ChangeType, IDType) const
 calls objectChanged with released lock More...
 
void sendDelNotif () const
 
void stopChangeNotifications () const
 
void resumeChangeNotifications () const
 
template<class T >
getMemberSimple (const T &) const
 the get function used by mImplSimpleMonitoredGet More...
 
template<class TMember , class TSetTo >
void setMemberSimple (TMember &, TSetTo, ChangeType, IDType)
 the set function used by mImplSimpleMonitoredSet More...
 
- Protected Member Functions inherited from CallBacker
void detachAllNotifiers () const
 Call from the destructor of your inherited object. More...
 

Protected Attributes

PosSetType pos_
 
bool zistime_
 
- Protected Attributes inherited from Well::DahObj
ZSetType dahs_
 
TypeSet< PointIDptids_
 
Threads::Atomic< IdxTypecurptidnr_
 
- Protected Attributes inherited from Monitorable
Threads::Lock accesslock_
 
- Protected Attributes inherited from NamedObject
BufferString name_
 

Friends

class TrackSampler
 
class TrackIter
 

Additional Inherited Members

- Static Public Member Functions inherited from Well::DahObj
static ChangeType cParsChange ()
 
static ChangeType cPointAdd ()
 
static ChangeType cDahChange ()
 
static ChangeType cValueChange ()
 
static ChangeType cPointRemove ()
 
static ZType dahEps ()
 
- Static Public Member Functions inherited from NamedMonitorable
static Notifier< NamedMonitorable > & instanceCreated ()
 
static ChangeType cNameChange ()
 
- Static Public Member Functions inherited from Monitorable
static Notifier< Monitorable > & instanceCreated ()
 defines static instanceCreated() More...
 
static ChangeType cEntireObjectChange ()
 
static ChangeType cNoChange ()
 
static IDType cUnspecChgID ()
 
static IDType cEntireObjectChgID ()
 
static ChangeType changeNotificationTypeOf (CallBacker *)
 
- Static Public Member Functions inherited from CallBacker
static void createReceiverForCurrentThread ()
 
static void removeReceiverForCurrentThread ()
 
- Protected Types inherited from Monitorable
typedef Threads::Atomic< DirtyCountTypeDirtyCounter
 
- Static Protected Member Functions inherited from Well::DahObj
static bool areEqualDahs (ZType, ZType)
 

Detailed Description

Well track.

Member Typedef Documentation

Constructor & Destructor Documentation

Well::Track::Track ( const char *  nm = 0)
Well::Track::~Track ( )

Member Function Documentation

PointID Well::Track::addPoint ( Coord3  ,
float  dah = mUdf(float) 
)
PointID Well::Track::addPoint ( Coord  ,
float  z,
float  dah = mUdf(float) 
)

Point must be further down track. No checks.

PointID Well::Track::addPt ( ZType  ,
const Coord3 ,
AccessLocker  
)
protected
bool Well::Track::alwaysDownward ( ) const
Coord3 Well::Track::coordAfterIdx ( ZType  ,
IdxType   
) const
protected
virtual PointID Well::Track::doInsAtDah ( ZType  ,
ValueType   
)
protectedvirtual

Implements Well::DahObj.

virtual bool Well::Track::doSet ( IdxType  ,
ValueType   
)
protectedvirtual

Implements Well::DahObj.

void Well::Track::doSetPoint ( IdxType  ,
const Coord3  
)
protected
virtual void Well::Track::eraseAux ( )
inlineprotectedvirtual

Implements Well::DahObj.

Coord3 Well::Track::firstPos ( ) const
ZType Well::Track::getDahForTVD ( double  ,
ZType  prevdah = mUdf(float) 
) const
ZType Well::Track::getDahForTVD ( ZType  ,
ZType  prevdah = mUdf(float) 
) const

Non-unique. previous DAH may be helpful Don't use if track is in time

virtual void Well::Track::getData ( ZSetType ,
ValueSetType  
) const
virtual

Implements Well::DahObj.

pos_ ZType Well::Track::getKbElev ( ) const
Coord3 Well::Track::getPos ( ZType  d_ah) const
virtual ValueType Well::Track::gtVal ( IdxType  ) const
protectedvirtual

Implements Well::DahObj.

Interval<double> Well::Track::gtZRangeD ( ) const
protected
PointID Well::Track::insAfterIdx ( IdxType  ,
const Coord3 ,
AccessLocker  
)
protected
PointID Well::Track::insertPoint ( Coord3  )
PointID Well::Track::insertPoint ( Coord  ,
float  z 
)
PointID Well::Track::insPt ( IdxType  ,
ZType  ,
const Coord3 ,
AccessLocker  
)
protected
Coord3 Well::Track::lastPos ( ) const
Well::Track::mDeclInstanceCreatedNotifierAccess ( Track  )
Well::Track::mDeclMonitorableAssignment ( Track  )
Well::Track::mImplSimpleMonitoredGet ( zIsTime  ,
bool  ,
zistime_   
)
ZType Well::Track::nearestDah ( const Coord3 ) const
Coord3 Well::Track::pos ( PointID  ) const
Coord3 Well::Track::posByIdx ( IdxType  ) const
virtual void Well::Track::removeAux ( IdxType  i)
inlineprotectedvirtual

Implements Well::DahObj.

void Well::Track::setPoint ( PointID  ,
const Coord3  
)
void Well::Track::setPoint ( PointID  ,
const Coord ,
float  z 
)
ZType Well::Track::td ( ) const
void Well::Track::toTime ( const Data )
Interval<float> Well::Track::zRange ( ) const

returns (0, 0) for empty track

Interval<double> Well::Track::zRangeD ( ) const

Friends And Related Function Documentation

friend class TrackIter
friend
friend class TrackSampler
friend

Member Data Documentation

PosSetType Well::Track::pos_
protected
bool Well::Track::zistime_
protected

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