OpendTect  7.0
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Pos::RangeProvider2D Class Reference

2D provider based on StepInterval<int>. More...

Inheritance diagram for Pos::RangeProvider2D:
[legend]

Public Member Functions

 RangeProvider2D ()
 
 RangeProvider2D (const RangeProvider2D &)
 
 ~RangeProvider2D ()
 
Providerclone () const override
 
Coord curCoord () const override
 
Pos::GeomID curGeomID () const override
 
int curNr () const override
 
TrcKey curTrcKey () const override
 
float curZ () const override
 
od_int64 estNrPos () const override
 
int estNrZPerPos () const override
 
const char * factoryKeyword () const override
 
void fillPar (IOPar &) const override
 
void getExtent (Interval< int > &rg, int lidx=-1) const override
 
void getSummary (BufferString &) const override
 
void getZRange (Interval< float > &rg, int lidx) const override
 
bool includes (const Coord &, float z=mUdf(float)) const override
 
bool includes (int, float z=mUdf(float), int lidx=0) const override
 
RangeProvider2Doperator= (const RangeProvider2D &)
 
void reset () override
 
void setTrcRange (const StepInterval< int > &, int idx=0)
 
void setZRange (const StepInterval< float > &, int idx=0)
 
bool toNextPos () override
 
bool toNextZ () override
 
const StepInterval< int > & trcRange (int lidx) const
 
const char * type () const override
 sKey::Range() More...
 
void usePar (const IOPar &) override
 
const StepInterval< float > & zRange (int lidx=0) const
 
- Public Member Functions inherited from Pos::Provider2D
static ::Factory< Provider2D > & factory ()
 
uiString factoryDisplayName () const override
 
const char * factoryKeyword () const override
 
bool is2D () const override
 
OD::GeomSystem survID () const override
 
- Public Member Functions inherited from Pos::Filter2D
 Filter2D ()
 
 ~Filter2D ()
 
void addGeomID (const Pos::GeomID)
 
Pos::GeomID geomID (int) const
 
bool includes (Pos::GeomID, int trcnr, float z=mUdf(float)) const
 
int nrLines () const
 
void removeGeomID (int lidx)
 
- Public Member Functions inherited from Pos::Filter
virtual ~Filter ()
 
virtual float adjustedZ (const Coord &, float z) const
 
virtual bool hasZAdjustment () const
 
virtual bool initialize (TaskRunner *=nullptr)
 
- Public Member Functions inherited from Pos::Provider
float estRatio (const Provider &) const override
 
virtual void getTrcKeyZSampling (TrcKeyZSampling &) const
 
bool isProvider () const override
 

Static Public Member Functions

static Provider2Dcreate ()
 
static void initClass ()
 
- Static Public Member Functions inherited from Pos::Provider2D
static Provider2Dmake (const IOPar &)
 
- Static Public Member Functions inherited from Pos::Filter2D
static Filter2Dmake (const IOPar &)
 
- Static Public Member Functions inherited from Pos::Filter
static Filtermake (const IOPar &, bool is2d)
 
- Static Public Member Functions inherited from Pos::Provider
static Providermake (const IOPar &, bool is2d)
 

Protected Member Functions

const Survey::Geometry2DcurGeom () const
 
StepInterval< int > curTrcRange () const
 
StepInterval< float > curZRange () const
 
void getCurRanges () const
 

Protected Attributes

const Survey::Geometry2Dcurgeom_
 
int curlineidx_
 
int curlinezsampsz_
 
int curtrcidx_
 
StepInterval< int > curtrcrg_
 
int curzidx_
 
StepInterval< float > curzrg_
 
TypeSet< StepInterval< int > > trcrgs_
 
TypeSet< StepInterval< float > > zrgs_
 
- Protected Attributes inherited from Pos::Filter2D
TypeSet< Pos::GeomIDgeomids_
 

Detailed Description

2D provider based on StepInterval<int>.

Can only be used if Line2DData is filled.

<>

Constructor & Destructor Documentation

◆ RangeProvider2D() [1/2]

Pos::RangeProvider2D::RangeProvider2D ( )

◆ RangeProvider2D() [2/2]

Pos::RangeProvider2D::RangeProvider2D ( const RangeProvider2D )

◆ ~RangeProvider2D()

Pos::RangeProvider2D::~RangeProvider2D ( )

Member Function Documentation

◆ clone()

Provider* Pos::RangeProvider2D::clone ( ) const
inlineoverridevirtual

Implements Pos::Filter.

◆ create()

static Provider2D* Pos::RangeProvider2D::create ( )
inlinestatic

◆ curCoord()

Coord Pos::RangeProvider2D::curCoord ( ) const
overridevirtual

Implements Pos::Provider.

◆ curGeom()

