Public Member Functions | Protected Member Functions | Protected Attributes

SeisZAxisStretcher Class Reference

Inheritance diagram for SeisZAxisStretcher:
ParallelTask Task NamedObject CallBacker

List of all members.

Public Member Functions

 SeisZAxisStretcher (const IOObj &in, const IOObj &out, const CubeSampling &outcs, ZAxisTransform &, bool forward, bool stretchinverse)
 ~SeisZAxisStretcher ()
bool isOK () const
void setLineKey (const char *)
const char * message () const

Protected Member Functions

bool doPrepare (int)
bool doWork (od_int64, od_int64, int)
od_int64 nrIterations () const
bool getTrace (SeisTrc &, BinID &)
bool loadTransformChunk (int firstinl)

Protected Attributes

SeisTrcReaderseisreader_
Threads::ConditionVar readerlock_
SeisTrcWriterseiswriter_
SeisSequentialWritersequentialwriter_
int nrwaiting_
int nrthreads_
CubeSampling outcs_
HorSampling curhrg_
ZAxisTransformztransform_
int voiid_
bool forward_
bool is2d_
bool stretchinverse_
int totalnr_

Detailed Description

Stretches the zaxis from the input cube with a ZAxisTransform and writes it out into another volume. If stretchinverse is true, the stretching will be done on the inveres of the values.


Constructor & Destructor Documentation

SeisZAxisStretcher::SeisZAxisStretcher ( const IOObj in,
const IOObj out,
const CubeSampling outcs,
ZAxisTransform ,
bool  forward,
bool  stretchinverse 
)
SeisZAxisStretcher::~SeisZAxisStretcher (  ) 

Member Function Documentation

bool SeisZAxisStretcher::doPrepare ( int   )  [protected, virtual]

Reimplemented from ParallelTask.

bool SeisZAxisStretcher::doWork ( od_int64  ,
od_int64  ,
int   
) [protected]
bool SeisZAxisStretcher::getTrace ( SeisTrc ,
BinID  
) [protected]
bool SeisZAxisStretcher::isOK (  )  const
bool SeisZAxisStretcher::loadTransformChunk ( int  firstinl  )  [protected]
const char* SeisZAxisStretcher::message (  )  const [inline, virtual]

Reimplemented from Task.

od_int64 SeisZAxisStretcher::nrIterations (  )  const [inline, protected, virtual]

Implements ParallelTask.

void SeisZAxisStretcher::setLineKey ( const char *   ) 

Member Data Documentation

bool SeisZAxisStretcher::forward_ [protected]
bool SeisZAxisStretcher::is2d_ [protected]
int SeisZAxisStretcher::voiid_ [protected]