OpendTect  7.0
Protected Attributes | Private Member Functions | Static Private Member Functions | Friends | List of all members
Strat::LayerModel Class Reference

A model consisting of layer sequences. More...

Protected Attributes

ElasticPropSelection elasticpropsel_
 
PropertyRefSelection proprefs_
 

Private Member Functions

virtual ~LayerModel ()
 
LayerSequenceaddSequence ()
 
LayerSequenceaddSequence (const LayerSequence &)
 Does a match of props. More...
 
void append (const LayerModel &)
 Does a match of props. More...
 
const ElasticPropSelectionelasticPropSel () const
 
bool isEmpty () const
 
bool isValid () const
 
int nrLayers () const
 
LayerModeloperator= (const LayerModel &)
 
float overburdenVelocity (Stats::Type=Stats::Average) const
 
void prepareUse () const
 
PropertyRefSelectionpropertyRefs ()
 
const PropertyRefSelectionpropertyRefs () const
 
mDeprecatedObs bool read (od_istream &)
 
bool read (od_istream &, int start, int step, uiString &, TaskRunner *, float startdepth, float abovevel)
 
mDeprecatedObs bool read (od_istream &, int start, int step, uiString &, TaskRunner *t=nullptr)
 
bool readHeader (od_istream &, PropertyRefSelection &, int &nrseq, bool &mathpreserve)
 
const RefTreerefTree () const
 
void removeSequence (int)
 
LayerSequencesequence (int idx)
 
const LayerSequencesequence (int idx) const
 
void setElasticPropSel (const ElasticPropSelection &)
 
void setEmpty ()
 
int size () const
 
float startDepth (Stats::Type=Stats::Average) const
 
bool write (od_ostream &, int modnr=0, bool mathpreserve=false) const
 
Interval< float > zRange () const
 

Static Private Member Functions

static StringView defSVelStr ()
 
static const char * sKeyNrSeqs ()
 

Friends

class LayerModelReader
 

Detailed Description

A model consisting of layer sequences.

The sequences will use the PropertyRefSelection managed by this object.

<>

Constructor & Destructor Documentation

◆ ~LayerModel()

virtual Strat::LayerModel::~LayerModel ( )
privatevirtual

Member Function Documentation

◆ addSequence() [1/2]

LayerSequence& Strat::LayerModel::addSequence ( )
private

◆ addSequence() [2/2]

LayerSequence& Strat::LayerModel::addSequence ( const LayerSequence )
private

Does a match of props.

◆ append()

void Strat::LayerModel::append ( const LayerModel )
private

Does a match of props.

◆ defSVelStr()

static StringView Strat::LayerModel::defSVelStr ( )
inlinestaticprivate

◆ elasticPropSel()

const ElasticPropSelection& Strat::LayerModel::elasticPropSel ( ) const
inlineprivate

◆ isEmpty()

bool Strat::LayerModel::isEmpty ( ) const
private

◆ isValid()

bool Strat::LayerModel::isValid ( ) const
private

◆ nrLayers()

int Strat::LayerModel::nrLayers ( ) const
private

◆ operator=()

LayerModel& Strat::LayerModel::operator= ( const LayerModel )
private

◆ overburdenVelocity()

float Strat::LayerModel::overburdenVelocity ( Stats::Type  = Stats::Average) const
private

◆ prepareUse()

void Strat::LayerModel::prepareUse ( ) const
private

◆ propertyRefs() [1/2]

PropertyRefSelection& Strat::LayerModel::propertyRefs ( )
inlineprivate

◆ propertyRefs() [2/2]

const PropertyRefSelection& Strat::LayerModel::propertyRefs ( ) const
inlineprivate

◆ read() [1/3]

mDeprecatedObs bool Strat::LayerModel::read ( od_istream )
private

◆ read() [2/3]

bool Strat::LayerModel::read ( od_istream ,
int  start,
int  step,
uiString ,
TaskRunner ,
float  startdepth,
float  abovevel 
)
private

◆ read() [3/3]

mDeprecatedObs bool Strat::LayerModel::read ( od_istream ,
int  start,
int  step,
uiString ,
TaskRunner t = nullptr 
)
private

◆ readHeader()

bool Strat::LayerModel::readHeader ( od_istream ,
PropertyRefSelection ,
int &  nrseq,
bool &  mathpreserve 
)
private

◆ refTree()

const RefTree& Strat::LayerModel::refTree ( ) const
private

◆ removeSequence()

void Strat::LayerModel::removeSequence ( int  )
private

◆ sequence() [1/2]

LayerSequence& Strat::LayerModel::sequence ( int  idx)
inlineprivate

◆ sequence() [2/2]

const LayerSequence& Strat::LayerModel::sequence ( int  idx) const
inlineprivate

◆ setElasticPropSel()

void Strat::LayerModel::setElasticPropSel ( const ElasticPropSelection )
private

◆ setEmpty()

void Strat::LayerModel::setEmpty ( )
private

◆ size()

int Strat::LayerModel::size ( ) const
inlineprivate

◆ sKeyNrSeqs()

static const char* Strat::LayerModel::sKeyNrSeqs ( )
inlinestaticprivate

◆ startDepth()

float Strat::LayerModel::startDepth ( Stats::Type  = Stats::Average) const
private

◆ write()

bool Strat::LayerModel::write ( od_ostream ,
int  modnr = 0,
bool  mathpreserve = false 
) const
private

◆ zRange()

Interval<float> Strat::LayerModel::zRange ( ) const
private

Friends And Related Function Documentation

◆ LayerModelReader

friend class LayerModelReader
friend

Member Data Documentation

◆ elasticpropsel_

ElasticPropSelection Strat::LayerModel::elasticpropsel_
protected

◆ proprefs_

PropertyRefSelection Strat::LayerModel::proprefs_
protected

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