Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes

Pos::EMSurfaceProvider Class Reference

Provider based on surface(s). More...

Inheritance diagram for Pos::EMSurfaceProvider:
Pos::Filter Pos::EMSurface2DProvider3D Pos::EMSurfaceProvider2D Pos::EMSurfaceProvider3D

List of all members.

Public Member Functions

 EMSurfaceProvider ()
 ~EMSurfaceProvider ()
const char * type () const
 sKey::Surface
virtual bool initialize (TaskRunner *tr=0)
virtual void reset ()
virtual bool toNextPos ()
virtual bool toNextZ ()
virtual float curZ () const
virtual bool hasZAdjustment () const
virtual float adjustedZ (const Coord &, float) const
virtual void usePar (const IOPar &)
virtual void fillPar (IOPar &) const
virtual void getSummary (BufferString &) const
virtual void getZRange (Interval< float > &) const
virtual od_int64 estNrPos () const
virtual int estNrZPerPos () const
int nrSurfaces () const
MultiID surfaceID (int idx) const
EM::Surfacesurface (int idx)
const EM::Surfacesurface (int idx) const
float zStep () const
void setZStep (float s)
Interval< float > extraZ () const
void setExtraZ (Interval< float > i)

Static Public Member Functions

static const char * id1Key ()
static const char * id2Key ()
static const char * zstepKey ()
static const char * extraZKey ()

Protected Member Functions

 EMSurfaceProvider (const EMSurfaceProvider &)
void copyFrom (const Pos::EMSurfaceProvider &)

Protected Attributes

MultiID id1_
MultiID id2_
EM::Surfacesurf1_
EM::Surfacesurf2_
float zstep_
Interval< float > extraz_
HorSampling hs_
Interval< float > zrg1_
Interval< float > zrg2_
od_int64 estnrpos_
EM::RowColIteratoriterator_
EM::PosID curpos_
Interval< float > curzrg_
float curz_

Detailed Description

Provider based on surface(s).

For one surface, the provider iterates trhough the horizon. For two horizons, the points between the surfaces are visited with the specified Z step.


Constructor & Destructor Documentation

Pos::EMSurfaceProvider::EMSurfaceProvider (  ) 
Pos::EMSurfaceProvider::~EMSurfaceProvider (  ) 
Pos::EMSurfaceProvider::EMSurfaceProvider ( const EMSurfaceProvider  )  [protected]

Member Function Documentation

virtual float Pos::EMSurfaceProvider::adjustedZ ( const Coord ,
float   
) const [virtual]

Reimplemented from Pos::Filter.

void Pos::EMSurfaceProvider::copyFrom ( const Pos::EMSurfaceProvider  )  [protected]
virtual float Pos::EMSurfaceProvider::curZ (  )  const [virtual]
virtual od_int64 Pos::EMSurfaceProvider::estNrPos (  )  const [inline, virtual]
virtual int Pos::EMSurfaceProvider::estNrZPerPos (  )  const [virtual]
Interval<float> Pos::EMSurfaceProvider::extraZ (  )  const [inline]
static const char* Pos::EMSurfaceProvider::extraZKey (  )  [static]
virtual void Pos::EMSurfaceProvider::fillPar ( IOPar  )  const [virtual]

Implements Pos::Filter.

virtual void Pos::EMSurfaceProvider::getSummary ( BufferString  )  const [virtual]

Implements Pos::Filter.

virtual void Pos::EMSurfaceProvider::getZRange ( Interval< float > &   )  const [virtual]
virtual bool Pos::EMSurfaceProvider::hasZAdjustment (  )  const [virtual]

Reimplemented from Pos::Filter.

static const char* Pos::EMSurfaceProvider::id1Key (  )  [static]
static const char* Pos::EMSurfaceProvider::id2Key (  )  [static]
virtual bool Pos::EMSurfaceProvider::initialize ( TaskRunner tr = 0  )  [virtual]

Reimplemented from Pos::Filter.

Reimplemented in Pos::EMSurface2DProvider3D.

int Pos::EMSurfaceProvider::nrSurfaces (  )  const
virtual void Pos::EMSurfaceProvider::reset (  )  [virtual]

Implements Pos::Filter.

void Pos::EMSurfaceProvider::setExtraZ ( Interval< float >  i  )  [inline]
void Pos::EMSurfaceProvider::setZStep ( float  s  )  [inline]
EM::Surface* Pos::EMSurfaceProvider::surface ( int  idx  )  [inline]
const EM::Surface* Pos::EMSurfaceProvider::surface ( int  idx  )  const [inline]
MultiID Pos::EMSurfaceProvider::surfaceID ( int  idx  )  const [inline]
virtual bool Pos::EMSurfaceProvider::toNextPos (  )  [virtual]
virtual bool Pos::EMSurfaceProvider::toNextZ (  )  [virtual]
const char* Pos::EMSurfaceProvider::type (  )  const [virtual]
virtual void Pos::EMSurfaceProvider::usePar ( const IOPar  )  [virtual]

Implements Pos::Filter.

float Pos::EMSurfaceProvider::zStep (  )  const [inline]
static const char* Pos::EMSurfaceProvider::zstepKey (  )  [static]

Member Data Documentation

float Pos::EMSurfaceProvider::curz_ [protected]
od_int64 Pos::EMSurfaceProvider::estnrpos_ [protected]
float Pos::EMSurfaceProvider::zstep_ [protected]