OpendTect  6.6
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
Well::Marker Class Reference

Marker, should be attached to Strat level. More...

Inheritance diagram for Well::Marker:
[legend]

Public Member Functions

 Marker (const char *nm=0, float dh=0, Color c=Color())
 
 Marker (int lvlid, float dh)
 
Color color () const
 
float dah () const
 
int levelID () const
 
Markeroperator= (const Marker &)
 
bool operator== (const Marker &m)
 
bool operator> (const Marker &wm) const
 
void setColor (Color col)
 
void setDah (float v)
 
void setLevelID (int id)
 
- Public Member Functions inherited from NamedObject
 NamedObject (const char *nm=nullptr)
 
 NamedObject (const NamedObject &oth)
 
virtual ~NamedObject ()
 
virtual BufferString getName () const
 
bool getNameFromPar (const IOPar &)
 
virtual const name_typename () const
 
NamedObjectoperator= (const NamedObject &)
 
bool operator== (const NamedObject &oth) const
 
virtual void setName (const char *nm)
 
- Public Member Functions inherited from ObjectWithName
virtual ~ObjectWithName ()
 
bool hasName (const char *nm) const
 
bool hasName (const name_type &nm) const
 
void putNameInPar (IOPar &) const
 

Static Public Member Functions

static const char * sKeyDah ()
 

Protected Attributes

Color color_
 
float dah_
 
int levelid_
 
- Protected Attributes inherited from NamedObject
BufferString name_
 

Additional Inherited Members

- Public Types inherited from ObjectWithName
typedef OD::String name_type
 

Detailed Description

Marker, should be attached to Strat level.

Can be unattached, then uses the fallback name and color.

<>

Constructor & Destructor Documentation

◆ Marker() [1/2]

Well::Marker::Marker ( const char *  nm = 0,
float  dh = 0,
Color  c = Color() 
)
inline

◆ Marker() [2/2]

Well::Marker::Marker ( int  lvlid,
float  dh 
)
inline

Member Function Documentation

◆ color()

Color Well::Marker::color ( ) const

◆ dah()

float Well::Marker::dah ( ) const
inline

◆ levelID()

int Well::Marker::levelID ( ) const
inline

◆ operator=()

Marker& Well::Marker::operator= ( const Marker )

◆ operator==()

bool Well::Marker::operator== ( const Marker m)
inline

◆ operator>()

bool Well::Marker::operator> ( const Marker wm) const
inline

◆ setColor()

void Well::Marker::setColor ( Color  col)
inline

◆ setDah()

void Well::Marker::setDah ( float  v)
inline

◆ setLevelID()

void Well::Marker::setLevelID ( int  id)
inline

◆ sKeyDah()

static const char* Well::Marker::sKeyDah ( )
static

Member Data Documentation

◆ color_

Color Well::Marker::color_
protected

◆ dah_

float Well::Marker::dah_
protected

◆ levelid_

int Well::Marker::levelid_
protected

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