OpendTect-6_4  6.4
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes | List of all members
Survey::Geometry Class Referenceabstract

A Geometry which holds trace positions. More...

Inheritance diagram for Survey::Geometry:
[legend]

Public Types

enum  RelationType {
  UnRelated =0, Related, SubSet, SuperSet,
  Identical
}
 
typedef Pos::GeomID ID
 

Public Member Functions

virtual bool is2D () const =0
 
Pos::SurvID getSurvID () const
 
ID getID () const
 
void setID (ID id)
 
virtual const char * getName () const =0
 
virtual Coord toCoord (Pos::LineID, Pos::TraceID) const =0
 
Coord toCoord (const BinID &b) const
 
virtual bool includes (Pos::LineID, Pos::TraceID) const =0
 
bool includes (const TrcKey &) const
 
bool includes (const BinID &b) const
 
virtual TrcKey getTrace (const Coord &, float maxdist) const
 
virtual TrcKey nearestTrace (const Coord &, float *distance=0) const =0
 
const TrcKeyZSamplingsampling () const
 
virtual float averageTrcDist () const =0
 
virtual RelationType compare (const Geometry &, bool usezrg) const
 
virtual Geometry2Das2D ()
 
const Geometry2Das2D () const
 
virtual Geometry3Das3D ()
 
const Geometry3Das3D () const
 

Static Public Member Functions

static const Geometrydefault3D ()
 
static bool exists (const TrcKey &)
 
static Coord toCoord (const TrcKey &)
 

Protected Member Functions

 Geometry ()
 

Protected Attributes

TrcKeyZSampling sampling_
 

Private Member Functions

 mRefCountImplWithDestructor (Geometry, virtual ~Geometry(), delete this;)
 

Private Attributes

ID id_
 

Detailed Description

A Geometry which holds trace positions.

For 3D, a geometry is an Inl/Crl System. For 2D, each line has its own Geometry.

Beware, the Geometry::ID != Survkey::ID for 2D geometries. The Geometry::ID will end up in the lineNr() of the TrcKey.

Member Typedef Documentation

Member Enumeration Documentation

Enumerator
UnRelated 
Related 
SubSet 
SuperSet 
Identical 

Constructor & Destructor Documentation

Survey::Geometry::Geometry ( )
protected

Member Function Documentation

virtual Geometry2D* Survey::Geometry::as2D ( )
inlinevirtual

Reimplemented in Survey::Geometry2D.

const Geometry2D* Survey::Geometry::as2D ( ) const
virtual Geometry3D* Survey::Geometry::as3D ( )
inlinevirtual

Reimplemented in Survey::Geometry3D.

const Geometry3D* Survey::Geometry::as3D ( ) const
virtual float Survey::Geometry::averageTrcDist ( ) const
pure virtual

Implemented in Survey::Geometry3D, and Survey::Geometry2D.

virtual RelationType Survey::Geometry::compare ( const Geometry ,
bool  usezrg 
) const
inlinevirtual

Reimplemented in Survey::Geometry3D, and Survey::Geometry2D.

static const Geometry& Survey::Geometry::default3D ( )
static
static bool Survey::Geometry::exists ( const TrcKey )
static
ID Survey::Geometry::getID ( ) const
inline
virtual const char* Survey::Geometry::getName ( ) const
pure virtual

Implemented in Survey::Geometry2D, and Survey::Geometry3D.

Pos::SurvID Survey::Geometry::getSurvID ( ) const
virtual TrcKey Survey::Geometry::getTrace ( const Coord ,
float  maxdist 
) const
virtual
virtual bool Survey::Geometry::includes ( Pos::LineID  ,
Pos::TraceID   
) const
pure virtual
bool Survey::Geometry::includes ( const TrcKey ) const
bool Survey::Geometry::includes ( const BinID b) const
inline
virtual bool Survey::Geometry::is2D ( ) const
pure virtual

Implemented in Survey::Geometry2D, and Survey::Geometry3D.

Survey::Geometry::mRefCountImplWithDestructor ( Geometry  ,
virtual ~  Geometry(),
delete this;   
)
private
virtual TrcKey Survey::Geometry::nearestTrace ( const Coord ,
float *  distance = 0 
) const
pure virtual

Implemented in Survey::Geometry3D, and Survey::Geometry2D.

const TrcKeyZSampling& Survey::Geometry::sampling ( ) const
inline
void Survey::Geometry::setID ( ID  id)
inline
virtual Coord Survey::Geometry::toCoord ( Pos::LineID  ,
Pos::TraceID   
) const
pure virtual
Coord Survey::Geometry::toCoord ( const BinID b) const
inline
static Coord Survey::Geometry::toCoord ( const TrcKey )
static

Member Data Documentation

ID Survey::Geometry::id_
private
TrcKeyZSampling Survey::Geometry::sampling_
protected

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