OpendTect-6_4  6.4
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | List of all members
FaultTrace Class Reference

Subclass of Coord3List that represents a fault trace. More...

Inheritance diagram for FaultTrace:
[legend]

Public Types

enum  Act {
  AllowCrossing, ForbidCrossing, ForbidCrossHigher, ForbidCrossLower,
  AllowMinTraceToFault, AllowMaxTraceToFault, AllowMinInlToFault, AllowMaxInlToFault,
  AllowMinCrlToFault, AllowMaxCrlToFault
}
 

Public Member Functions

int nextID (int) const
 
int add (const Coord3 &)
 Return new id, or -1 if unsuccessful. More...
 
int add (const Coord3 &, float trcnr)
 
Coord3 get (int) const
 
const TypeSet< int > & getIndices () const
 
float getTrcNr (int) const
 
void set (int, const Coord3 &)
 
void set (int, const Coord3 &, float)
 
void setIndices (const TypeSet< int > &)
 
void remove (int)
 
void remove (const TypeSet< int > &)
 May contain duplicates. More...
 
bool isDefined (int) const
 
int size () const
 
FaultTraceclone () const
 
bool isInl () const
 
bool isEditedOnCrl () const
 
int lineNr () const
 
const Interval< int > & trcRange () const
 
const Interval< float > & zRange () const
 
void setIsInl (bool yn)
 
void setEditedOnCrl (bool yn)
 
void setLineNr (int nr)
 
bool isCrossing (const BinID &, float, const BinID &, float) const
 
bool getIntersection (const BinID &, float, const BinID &, float, BinID &, float &, const StepInterval< int > *trcrg=0, bool snappositive=true) const
 
bool getHorCrossings (const BinIDValueSet &, Interval< float > &topzvals, Interval< float > &botzvals) const
 
bool getHorIntersection (const EM::Horizon &, BinID &) const
 
bool getCoordsBetween (int trc0, float z0, int trc1, float z1, TypeSet< Coord > &coords) const
 
bool getIntersectionZs (int trcnr, TypeSet< float > &zs) const
 
bool getIntersectionTraces (float zval, TypeSet< int > &trcs) const
 
bool getFaultTraceIntersection (const FaultTrace &, int &trace, float &zval) 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
 
float getZValFor (const BinID &) const
 
bool isOnPosSide (const BinID &, float) const
 
void addValue (int id, const Coord3 &)
 Adds value to existing value at id. More...
 
void computeRange ()
 
bool includes (const BinID &) const
 
bool isOK () const
 
bool isOnFault (const BinID &, float z, float threshold) const
 
- Public Member Functions inherited from Coord3List
Coord3 center () const
 

Static Public Member Functions

static void getAllActNames (BufferStringSet &)
 
static void getActNames (BufferStringSet &, bool is2d)
 
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

bool isinl_
 
bool editedoncrl_
 
int nr_
 
TypeSet< Coord3coords_
 
TypeSet< int > coordindices_
 
TypeSet< float > trcnrs_
 
Interval< int > trcrange_
 
Interval< float > zrange_
 
TypeSet< Line2tracesegs_
 
Threads::Lock lock_
 

Private Member Functions

 mODTextTranslationClass (FaultTrace)
 

Detailed Description

Subclass of Coord3List that represents a fault trace.

Member Enumeration Documentation

Enumerator
AllowCrossing 
ForbidCrossing 
ForbidCrossHigher 
ForbidCrossLower 
AllowMinTraceToFault 
AllowMaxTraceToFault 
AllowMinInlToFault 
AllowMaxInlToFault 
AllowMinCrlToFault 
AllowMaxCrlToFault 

Constructor & Destructor Documentation

FaultTrace::~FaultTrace ( )
inlineprotected

Member Function Documentation

int FaultTrace::add ( const Coord3 )
virtual

Return new id, or -1 if unsuccessful.

Implements Coord3List.

int FaultTrace::add ( const Coord3 ,
float  trcnr 
)
void FaultTrace::addValue ( int  id,
const Coord3  
)
inlinevirtual

Adds value to existing value at id.

Implements Coord3List.

FaultTrace* FaultTrace::clone ( ) const
void FaultTrace::computeRange ( )
void FaultTrace::computeTraceSegments ( )
protected
Coord3 FaultTrace::get ( int  ) const
virtual

Implements Coord3List.

static void FaultTrace::getActNames ( BufferStringSet ,
bool  is2d 
)
static
static void FaultTrace::getAllActNames ( BufferStringSet )
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
Coord FaultTrace::getIntersection ( const BinID ,
float  ,
const BinID ,
float   
) const
protected
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
bool FaultTrace::handleUntrimmed ( const BinIDValueSet ,
Interval< float > &  ,
const BinID ,
const BinID ,
bool   
) const
protected
bool FaultTrace::includes ( const BinID ) const
bool FaultTrace::isCrossing ( const BinID ,
float  ,
const BinID ,
float   
) const
bool FaultTrace::isDefined ( int  ) const
virtual

Implements Coord3List.

bool FaultTrace::isEditedOnCrl ( ) const
inline
bool FaultTrace::isInl ( ) const
inline
bool FaultTrace::isOK ( ) const
bool FaultTrace::isOnFault ( const BinID ,
float  z,
float  threshold 
) const
bool FaultTrace::isOnPosSide ( const BinID ,
float   
) const
int FaultTrace::lineNr ( ) const
inline
FaultTrace::mODTextTranslationClass ( FaultTrace  )
private
int FaultTrace::nextID ( int  previd) const
virtual

If previd == -1, first id is returned. If -1 is returned, no more id's are available.

Implements Coord3List.

void FaultTrace::remove ( int  )
virtual

Implements Coord3List.

void FaultTrace::remove ( const TypeSet< int > &  )
inlinevirtual

May contain duplicates.

Implements Coord3List.

void FaultTrace::set ( int  ,
const Coord3  
)
virtual

Implements Coord3List.

void FaultTrace::set ( int  ,
const Coord3 ,
float   
)
void FaultTrace::setEditedOnCrl ( bool  yn)
inline
void FaultTrace::setIndices ( const TypeSet< int > &  )
void FaultTrace::setIsInl ( bool  yn)
inline
void FaultTrace::setLineNr ( int  nr)
inline
int FaultTrace::size ( ) const
inlinevirtual

Implements Coord3List.

static const char* FaultTrace::sKeyFaultAct ( )
inlinestatic
const Interval<int>& FaultTrace::trcRange ( ) const
inline
const Interval<float>& FaultTrace::zRange ( ) const
inline

Member Data Documentation

TypeSet<int> FaultTrace::coordindices_
protected
TypeSet<Coord3> FaultTrace::coords_
protected
bool FaultTrace::editedoncrl_
protected
bool FaultTrace::isinl_
protected
Threads::Lock FaultTrace::lock_
mutableprotected
int FaultTrace::nr_
protected
TypeSet<Line2> FaultTrace::tracesegs_
protected
TypeSet<float> FaultTrace::trcnrs_
protected
Interval<int> FaultTrace::trcrange_
protected
Interval<float> FaultTrace::zrange_
protected

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019