const Survey::Geometry2D* Pos::RangeProvider2D::curGeom ( ) const
protected

◆ curGeomID()

Pos::GeomID Pos::RangeProvider2D::curGeomID ( ) const
overridevirtual

Implements Pos::Provider2D.

◆ curNr()

int Pos::RangeProvider2D::curNr ( ) const
overridevirtual

Implements Pos::Provider2D.

◆ curTrcKey()

TrcKey Pos::RangeProvider2D::curTrcKey ( ) const
overridevirtual

Implements Pos::Provider.

◆ curTrcRange()

StepInterval<int> Pos::RangeProvider2D::curTrcRange ( ) const
protected

◆ curZ()

float Pos::RangeProvider2D::curZ ( ) const
overridevirtual

Implements Pos::Provider.

◆ curZRange()

StepInterval<float> Pos::RangeProvider2D::curZRange ( ) const
protected

◆ estNrPos()

od_int64 Pos::RangeProvider2D::estNrPos ( ) const
overridevirtual

Implements Pos::Provider.

◆ estNrZPerPos()

int Pos::RangeProvider2D::estNrZPerPos ( ) const
overridevirtual

Reimplemented from Pos::Provider.

◆ factoryKeyword()

const char* Pos::RangeProvider2D::factoryKeyword ( ) const
inlineoverride

◆ fillPar()

void Pos::RangeProvider2D::fillPar ( IOPar ) const
overridevirtual

Implements Pos::Filter.

◆ getCurRanges()

void Pos::RangeProvider2D::getCurRanges ( ) const
protected

◆ getExtent()

void Pos::RangeProvider2D::getExtent ( Interval< int > &  rg,
int  lidx = -1 
) const
overridevirtual

Implements Pos::Provider2D.

◆ getSummary()

void Pos::RangeProvider2D::getSummary ( BufferString ) const
overridevirtual

Implements Pos::Filter.

◆ getZRange()

void Pos::RangeProvider2D::getZRange ( Interval< float > &  rg,
int  lidx 
) const
overridevirtual

Implements Pos::Provider2D.

◆ includes() [1/2]

bool Pos::RangeProvider2D::includes ( const Coord ,
float  z = mUdf(float) 
) const
overridevirtual

Implements Pos::Provider2D.

◆ includes() [2/2]

bool Pos::RangeProvider2D::includes ( int  ,
float  z = mUdf(float),
int  lidx = 0 
) const
overridevirtual

Implements Pos::Provider2D.

◆ initClass()

static void Pos::RangeProvider2D::initClass ( )
static

◆ operator=()

RangeProvider2D& Pos::RangeProvider2D::operator= ( const RangeProvider2D )

◆ reset()

void Pos::RangeProvider2D::reset ( )
overridevirtual

Implements Pos::Filter.

◆ setTrcRange()

void Pos::RangeProvider2D::setTrcRange ( const StepInterval< int > &  ,
int  idx = 0 
)

◆ setZRange()

void Pos::RangeProvider2D::setZRange ( const StepInterval< float > &  ,
int  idx = 0 
)

◆ toNextPos()

bool Pos::RangeProvider2D::toNextPos ( )
overridevirtual

Implements Pos::Provider.

◆ toNextZ()

bool Pos::RangeProvider2D::toNextZ ( )
overridevirtual

Implements Pos::Provider.

◆ trcRange()

const StepInterval<int>& Pos::RangeProvider2D::trcRange ( int  lidx) const
inline

◆ type()

const char* Pos::RangeProvider2D::type ( ) const
overridevirtual

◆ usePar()

void Pos::RangeProvider2D::usePar ( const IOPar )
overridevirtual

Implements Pos::Filter.

◆ zRange()

const StepInterval<float>& Pos::RangeProvider2D::zRange ( int  lidx = 0) const
inline

Member Data Documentation

◆ curgeom_

const Survey::Geometry2D* Pos::RangeProvider2D::curgeom_
protected

◆ curlineidx_

int Pos::RangeProvider2D::curlineidx_
protected

◆ curlinezsampsz_

int Pos::RangeProvider2D::curlinezsampsz_
mutableprotected

◆ curtrcidx_

int Pos::RangeProvider2D::curtrcidx_
protected

◆ curtrcrg_

StepInterval<int> Pos::RangeProvider2D::curtrcrg_
mutableprotected

◆ curzidx_

int Pos::RangeProvider2D::curzidx_
protected

◆ curzrg_

StepInterval<float> Pos::RangeProvider2D::curzrg_
mutableprotected

◆ trcrgs_

TypeSet< StepInterval<int> > Pos::RangeProvider2D::trcrgs_
protected

◆ zrgs_

TypeSet< StepInterval<float> > Pos::RangeProvider2D::zrgs_
protected

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