OpendTect-6_4  6.4
Public Member Functions | Protected Attributes | List of all members
Survey::Geometry3D Class Reference

Scaled down survey geometry for an inl/crl geometry. More...

Inheritance diagram for Survey::Geometry3D:
[legend]

Public Member Functions

 Geometry3D (const char *nm, const ZDomain::Def &zd)
 
virtual bool is2D () const
 
virtual const char * getName () const
 
virtual void setName (const char *nm)
 
float zScale () const
 
StepInterval< int > inlRange () const
 
StepInterval< int > crlRange () const
 
StepInterval< float > zRange () const
 
int inlStep () const
 
int crlStep () const
 
float zStep () const
 
virtual Coord toCoord (int line, int tracenr) const
 
virtual TrcKey nearestTrace (const Coord &, float *distance) const
 
virtual bool includes (int line, int tracenr) const
 
Coord transform (const BinID &) const
 
BinID transform (const Coord &) const
 
const Pos::IdxPair2CoordbinID2Coord () const
 
float inlDistance () const
 
float crlDistance () const
 
bool isRightHandSystem () const
 
bool isClockWise () const
 
const ZDomain::DefzDomain () const
 
void setZDomain (const ZDomain::Def &def)
 
Coord3 oneStepTranslation (const Coord3 &planenormal) const
 
void setGeomData (const Pos::IdxPair2Coord &, const TrcKeyZSampling &, float zscl)
 
float averageTrcDist () const
 
RelationType compare (const Geometry &, bool usezrg) const
 
Geometry3Das3D ()
 
void snap (BinID &, const BinID &dir=BinID(0, 0)) const
 dir = 0 : auto; -1 round downward, 1 round upward); More...
 
void snapStep (BinID &, const BinID &dir=BinID(0, 0)) const
 see snap() for direction More...
 
void snapZ (float &, int direction=0) const
 see snap() for direction More...
 
- Public Member Functions inherited from Survey::Geometry
Pos::SurvID getSurvID () const
 
ID getID () const
 
void setID (ID id)
 
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
 
const TrcKeyZSamplingsampling () const
 
virtual Geometry2Das2D ()
 
const Geometry2Das2D () const
 
const Geometry3Das3D () const
 

Protected Attributes

BufferString name_
 
ZDomain::Def zdomain_
 
Pos::IdxPair2Coord b2c_
 
float zscale_
 
- Protected Attributes inherited from Survey::Geometry
TrcKeyZSampling sampling_
 

Additional Inherited Members

- Public Types inherited from Survey::Geometry
enum  RelationType {
  UnRelated =0, Related, SubSet, SuperSet,
  Identical
}
 
typedef Pos::GeomID ID
 
- Static Public Member Functions inherited from Survey::Geometry
static const Geometrydefault3D ()
 
static bool exists (const TrcKey &)
 
static Coord toCoord (const TrcKey &)
 
- Protected Member Functions inherited from Survey::Geometry
 Geometry ()
 

Detailed Description

Scaled down survey geometry for an inl/crl geometry.

Constructor & Destructor Documentation

Survey::Geometry3D::Geometry3D ( const char *  nm,
const ZDomain::Def zd 
)

Member Function Documentation

Geometry3D* Survey::Geometry3D::as3D ( )
inlinevirtual

Reimplemented from Survey::Geometry.

float Survey::Geometry3D::averageTrcDist ( ) const
virtual

Implements Survey::Geometry.

const Pos::IdxPair2Coord& Survey::Geometry3D::binID2Coord ( ) const
inline
RelationType Survey::Geometry3D::compare ( const Geometry ,
bool  usezrg 
) const
virtual

Reimplemented from Survey::Geometry.

float Survey::Geometry3D::crlDistance ( ) const
StepInterval<int> Survey::Geometry3D::crlRange ( ) const
int Survey::Geometry3D::crlStep ( ) const
virtual const char* Survey::Geometry3D::getName ( ) const
inlinevirtual

Implements Survey::Geometry.

virtual bool Survey::Geometry3D::includes ( int  line,
int  tracenr 
) const
virtual
float Survey::Geometry3D::inlDistance ( ) const
StepInterval<int> Survey::Geometry3D::inlRange ( ) const
int Survey::Geometry3D::inlStep ( ) const
virtual bool Survey::Geometry3D::is2D ( ) const
inlinevirtual

Implements Survey::Geometry.

bool Survey::Geometry3D::isClockWise ( ) const
inline

Legacy, will be removed.

bool Survey::Geometry3D::isRightHandSystem ( ) const

Orientation is determined by rotating the inline axis to the crossline axis.

virtual TrcKey Survey::Geometry3D::nearestTrace ( const Coord ,
float *  distance 
) const
virtual

Implements Survey::Geometry.

Coord3 Survey::Geometry3D::oneStepTranslation ( const Coord3 planenormal) const
void Survey::Geometry3D::setGeomData ( const Pos::IdxPair2Coord ,
const TrcKeyZSampling ,
float  zscl 
)
virtual void Survey::Geometry3D::setName ( const char *  nm)
inlinevirtual
void Survey::Geometry3D::setZDomain ( const ZDomain::Def def)
inline
void Survey::Geometry3D::snap ( BinID ,
const BinID dir = BinID(0, 0) 
) const

dir = 0 : auto; -1 round downward, 1 round upward);

void Survey::Geometry3D::snapStep ( BinID ,
const BinID dir = BinID(0, 0) 
) const

see snap() for direction

void Survey::Geometry3D::snapZ ( float &  ,
int  direction = 0 
) const

see snap() for direction

virtual Coord Survey::Geometry3D::toCoord ( int  line,
int  tracenr 
) const
virtual
Coord Survey::Geometry3D::transform ( const BinID ) const
BinID Survey::Geometry3D::transform ( const Coord ) const
const ZDomain::Def& Survey::Geometry3D::zDomain ( ) const
inline
StepInterval<float> Survey::Geometry3D::zRange ( ) const
float Survey::Geometry3D::zScale ( ) const
inline
float Survey::Geometry3D::zStep ( ) const

Member Data Documentation

Pos::IdxPair2Coord Survey::Geometry3D::b2c_
protected
BufferString Survey::Geometry3D::name_
protected
ZDomain::Def Survey::Geometry3D::zdomain_
protected
float Survey::Geometry3D::zscale_
protected

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