OpendTect
7.0
|
A sequence of layers. More...
Public Member Functions | |
LayerSequence (const LayerSequence &) | |
LayerSequence (const PropertyRefSelection *=nullptr) | |
virtual | ~LayerSequence () |
float | depthOf (const Level &, float notfoundval=0.f) const |
will return 0 if lvl not found More... | |
float | depthPositionOf (const Level &, float notfoundval=0.f) const |
void | getLayersFor (const UnitRef *, ObjectSet< const Layer > &) const |
void | getLayersFor (const UnitRef *ur, ObjectSet< Layer > &lys) |
void | getSequencePart (const Interval< float > &depthrg, bool cropfirstlast, LayerSequence &) const |
int | indexOf (const Level &, int startsearchat=0) const |
may return -1 for not found More... | |
bool | isEmpty () const |
int | layerIdxAtZ (float) const |
returns -1 if outside More... | |
ObjectSet< Layer > & | layers () |
const ObjectSet< Layer > & | layers () const |
int | nearestLayerIdxAtZ (float z) const |
returns -1 only if empty More... | |
LayerSequence & | operator= (const LayerSequence &) |
float | overburdenVelocity () const |
int | positionOf (const Level &) const |
void | prepareUse () const |
needed after changes More... | |
PropertyRefSelection & | propertyRefs () |
const PropertyRefSelection & | propertyRefs () const |
Interval< float > | propRange (int) const |
const RefTree & | refTree () const |
void | setEmpty () |
void | setOverburdenVelocity (float vel) |
void | setStartDepth (float z) |
void | setStartDepthAndAdjust (float z) |
void | setStartDepthOnly (float z) |
void | setXPos (float) |
int | size () const |
float | startDepth () const |
Interval< float > | zRange () const |
Protected Member Functions | |
void | adjustLayers (float startz) |
Protected Attributes | |
ObjectSet< Layer > | layers_ |
PropertyRefSelection | props_ |
float | z0_ = 0.f |
A sequence of layers.
You can provide a PropertySelection* to give meaning to the values in the Layers.
<>
Strat::LayerSequence::LayerSequence | ( | const PropertyRefSelection * | = nullptr | ) |
Strat::LayerSequence::LayerSequence | ( | const LayerSequence & | ) |
|
virtual |
|
protected |
float Strat::LayerSequence::depthOf | ( | const Level & | , |
float | notfoundval = 0.f |
||
) | const |
will return 0 if lvl not found
float Strat::LayerSequence::depthPositionOf | ( | const Level & | , |
float | notfoundval = 0.f |
||
) | const |
void Strat::LayerSequence::getSequencePart | ( | const Interval< float > & | depthrg, |
bool | cropfirstlast, | ||
LayerSequence & | |||
) | const |
cropfirstlast updates thicknesses of first and last layers to exactly match the window
int Strat::LayerSequence::indexOf | ( | const Level & | , |
int | startsearchat = 0 |
||
) | const |
may return -1 for not found
bool Strat::LayerSequence::isEmpty | ( | ) | const |
int Strat::LayerSequence::layerIdxAtZ | ( | float | ) | const |
returns -1 if outside
int Strat::LayerSequence::nearestLayerIdxAtZ | ( | float | z | ) | const |
returns -1 only if empty
LayerSequence& Strat::LayerSequence::operator= | ( | const LayerSequence & | ) |
float Strat::LayerSequence::overburdenVelocity | ( | ) | const |
int Strat::LayerSequence::positionOf | ( | const Level & | ) | const |
may return size() (below last layer) only returns -1 if sequence is empty
void Strat::LayerSequence::prepareUse | ( | ) | const |
needed after changes
|
inline |
|
inline |
Interval<float> Strat::LayerSequence::propRange | ( | int | ) | const |
const RefTree& Strat::LayerSequence::refTree | ( | ) | const |
void Strat::LayerSequence::setEmpty | ( | ) |
void Strat::LayerSequence::setOverburdenVelocity | ( | float | vel | ) |
|
inline |
void Strat::LayerSequence::setStartDepthAndAdjust | ( | float | z | ) |
|
inline |
void Strat::LayerSequence::setXPos | ( | float | ) |
int Strat::LayerSequence::size | ( | ) | const |
|
inline |
Interval<float> Strat::LayerSequence::zRange | ( | ) | const |
|
protected |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2024