OpendTect
6.6
|
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 | |
int | add (const Coord3 &) |
Return new id, or -1 if unsuccessful. More... | |
int | add (const Coord3 &, float trcnr) |
void | addValue (int id, const Coord3 &) |
Adds value to existing value at id. More... | |
FaultTrace * | clone () const |
void | computeRange () |
Coord3 | get (int) const |
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 |
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 |
void | remove (const TypeSet< int > &) |
May contain duplicates. More... | |
void | remove (int) |
void | set (int, const Coord3 &) |
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 |
const Interval< int > & | trcRange () const |
const Interval< float > & | zRange () const |
Public Member Functions inherited from Coord3List | |
Coord3 | center () const |
Static Public Member Functions | |
static void | getActNames (BufferStringSet &, bool is2d) |
static void | getAllActNames (BufferStringSet &) |
static const char * | sKeyFaultAct () |
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 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 |
|
inlineprotected |
|
virtual |
Return new id, or -1 if unsuccessful.
Implements Coord3List.
int FaultTrace::add | ( | const Coord3 & | , |
float | trcnr | ||
) |
|
inlinevirtual |
Adds value to existing value at id.
Implements Coord3List.
FaultTrace* FaultTrace::clone | ( | ) | const |
void FaultTrace::computeRange | ( | ) |
|
protected |
|
virtual |
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 |
|
virtual |
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 |
|
virtual |
If previd == -1, first id is returned. If -1 is returned, no more id's are available.
Implements Coord3List.
|
inlinevirtual |
May contain duplicates.
Implements Coord3List.
|
virtual |
Implements Coord3List.
|
virtual |
Implements Coord3List.
void FaultTrace::set | ( | int | , |
const Coord3 & | , | ||
float | |||
) |
|
inline |
void FaultTrace::setIndices | ( | const TypeSet< int > & | ) |
|
inline |
|
inline |
|
inlinevirtual |
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-2022