OpendTect
7.0
|
Subclass of Coord3List that represents a fault trace. More...
Public Types | |
enum | Act { AllowCrossing , ForbidCrossing , ForbidCrossHigher , ForbidCrossLower , AllowMinTraceToFault , AllowMaxTraceToFault , AllowMinInlToFault , AllowMaxInlToFault , AllowMinCrlToFault , AllowMaxCrlToFault } |
Public Member Functions | |
FaultTrace () | |
int | add (const Coord3 &) override |
Return new id, or -1 if unsuccessful. More... | |
int | add (const Coord3 &, float trcnr) |
void | addValue (int id, const Coord3 &) override |
Adds value to existing value at id. More... | |
FaultTrace * | clone () const |
void | computeRange () |
Coord3 | get (int) const override |
bool | getCoordsBetween (int trc0, float z0, int trc1, float z1, TypeSet< Coord > &coords) const |
bool | getFaultTraceIntersection (const FaultTrace &, int &trace, float &zval) const |
bool | getHorCrossings (const BinIDValueSet &, Interval< float > &topzvals, Interval< float > &botzvals) const |
bool | getHorIntersection (const EM::Horizon &, BinID &) const |
bool | getHorizonIntersectionInfo (const EM::Horizon &hor, Pos::GeomID geomid, TypeSet< BinID > &pos1bids, TypeSet< float > &pos1zs, TypeSet< BinID > &pos2bids, TypeSet< float > &pos2zs, TypeSet< Coord > &intersections, bool findfirstonly=true, bool allowextention=false) const |
bool | getImage (const BinID &srcbid, float srcz, const Interval< float > &tophorzvals, const Interval< float > &bothorzvals, const StepInterval< int > &trcrg, BinID &imgbid, float &imgz, bool forward) const |
const TypeSet< int > & | getIndices () const |
bool | getIntersection (const BinID &, float, const BinID &, float, BinID &, float &, const StepInterval< int > *trcrg=0, bool snappositive=true) const |
bool | getIntersectionTraces (float zval, TypeSet< int > &trcs) const |
bool | getIntersectionZs (int trcnr, TypeSet< float > &zs) const |
float | getTrcNr (int) const |
float | getZValFor (const BinID &) const |
bool | includes (const BinID &) const |
bool | isCrossing (const BinID &, float, const BinID &, float) const |
bool | isDefined (int) const override |
bool | isEditedOnCrl () const |
bool | isInl () const |
bool | isOK () const |
bool | isOnFault (const BinID &, float z, float threshold) const |
bool | isOnPosSide (const BinID &, float) const |
int | lineNr () const |
int | nextID (int) const override |
void | remove (const TypeSet< int > &) override |
May contain duplicates. More... | |
void | remove (int) override |
void | set (int, const Coord3 &) override |
void | set (int, const Coord3 &, float) |
void | setEditedOnCrl (bool yn) |
void | setIndices (const TypeSet< int > &) |
void | setIsInl (bool yn) |
void | setLineNr (int nr) |
int | size () const override |
const Interval< int > & | trcRange () const |
const Interval< float > & | zRange () const |
Public Member Functions inherited from Coord3List | |
Coord3 | center () const |
Public Member Functions inherited from RefCount::Referenced | |
void | addObserver (WeakPtrBase *obs) |
Not for normal use. May become private. More... | |
int | nrRefs () const |
Only for expert use. More... | |
void | ref () const |
bool | refIfReffed () const |
Don't use in production, for debugging. More... | |
void | removeObserver (WeakPtrBase *obs) |
Not for normal use. May become private. More... | |
bool | tryRef () const |
Not for normal use. May become private. More... | |
void | unRef () const |
void | unRefNoDelete () const |
Static Public Member Functions | |
static void | getActNames (BufferStringSet &, bool is2d) |
static void | getAllActNames (BufferStringSet &) |
static const char * | sKeyFaultAct () |
Static Public Member Functions inherited from RefCount::Referenced | |
static bool | isSane (const Referenced *) |
Protected Member Functions | |
~FaultTrace () | |
void | computeTraceSegments () |
Coord | getIntersection (const BinID &, float, const BinID &, float) const |
bool | handleUntrimmed (const BinIDValueSet &, Interval< float > &, const BinID &, const BinID &, bool) const |
Protected Member Functions inherited from RefCount::Referenced | |
Referenced () | |
Referenced (const Referenced &) | |
virtual | ~Referenced () |
Referenced & | operator= (const Referenced &) |
Protected Attributes | |
TypeSet< int > | coordindices_ |
TypeSet< Coord3 > | coords_ |
bool | editedoncrl_ |
bool | isinl_ |
Threads::Lock | lock_ |
int | nr_ |
TypeSet< Line2 > | tracesegs_ |
TypeSet< float > | trcnrs_ |
Interval< int > | trcrange_ |
Interval< float > | zrange_ |
Subclass of Coord3List that represents a fault trace.
<>
enum FaultTrace::Act |
FaultTrace::FaultTrace | ( | ) |
|
protected |
|
overridevirtual |
Return new id, or -1 if unsuccessful.
Implements Coord3List.
int FaultTrace::add | ( | const Coord3 & | , |
float | trcnr | ||
) |
|
inlineoverridevirtual |
Adds value to existing value at id.
Implements Coord3List.
FaultTrace* FaultTrace::clone | ( | ) | const |
void FaultTrace::computeRange | ( | ) |
|
protected |
|
overridevirtual |
Implements Coord3List.
|
static |
|
static |
bool FaultTrace::getCoordsBetween | ( | int | trc0, |
float | z0, | ||
int | trc1, | ||
float | z1, | ||
TypeSet< Coord > & | coords | ||
) | const |
bool FaultTrace::getFaultTraceIntersection | ( | const FaultTrace & | , |
int & | trace, | ||
float & | zval | ||
) | const |
bool FaultTrace::getHorCrossings | ( | const BinIDValueSet & | , |
Interval< float > & | topzvals, | ||
Interval< float > & | botzvals | ||
) | const |
bool FaultTrace::getHorIntersection | ( | const EM::Horizon & | , |
BinID & | |||
) | const |
bool FaultTrace::getHorizonIntersectionInfo | ( | const EM::Horizon & | hor, |
Pos::GeomID | geomid, | ||
TypeSet< BinID > & | pos1bids, | ||
TypeSet< float > & | pos1zs, | ||
TypeSet< BinID > & | pos2bids, | ||
TypeSet< float > & | pos2zs, | ||
TypeSet< Coord > & | intersections, | ||
bool | findfirstonly = true , |
||
bool | allowextention = false |
||
) | const |
bool FaultTrace::getImage | ( | const BinID & | srcbid, |
float | srcz, | ||
const Interval< float > & | tophorzvals, | ||
const Interval< float > & | bothorzvals, | ||
const StepInterval< int > & | trcrg, | ||
BinID & | imgbid, | ||
float & | imgz, | ||
bool | forward | ||
) | const |
const TypeSet<int>& FaultTrace::getIndices | ( | ) | const |
bool FaultTrace::getIntersection | ( | const BinID & | , |
float | , | ||
const BinID & | , | ||
float | , | ||
BinID & | , | ||
float & | , | ||
const StepInterval< int > * | trcrg = 0 , |
||
bool | snappositive = true |
||
) | const |
bool FaultTrace::getIntersectionTraces | ( | float | zval, |
TypeSet< int > & | trcs | ||
) | const |
bool FaultTrace::getIntersectionZs | ( | int | trcnr, |
TypeSet< float > & | zs | ||
) | const |
float FaultTrace::getTrcNr | ( | int | ) | const |
float FaultTrace::getZValFor | ( | const BinID & | ) | const |
|
protected |
bool FaultTrace::includes | ( | const BinID & | ) | const |
|
overridevirtual |
Implements Coord3List.
|
inline |
|
inline |
bool FaultTrace::isOK | ( | ) | const |
bool FaultTrace::isOnFault | ( | const BinID & | , |
float | z, | ||
float | threshold | ||
) | const |
bool FaultTrace::isOnPosSide | ( | const BinID & | , |
float | |||
) | const |
|
inline |
|
overridevirtual |
If previd == -1, first id is returned. If -1 is returned, no more id's are available.
Implements Coord3List.
|
inlineoverridevirtual |
May contain duplicates.
Implements Coord3List.
|
overridevirtual |
Implements Coord3List.
|
overridevirtual |
Implements Coord3List.
void FaultTrace::set | ( | int | , |
const Coord3 & | , | ||
float | |||
) |
|
inline |
void FaultTrace::setIndices | ( | const TypeSet< int > & | ) |
|
inline |
|
inline |
|
inlineoverridevirtual |
Implements Coord3List.
|
inlinestatic |
|
inline |
|
inline |
|
protected |
|
protected |
|
protected |
|
mutableprotected |
|
protected |
|
protected |
|
protected |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2024