OpendTect-6_4  6.4
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Well::Track Class Reference

Well track. More...

Inheritance diagram for Well::Track:
[legend]

Public Member Functions

 Track (const char *nm=0)
 
 Track (const Track &t)
 
Trackoperator= (const Track &)
 
bool isEmpty () const
 
const Coord3pos (int idx) const
 
float value (int idx) const
 
float getKbElev () const
 
float td () const
 
int size () const
 
bool zIsTime () const
 
const Interval< double > zRangeD () const
 
const Interval< float > zRange () const
 returns (0, 0) for empty track More...
 
int insertPoint (const Coord3 &)
 
int insertPoint (const Coord &, float z)
 
void addPoint (const Coord3 &, float dah=mUdf(float))
 
void addPoint (const Coord &, float z, float dah=mUdf(float))
 Point must be further down track. No checks. More...
 
void setPoint (int, const Coord3 &)
 
void setPoint (int, const Coord &, float z)
 Will correct all dahs below point. More...
 
void insertAfterIdx (int, const Coord3 &)
 Know what you're doing - not used normally. More...
 
void removePoint (int)
 Will correct all dahs below point. More...
 
Coord3 getPos (float d_ah) const
 
const TypeSet< Coord3 > & getAllPos () const
 
float getDahForTVD (double, float prevdah=mUdf(float)) const
 
float getDahForTVD (float, float prevdah=mUdf(float)) const
 
float nearestDah (const Coord3 &) const
 
Coord3 coordAfterIdx (float d_ah, int) const
 Beware: no bounds check on index. More...
 
bool insertAtDah (float dah, float zpos)
 will interpolate x,y coords More...
 
bool alwaysDownward () const
 
void toTime (const Data &)
 
- Public Member Functions inherited from Well::DahObj
 DahObj (const char *nm=0)
 
 DahObj (const DahObj &d)
 
 ~DahObj ()
 
int size () const
 
float dah (int idx) const
 
int indexOf (float dah) const
 
virtual void remove (int idx)
 
virtual void setEmpty ()
 
bool isEmpty () const
 
Interval< float > dahRange () const
 returns (0, 0) for empty dah_ More...
 
float dahStep (bool min_else_average) const
 
void addToDahFrom (int fromidx, float extradah)
 
void removeFromDahFrom (int fromidx, float extradah)
 
void deInterpolate ()
 Remove unnecessary points. More...
 
float * dahArr ()
 
const float * dahArr () const
 
- Public Member Functions inherited from NamedObject
 NamedObject (const char *nm=0)
 
 NamedObject (const NamedObject *linkedto)
 
 NamedObject (const NamedObject &)
 
virtual ~NamedObject ()
 
void setLinkedTo (NamedObject *)
 
bool operator== (const NamedObject &oth) const
 
virtual const OD::Stringname () const
 
virtual const OD::StringannotName () const
 
virtual void setName (const char *)
 
void setCleanName (const char *)
 cleans string first More...
 
void deleteNotify (const CallBack &)
 
- Public Member Functions inherited from CallBacker
 CallBacker ()
 
 CallBacker (const CallBacker &)
 
virtual ~CallBacker ()
 
bool attachCB (NotifierAccess &, const CallBack &, bool onlyifnew=false)
 
bool attachCB (NotifierAccess *notif, const CallBack &cb, bool onlyifnew=false)
 
void detachCB (NotifierAccess &, const CallBack &)
 
void detachCB (NotifierAccess *notif, const CallBack &cb)
 
bool isNotifierAttached (NotifierAccess *) const
 Only for debugging purposes, don't use. More...
 

Protected Member Functions

void removeAux (int idx)
 
void eraseAux ()
 
- Protected Member Functions inherited from CallBacker
void detachAllNotifiers ()
 Call from the destructor of your inherited object. More...
 

Protected Attributes

TypeSet< Coord3pos_
 
bool zistime_
 
- Protected Attributes inherited from Well::DahObj
TypeSet< float > dah_
 
- Protected Attributes inherited from NamedObject
BufferStringname_
 
NamedObjectlinkedto_
 
CallBackSetdelnotify_
 

Detailed Description

Well track.

Constructor & Destructor Documentation

Well::Track::Track ( const char *  nm = 0)
inline
Well::Track::Track ( const Track t)
inline

Member Function Documentation

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

Point must be further down track. No checks.

bool Well::Track::alwaysDownward ( ) const
Coord3 Well::Track::coordAfterIdx ( float  d_ah,
int   
) const

Beware: no bounds check on index.

void Well::Track::eraseAux ( )
inlineprotectedvirtual

Implements Well::DahObj.

const TypeSet<Coord3>& Well::Track::getAllPos ( ) const
inline
float Well::Track::getDahForTVD ( double  ,
float  prevdah = mUdf(float) 
) const
float Well::Track::getDahForTVD ( float  ,
float  prevdah = mUdf(float) 
) const

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

float Well::Track::getKbElev ( ) const
Coord3 Well::Track::getPos ( float  d_ah) const
void Well::Track::insertAfterIdx ( int  ,
const Coord3  
)

Know what you're doing - not used normally.

bool Well::Track::insertAtDah ( float  dah,
float  zpos 
)
virtual

will interpolate x,y coords

Implements Well::DahObj.

int Well::Track::insertPoint ( const Coord3 )
int Well::Track::insertPoint ( const Coord ,
float  z 
)

a 'good' place will be found If inserted at top, z will be used as first dah returns position index of the new point

bool Well::Track::isEmpty ( ) const
float Well::Track::nearestDah ( const Coord3 ) const
Track& Well::Track::operator= ( const Track )
const Coord3& Well::Track::pos ( int  idx) const
inline
void Well::Track::removeAux ( int  idx)
inlineprotectedvirtual

Implements Well::DahObj.

void Well::Track::removePoint ( int  )

Will correct all dahs below point.

void Well::Track::setPoint ( int  ,
const Coord3  
)
void Well::Track::setPoint ( int  ,
const Coord ,
float  z 
)

Will correct all dahs below point.

int Well::Track::size ( ) const
inline
float Well::Track::td ( ) const
inline
void Well::Track::toTime ( const Data )
float Well::Track::value ( int  idx) const
inlinevirtual

Implements Well::DahObj.

bool Well::Track::zIsTime ( ) const
inline
const Interval<float> Well::Track::zRange ( ) const

returns (0, 0) for empty track

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

Member Data Documentation

TypeSet<Coord3> Well::Track::pos_
protected
bool Well::Track::zistime_
protected

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