OpendTect
6.6
|
A sequence of layers. More...
Public Member Functions | |
LayerSequence (const LayerSequence &ls) | |
LayerSequence (const PropertyRefSelection *prs=0) | |
virtual | ~LayerSequence () |
float | depthOf (const Level &) const |
will return 0 if lvl not found More... | |
float | depthPositionOf (const Level &) 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 &) |
int | positionOf (const Level &) const |
void | prepareUse () const |
needed after changes More... | |
PropertyRefSelection & | propertyRefs () |
const PropertyRefSelection & | propertyRefs () const |
const RefTree & | refTree () const |
void | setEmpty () |
void | setStartDepth (float z) |
void | setXPos (float) |
int | size () const |
float | startDepth () const |
Interval< float > | zRange () const |
Protected Attributes | |
ObjectSet< Layer > | layers_ |
PropertyRefSelection | props_ |
float | z0_ |
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. 1995-2022