Public Member Functions | Protected Member Functions | Protected Attributes

SeisResampler Class Reference

will sub-sample in inl and crl, and re-sample in Z More...

List of all members.

Public Member Functions

 SeisResampler (const CubeSampling &, bool is2d=false, const Interval< float > *valrange=0)
 valrange will be copied. null == no checks
 SeisResampler (const SeisResampler &)
virtual ~SeisResampler ()
SeisResampleroperator= (const SeisResampler &)
SeisTrcget (SeisTrc &t)
const SeisTrcget (const SeisTrc &t)
int nrPassed () const
void set2D (bool yn)

Protected Member Functions

SeisTrcdoWork (const SeisTrc &)

Protected Attributes

int nrtrcs
float replval
bool dozsubsel
SeisTrcworktrc
Interval< float > * valrg
CubeSamplingcs
bool is3d

Detailed Description

will sub-sample in inl and crl, and re-sample in Z

If there is inl and crl sub-sampling, get() will return null sometimes. If Z needs no resampling and no value range is specified, the input trace will be returned.


Constructor & Destructor Documentation

SeisResampler::SeisResampler ( const CubeSampling ,
bool  is2d = false,
const Interval< float > *  valrange = 0 
)

valrange will be copied. null == no checks

SeisResampler::SeisResampler ( const SeisResampler  ) 
virtual SeisResampler::~SeisResampler (  )  [virtual]

Member Function Documentation

SeisTrc* SeisResampler::doWork ( const SeisTrc  )  [protected]
const SeisTrc* SeisResampler::get ( const SeisTrc t  )  [inline]
SeisTrc* SeisResampler::get ( SeisTrc t  )  [inline]
int SeisResampler::nrPassed (  )  const [inline]
SeisResampler& SeisResampler::operator= ( const SeisResampler  ) 
void SeisResampler::set2D ( bool  yn  )  [inline]

Member Data Documentation

bool SeisResampler::dozsubsel [protected]
bool SeisResampler::is3d [protected]
int SeisResampler::nrtrcs [protected]
float SeisResampler::replval [protected]
Interval<float>* SeisResampler::valrg [protected]