Classes | Public Member Functions | Protected Member Functions | Protected Attributes

PosInfo::Detector Class Reference

Determines many geometry parameters from a series of Coords with corresponding BinID or trace numbers and offsets if pre-stack. More...

List of all members.

Classes

struct  Setup

Public Member Functions

 Detector (const Setup &)
 ~Detector ()
bool is2D () const
bool isPS () const
void reInit ()
bool add (const Coord &, const BinID &)
bool add (const Coord &, const BinID &, float offs)
bool add (const Coord &, int nr)
bool add (const Coord &, int nr, float offs)
bool add (const Coord &, const BinID &, int nr, float offs)
bool add (const CrdBidOffs &)
bool finish ()
bool usable () const
const char * errMsg () const
int nrPositions (bool uniq=true) const
Coord minCoord () const
Coord maxCoord () const
BinID start () const
BinID stop () const
BinID step () const
Interval< float > offsRg () const
float avgDist () const
CrdBidOffs firstPosition () const
CrdBidOffs lastPosition () const
bool haveGaps (bool inldir=false) const
void report (IOPar &) const
const BinIDSortingsorting () const
bool inlSorted () const
bool crlSorted () const
void getCubeData (CubeData &) const
 if crlSorted(), inl and crl are swapped
const char * getSurvInfo (HorSampling &, Coord crd[3]) const
StepInterval< int > getRange (bool inldir=false) const

Protected Member Functions

bool applySortAnal ()
void addFirst (const PosInfo::CrdBidOffs &)
bool addNext (const PosInfo::CrdBidOffs &)
void addLine ()
void addPos ()
void setCur (const PosInfo::CrdBidOffs &)
void getBinIDRanges ()
int getStep (bool inl) const
 smallest
void addToErrMsg (const CrdBidOffs &)
CrdBidOffs workCBO (const CrdBidOffs &) const
CrdBidOffs userCBO (const CrdBidOffs &) const

Protected Attributes

Setup setup_
BinIDSortingsorting_
ObjectSet< LineDatalds_
int nruniquepos_
int nrpos_
Coord mincoord_
Coord maxcoord_
Interval< float > offsrg_
int nroffsperpos_
bool allstd_
BinID start_
BinID stop_
BinID step_
bool inlirreg_
bool crlirreg_
Interval< float > distrg_
 2D
float avgdist_
 2D
CrdBidOffs firstcbo_
CrdBidOffs lastcbo_
CrdBidOffs llnstart_
 in 3D, of longest line
CrdBidOffs llnstop_
 in 3D, of longest line
CrdBidOffs firstduppos_
CrdBidOffs firstaltnroffs_
BinIDSortingAnalysersortanal_
TypeSet< CrdBidOffscbobuf_
int curline_
int curseg_
CrdBidOffs curcbo_
CrdBidOffs prevcbo_
CrdBidOffs curusrcbo_
CrdBidOffs prevusrcbo_
CrdBidOffs curlnstart_
int nroffsthispos_
BufferString errmsg_

Detailed Description

Determines many geometry parameters from a series of Coords with corresponding BinID or trace numbers and offsets if pre-stack.


Constructor & Destructor Documentation

PosInfo::Detector::Detector ( const Setup  ) 
PosInfo::Detector::~Detector (  ) 

Member Function Documentation

bool PosInfo::Detector::add ( const Coord ,
const BinID  
)
bool PosInfo::Detector::add ( const Coord ,
const BinID ,
float  offs 
)
bool PosInfo::Detector::add ( const Coord ,
const BinID ,
int  nr,
float  offs 
)
bool PosInfo::Detector::add ( const CrdBidOffs  ) 
bool PosInfo::Detector::add ( const Coord ,
int  nr 
)
bool PosInfo::Detector::add ( const Coord ,
int  nr,
float  offs 
)
void PosInfo::Detector::addFirst ( const PosInfo::CrdBidOffs  )  [protected]
void PosInfo::Detector::addLine (  )  [protected]
bool PosInfo::Detector::addNext ( const PosInfo::CrdBidOffs  )  [protected]
void PosInfo::Detector::addPos (  )  [protected]
void PosInfo::Detector::addToErrMsg ( const CrdBidOffs  )  [protected]
bool PosInfo::Detector::applySortAnal (  )  [protected]
float PosInfo::Detector::avgDist (  )  const [inline]
bool PosInfo::Detector::crlSorted (  )  const
const char* PosInfo::Detector::errMsg (  )  const [inline]
bool PosInfo::Detector::finish (  ) 
CrdBidOffs PosInfo::Detector::firstPosition (  )  const [inline]
void PosInfo::Detector::getBinIDRanges (  )  [protected]
void PosInfo::Detector::getCubeData ( CubeData  )  const

if crlSorted(), inl and crl are swapped

StepInterval<int> PosInfo::Detector::getRange ( bool  inldir = false  )  const
int PosInfo::Detector::getStep ( bool  inl  )  const [protected]

smallest

const char* PosInfo::Detector::getSurvInfo ( HorSampling ,
Coord  crd[3] 
) const
bool PosInfo::Detector::haveGaps ( bool  inldir = false  )  const [inline]
bool PosInfo::Detector::inlSorted (  )  const
bool PosInfo::Detector::is2D (  )  const [inline]
bool PosInfo::Detector::isPS (  )  const [inline]
CrdBidOffs PosInfo::Detector::lastPosition (  )  const [inline]
Coord PosInfo::Detector::maxCoord (  )  const [inline]
Coord PosInfo::Detector::minCoord (  )  const [inline]
int PosInfo::Detector::nrPositions ( bool  uniq = true  )  const [inline]
Interval<float> PosInfo::Detector::offsRg (  )  const [inline]
void PosInfo::Detector::reInit (  ) 
void PosInfo::Detector::report ( IOPar  )  const
void PosInfo::Detector::setCur ( const PosInfo::CrdBidOffs  )  [protected]
const BinIDSorting& PosInfo::Detector::sorting (  )  const [inline]
BinID PosInfo::Detector::start (  )  const [inline]
BinID PosInfo::Detector::step (  )  const [inline]
BinID PosInfo::Detector::stop (  )  const [inline]
bool PosInfo::Detector::usable (  )  const [inline]
CrdBidOffs PosInfo::Detector::userCBO ( const CrdBidOffs  )  const [protected]
CrdBidOffs PosInfo::Detector::workCBO ( const CrdBidOffs  )  const [protected]

Member Data Documentation

bool PosInfo::Detector::allstd_ [protected]
float PosInfo::Detector::avgdist_ [protected]

2D

bool PosInfo::Detector::crlirreg_ [protected]
int PosInfo::Detector::curline_ [protected]
int PosInfo::Detector::curseg_ [protected]

2D

bool PosInfo::Detector::inlirreg_ [protected]

in 3D, of longest line

in 3D, of longest line

int PosInfo::Detector::nrpos_ [protected]