OpendTect  7.0
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=nullptr, float dh=0.f, OD::Color c=OD::Color())
 
 Marker (const Marker &)
 
 Marker (Strat::LevelID, float dh)
 
virtual ~Marker ()
 
OD::Color color () const
 
float dah () const
 
Strat::Level getLevel () const
 
Strat::LevelID levelID () const
 
Markeroperator= (const Marker &)
 
bool operator== (const Marker &m)
 
bool operator> (const Marker &wm) const
 
void setColor (OD::Color col)
 
void setDah (float v)
 
void setLevelID (Strat::LevelID id)
 
void setNoLevelID ()
 
- 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 &)
 
const name_typename () const override
 
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

OD::Color color_
 
float dah_
 
Strat::LevelID 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/3]

Well::Marker::Marker ( const char *  nm = nullptr,
float  dh = 0.f,
OD::Color  c = OD::Color() 
)

◆ Marker() [2/3]

Well::Marker::Marker ( Strat::LevelID  ,
float  dh 
)

◆ Marker() [3/3]

Well::Marker::Marker ( const Marker )

◆ ~Marker()

virtual Well::Marker::~Marker ( )
virtual

Member Function Documentation

◆ color()

OD::Color Well::Marker::color ( ) const

◆ dah()

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

◆ getLevel()

Strat::Level Well::Marker::getLevel ( ) const

◆ levelID()

Strat::LevelID 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 ( OD::Color  col)
inline

◆ setDah()

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

◆ setLevelID()

void Well::Marker::setLevelID ( Strat::LevelID  id)
inline

◆ setNoLevelID()

void Well::Marker::setNoLevelID ( )

◆ sKeyDah()

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

Member Data Documentation

◆ color_

OD::Color Well::Marker::color_
protected

◆ dah_

float Well::Marker::dah_
protected

◆ levelid_

Strat::LevelID Well::Marker::levelid_
protected

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