OpendTect  7.0
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 () override
 
float averageTrcDist () const override
 
const Pos::IdxPair2CoordbinID2Coord () const
 
RelationType compare (const Geometry &, bool usezrg) const override
 
float crlDistance () const
 
StepInterval< int > crlRange () const
 
int crlStep () const
 
const char * getName () const override
 
bool includes (int line, int tracenr) const override
 
float inlDistance () const
 
StepInterval< int > inlRange () const
 
int inlStep () const
 
bool is2D () const override
 
bool isClockWise () const
 
bool isRightHandSystem () const
 
TrcKey nearestTrace (const Coord &, float *distance) const override
 
Coord3 oneStepTranslation (const Coord3 &planenormal) const
 
void setGeomData (const Pos::IdxPair2Coord &, const TrcKeyZSampling &, float zscl)
 
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...
 
Coord toCoord (int line, int tracenr) const override
 
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
 
OD::GeomSystem geomSystem () const
 
Pos::GeomID getID () const
 
OD::GeomSystem 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 (Pos::GeomID id)
 
Coord toCoord (const BinID &b) const
 
virtual Coord toCoord (Pos::LineID, Pos::TraceID) const =0
 
- Public Member Functions inherited from RefCount::Referenced
void addObserver (WeakPtrBase *obs)
 Not for normal use. May become private. More...
 
int nrRefs () const
 Only for expert use. More...
 
void ref () const
 
bool refIfReffed () const
 Don't use in production, for debugging. More...
 
void removeObserver (WeakPtrBase *obs)
 Not for normal use. May become private. More...
 
bool tryRef () const
 Not for normal use. May become private. More...
 
void unRef () const
 
void unRefNoDelete () const
 

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 &)
 
- Static Public Member Functions inherited from RefCount::Referenced
static bool isSane (const Referenced *)
 

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
enum  RelationType {
  UnRelated =0 , Related , SubSet , SuperSet ,
  Identical
}
 
- Protected Member Functions inherited from Survey::Geometry
 Geometry ()
 
virtual ~Geometry ()
 
- Protected Member Functions inherited from RefCount::Referenced
 Referenced ()
 
 Referenced (const Referenced &)
 
virtual ~Referenced ()
 
Referencedoperator= (const Referenced &)
 

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 ( )
inlineoverridevirtual

Reimplemented from Survey::Geometry.

◆ averageTrcDist()

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

Implements Survey::Geometry.

◆ binID2Coord()

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

◆ compare()

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

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()

const char* Survey::Geometry3D::getName ( ) const
inlineoverridevirtual

Implements Survey::Geometry.

◆ includes()

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

◆ inlDistance()

float Survey::Geometry3D::inlDistance ( ) const

◆ inlRange()

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

◆ inlStep()

int Survey::Geometry3D::inlStep ( ) const

◆ is2D()

bool Survey::Geometry3D::is2D ( ) const
inlineoverridevirtual

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()

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

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()

void Survey::Geometry3D::setName ( const char *  nm)
inline

◆ 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()

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

◆ 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-2024