OpendTect  6.6
Public Member Functions | Static 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)
 
Geometry3Das3D ()
 
float averageTrcDist () const
 
const Pos::IdxPair2CoordbinID2Coord () const
 
RelationType compare (const Geometry &, bool usezrg) const
 
float crlDistance () const
 
StepInterval< int > crlRange () const
 
int crlStep () const
 
virtual const char * getName () const
 
virtual bool includes (int line, int tracenr) const
 
float inlDistance () const
 
StepInterval< int > inlRange () const
 
int inlStep () const
 
virtual bool is2D () const
 
bool isClockWise () const
 
bool isRightHandSystem () const
 
virtual TrcKey nearestTrace (const Coord &, float *distance) const
 
Coord3 oneStepTranslation (const Coord3 &planenormal) const
 
void setGeomData (const Pos::IdxPair2Coord &, const TrcKeyZSampling &, float zscl)
 
virtual void setName (const char *nm)
 
void setZDomain (const ZDomain::Def &def)
 
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...
 
virtual Coord toCoord (int line, int tracenr) const
 
Coord transform (const BinID &) const
 
BinID transform (const Coord &) const
 
const ZDomain::DefzDomain () const
 
StepInterval< float > zRange () const
 
float zScale () const
 
float zStep () const
 
- Public Member Functions inherited from Survey::Geometry
virtual Geometry2Das2D ()
 
const Geometry2Das2D () const
 
const Geometry3Das3D () const
 
ID getID () const
 
Pos::SurvID getSurvID () const
 
virtual TrcKey getTrace (const Coord &, float maxdist) const
 
bool includes (const BinID &b) const
 
bool includes (const TrcKey &) const
 
virtual bool includes (Pos::LineID, Pos::TraceID) const =0
 
const TrcKeyZSamplingsampling () const
 
void setID (ID id)
 
Coord toCoord (const BinID &b) const
 
virtual Coord toCoord (Pos::LineID, Pos::TraceID) const =0
 

Static Public Member Functions

static Geometry3Dcurrent ()
 
- Static Public Member Functions inherited from Survey::Geometry
static const Geometrydefault3D ()
 
static bool exists (const TrcKey &)
 
static Coord toCoord (const TrcKey &)
 

Protected Attributes

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

Additional Inherited Members

- Public Types inherited from Survey::Geometry
typedef Pos::GeomID ID
 
enum  RelationType {
  UnRelated =0 , Related , SubSet , SuperSet ,
  Identical
}
 
- Protected Member Functions inherited from Survey::Geometry
 Geometry ()
 

Detailed Description

Scaled down survey geometry for an inl/crl geometry.

<>

Constructor & Destructor Documentation

◆ Geometry3D()

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

Member Function Documentation

◆ as3D()

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

Reimplemented from Survey::Geometry.

◆ averageTrcDist()

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

Implements Survey::Geometry.

◆ binID2Coord()

const Pos::IdxPair2Coord& Survey::Geometry3D::binID2Coord ( ) const
inline

◆ compare()

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

Reimplemented from Survey::Geometry.

◆ crlDistance()

float Survey::Geometry3D::crlDistance ( ) const

◆ crlRange()

StepInterval<int> Survey::Geometry3D::crlRange ( ) const

◆ crlStep()

int Survey::Geometry3D::crlStep ( ) const

◆ current()

static Geometry3D& Survey::Geometry3D::current ( )
static

◆ getName()

virtual const char* Survey::Geometry3D::getName ( ) const
inlinevirtual

Implements Survey::Geometry.

◆ includes()

virtual bool Survey::Geometry3D::includes ( int  line,
int  tracenr 
) const
virtual

◆ inlDistance()

float Survey::Geometry3D::inlDistance ( ) const

◆ inlRange()

StepInterval<int> Survey::Geometry3D::inlRange ( ) const

◆ inlStep()

int Survey::Geometry3D::inlStep ( ) const

◆ is2D()

virtual bool Survey::Geometry3D::is2D ( ) const
inlinevirtual

Implements Survey::Geometry.

◆ isClockWise()

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

Legacy, will be removed.

◆ isRightHandSystem()

bool Survey::Geometry3D::isRightHandSystem ( ) const

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

◆ nearestTrace()

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

Implements Survey::Geometry.

◆ oneStepTranslation()

Coord3 Survey::Geometry3D::oneStepTranslation ( const Coord3 planenormal) const

◆ setGeomData()

void Survey::Geometry3D::setGeomData ( const Pos::IdxPair2Coord ,
const TrcKeyZSampling ,
float  zscl 
)

◆ setName()

virtual void Survey::Geometry3D::setName ( const char *  nm)
inlinevirtual

◆ setZDomain()

void Survey::Geometry3D::setZDomain ( const ZDomain::Def def)
inline

◆ snap()

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

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

◆ snapStep()

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

see snap() for direction

◆ snapZ()

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

see snap() for direction

◆ toCoord()

virtual Coord Survey::Geometry3D::toCoord ( int  line,
int  tracenr 
) const
virtual

◆ transform() [1/2]

Coord Survey::Geometry3D::transform ( const BinID ) const

◆ transform() [2/2]

BinID Survey::Geometry3D::transform ( const Coord ) const

◆ zDomain()

const ZDomain::Def& Survey::Geometry3D::zDomain ( ) const
inline

◆ zRange()

StepInterval<float> Survey::Geometry3D::zRange ( ) const

◆ zScale()

float Survey::Geometry3D::zScale ( ) const
inline

◆ zStep()

float Survey::Geometry3D::zStep ( ) const

Member Data Documentation

◆ b2c_

Pos::IdxPair2Coord Survey::Geometry3D::b2c_
protected

◆ name_

BufferString Survey::Geometry3D::name_
protected

◆ zdomain_

ZDomain::Def Survey::Geometry3D::zdomain_
protected

◆ zscale_

float Survey::Geometry3D::zscale_
protected

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