![]() |
OpendTect
6.3
|
A sequence of layers. More...
Public Member Functions | |
| LayerSequence (const PropertyRefSelection *prs=0) | |
| LayerSequence (const LayerSequence &ls) | |
| virtual | ~LayerSequence () |
| LayerSequence & | operator= (const LayerSequence &) |
| bool | isEmpty () const |
| void | setEmpty () |
| int | size () const |
| ObjectSet< Layer > & | layers () |
| const ObjectSet< Layer > & | layers () const |
| int | layerIdxAtZ (float) const |
| returns -1 if outside More... | |
| int | nearestLayerIdxAtZ (float z) const |
| returns -1 only if empty More... | |
| float | startDepth () const |
| void | setStartDepth (float z) |
| Interval< float > | zRange () const |
| void | setXPos (float) |
| PropertyRefSelection & | propertyRefs () |
| const PropertyRefSelection & | propertyRefs () const |
| void | getLayersFor (const UnitRef *ur, ObjectSet< Layer > &lys) |
| void | getLayersFor (const UnitRef *, ObjectSet< const Layer > &) const |
| void | getSequencePart (const Interval< float > &depthrg, bool cropfirstlast, LayerSequence &) const |
| const RefTree & | refTree () const |
| void | prepareUse () const |
| needed after changes More... | |
| int | indexOf (const Level &, int startsearchat=0) const |
| may return -1 for not found More... | |
| float | depthOf (const Level &) const |
| will return 0 if lvl not found More... | |
| int | positionOf (const Level &) const |
| float | depthPositionOf (const Level &) const |
Protected Attributes | |
| ObjectSet< Layer > | layers_ |
| float | z0_ |
| PropertyRefSelection | props_ |
A sequence of layers.
You can provide a PropertyRefSelection* to give meaning to the values in the Layers.
| Strat::LayerSequence::LayerSequence | ( | const PropertyRefSelection * | prs = 0 | ) |
|
inline |
|
virtual |
| float Strat::LayerSequence::depthOf | ( | const Level & | ) | const |
will return 0 if lvl not found
| float Strat::LayerSequence::depthPositionOf | ( | const Level & | ) | 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
|
inline |
| 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 & | ) |
| 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 |
| const RefTree& Strat::LayerSequence::refTree | ( | ) | const |
|
inline |
|
inline |
| void Strat::LayerSequence::setXPos | ( | float | ) |
|
inline |
|
inline |
| Interval<float> Strat::LayerSequence::zRange | ( | ) | const |
|
protected |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2017